docs(cli): fix stale CLI commands + drop removed webhook form#98
Merged
Conversation
Aligns the CLI reference + config docs with the shipped command surface (cli-tree.ts): configuration.mdx AGENTSFLEET_API_KEY minted via 'agentsfleet agent-key add' (not 'agent add'); agentsfleet.mdx 'tenant provider set/reset' -> 'add/delete' and external-agent commands 'agent add/list/delete' -> 'agent-key add/list/delete'; webhooks.mdx drops the URL-embedded-secret section (variant removed from the router — HMAC/Svix/per-source path only). Companion to agentsfleet#421. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
The Overview table still listed the removed `agent add`/`agent list`/ `agent delete` commands while the External agents section below was already updated to `agent-key add/list/delete`. Align the table so the summary scan matches the full reference. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Fixed in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion to agentsfleet#421 (architecture-docs correctness audit). Aligns the docs-site CLI reference + config with the shipped command surface (
cli-tree.ts):AGENTSFLEET_API_KEYminted viaagentsfleet agent-key add(wasagent add).tenant provider set/reset→add/delete; external-agent key commandsagent add/list/delete→agent-key add/list/delete.gitleaks clean.
🤖 Generated with Claude Code
Greptile Summary
This PR corrects three stale documentation pages to match the shipped CLI command surface, with no logic or behavior changes. The previous comment about the overview table being out of sync with the renamed
agent-keycommands has been addressed in this diff.cli/agentsfleet.mdx: Overview table and all section content updated fromagent add/list/delete→agent-key add/list/delete, andtenant provider set/reset→tenant provider add/delete.cli/configuration.mdx:AGENTSFLEET_API_KEYdescription corrected to referenceagentsfleet agent-key add.agents/webhooks.mdx: "Advanced: URL-embedded secret" section removed; a closing sentence now explicitly states the platform accepts only HMAC/Svix signatures or per-source paths.Confidence Score: 5/5
Docs-only correctness fix with no behavior changes; all renamed commands are updated consistently across all three files.
Every occurrence of the old command names has been updated, the previously flagged stale overview table entry is now correct, and the removed webhook section has no remaining stale cross-references.
No files require special attention.
Important Files Changed
agent add/list/delete→agent-key add/list/deletein both the overview table and all section content; renamedtenant provider set→tenant provider addandtenant provider reset→tenant provider delete. All occurrences are consistent throughout the file.AGENTSFLEET_API_KEYdescription to referenceagentsfleet agent-key addinstead of the removedagentsfleet agent add.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A[External System POST] --> B{Auth check} B -->|HMAC signature valid| C[202 Accepted] B -->|Svix signature valid| C B -->|Per-source path\n/github /approval\n/grant-approval /svix| C B -->|No valid auth| D[401 Rejected] C --> E[Event enqueued → agent woken]%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% flowchart TD A[External System POST] --> B{Auth check} B -->|HMAC signature valid| C[202 Accepted] B -->|Svix signature valid| C B -->|Per-source path\n/github /approval\n/grant-approval /svix| C B -->|No valid auth| D[401 Rejected] C --> E[Event enqueued → agent woken]Comments Outside Diff (1)
cli/agentsfleet.mdx, line 14 (link)agent add,agent list,agent deletecommands. The section content below was correctly updated toagent-key add/list/delete, but the table was missed, leaving a stale entry that will mislead users who scan the summary before reading the full reference.Prompt To Fix With AI
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Reviews (2): Last reviewed commit: "docs(cli): sync overview table to agent-..." | Re-trigger Greptile