Skip to content

Commit c2c4ab7

Browse files
committed
docs: changelog for sessions --json
1 parent f966acd commit c2c4ab7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- **`levelcode sessions <id-or-prefix>`** — inspect one saved session's message history with per-message indices and a ready-to-copy fork command, so picking a `--at-message` fork point no longer requires reading run-state.json.
12+
- **`sessions --json`** — machine-readable listing and detail (following `doctor --json`): `{sessions:[...]}` with fork lineage, and `{chatId, historyLength, messages}` for scripts that pick fork points programmatically.
1213
- **`--fork <id> --at-message <n>`** — truncate the cloned history to its first N messages; non-negative-integer validation at flag parse, out-of-range rejected with exit 2 before any model call.
1314
- **Subagent step budgets bounded by the parent** — a spawned agent now gets `min(default, parent's remaining steps)` instead of a flat 100. The effort dial caps the parent, so it now bounds the whole swarm: at `low` (30) children can no longer get a fresh 100-step allowance, and a nearly-depleted parent cannot spawn runaway children.
1415

0 commit comments

Comments
 (0)