Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/configuration.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
| `compress.absorb` | object | opt-in (disabled) | — | ツール結果を短い要約に即時蒸留するオプトイン機能;元データはコンテンツストアに保存される。デフォルトでは画像を含む結果のみが対象となる。 |
| `compress.degenerateRetry` | object | 1 attempt (built-in nudge) | — | クライアントに見える出力がゼロで終わるターンのリトライ予算と nudge 文の設定。継続 nudge はリトライ本文にのみ付加され、永続化も次のリクエストでの再生もされない。 |
| `compress.blockOps` | object | off | — | 圧縮ブロック管理用のブロックライフサイクルツール(acp_retire / acp_restore / acp_rewrite)のオプトイン;デフォルト無効により、#5765 以前のワイヤーとバイト単位で同一を維持する。 |
| `compress.anchorSidecar` | object | off | — | オプトインの決定論的アンカーサイドカー:折りたたみ要約にファイルパス・エラー署名・永続 ID の有界な字面インデックスを機械的に付加し、T2/T3 蒸留でも引き継ぐ。 |
| `compress.ccr` | object | enabled in proxy mode since v2 | — | コンテンツキャッシュと取得:大きな出力はセッションの隣接にロスカレスで保存され、先頭抜粋とポインタに置き換えられ、acp_retrieve 経由で取得される;上限や退避は行われない。 |
| `compress.search` | object | off | — | search_context の検索動作設定;現在、planAware リランキングを保持している。 |
| `compress.search.planAware` | boolean | false | — | オンにすると、search_context の候補が現在のプラン状態に対してリランキングされる;オフにすると、バイト単位で同一の語彙結果が維持される。 |
Expand All @@ -335,6 +336,9 @@
| `compress.degenerateRetry.maxAttempts` | integer | 1 | — | 退化ターンのリトライ予算(#7666):クライアントに見える出力が何もないターン終了時に、agent の元のリクエストに末尾ユーザー nudge を追加して再発行する。0 = 無効(そのターンは素通し)、1 = 1 回(#7666 以前の動作)、最大 5;i 回目の試行で nudges[i] を送信(リストが短ければ循環)。ゼロバイト切断の再発行(#2171)とは予算が独立——1 ターンでそれぞれ 1 回まで。 |
| `compress.degenerateRetry.nudges` | string[] | 3 built-in | — | 退化ターンリトライ用のカスタム nudge 文(#7666);i 回目のリトライで i 番目の文を送信(短ければ循環)。未設定 = 組み込みローテーション(先頭はデフォルトの継続 nudge)。 |
| `compress.blockOps.enabled` | boolean | false | — | 3 つのブロックライフサイクルツール(インジェクション + プロンプト + マニフェスト)を有効にする。Off = ツールなし、プロンプトセクションなし、リクエストごとのコストゼロ。 |
| `compress.anchorSidecar.enabled` | boolean | false | — | 折りたたみブロックへの決定論的アンカーサイドカー抽出を有効にする。Off = バイト単位で同一の要約。 |
| `compress.anchorSidecar.maxAnchors` | number | 16 | — | 1 ブロックあたり出力する決定論的アンカーの最大数(1 以上の整数)。 |
| `compress.anchorSidecar.maxSectionChars` | number | 1200 | — | 1 ブロックあたり付加する ANCHORS セクションの最大文字数(120 以上の整数)。 |
| `compress.ccr.enabled` | boolean | true (proxy mode) | — | コンテンツキャッシュおよび取得ブロックを有効にする。 |
| `compress.ccr.minToolTokens` | number | ≈4000 | — | CCR ストレージの対象となるツール結果の最小推定トークンサイズ。 |
| `compress.ccr.excludeTools` | string[] | [] | — | CCR ストレージから除外されるツール名。 |
Expand Down
4 changes: 4 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ This index is generated from `website/config-reference/*.yaml` — edit the seed
| `compress.absorb` | object | opt-in (disabled) | — | Opt-in instant distillation of tool results into short abstracts; originals go to the content store. By default only image-bearing results qualify. |
| `compress.degenerateRetry` | object | 1 attempt (built-in nudge) | — | Retry budget and nudge sentences for turns that end with zero client-visible output (degenerate terminal turns). The continuation nudge rides the retry body only — it is never persisted into session state and never replayed on the client's next request. |
| `compress.blockOps` | object | off | — | Opt-in block-lifecycle tools (acp_retire / acp_restore / acp_rewrite) for compressed-block management; default-off keeps the wire byte-identical to pre-#5765. |
| `compress.anchorSidecar` | object | off | — | Opt-in deterministic anchor sidecar: mechanically appends a bounded verbatim index of file paths, error signatures, and durable IDs to folded summaries and carries them forward across T2/T3 distillation. |
| `compress.ccr` | object | enabled in proxy mode since v2 | — | Content cache & retrieve: large outputs stored losslessly beside the session, replaced by head excerpt + pointer fetched back via acp_retrieve; no cap or eviction. |
| `compress.search` | object | off | — | Search-behavior settings for search_context; currently holds planAware re-ranking. |
| `compress.search.planAware` | boolean | false | — | When on, search_context candidates are re-ranked against current plan state; off keeps byte-identical lexical results. |
Expand All @@ -338,6 +339,9 @@ This index is generated from `website/config-reference/*.yaml` — edit the seed
| `compress.degenerateRetry.maxAttempts` | integer | 1 | — | Degenerate-terminal retry budget (#7666): when a turn ends with nothing client-visible, the agent's own request is re-issued with a trailing user nudge. 0 = off (the turn passes through bare), 1 = once (pre-#7666 behavior), max 5; attempt i sends nudges[i] (cycling). Independent of the zero-byte-cut re-issue (#2171) — a turn may spend one of each. |
| `compress.degenerateRetry.nudges` | string[] | 3 built-in | — | Custom nudge sentences for degenerate-terminal retries (#7666); retry i sends sentence i (cycling when shorter). Unset = the built-in rotation, whose first entry is the default continuation nudge. |
| `compress.blockOps.enabled` | boolean | false | — | Enable the three block-lifecycle tools (injection + prompt + manifest). Off = no tools, no prompt section, zero per-request cost. |
| `compress.anchorSidecar.enabled` | boolean | false | — | Enable deterministic anchor sidecar extraction on folded blocks. Off = byte-identical summaries. |
| `compress.anchorSidecar.maxAnchors` | number | 16 | — | Maximum number of deterministic anchors emitted per folded block (integer >= 1). |
| `compress.anchorSidecar.maxSectionChars` | number | 1200 | — | Hard character cap for the appended ANCHORS section per folded block (integer >= 120). |
| `compress.ccr.enabled` | boolean | true (proxy mode) | — | Enable the content-cache-and-retrieve block. |
| `compress.ccr.minToolTokens` | number | ≈4000 | — | Minimum estimated token size of a tool result eligible for CCR storage. |
| `compress.ccr.excludeTools` | string[] | [] | — | Tool names excluded from CCR storage. |
Expand Down
4 changes: 4 additions & 0 deletions docs/configuration.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@
| `compress.absorb` | object | opt-in (disabled) | — | 可选即时蒸馏:把工具结果蒸馏成短摘要,原文进内容库。默认仅图片类结果参与。 |
| `compress.degenerateRetry` | object | 1 attempt (built-in nudge) | — | 零可见输出回合(退化终端回合)的重试预算与 nudge 句配置。续接 nudge 只附在重试请求体上——不写入会话状态,客户端下一轮不重放。 |
| `compress.blockOps` | object | off | — | 可选的压缩块生命周期工具(acp_retire / acp_restore / acp_rewrite);默认关闭,关闭时线上字节与 #5765 之前完全一致。 |
| `compress.anchorSidecar` | object | off | — | 可选的确定性锚点 Sidecar:折叠时机械提取并附带受控字面索引(文件路径、错误签名、持久 ID),并在 T2/T3 蒸馏与重折时自动沿袭。 |
| `compress.ccr` | object | enabled in proxy mode since v2 | — | 内容缓存与回取:大输出无损存到会话旁、替换为首段摘录+指针,模型用 acp_retrieve 取回原文;无上限、永不清除。 |
| `compress.search` | object | off | — | search_context 的检索行为设置;当前含 planAware 重排。 |
| `compress.search.planAware` | boolean | false | — | 开启后 search_context 候选按当前计划状态重排;关闭时结果逐字节不变。 |
Expand All @@ -338,6 +339,9 @@
| `compress.degenerateRetry.maxAttempts` | integer | 1 | — | 空回合重试预算(#7666):回合以客户端零可见输出收尾时,把 agent 自己的原请求追加一条尾部 user nudge 后重发。0=关(空回合直接放行),1=一次(#7666 前的默认行为),上限 5;第 i 次发 nudges[i](短了循环)。与断流重发(#2171)预算独立——同一回合各可花一次。 |
| `compress.degenerateRetry.nudges` | string[] | 3 built-in | — | 自定义空回合重试 nudge 句(#7666);第 i 次重试发第 i 句(短了循环)。不填 = 内置轮换,首句即默认续接 nudge。 |
| `compress.blockOps.enabled` | boolean | false | — | 启用三个压缩块生命周期工具(注入 + prompt + manifest)。关闭 = 无工具、无 prompt 段、零每请求开销。 |
| `compress.anchorSidecar.enabled` | boolean | false | — | 开启折叠块的确定性锚点 Sidecar 提取。关闭 = 摘要逐字节不变。 |
| `compress.anchorSidecar.maxAnchors` | number | 16 | — | 单个折叠块最多附带的确定性锚点数(>= 1 的整数)。 |
| `compress.anchorSidecar.maxSectionChars` | number | 1200 | — | 单个折叠块附带 ANCHORS 段的字符硬上限(>= 120 的整数)。 |
| `compress.ccr.enabled` | boolean | true (proxy mode) | — | 启用内容缓存与回取块。 |
| `compress.ccr.minToolTokens` | number | ≈4000 | — | 可进入 CCR 存储的工具结果的最小估算 token 大小。 |
| `compress.ccr.excludeTools` | string[] | [] | — | 排除出 CCR 存储的工具名。 |
Expand Down
4 changes: 2 additions & 2 deletions kernel/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kernel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "acp-kernel",
"version": "0.0.217",
"version": "0.0.218",
"description": "Framework-agnostic context-compression engine (model-driven, 3-tier LSM). Pure core: no host dependency.",
"license": "MIT",
"author": "ranxianglei",
Expand Down
Loading
Loading