@cerebriline/core 4.100.254 → 4.100.256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/prompt-templates/claude.md +123 -90
- package/assets/prompt-templates/deepseek.md +62 -20
- package/assets/prompt-templates/default.md +14 -14
- package/assets/prompt-templates/gemma.md +46 -18
- package/assets/prompt-templates/glm.md +60 -35
- package/assets/prompt-templates/kimi-k3.md +41 -32
- package/assets/prompt-templates/kimi.md +35 -31
- package/assets/prompt-templates/minimax-m3.1-flash.md +563 -0
- package/assets/prompt-templates/minimax.md +72 -92
- package/assets/prompt-templates/nemotron.md +50 -78
- package/assets/prompt-templates/qwen.md +83 -69
- package/dist/cloud/index.js +1 -1
- package/dist/document-reader-child.js +13 -13
- package/dist/extensions/config/prompt-template-review.d.ts +41 -1
- package/dist/extensions/context/agentic-compaction.d.ts +2 -1
- package/dist/extensions/context/capped-thinking.d.ts +24 -2
- package/dist/extensions/context/compaction-shared.d.ts +47 -11
- package/dist/extensions/context/compaction.d.ts +1 -1
- package/dist/extensions/context/council-compaction.d.ts +3 -1
- package/dist/extensions/context/replay-compaction.d.ts +1 -1
- package/dist/extensions/context/tool-ledger.d.ts +13 -1
- package/dist/extensions/tools/check-on-failure.d.ts +3 -0
- package/dist/extensions/tools/edit-verification.d.ts +26 -5
- package/dist/extensions/tools/executors/bash.d.ts +22 -0
- package/dist/extensions/tools/executors/document/formats.d.ts +6 -0
- package/dist/extensions/tools/executors/read-receipts.d.ts +12 -0
- package/dist/extensions/tools/helpers.d.ts +12 -0
- package/dist/extensions/tools/list-files.d.ts +1 -1
- package/dist/extensions/tools/schemas.d.ts +32 -0
- package/dist/extensions/tools/team/delegated-agent.d.ts +8 -1
- package/dist/hub/daemon/entry.js +625 -615
- package/dist/hub/index.js +637 -627
- package/dist/index.js +1421 -3762
- package/dist/remote/remote-helper-entry.js +1 -1
- package/dist/remote/remote-helper.js +1 -1
- package/dist/runtime/atomic/file-revisions.d.ts +2 -0
- package/dist/runtime/atomic/revision-capture.d.ts +1 -1
- package/dist/runtime/host/loop-cut-log.d.ts +18 -0
- package/dist/runtime/orchestration/session-runtime.d.ts +5 -0
- package/dist/runtime/safety/struggle-detector.d.ts +1 -1
- package/dist/services/llms/apihandler-agent-model-adapter.d.ts +4 -2
- package/dist/services/retrieval/tar-extract.d.ts +4 -0
- package/dist/session/persisted-tool-result-content.d.ts +10 -1
- package/dist/session/services/message-builder.d.ts +15 -1
- package/dist/session/tool-result-format-pin.d.ts +17 -0
- package/dist/types/config.d.ts +9 -2
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ import type { AgentNodePlacement } from "./agent-node-placement";
|
|
|
6
6
|
import type { AgentSlotGate, AgentSlotGateRegistry } from "./agent-slot-gate";
|
|
7
7
|
import { type RealizedSpawnSampling, type SpawnSamplingDraw } from "./spawn-sampling";
|
|
8
8
|
type AgentExtension = NonNullable<AgentConfig["extensions"]>[number];
|
|
9
|
-
export type DelegatedAgentConnectionConfig = Pick<AgentConfig, "providerId" | "modelId" | "apiKey" | "baseUrl" | "headers" | "onAuthError" | "providerConfig" | "knownModels" | "thinking" | "reasoningEffort" | "thinkingBudgetTokens" | "maxTokensPerTurn" | "maxToolResultChars" | "staleReadRewrites" | "temperature">;
|
|
9
|
+
export type DelegatedAgentConnectionConfig = Pick<AgentConfig, "providerId" | "modelId" | "apiKey" | "baseUrl" | "headers" | "onAuthError" | "providerConfig" | "knownModels" | "thinking" | "reasoningEffort" | "thinkingBudgetTokens" | "maxTokensPerTurn" | "maxToolResultChars" | "staleReadRewrites" | "toolResultFormat" | "temperature">;
|
|
10
10
|
export interface DelegatedAgentRuntimeConfig extends DelegatedAgentConnectionConfig {
|
|
11
11
|
cwd?: string;
|
|
12
12
|
providerId: string;
|
|
@@ -104,6 +104,13 @@ export interface DelegatedAgentRuntimeConfig extends DelegatedAgentConnectionCon
|
|
|
104
104
|
createPrepareTurn?: (agent?: DelegatedPrepareTurnTarget) => AgentConfig["prepareTurn"];
|
|
105
105
|
/** The pipeline's other half; stateless, so shared rather than built. */
|
|
106
106
|
condenseDiscardedReasoning?: AgentConfig["condenseDiscardedReasoning"];
|
|
107
|
+
/**
|
|
108
|
+
* Where this agent's guards hand the text they cut; see `LoopCutRecord`.
|
|
109
|
+
* The record carries the agent's id, which is how the host files it beside
|
|
110
|
+
* that agent's own transcript. Absent, an agent's cuts are thrown away, as
|
|
111
|
+
* every delegated agent's were until this field.
|
|
112
|
+
*/
|
|
113
|
+
onLoopCut?: AgentConfig["onLoopCut"];
|
|
107
114
|
}
|
|
108
115
|
/**
|
|
109
116
|
* Whose compaction a delegated agent's pipeline is.
|