Skip to content

JGC-473 - Add AI-agent help text to artifactory commands#455

Merged
fluxxBot merged 2 commits into
jfrog:mainfrom
ehl-jf:JGC-473-ai-context-help
Jun 4, 2026
Merged

JGC-473 - Add AI-agent help text to artifactory commands#455
fluxxBot merged 2 commits into
jfrog:mainfrom
ehl-jf:JGC-473-ai-context-help

Conversation

@ehl-jf

@ehl-jf ehl-jf commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds AI-agent-oriented help text (AIDescription) so commands render richer help when JFROG_CLI_AI_HELP is truthy or an AI agent is auto-detected. Empty AIDescription falls back to Description; human-mode output is unchanged.

Scope: 36 help.go files + 50 components.Command literals across artifactory/distribution/lifecycle/ide cli.go.

Dependency on jfrog-cli-core

jfrog-cli-core's JGC-473 PR (#1563) has MERGED. This PR's go.mod now requires the merged core master pseudo-version v2.60.1-0.20260601130310-8d52a530da18 directly — no temporary replace directive. Ready to merge on its own.

Linked

Populate components.Command.AIDescription on commands. The new field
(added in jfrog-cli-core JGC-473) makes the conversion layer render
agent-oriented text when JFROG_CLI_AI_HELP is truthy or an AI agent is
auto-detected. Empty AIDescription falls back to Description, so
command output is unchanged in human mode.

Scope: 36 help.go files + 50 components.Command literals across artifactory/cli/cli.go, distribution/cli/cli.go, lifecycle/cli.go, ide/cli/cli.go.

TEMPORARY go.mod pin: the require for github.com/jfrog/jfrog-cli-core/v2
points at JGC-473-devbase (commit d507b5c6) - a coordination branch
that cherry-picks JGC-473 onto core's pinned commit 908527b4 (the last
commit before core master removed yarn.IsVersionSupported and
IsInstalledYarnVersionSupported, which downstream callers in
jfrog-cli-artifactory still depend on). This require MUST be updated to
the merged master commit's pseudo-version after the jfrog-cli-core
JGC-473 PR merges. Do not merge this PR until the require is re-pinned.
@ehl-jf ehl-jf force-pushed the JGC-473-ai-context-help branch from 1dbf5af to b9d4d6f Compare June 1, 2026 13:08
@fluxxBot fluxxBot added improvement Automatically generated release notes safe to test Approve running integration tests on a pull request labels Jun 3, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Jun 3, 2026
@fluxxBot fluxxBot added the safe to test Approve running integration tests on a pull request label Jun 3, 2026
@github-actions github-actions Bot removed the safe to test Approve running integration tests on a pull request label Jun 3, 2026
@fluxxBot fluxxBot merged commit cc843d5 into jfrog:main Jun 4, 2026
80 of 82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants