@anyforge/control 0.9.2 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +10 -1
  2. package/dist/cli.js +123 -106
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -342,6 +342,8 @@ use these commands; service accounts cannot own interactive Studio sessions.
342
342
  anyforge studio list --json
343
343
  anyforge studio usage SESSION --json
344
344
  anyforge studio create --repo acme/app --branch feature/fix --context "Fix the form" --json
345
+ anyforge studio create --uncommitted --context "Finish the form" # this branch and its uncommitted changes
346
+ anyforge studio pickup SESSION # check the session's pushed branch out here
345
347
  anyforge studio continue SESSION --file src/form.ts --context "Review this local reference"
346
348
  anyforge studio open SESSION
347
349
  anyforge studio run SESSION --context "Implement and test the fix" --input '{"maxTotalTokens":40000}'
@@ -355,7 +357,14 @@ anyforge studio push SESSION --input '{"expectedHeadSha":"SHA"}'
355
357
 
356
358
  `create` and `continue` prepare context without running code. `--file` sends only
357
359
  that file (20 KB maximum), labels its local branch/commit and uncommitted state,
358
- and does not copy local edits into the remote checkout. `--initiative ID` assigns
360
+ and does not copy local edits into the remote checkout. `create --uncommitted`
361
+ (0.10.0 or later, keys with `studio:write` and `studio:execute`) opens the session
362
+ on this checkout's pushed branch and applies its uncommitted changes, including
363
+ untracked files Git does not ignore, before the first run. It refuses unpushed
364
+ commits, changes over 100 KB, binary files, symbolic links, submodules and
365
+ credential-shaped values before anything is sent. `pickup SESSION` fetches the
366
+ session's pushed branch, checks it out with a fast-forward only and lists the
367
+ session's commits; it refuses over uncommitted local changes. `--initiative ID` assigns
359
368
  a new session to an existing initiative; omission starts direct work. Keep the
360
369
  returned session/run IDs and event cursor to reconnect. Reuse an explicit
361
370
  `idempotencyKey` in `--input` when retrying a create or run request.