Skip to content

feat(agenthelp): runtime agent-doc collection from the cobra tree#137

Open
steve-calvert-glean wants to merge 1 commit into
sc/platform-06-agents-migrationfrom
sc/platform-08-agenthelp-pkg
Open

feat(agenthelp): runtime agent-doc collection from the cobra tree#137
steve-calvert-glean wants to merge 1 commit into
sc/platform-06-agents-migrationfrom
sc/platform-08-agenthelp-pkg

Conversation

@steve-calvert-glean

Copy link
Copy Markdown
Collaborator

internal/agenthelp derives agent-facing usage from the live command tree (cobra is truth for structure, flags, defaults) merged with the schema registry, which gains WhenToUse and Surface (platform|legacy|raw|local) fields — populated for all registered commands. Context reports version, server, auth state (presence only, never token material), and whether legacy mode is active via GLEAN_LEGACY_APIS or X_GLEAN_INCLUDE_EXPERIMENTAL=false.

No user-visible command yet; wired up in the next PR as glean agent-help.

Part 7/9.

🤖 Generated with Claude Code

internal/agenthelp derives agent-facing usage from the live command tree
(cobra is truth for structure, flags, defaults) merged with the schema
registry, which gains WhenToUse and Surface (platform|legacy|raw|local)
fields — populated for all 17 registered commands. Context reports
version, server, auth state (presence only, never token material), and
whether legacy mode is active via GLEAN_LEGACY_APIS or
X_GLEAN_INCLUDE_EXPERIMENTAL=false.

No user-visible command yet; wired up next as glean agent-help.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant