Repository navigation
docs(cli): document compact.strategy pointer compaction mode - #1036
Conversation
|
🗑️ Preview environment destroyed. |
|
@infer can you add the missing flags that were just added --append and --no-trunc? and --all. Please document these |
|
Model: Todos
Pull Request✅ Infer Result: SuccessDone - pushed as On What changed in
One thing I deliberately skipped: Model: Tokens: 3,266,450 in · 31,998 out · 3,298,448 total (42 requests) Tool calls: 58 total · 100% success rate TracesStatsTriggered by edenreich · Infer Action · OSS |
The default first-10-entry window, --grep, --no-trunc and --append (-a) join the show flags list, with grep and append examples, and --format json is corrected to one pretty-printed object with metadata and entries instead of NDJSON.
## [0.9.23](0.9.22...0.9.23) (2026-10-31) ### 👷 CI * **release:** label issues and PRs shipped in an rc with rc ([#1044](#1044)) ([b0c47d8](b0c47d8)) ### 📚 Documentation * **adk:** frame rust/ts artifact storage as s3-compatible ([#1050](#1050)) ([4b582a6](4b582a6)) * **adk:** s3 artifact provider with RustFS example ([#1046](#1046)) ([c729c4b](c729c4b)) * BashOutput and ListShells need no approval ([#1032](#1032)) ([0b4f3c0](0b4f3c0)) * **cli:** away exit and stop cleanup after a teleport home ([#1053](#1053)) ([36dd83b](36dd83b)) * **cli:** channels configurable tool result cap ([#1043](#1043)) ([a6d20cf](a6d20cf)) * **cli:** document compact.strategy pointer compaction mode ([#1036](#1036)) ([a3a92a3](a3a92a3)) * **cli:** kubernetes workspace gateway modes and gateway_env ([#1054](#1054)) ([cb89aa1](cb89aa1)) * **cli:** panel search accepts multibyte input ([#1041](#1041)) ([a030902](a030902)) * **cli:** tools validate exit code, status formats, env list ([#1039](#1039)) ([e3ddb20](e3ddb20)) * document the gateway segment in the run identity line ([#1028](#1028)) ([a016726](a016726)) * document the plan-mode scratchpad ([#1023](#1023)) ([c44f1c9](c44f1c9)) * document the Rust read-only library carve-out ([#1034](#1034)) ([efc6f56](efc6f56)) * document the wall-clock time budget ([#1022](#1022)) ([dc56278](dc56278)) * **operator:** orchestrator gateway ref and gateway parking ([#1058](#1058)) ([70e1bb2](70e1bb2)) * **operator:** orchestrator image entrypoint contract ([#1049](#1049)) ([e2048dc](e2048dc)) * **operator:** status.url port and spec.server defaults ([#1057](#1057)) ([6970d29](6970d29)) * read attaches image files for vision models ([#1025](#1025)) ([2605223](2605223)) * restore the WebWright provider (re-added upstream) ([#1026](#1026)) ([6242edb](6242edb)) ### 🔧 Miscellaneous * **deps:** bump claude-code 2.1.289 -> 2.1.296 ([#1017](#1017)) ([2d5d9da](2d5d9da)) * **deps:** bump claude-code 2.1.296 -> 2.1.308 ([#1030](#1030)) ([3ec88a2](3ec88a2)) * **deps:** bump infer CLI v0.226.0 -> v0.231.1 ([#1018](#1018)) ([d5b1c02](d5b1c02))
|
🎉 This PR is included in version 0.9.23 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Resolves #1035
Summary
Documents the CLI's opt-in
compact.strategycompaction setting (inference-gateway/cli#1629) on the docs site. A new Compaction section in cli.md covers the fullcompact.*block includingcompact.strategy(defaultsummary) and theINFER_COMPACT_STRATEGYenv var, and explains pointer mode: a compaction (manual/compact, theauto_attoken trigger or the idle trigger) skips the summarizer LLM call and seeds the continued session with one message that names the previous session id, which the model reads back withinfer conversations show <id>.Changes
### Compactionsection to the Configuration area of the CLI page: a YAML block for allcompact.*settings with defaults and env vars, the checkpoint format under the defaultsummarystrategy, and the pointer strategy with its exact message shape plus when to pick each strategy (self-contained summary vs lossless on-demand retrieval on durable storage). Also covers the unknown-value fallback tosummaryand the no-session-id safe skip.infer conversations showflags in the Conversation Management section: the default first-10-entry window,--grep <substring>,--no-trunc, and--append(-a), with grep and append examples.--format jsonwas corrected to one pretty-printed object withmetadataandentries(plus atruncatedflag when windowed) instead of the outdated NDJSON description.Checks:
bun run lint:md,bun run format:checkandbun run buildall pass.Note: CLI PR 1629 has since merged, and this PR now documents the show flags as landed on the CLI's main branch. No docs ticket: this is the docs change itself, no other repos affected.