























@@ -94,6 +94,9 @@ Controls when workspace bootstrap files are injected into the system prompt. Def
9494}
9595```
969697+Per-agent override: `agents.list[].contextInjection`. Omitted values inherit
98+`agents.defaults.contextInjection`.
99+97100### `agents.defaults.bootstrapMaxChars`
9810199102Max characters per workspace bootstrap file before truncation. Default: `12000`.
@@ -104,6 +107,9 @@ Max characters per workspace bootstrap file before truncation. Default: `12000`.
104107}
105108```
106109110+Per-agent override: `agents.list[].bootstrapMaxChars`. Omitted values inherit
111+`agents.defaults.bootstrapMaxChars`.
112+107113### `agents.defaults.bootstrapTotalMaxChars`
108114109115Max total characters injected across all workspace bootstrap files. Default: `60000`.
@@ -114,6 +120,35 @@ Max total characters injected across all workspace bootstrap files. Default: `60
114120}
115121```
116122123+Per-agent override: `agents.list[].bootstrapTotalMaxChars`. Omitted values
124+inherit `agents.defaults.bootstrapTotalMaxChars`.
125+126+### Per-agent bootstrap profile overrides
127+128+Use per-agent bootstrap profile overrides when one agent needs different prompt
129+injection behavior from the shared defaults. Omitted fields inherit from
130+`agents.defaults`.
131+132+```json5
133+{
134+ agents: {
135+ defaults: {
136+ contextInjection: "continuation-skip",
137+ bootstrapMaxChars: 12000,
138+ bootstrapTotalMaxChars: 60000,
139+ },
140+ list: [
141+ {
142+ id: "strict-worker",
143+ contextInjection: "always",
144+ bootstrapMaxChars: 50000,
145+ bootstrapTotalMaxChars: 300000,
146+ },
147+ ],
148+ },
149+}
150+```
151+117152### `agents.defaults.bootstrapPromptTruncationWarning`
118153119154Controls the agent-visible system-prompt notice when bootstrap context is truncated.
@@ -157,6 +192,9 @@ Use the matching per-agent override only when one agent needs a different
157192budget:
158193159194- `agents.list[].skillsLimits.maxSkillsPromptChars`
195+- `agents.list[].contextInjection`
196+- `agents.list[].bootstrapMaxChars`
197+- `agents.list[].bootstrapTotalMaxChars`
160198- `agents.list[].contextLimits.*`
161199162200#### `agents.defaults.startupContext`
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。