Repository navigation
docs: fix agent shell fork commands - #557
Draft
claude[bot] wants to merge 1 commit into
Draft
claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
The fork command takes the fork name with --name and lists forks with --list. There is no separate forks command. Update the examples on the Agent Shell page to match packages/agent-shell/src/commands/fork.ts. Assisted-by: Claude Opus 5.5 via Claude Code Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015Qg5NUvpUUpqnqd6ow5Xdv
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Requested by Xe Iaso · Slack thread
Before: The Agent Shell page showed
fork source-bucket my-forkto create a fork and a separateforks my-bucketcommand to list forks. The Snapshots, Forks, and Presigned URLs example ranfork my-bucket my-bucket-experiment. Agent Shell rejects all of these: it has noforkscommand, andforktakes only one positional argument.After: The page shows the real forms:
fork [<bucket>] --name <fork>to create a fork (with an optional--snapshot),fork --name <fork>to fork the bucket mounted at the current directory, andfork <bucket> --listto list forks. Theforkssection is gone, and theexecexample uses--name.last_reviewedis now 2026-10-07.How: I checked the examples against
packages/agent-shell/src/commands/fork.ts(usage string and flag schema at the top, argument parsing inparseInput). I also checked thepresignandsnapshotexamples againstpresign.tsandsnapshot.ts, and the interactiveconfigure,mount,umount,dfandflushexamples againstsrc/repl/session.ts. They already match.🤖 Generated with Claude Code
https://claude.ai/code/session_015Qg5NUvpUUpqnqd6ow5Xdv
Generated by Claude Code