mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
fix: align mode-value prose and stale persistent mentions with the split
The split kept the session-persistent vocabulary (tool/code-dispatch*, tools-code-mode, :code:) on this PR, but several prose surfaces still named the new values: the zh persistence/tool catalogs, the renamed Agent Notes' event mentions, spill-policy comments, and a garbled 're-enPTC mode' replacement. Also rename the mode value to ptc in the places the rename missed (tools and agent-tool-presentation READMEs, the Config JSDoc, note mode unions) and the codeModeHarness* e2e helpers.
This commit is contained in:
@@ -38,7 +38,7 @@ export const inject = ['tools']
|
||||
export interface Config {
|
||||
/**
|
||||
* The form this agent's model sees. `native` sends every visible schema,
|
||||
* `code` sends only `run_code` plus a generated SDK, `both` sends both.
|
||||
* `ptc` sends only `run_code` plus a generated SDK, `both` sends both.
|
||||
* Required rather than defaulted: the deployment default is what a preset
|
||||
* without this row already gets, so an omitted value would mean the row was
|
||||
* composed for nothing.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* The policy only decides WHEN to spill and composes the notice.
|
||||
*
|
||||
* A second arm applies the SAME cap to the durable log: the
|
||||
* `tools/ptc-dispatch-log` waterfall bounds the `tool/ptc-dispatch` event's
|
||||
* `tools/ptc-dispatch-log` waterfall bounds the `tool/code-dispatch` event's
|
||||
* copy of an oversized `run_code` sub-call result (the program's value is
|
||||
* untouched; UIs and replay read the full text through the spill artifact).
|
||||
*
|
||||
@@ -208,7 +208,7 @@ export function apply(ctx: Context, config: Config): void {
|
||||
return { kind: 'accept', content: replaced, ...decision.additionalContexts ? { additionalContexts: decision.additionalContexts } : {} }
|
||||
}, { prepend: true })
|
||||
|
||||
// The durable-log arm: bound the `tool/ptc-dispatch` event's copy of an
|
||||
// The durable-log arm: bound the `tool/code-dispatch` event's copy of an
|
||||
// oversized sub-call result the same way the model-facing arm bounds an
|
||||
// outer result. The program's returned value is untouched (it already
|
||||
// crossed the worker boundary whole); only the session log's copy shrinks
|
||||
|
||||
Reference in New Issue
Block a user