@wrongstack/core 0.272.2 → 0.273.1
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/dist/{agent-bridge-DFQYEeXf.d.ts → agent-bridge-DpKIxHhE.d.ts} +1 -1
- package/dist/{agent-subagent-runner-BZa_IEcd.d.ts → agent-subagent-runner-Dx7fZ1bE.d.ts} +14 -7
- package/dist/{brain-etbcbRwV.d.ts → brain-BDcQaku-.d.ts} +112 -5
- package/dist/{compactor-72ug-ZRB.d.ts → compactor-BuSdj3fq.d.ts} +1 -1
- package/dist/{config-rRS8yorV.d.ts → config-CR2yoG8c.d.ts} +61 -4
- package/dist/{context-Dw55zZ_Q.d.ts → context-DulAr8Zo.d.ts} +24 -0
- package/dist/coordination/index.d.ts +23 -16
- package/dist/coordination/index.js +192 -38
- package/dist/coordination/index.js.map +1 -1
- package/dist/{default-config-B0cj-Hry.d.ts → default-config-BbX4ojZs.d.ts} +1 -0
- package/dist/defaults/index.d.ts +29 -28
- package/dist/defaults/index.js +3238 -234
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +16 -16
- package/dist/execution/index.js +83 -3
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/prompt-enhancer.d.ts +1 -1
- package/dist/extension/index.d.ts +6 -6
- package/dist/{global-mailbox-DJ4EoRr0.d.ts → global-mailbox-CwcubDkA.d.ts} +1 -1
- package/dist/{goal-preamble-hM8BH7TK.d.ts → goal-preamble-Bu0a2uCG.d.ts} +10 -10
- package/dist/{goal-store-CWlbT0TO.d.ts → goal-store-CTmFuZ8J.d.ts} +1 -1
- package/dist/hq/index.d.ts +5 -5
- package/dist/hq/index.js +1 -0
- package/dist/hq/index.js.map +1 -1
- package/dist/{index-DWm_PE9L.d.ts → index-CTq5wU3m.d.ts} +14 -6
- package/dist/{index-2Lhk5v0o.d.ts → index-CxP-HBhX.d.ts} +8 -2
- package/dist/index.d.ts +230 -48
- package/dist/index.js +3731 -648
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +6 -6
- package/dist/kernel/index.d.ts +94 -14
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-BpWHTKlE.d.ts → mcp-servers-BQaOE71z.d.ts} +3 -3
- package/dist/models/index.d.ts +5 -5
- package/dist/{models-registry-CXQFUn5t.d.ts → models-registry-BEcny4kP.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-jyimfo7D.d.ts → multi-agent-coordinator-Bx8EFkv2.d.ts} +1 -1
- package/dist/{null-fleet-bus-DOGQcvrY.d.ts → null-fleet-bus-BC5ZXCQw.d.ts} +16 -6
- package/dist/observability/index.d.ts +2 -2
- package/dist/{parallel-eternal-engine-rItJBYp9.d.ts → parallel-eternal-engine-C345TI3n.d.ts} +10 -9
- package/dist/{path-resolver-DrpF5MGK.d.ts → path-resolver-C-W_wzkF.d.ts} +3 -3
- package/dist/{permission-CC7XFYWG.d.ts → permission-CsBGZkxp.d.ts} +1 -1
- package/dist/{permission-policy-cYR4RJmw.d.ts → permission-policy-g3Sg0GdZ.d.ts} +2 -2
- package/dist/{pipeline-Ckkn3AOA.d.ts → pipeline-xnw_24Z8.d.ts} +2 -2
- package/dist/{plan-templates-BvHw5Znw.d.ts → plan-templates-DGaiYEcS.d.ts} +32 -6
- package/dist/{provider-model-resolve-nZqnCeaR.d.ts → provider-model-resolve-Cz6OlIOp.d.ts} +3 -3
- package/dist/{provider-runner-zVOn1p67.d.ts → provider-runner-7J0HqF6B.d.ts} +3 -3
- package/dist/{retry-policy-BV7nzeAd.d.ts → retry-policy-kqXJOVkX.d.ts} +1 -1
- package/dist/sdd/index.d.ts +1114 -14
- package/dist/sdd/index.js +5516 -2949
- package/dist/sdd/index.js.map +1 -1
- package/dist/{secret-vault-eMBKfheR.d.ts → secret-vault-CMQUr-eB.d.ts} +1 -1
- package/dist/security/index.d.ts +5 -5
- package/dist/security/index.js +6 -0
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-C4ORTOid.d.ts → selector-B4r34PWR.d.ts} +1 -1
- package/dist/{session-event-bridge-CeNpUL9w.d.ts → session-event-bridge-BD3LoyLC.d.ts} +1 -1
- package/dist/{session-reader-BepLSnGL.d.ts → session-reader-DjrKGD9c.d.ts} +1 -1
- package/dist/storage/index.d.ts +12 -12
- package/dist/storage/index.js +380 -13
- package/dist/storage/index.js.map +1 -1
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/types/index.d.ts +20 -20
- package/dist/types/index.js +31 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +30 -4
- package/dist/utils/index.js +110 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/{index-DqW4o62H.d.ts → worktree-manager-DHdrWQ_7.d.ts} +48 -90
- package/dist/{wstack-paths-hOpNLmvf.d.ts → wstack-paths-BqkDAkoh.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as TextBlock, T as Tool, r as ToolUseBlock, C as Context, s as ToolResultBlock, c as Request, d as Response, P as Provider, i as ContentBlock, aj as WrongStackError } from './context-
|
|
1
|
+
import { q as TextBlock, T as Tool, r as ToolUseBlock, C as Context, s as ToolResultBlock, c as Request, d as Response, P as Provider, i as ContentBlock, aj as WrongStackError } from './context-DulAr8Zo.js';
|
|
2
2
|
import { L as Logger } from './logger-B63L5bTg.js';
|
|
3
|
-
import { B as BuildContext, H as HookRegistry, a as Renderer, P as Pipeline, C as Container } from './pipeline-
|
|
4
|
-
import { H as HookEvent, W as WireFamily, P as ProviderConfig } from './config-
|
|
3
|
+
import { B as BuildContext, H as HookRegistry, a as Renderer, P as Pipeline, C as Container } from './pipeline-xnw_24Z8.js';
|
|
4
|
+
import { Z as ToolDescriptionMode, _ as ToolDescriptionModeConfig, H as HookEvent, W as WireFamily, P as ProviderConfig } from './config-CR2yoG8c.js';
|
|
5
5
|
import { T as Tracer } from './observability-D-HZN_mF.js';
|
|
6
|
-
import { E as EventBus } from './brain-
|
|
7
|
-
import { P as PermissionPolicy, S as SecretScrubber } from './permission-
|
|
6
|
+
import { E as EventBus } from './brain-BDcQaku-.js';
|
|
7
|
+
import { P as PermissionPolicy, S as SecretScrubber } from './permission-CsBGZkxp.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A contributor that injects additional TextBlocks into the system prompt.
|
|
@@ -48,6 +48,7 @@ type SystemPromptContributor = (ctx: BuildContext) => Promise<TextBlock[]>;
|
|
|
48
48
|
type ToolWrapper = (tool: Tool) => Tool;
|
|
49
49
|
declare class ToolRegistry {
|
|
50
50
|
private readonly tools;
|
|
51
|
+
private readonly descriptionModes;
|
|
51
52
|
/** Monotonic version bumped on every registry mutation. */
|
|
52
53
|
private _version;
|
|
53
54
|
/** Cached `list()` result, frozen after build. Invalidated on _version change. */
|
|
@@ -55,6 +56,7 @@ declare class ToolRegistry {
|
|
|
55
56
|
private _listSnapshotVersion;
|
|
56
57
|
/** Pre-compute tool definition token estimate once at registration time. */
|
|
57
58
|
private _stampDefTokens;
|
|
59
|
+
private _prepareForStorage;
|
|
58
60
|
register(tool: Tool, owner?: string): void;
|
|
59
61
|
/**
|
|
60
62
|
* Attempt to register a tool. Returns true if successful, false if a tool
|
|
@@ -97,6 +99,12 @@ declare class ToolRegistry {
|
|
|
97
99
|
* registry.wrap('bash', (t) => ({ ...t, permission: 'confirm' }));
|
|
98
100
|
*/
|
|
99
101
|
wrap(name: string, wrapper: ToolWrapper, owner?: string): void;
|
|
102
|
+
setDescriptionMode(name: string, mode: ToolDescriptionMode): boolean;
|
|
103
|
+
getDescriptionMode(name: string): ToolDescriptionMode;
|
|
104
|
+
applyDescriptionModes(modes?: ToolDescriptionModeConfig): {
|
|
105
|
+
applied: number;
|
|
106
|
+
missing: string[];
|
|
107
|
+
};
|
|
100
108
|
get(name: string): Tool | undefined;
|
|
101
109
|
ownerOf(name: string): string | undefined;
|
|
102
110
|
list(): Tool[];
|
|
@@ -574,4 +582,4 @@ interface ToolCallPipelinePayload {
|
|
|
574
582
|
}
|
|
575
583
|
declare function createDefaultPipelines(): AgentPipelines;
|
|
576
584
|
|
|
577
|
-
export { type AgentPipelines as A, type BeforeIterationHook as B, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, type HookRunEnv as H, type OnErrorHook as O, ProviderRegistry as P, type RunResult as R, type SystemPromptContributor as S, type ToolExecutorOptions as T, type UserInputPayload as U, type ToolExecutorStrategy as a, type ToolBatchResult as b, type ToolCallPipelinePayload as c, type ToolWrapper as d, ToolRegistry as e, type ToolExecutorLike as f, type AgentInit as g, type AgentInput as h, type
|
|
585
|
+
export { type AgentPipelines as A, type BeforeIterationHook as B, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, type HookRunEnv as H, type OnErrorHook as O, ProviderRegistry as P, type RunResult as R, type SystemPromptContributor as S, type ToolExecutorOptions as T, type UserInputPayload as U, type ToolExecutorStrategy as a, type ToolBatchResult as b, type ToolCallPipelinePayload as c, type ToolWrapper as d, ToolRegistry as e, type ToolExecutorLike as f, type AgentInit as g, type AgentInput as h, type AgentExtension as i, type AfterIterationHook as j, type AfterRunHook as k, type AfterToolExecutionHook as l, type BeforeRunHook as m, type BeforeToolExecutionHook as n, HookRunner as o, type HookRunnerOptions as p, type PreToolUseResult as q, type PromptResult as r, type ProviderFactory as s, type ProviderRunnerWrapper as t, createDefaultPipelines as u, type ProviderRunnerFn as v };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import './secret-vault-
|
|
2
|
-
import './permission-policy-
|
|
1
|
+
import './secret-vault-CMQUr-eB.js';
|
|
2
|
+
import './permission-policy-g3Sg0GdZ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Well-known tool capabilities used for authorization decisions.
|
|
@@ -29,6 +29,12 @@ declare const ToolCapabilities: {
|
|
|
29
29
|
readonly MCP_PROXY: "mcp.proxy";
|
|
30
30
|
/** Can spawn or manage subagents / multi-agent tasks. */
|
|
31
31
|
readonly SUBAGENT_SPAWN: "subagent.spawn";
|
|
32
|
+
/** Can inspect fleet/subagent coordination state without mutating it. */
|
|
33
|
+
readonly COORDINATION_FLEET_READ: "coordination.fleet.read";
|
|
34
|
+
/** Can read or write inter-agent mailbox messages. */
|
|
35
|
+
readonly COORDINATION_MAIL: "coordination.mail";
|
|
36
|
+
/** Can schedule, inspect, or cancel in-session cron jobs. */
|
|
37
|
+
readonly COORDINATION_CRON: "coordination.cron";
|
|
32
38
|
/** Can mutate global or session configuration / trust state. */
|
|
33
39
|
readonly CONFIG_MUTATE: "config.mutate";
|
|
34
40
|
/** Can install packages or run package managers with side effects. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1,73 +1,72 @@
|
|
|
1
|
-
import { S as SystemPromptBuilder, b as ModelCapabilities, B as BuildContext, C as Container, H as HookRegistry, a as Renderer } from './pipeline-
|
|
2
|
-
export { c as BindOptions, D as Decorator, F as Factory, d as Middleware, M as MiddlewareHandler, N as NextFn, P as Pipeline, e as PipelineOptions, T as Token, h as hookMatcherMatches } from './pipeline-
|
|
3
|
-
import { E as EventBus, c as MemoryStore, a as EventName, L as Listener, B as BrainArbiter } from './brain-
|
|
4
|
-
export { e as BrainDecision, f as BrainDecisionOption, g as BrainDecisionQueue, h as BrainDecisionRequest, i as BrainDecisionSource, j as BrainFallback, k as BrainRisk, D as DefaultBrainArbiter, l as DefaultBrainArbiterOptions, m as EventLogger, n as EventMap, H as HumanEscalatingBrainArbiter, o as MEMORY_TYPE_LABELS, p as MemoryClearedPayload, q as MemoryConsolidatedPayload, b as MemoryEntry, r as MemoryForgottenPayload, s as MemoryPriority, d as MemoryRelevanceContext, t as MemoryRememberedPayload, M as MemoryScope, u as MemoryType, O as ObservableBrainArbiter, v as ScopedEventBus, S as ScoredEntry, w as formatHumanPrompt } from './brain-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export { a as PermissionDecision, S as SecretScrubber, T as TrustPolicy } from './permission-CC7XFYWG.js';
|
|
1
|
+
import { S as SystemPromptBuilder, b as ModelCapabilities, B as BuildContext, C as Container, H as HookRegistry, a as Renderer } from './pipeline-xnw_24Z8.js';
|
|
2
|
+
export { c as BindOptions, D as Decorator, F as Factory, d as Middleware, M as MiddlewareHandler, N as NextFn, P as Pipeline, e as PipelineOptions, T as Token, h as hookMatcherMatches } from './pipeline-xnw_24Z8.js';
|
|
3
|
+
import { E as EventBus, c as MemoryStore, a as EventName, L as Listener, B as BrainArbiter } from './brain-BDcQaku-.js';
|
|
4
|
+
export { e as BrainDecision, f as BrainDecisionOption, g as BrainDecisionQueue, h as BrainDecisionRequest, i as BrainDecisionSource, j as BrainFallback, k as BrainRisk, D as DefaultBrainArbiter, l as DefaultBrainArbiterOptions, m as EventLogger, n as EventMap, H as HumanEscalatingBrainArbiter, o as MEMORY_TYPE_LABELS, p as MemoryClearedPayload, q as MemoryConsolidatedPayload, b as MemoryEntry, r as MemoryForgottenPayload, s as MemoryPriority, d as MemoryRelevanceContext, t as MemoryRememberedPayload, M as MemoryScope, u as MemoryType, O as ObservableBrainArbiter, v as ScopedEventBus, S as ScoredEntry, w as formatHumanPrompt } from './brain-BDcQaku-.js';
|
|
5
|
+
export { RunController, RunControllerOptions, TOKENS } from './kernel/index.js';
|
|
6
|
+
import { C as Context, P as Provider, T as Tool, c as Request, d as Response, M as Message, i as ContentBlock, q as TextBlock, J as JSONSchema } from './context-DulAr8Zo.js';
|
|
7
|
+
export { A as AgentError, f as CacheStats, p as CacheTtl, n as Capabilities, z as ConfigError, B as ContextEvidenceState, D as ContextFileEvidence, E as ContextInit, F as ContextIntentEvidence, G as ContextRepeatedReadEvidence, y as ConversationState, H as ERROR_CODES, I as ErrorCode, K as ErrorSeverity, L as ErrorSubsystem, N as FileSnapshot, O as FsError, Q as ImageBlock, V as JsonSchemaSpec, W as MessageRole, h as Permission, X as PluginError, g as ProviderError, Y as ProviderErrorBody, Z as ReadonlyConversationState, a as ReasoningConfig, o as ReasoningEffort, R as ReasoningRequest, _ as RequestCacheControl, $ as ResponseFormat, u as ResumedSession, a0 as RiskTier, a1 as RunEnv, t as RunOptions, a2 as SafetySetting, a3 as SddError, v as SessionData, a4 as SessionError, S as SessionEvent, j as SessionMetadata, k as SessionStore, w as SessionSummary, b as SessionWriter, a5 as StateChange, a6 as StateChangeHandler, a7 as StopReason, a8 as StreamEvent, a9 as StreamHangError, aa as ThinkingBlock, x as TodoItem, e as TokenCounter, ab as ToolCallContext, ac as ToolError, ad as ToolErrorCategory, ae as ToolErrorInfo, af as ToolEvidenceStatus, ag as ToolFinalEvent, ah as ToolIconId, m as ToolOutputMetadata, l as ToolProgressEvent, s as ToolResultBlock, ai as ToolStreamEvent, r as ToolUseBlock, U as Usage, aj as WrongStackError, ak as asBlocks, al as asText, am as extractRunEnv, an as isAgentError, ao as isConfigError, ap as isFsError, aq as isImageBlock, ar as isPluginError, as as isSddError, at as isSessionError, au as isTextBlock, av as isThinkingBlock, aw as isToolError, ax as isToolResultBlock, ay as isToolUseBlock, az as isWrongStackError, aA as toWrongStackError, aB as wrapAsState } from './context-DulAr8Zo.js';
|
|
8
|
+
import { P as ProviderRunner, R as RunProviderOptions$1 } from './provider-runner-7J0HqF6B.js';
|
|
9
|
+
import { C as Config, m as HookInput, n as HookOutcome, T as TokenSavingTier, H as HookEvent, f as HookMatcher, I as InProcessHook, d as ModelMatrixEntry, j as ConfigStore } from './config-CR2yoG8c.js';
|
|
10
|
+
export { A as AdaptiveConcurrencyConfig, o as AutonomyConfig, p as CONTEXT_WINDOW_MODES, q as CircuitBreakerRuntimeConfig, k as ConfigLoader, r as ContextConfig, h as ContextWindowAggressiveOn, s as ContextWindowConfigLike, t as ContextWindowMode, u as ContextWindowModeId, i as ContextWindowPolicy, v as ContextWindowThresholds, w as CustomModelDefinition, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, x as DEFAULT_TUI_THINKING_WORD, E as ExecToolConfig, F as FeaturesConfig, g as HookEntry, y as HqClientConfig, z as IndexingConfig, L as LaunchConfig, B as LogConfig, G as MAX_TUI_THINKING_WORD_LENGTH, c as MCPServerConfig, J as ModelRuntimeCacheConfig, K as ModelRuntimeConfig, N as ModelRuntimeParametersConfig, O as ModelRuntimeReasoningConfig, e as ModelsDevModel, a as ModelsDevPayload, Q as ModelsDevProvider, M as ModelsRegistry, U as PluginConfig, V as ProviderApiKey, P as ProviderConfig, b as ResolvedModel, R as ResolvedProvider, X as SessionLoggingConfig, S as ShellHook, Y as SyncCategory, l as SyncConfig, Z as ToolDescriptionMode, _ as ToolDescriptionModeConfig, $ as ToolsConfig, W as WireFamily, a0 as formatContextWindowModeList, a1 as getContextWindowMode, a2 as isContextWindowModeId, a3 as listContextWindowModes, a4 as normalizeTokenSavingTier, a5 as normalizeTuiThinkingWord, a6 as resolveContextWindowPolicy } from './config-CR2yoG8c.js';
|
|
11
|
+
export { a as CompactReport, C as Compactor } from './compactor-BuSdj3fq.js';
|
|
12
|
+
import { P as PermissionPolicy } from './permission-CsBGZkxp.js';
|
|
13
|
+
export { a as PermissionDecision, S as SecretScrubber, T as TrustPolicy } from './permission-CsBGZkxp.js';
|
|
15
14
|
export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from './session-rewinder-C9HnMkhP.js';
|
|
16
|
-
import { A as AttachmentStore, b as AttachmentRef, a as AddAttachmentInput } from './session-reader-
|
|
17
|
-
export { c as Attachment, d as AttachmentKind, e as AttachmentMeta, D as DefaultSessionReader, f as DefaultSessionReaderOptions, S as SessionReader } from './session-reader-
|
|
18
|
-
export { D as DEFAULT_AUTONOMY_CONFIG, a as DEFAULT_CIRCUIT_BREAKER_CONFIG, b as DEFAULT_CONTEXT_CONFIG, c as DEFAULT_SESSION_LOGGING_CONFIG, d as DEFAULT_SESSION_PRUNE_DAYS, e as DEFAULT_TOOLS_CONFIG } from './default-config-
|
|
19
|
-
import { D as DefaultSecretVault } from './secret-vault-
|
|
20
|
-
export { a as DefaultSecretScrubber, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, i as isSecretField, m as migratePlaintextSecrets, r as rewriteConfigEncrypted, b as rotateConfigKeys } from './secret-vault-
|
|
15
|
+
import { A as AttachmentStore, b as AttachmentRef, a as AddAttachmentInput } from './session-reader-DjrKGD9c.js';
|
|
16
|
+
export { c as Attachment, d as AttachmentKind, e as AttachmentMeta, D as DefaultSessionReader, f as DefaultSessionReaderOptions, S as SessionReader } from './session-reader-DjrKGD9c.js';
|
|
17
|
+
export { D as DEFAULT_AUTONOMY_CONFIG, a as DEFAULT_CIRCUIT_BREAKER_CONFIG, b as DEFAULT_CONTEXT_CONFIG, c as DEFAULT_SESSION_LOGGING_CONFIG, d as DEFAULT_SESSION_PRUNE_DAYS, e as DEFAULT_TOOLS_CONFIG } from './default-config-BbX4ojZs.js';
|
|
18
|
+
import { D as DefaultSecretVault } from './secret-vault-CMQUr-eB.js';
|
|
19
|
+
export { a as DefaultSecretScrubber, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, i as isSecretField, m as migratePlaintextSecrets, r as rewriteConfigEncrypted, b as rotateConfigKeys } from './secret-vault-CMQUr-eB.js';
|
|
21
20
|
import { D as DefaultLogger } from './logger-DmmQhf4P.js';
|
|
22
21
|
export { a as DefaultLoggerOptions, L as LogFormat, n as noOpLogger } from './logger-DmmQhf4P.js';
|
|
23
|
-
import { D as DefaultPathResolver } from './path-resolver-
|
|
24
|
-
export { a as DefaultTokenCounter } from './path-resolver-
|
|
25
|
-
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, E as EternalAutonomyEngine, c as EternalAutonomyOptions, d as EternalEngineState, H as HybridCompactor, I as IterationStage, P as ParallelEngineState, e as ParallelEternalEngine, f as ParallelEternalOptions, g as ParallelIterationStage, R as RecoveryStrategy, T as ToolExecutor, h as buildRecoveryStrategies } from './parallel-eternal-engine-
|
|
22
|
+
import { D as DefaultPathResolver } from './path-resolver-C-W_wzkF.js';
|
|
23
|
+
export { a as DefaultTokenCounter } from './path-resolver-C-W_wzkF.js';
|
|
24
|
+
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, E as EternalAutonomyEngine, c as EternalAutonomyOptions, d as EternalEngineState, H as HybridCompactor, I as IterationStage, P as ParallelEngineState, e as ParallelEternalEngine, f as ParallelEternalOptions, g as ParallelIterationStage, R as RecoveryStrategy, T as ToolExecutor, h as buildRecoveryStrategies } from './parallel-eternal-engine-C345TI3n.js';
|
|
26
25
|
import { S as SkillLoader } from './skill-DGIXCtdv.js';
|
|
27
26
|
export { b as SkillEntry, a as SkillManifest } from './skill-DGIXCtdv.js';
|
|
28
27
|
export { I as InputReader, P as PromptOption } from './input-reader-E-ffP2ee.js';
|
|
29
|
-
import { k as SlashCommand, P as PluginAPI, l as PluginPipelines, m as ToolRegistryView, n as ProviderRegistryView, o as MCPRegistryView, p as SlashCommandRegistryView, q as SessionWriterView, r as MetricsSinkView, s as PluginCapabilities, t as PluginDependency, u as Plugin } from './agent-subagent-runner-
|
|
30
|
-
export { g as Agent, h as AgentFactory, v as AgentFactoryResult, w as AgentRunnerOptions, x as BudgetExceededError, y as BudgetKind, z as BudgetLimits, E as BudgetNegotiationMode, G as BudgetThresholdDecision, H as BudgetThresholdHandler, I as BudgetThresholdSignal, J as BudgetUsage, K as CoordinatorEvents, C as CoordinatorStatus, L as DECISION_TIMEOUT_MS, D as DoneCondition, F as FleetBus, N as FleetEvent, O as FleetHandler, i as FleetUsage, j as FleetUsageAggregator, c as MultiAgentConfig, M as MultiAgentCoordinator, e as SpawnResult, Q as SubagentBudget, S as SubagentConfig, R as SubagentContext, U as SubagentError, V as SubagentErrorKind, W as SubagentRunContext, X as SubagentRunOutcome, d as SubagentRunner, Y as SubagentUsageSnapshot, Z as TIMEOUT_PREEMPT_FRACTION, _ as TaskDelegation, f as TaskResult, T as TaskSpec, $ as makeAgentSubagentRunner, a0 as withDisabledToolFiltering } from './agent-subagent-runner-
|
|
31
|
-
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-
|
|
28
|
+
import { k as SlashCommand, P as PluginAPI, l as PluginPipelines, m as ToolRegistryView, n as ProviderRegistryView, o as MCPRegistryView, p as SlashCommandRegistryView, q as SessionWriterView, r as MetricsSinkView, s as PluginCapabilities, t as PluginDependency, u as Plugin } from './agent-subagent-runner-Dx7fZ1bE.js';
|
|
29
|
+
export { g as Agent, h as AgentFactory, v as AgentFactoryResult, w as AgentRunnerOptions, x as BudgetExceededError, y as BudgetKind, z as BudgetLimits, E as BudgetNegotiationMode, G as BudgetThresholdDecision, H as BudgetThresholdHandler, I as BudgetThresholdSignal, J as BudgetUsage, K as CoordinatorEvents, C as CoordinatorStatus, L as DECISION_TIMEOUT_MS, D as DoneCondition, F as FleetBus, N as FleetEvent, O as FleetHandler, i as FleetUsage, j as FleetUsageAggregator, c as MultiAgentConfig, M as MultiAgentCoordinator, e as SpawnResult, Q as SubagentBudget, S as SubagentConfig, R as SubagentContext, U as SubagentError, V as SubagentErrorKind, W as SubagentRunContext, X as SubagentRunOutcome, d as SubagentRunner, Y as SubagentUsageSnapshot, Z as TIMEOUT_PREEMPT_FRACTION, _ as TaskDelegation, f as TaskResult, T as TaskSpec, $ as makeAgentSubagentRunner, a0 as withDisabledToolFiltering } from './agent-subagent-runner-Dx7fZ1bE.js';
|
|
30
|
+
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-BEcny4kP.js';
|
|
32
31
|
import { M as ModeStore } from './mode-CZlO9iU1.js';
|
|
33
32
|
export { D as DEFAULT_MODES, b as Mode, a as ModeConfig, c as ModeManifest } from './mode-CZlO9iU1.js';
|
|
34
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-
|
|
33
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-DpKIxHhE.js';
|
|
35
34
|
export { D as DEFAULT_SPEC_TEMPLATE, S as SpecAnalysis, a as SpecApiEndpoint, b as SpecRequirement, c as SpecSection, d as SpecSectionType, e as SpecStatus, f as SpecTemplate, g as SpecValidationResult, h as Specification } from './spec-TBi3Jr6T.js';
|
|
36
35
|
import { d as TaskGraph, T as TaskType, a as TaskPriority, e as TaskNode } from './task-graph-u1q9Jkyk.js';
|
|
37
36
|
export { C as CriticalPathResult, f as TaskAssignment, g as TaskDependency, h as TaskEdge, i as TaskFilter, c as TaskProgress, j as TaskSort, b as TaskStatus, k as computeTaskProgress, l as findCriticalPath, t as topologicalSort } from './task-graph-u1q9Jkyk.js';
|
|
38
37
|
import { T as Tracer, M as MetricsSink, H as HealthRegistry } from './observability-D-HZN_mF.js';
|
|
39
38
|
export { A as AggregateHealth, a as HealthCheck, b as HealthCheckResult, c as HealthStatus, d as MetricLabels, e as MetricSeries, f as MetricsSnapshot, S as Span } from './observability-D-HZN_mF.js';
|
|
40
|
-
import { e as ToolRegistry, S as SystemPromptContributor, E as ExtensionRegistry, P as ProviderRegistry, A as AgentPipelines, f as ToolExecutorLike, c as ToolCallPipelinePayload } from './index-
|
|
41
|
-
export {
|
|
39
|
+
import { e as ToolRegistry, i as AgentExtension, S as SystemPromptContributor, E as ExtensionRegistry, P as ProviderRegistry, A as AgentPipelines, f as ToolExecutorLike, c as ToolCallPipelinePayload } from './index-CTq5wU3m.js';
|
|
40
|
+
export { j as AfterIterationHook, k as AfterRunHook, l as AfterToolExecutionHook, g as AgentInit, h as AgentInput, B as BeforeIterationHook, m as BeforeRunHook, n as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, H as HookRunEnv, o as HookRunner, p as HookRunnerOptions, O as OnErrorHook, q as PreToolUseResult, r as PromptResult, s as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, d as ToolWrapper, U as UserInputPayload, u as createDefaultPipelines } from './index-CTq5wU3m.js';
|
|
42
41
|
export { AutonomyStage, DistributiveOmit, DistributivePick } from './types/index.js';
|
|
43
42
|
import { estimateMessageTokens } from './utils/index.js';
|
|
44
|
-
export { AtomicWriteOptions, BuildChildEnvOptions, CompactToolDefinitionForWireOptions, CompactWireToolDefinition, CompileFail, CompileResult, DeepMergeOptions, FORBIDDEN_PROTO_KEYS, FileLockOptions, JsonObject, JsonPath, JsonPathSegment, MessageRepairReport, MessageRepairResult, NewlineStyle, OutputLineGuard, RecordToolOutputEvidenceInput, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, ToolWireDefinitionLike, UnifiedDiffOptions, ValidationError, ValidationResult, assertNever, assertNotPrivateHost, atomicWrite, buildChildEnv, buildContextEvidenceDigest, color, compactSchemaDescriptions, compactToolDefinitionForWire, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, createContextEvidenceState, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, escapeGlobSubject, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, expandIPv6, formatTodosList, getCalibrationState, getJsonPath, getTermSize, isInteractive, isJsonObject, isPathSubjectKey, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isStdinTTY, isStdoutTTY, jsonObjectFileExists, markAssistantReferencedEvidence, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizePathSubject, normalizeToLf, onResize, readJsonObjectFile, recordActualUsage, recordToolOutputEvidence, recordUserIntentEvidence, removeJsonPath, removeJsonPathInFile, repairToolUseAdjacency, repeatedReadPressure, resetCalibration, safeParse, safeStringify, sanitizeJsonString, sanitizeNodeOptions, setJsonPath, setJsonPathInFile, setOutputLineGuard, setRawMode, sleep, stripAnsi, subjectForToolInput, toStyle, truncate, unifiedDiff, updateJsonObjectFile, validateAgainstSchema, withFileLock, writeErr, writeJsonObjectFile, writeOut } from './utils/index.js';
|
|
43
|
+
export { AtomicWriteOptions, BuildChildEnvOptions, CompactToolDefinitionForWireOptions, CompactWireToolDefinition, CompileFail, CompileResult, DEFAULT_TOOL_DESCRIPTION_MODE, DeepMergeOptions, FORBIDDEN_PROTO_KEYS, FileLockOptions, JsonObject, JsonPath, JsonPathSegment, MessageRepairReport, MessageRepairResult, NewlineStyle, OutputLineGuard, RecordToolOutputEvidenceInput, RequestTokenBreakdown, SafeParseResult, ToolDescriptionRegistryLike, ToolOutputSerializerOptions, ToolWireDefinitionLike, UnifiedDiffOptions, ValidationError, ValidationResult, applyToolDescriptionModeToTool, applyToolDescriptionModes, assertNever, assertNotPrivateHost, atomicWrite, buildChildEnv, buildContextEvidenceDigest, color, compactSchemaDescriptions, compactToolDefinitionForWire, compileGlob, compileUserRegex, completePartialObject, computeMessageTokens, createContextEvidenceState, createToolOutputSerializer, deepMerge, detectNewlineStyle, ensureDir, escapeGlobSubject, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, expandIPv6, formatTodosList, getCalibrationState, getJsonPath, getTermSize, getToolDescriptionMode, isInteractive, isJsonObject, isPathSubjectKey, isPrimitiveArray, isPrivateIPv4, isPrivateIPv6, isStdinTTY, isStdoutTTY, jsonObjectFileExists, markAssistantReferencedEvidence, matchAny, matchGlob, mergeCustomModelDefs, mergeModelsPayload, normalizePathSubject, normalizeToLf, normalizeToolDescriptionMode, onResize, readJsonObjectFile, recordActualUsage, recordToolOutputEvidence, recordUserIntentEvidence, removeJsonPath, removeJsonPathInFile, repairToolUseAdjacency, repeatedReadPressure, resetCalibration, resolveToolDescriptionMode, safeParse, safeStringify, sanitizeJsonString, sanitizeNodeOptions, setJsonPath, setJsonPathInFile, setOutputLineGuard, setRawMode, setToolDescriptionMode, simplifyToolDescription, sleep, stripAnsi, subjectForToolInput, toStyle, truncate, unifiedDiff, updateJsonObjectFile, validateAgainstSchema, withFileLock, writeErr, writeJsonObjectFile, writeOut } from './utils/index.js';
|
|
45
44
|
export { H as HttpDispatcher, a as HttpsAgentAsDispatcher } from './dispatcher-types.d-BBeXBQgS.js';
|
|
46
45
|
export { toErrorMessage } from './utils/error.js';
|
|
47
46
|
export { expectDefined } from './utils/expect-defined.js';
|
|
48
47
|
export { T as TaskItem, c as computeTaskItemProgress, f as formatTaskList, a as formatTaskProgress } from './task-format-vGOIftmK.js';
|
|
49
|
-
import { W as WstackPaths } from './wstack-paths-
|
|
50
|
-
export { a as WstackPathOptions, p as projectHash, b as projectSlug, r as resolveWstackPaths, w as wstackGlobalRoot } from './wstack-paths-
|
|
51
|
-
export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOptions, b as ConfigMigration, c as ConfigMigrationError, d as ConfigSource, D as DEFAULT_CONFIG_MIGRATIONS, e as DefaultAttachmentStore, f as DefaultConfigLoader, g as DefaultConfigStore, h as DefaultMemoryStore, i as DefaultSessionStore, F as FileMemoryBackend, j as FileMemoryBackendOptions, M as MemoryBackend, k as MemoryStoreOptions, l as MigrationContext, m as MigrationResult, P as PersistedQueueItem, n as PlanFile, o as PlanItem, p as PlanTemplate, Q as QueueStore, R as RecoveryLock, q as RecoveryLockOptions, S as SessionAnalyzer, r as SessionStoreOptions, T as TodosCheckpointFile, s as addPlanItem, t as attachPlanCheckpoint, u as attachTodosCheckpoint, v as clearPlan, w as deriveTodosFromPlanItem, x as emptyPlan, y as formatPlan, z as formatPlanTemplates, B as getPlanTemplate, E as listPlanTemplates, G as loadPlan, H as loadTodosCheckpoint, I as mutatePlan, J as parseEntries, K as removePlanItem, L as runConfigMigrations, N as savePlan, O as saveTodosCheckpoint, U as setPlanItemStatus } from './plan-templates-
|
|
52
|
-
export { A as AuditLevel, C as CORE_RECONSTRUCT_EVENTS, a as STANDARD_AUDIT_EVENTS, S as SessionEventBridge, b as SessionEventBridgeOptions, c as SessionSamplingOptions, T as ToolProgressSamplingOptions, d as createSessionEventBridge, r as resolveAuditLevel, e as resolveSessionLoggingConfig } from './session-event-bridge-
|
|
48
|
+
import { W as WstackPaths } from './wstack-paths-BqkDAkoh.js';
|
|
49
|
+
export { a as WstackPathOptions, p as projectHash, b as projectSlug, r as resolveWstackPaths, w as wstackGlobalRoot } from './wstack-paths-BqkDAkoh.js';
|
|
50
|
+
export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOptions, b as ConfigMigration, c as ConfigMigrationError, d as ConfigSource, D as DEFAULT_CONFIG_MIGRATIONS, e as DefaultAttachmentStore, f as DefaultConfigLoader, g as DefaultConfigStore, h as DefaultMemoryStore, i as DefaultSessionStore, F as FileMemoryBackend, j as FileMemoryBackendOptions, M as MemoryBackend, k as MemoryStoreOptions, l as MigrationContext, m as MigrationResult, P as PersistedQueueItem, n as PlanFile, o as PlanItem, p as PlanTemplate, Q as QueueStore, R as RecoveryLock, q as RecoveryLockOptions, S as SessionAnalyzer, r as SessionStoreOptions, T as TodosCheckpointFile, s as addPlanItem, t as attachPlanCheckpoint, u as attachTodosCheckpoint, v as clearPlan, w as deriveTodosFromPlanItem, x as emptyPlan, y as formatPlan, z as formatPlanTemplates, B as getPlanTemplate, E as listPlanTemplates, G as loadPlan, H as loadTodosCheckpoint, I as mutatePlan, J as parseEntries, K as removePlanItem, L as runConfigMigrations, N as savePlan, O as saveTodosCheckpoint, U as setPlanItemStatus } from './plan-templates-DGaiYEcS.js';
|
|
51
|
+
export { A as AuditLevel, C as CORE_RECONSTRUCT_EVENTS, a as STANDARD_AUDIT_EVENTS, S as SessionEventBridge, b as SessionEventBridgeOptions, c as SessionSamplingOptions, T as ToolProgressSamplingOptions, d as createSessionEventBridge, r as resolveAuditLevel, e as resolveSessionLoggingConfig } from './session-event-bridge-BD3LoyLC.js';
|
|
53
52
|
export { a as DirectorStateCheckpoint, D as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BfeCUbmk.js';
|
|
54
|
-
export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-
|
|
55
|
-
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from './goal-preamble-
|
|
53
|
+
export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-g3Sg0GdZ.js';
|
|
54
|
+
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from './goal-preamble-Bu0a2uCG.js';
|
|
56
55
|
export { DefaultProviderRunner } from './defaults/index.js';
|
|
57
|
-
export { A as ACP_AGENTS, a as AGENTS_BY_PHASE, b as AGENT_CATALOG, c as ALL_AGENT_DEFINITIONS, d as ALL_FLEET_AGENTS, e as AUDIT_LOG_AGENT, f as AutoExtendCeiling, g as AutoExtendPolicy, B as BUG_HUNTER_AGENT, h as BugFinding, C as CollabBudgetConfig, i as CollabBudgetOverrides, j as CollabBudgetWarningPayload, k as CollabDebugReport, l as CollabSession, m as CollabSessionOptions, n as CreateDelegateToolOptions, o as CriticConcern, p as CriticEvaluation, D as DEFAULT_DIRECTOR_PREAMBLE, q as DEFAULT_SUBAGENT_BASELINE, r as DelegateHost, s as Director, t as DirectorAlert, u as DirectorAlertLevel, v as DirectorCancelCollabPayload, w as DirectorPromptParts, x as DirectorSessionFactory, y as DirectorSessionFactoryOptions, F as FLEET_ROSTER, z as FLEET_ROSTER_BUDGETS, E as FLEET_ROSTER_WITHACP, G as FleetCostCapError, H as FleetManager, I as FleetManagerOptions, J as FleetRosterBudget, K as FleetSpawnBudgetError, L as ICoordinator, M as IFleetManager, N as LargeAnswerStore, O as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, P as RefactorPhase, Q as RefactorPlan, S as SECURITY_SCANNER_AGENT, T as SharedFileEntry, U as SharedFileSnapshot, V as SubagentPromptParts, W as applyRosterBudget, X as attachAutoExtend, Y as composeDirectorPrompt, Z as composeSubagentPrompt, _ as createDelegateTool, $ as getAgentDefinition, a0 as makeAskResultTool, a1 as makeAskTool, a2 as makeAssignTool, a3 as makeAwaitTasksTool, a4 as makeCollabDebugTool, a5 as makeDirectorSessionFactory, a6 as makeFleetEmitTool, a7 as makeFleetHealthTool, a8 as makeFleetSessionTool, a9 as makeFleetStatusTool, aa as makeFleetUsageTool, ab as makeRollUpTool, ac as makeSpawnTool, ad as makeTerminateTool, ae as makeWorkCompleteTool, af as rosterSummaryFromConfigs } from './null-fleet-bus-
|
|
58
|
-
export { T as AGENT_TOOL_PRESETS, c as AgentBudgetTier, d as AgentCapability, b as AgentDefinition, A as AgentPhase, e as DEFAULT_DISPATCH_ROLE, a as DefaultMultiAgentCoordinator, f as DispatchCandidate, D as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, H as HEAVY_BUDGET, L as LIGHT_BUDGET, M as MEDIUM_BUDGET, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-
|
|
59
|
-
export { D as DefaultModeStore, L as LLMSelector, a as LLMSelectorOptions, M as ModeLoaderOptions, P as ProviderModelDescriptor, d as describeCatalogModel, l as loadProjectModes, b as loadUserModes, r as resolveProviderModelList } from './provider-model-resolve-
|
|
56
|
+
export { A as ACP_AGENTS, a as AGENTS_BY_PHASE, b as AGENT_CATALOG, c as ALL_AGENT_DEFINITIONS, d as ALL_FLEET_AGENTS, e as AUDIT_LOG_AGENT, f as AutoExtendCeiling, g as AutoExtendPolicy, B as BUG_HUNTER_AGENT, h as BugFinding, C as CollabBudgetConfig, i as CollabBudgetOverrides, j as CollabBudgetWarningPayload, k as CollabDebugReport, l as CollabSession, m as CollabSessionOptions, n as CreateDelegateToolOptions, o as CriticConcern, p as CriticEvaluation, D as DEFAULT_DIRECTOR_PREAMBLE, q as DEFAULT_SUBAGENT_BASELINE, r as DelegateHost, s as Director, t as DirectorAlert, u as DirectorAlertLevel, v as DirectorCancelCollabPayload, w as DirectorPromptParts, x as DirectorSessionFactory, y as DirectorSessionFactoryOptions, F as FLEET_ROSTER, z as FLEET_ROSTER_BUDGETS, E as FLEET_ROSTER_WITHACP, G as FleetCostCapError, H as FleetManager, I as FleetManagerOptions, J as FleetRosterBudget, K as FleetSpawnBudgetError, L as ICoordinator, M as IFleetManager, N as LargeAnswerStore, O as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, P as RefactorPhase, Q as RefactorPlan, S as SECURITY_SCANNER_AGENT, T as SharedFileEntry, U as SharedFileSnapshot, V as SubagentPromptParts, W as applyRosterBudget, X as attachAutoExtend, Y as composeDirectorPrompt, Z as composeSubagentPrompt, _ as createDelegateTool, $ as getAgentDefinition, a0 as makeAskResultTool, a1 as makeAskTool, a2 as makeAssignTool, a3 as makeAwaitTasksTool, a4 as makeCollabDebugTool, a5 as makeDirectorSessionFactory, a6 as makeFleetEmitTool, a7 as makeFleetHealthTool, a8 as makeFleetSessionTool, a9 as makeFleetStatusTool, aa as makeFleetUsageTool, ab as makeRollUpTool, ac as makeSpawnTool, ad as makeTerminateTool, ae as makeWorkCompleteTool, af as rosterSummaryFromConfigs } from './null-fleet-bus-BC5ZXCQw.js';
|
|
57
|
+
export { T as AGENT_TOOL_PRESETS, c as AgentBudgetTier, d as AgentCapability, b as AgentDefinition, A as AgentPhase, e as DEFAULT_DISPATCH_ROLE, a as DefaultMultiAgentCoordinator, f as DispatchCandidate, D as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, H as HEAVY_BUDGET, L as LIGHT_BUDGET, M as MEDIUM_BUDGET, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-Bx8EFkv2.js';
|
|
58
|
+
export { D as DefaultModeStore, L as LLMSelector, a as LLMSelectorOptions, M as ModeLoaderOptions, P as ProviderModelDescriptor, d as describeCatalogModel, l as loadProjectModes, b as loadUserModes, r as resolveProviderModelList } from './provider-model-resolve-Cz6OlIOp.js';
|
|
60
59
|
import { TaskStore } from './sdd/index.js';
|
|
61
|
-
export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CriticalPathAnalysis, DefaultTaskStore, ExecutionSummary, GeneratedTask, SPEC_TEMPLATES, SddParallelRun, SddParallelRunOptions, SddProgress, SddTaskDecomposer, SddTaskDecomposerOptions, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, TaskBatch, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskTracker, TaskTrackerOptions, TaskTransition, WaveResult, analyzeCriticalPath, createAutoExecutor, getTemplate, listTemplates, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, templateToMarkdown } from './sdd/index.js';
|
|
60
|
+
export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CommandVerifierOptions, ConflictSide, CriticalPathAnalysis, DefaultTaskStore, DestroySddProjectOptions, DestroySddProjectResult, ExecutionSummary, GeneratedTask, LlmConflictResolverOptions, RollbackFromDiskOptions, SPEC_TEMPLATES, SddBoardColumn, SddBoardEvent, SddBoardFeedEntry, SddBoardIndexEntry, SddBoardProjector, SddBoardProjectorOptions, SddBoardSnapshot, SddBoardStatus, SddBoardStore, SddBoardStoreOptions, SddBoardTask, SddDeadlockChain, SddIngestResult, SddInterviewDriver, SddInterviewDriverOptions, SddInterviewSnapshot, SddParallelRun, SddParallelRunOptions, SddProgress, SddRunControl, SddRunHandle, SddRunRegistry, SddSubtaskSpec, SddSupervisor, SddSupervisorOptions, SddSupervisorVerdict, SddTaskDecomposer, SddTaskDecomposerOptions, SddTaskDisplayStatus, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, StartSddRunOptions, SubtaskGeneratorOptions, TaskBatch, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskTracker, TaskTrackerOptions, TaskTransition, WaveResult, analyzeCriticalPath, buildBoardSnapshot, buildBoardTasks, cleanupSddWorktrees, createAutoExecutor, destroySddProject, extractVerificationCommand, getTemplate, hasConflictMarkers, isExplanatoryText, listTemplates, makeCommandVerifier, makeLlmConflictResolver, makeLlmSubtaskGenerator, makePreferSideConflictResolver, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, resolveConflictText, rollbackSddRunFromDisk, shortIdMap, startSddRun, templateToMarkdown } from './sdd/index.js';
|
|
62
61
|
export { DefaultHealthRegistry, InMemoryMetricsSink, MetricsServerHandle, MetricsServerOptions, NoopMetricsSink, NoopTracer, OTelTracer, OtlpMetricsExporterHandle, OtlpMetricsExporterOptions, OtlpTraceExporterHandle, OtlpTraceExporterOptions, PROMETHEUS_CONTENT_TYPE, buildOtlpMetricsRequest, buildOtlpTracesRequest, renderPrometheus, startMetricsServer, startOtlpMetricsExporter, startOtlpTraceExporter, wireMetricsToEvents } from './observability/index.js';
|
|
63
|
-
export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, p as playwrightServer, s as sentinelServer, q as slackServer, r as sshManagerServer, z as zaiVisionServer } from './mcp-servers-
|
|
62
|
+
export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, p as playwrightServer, s as sentinelServer, q as slackServer, r as sshManagerServer, z as zaiVisionServer } from './mcp-servers-BQaOE71z.js';
|
|
64
63
|
export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
|
|
65
64
|
import { ReplayLogStore, DefaultPromptStore } from './storage/index.js';
|
|
66
65
|
export { ALL_SYNC_CATEGORIES, AgentEntry, AgentLiveStatus, AgentStatusTracker, AgentStatusTrackerOptions, Annotation, AnnotationsStore, AnnotationsStoreOptions, AuditEntry, CloudSync, ConsolidationOp, DefaultSessionRewinder, FleetNotifier, FleetNotifierOptions, GraphMemoryBackend, GraphMemoryBackendOptions, MemoryConsolidatorOptions, PromptEntry, PromptStore, RecoveryPlan, ReplayEntry, ReplayLogStoreOptions, SessionLiveStatus, SessionMemoryConsolidator, SessionRecovery, SessionRegistry, SessionRegistryEntry, SessionRewinderOptions, StaleSession, SyncResult, TaskFile, ToolAuditLog, ToolAuditLogOptions, VerifyResult, emptyTaskFile, generateSessionId, getSessionRegistry, hasSessionRegistry, loadTasks, mutateTasks, sanitizeModel, saveTasks } from './storage/index.js';
|
|
67
|
-
export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as MAX_PROGRESS_HISTORY, P as ProgressSnapshot, b as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, p as parseProgressFromText, r as recordProgress, s as saveGoal, c as setProgress, d as summarizeUsage } from './goal-store-
|
|
68
|
-
export { D as DEFAULT_HQ_REDACTION_POLICY, G as GlobalMailbox, H as HQ_PROTOCOL_VERSION, a as HqAgentMessagePayload, b as HqAgentStatusPayload, c as HqAlertMessage, d as HqBrowserEventMessage, e as HqBrowserMessage, f as HqBrowserSnapshotMessage, g as HqClientCapability, h as HqClientCommandAckMessage, i as HqClientCommandPollMessage, j as HqClientEventMessage, k as HqClientHeartbeatPayload, l as HqClientHelloMessage, m as HqClientHelloPayload, n as HqClientIdentity, o as HqClientKind, p as HqClientMessage, q as HqClientRecord, r as HqEventEnvelope, s as HqEventPayloadResult, t as HqEventType, u as HqFleetEventPayload, v as HqFleetSnapshotPayload, w as HqFleetSummary, x as HqGitSnapshotPayload, y as HqMachineRecord, z as HqMailboxAgentStatus, A as HqMailboxAgentSummary, B as HqMailboxEventAction, C as HqMailboxEventPayload, E as HqMailboxMappingOptions, F as HqMailboxMessageSummary, I as HqMailboxMessageType, J as HqMailboxPriority, K as HqMailboxSnapshotOptions, L as HqMailboxSnapshotPayload, M as HqMailboxSummary, N as HqParseResult, O as HqPathPolicy, P as HqProjectIdentity, Q as HqProjectRecord, R as HqProjectStatus, S as HqProtocolVersion, T as HqPublishEventOptions, U as HqPublisher, V as HqPublisherCommandHandler, W as HqPublisherCommandResult, X as HqPublisherOptions, Y as HqQueuedCommand, Z as HqRedactionPolicy, _ as HqServerCommandBatchMessage, $ as HqServerMessage, a0 as HqSessionAgentLiveStatus, a1 as HqSessionAgentSummary, a2 as HqSessionEndedPayload, a3 as HqSessionLiveStatus, a4 as HqSessionSnapshotPayload, a5 as HqSessionStartedPayload, a6 as HqSessionStatus, a7 as HqSessionStatusPayload, a8 as HqSessionSummary, a9 as HqSnapshot, aa as HqSocketFactory, ab as HqSocketLike, ac as HqSubagentSummary, ad as HqToolArgsPolicy, ae as HqToolCompletedPayload, af as HqToolStartedPayload, ag as HqTranscriptAppendPayload, ah as HqTranscriptEntry, ai as HqTranscriptRole, aj as HqUsagePayload, ak as HqWelcomePayload, al as HqWorklistCounts, am as HqWorklistSnapshotPayload, an as HqWorkspaceKind, ao as createHqEventEnvelope, ap as createMailboxEventPayload, aq as createMailboxSnapshotPayload, ar as createMailboxSnapshotPayloadFromMailbox, as as mapMailboxAgentToHqSummary, at as mapMailboxMessageToHqSummary, au as parseHqEventPayload, av as parseHqFrame, aw as resolveProjectDir } from './global-mailbox-
|
|
66
|
+
export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as MAX_PROGRESS_HISTORY, P as ProgressSnapshot, b as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, p as parseProgressFromText, r as recordProgress, s as saveGoal, c as setProgress, d as summarizeUsage } from './goal-store-CTmFuZ8J.js';
|
|
67
|
+
export { D as DEFAULT_HQ_REDACTION_POLICY, G as GlobalMailbox, H as HQ_PROTOCOL_VERSION, a as HqAgentMessagePayload, b as HqAgentStatusPayload, c as HqAlertMessage, d as HqBrowserEventMessage, e as HqBrowserMessage, f as HqBrowserSnapshotMessage, g as HqClientCapability, h as HqClientCommandAckMessage, i as HqClientCommandPollMessage, j as HqClientEventMessage, k as HqClientHeartbeatPayload, l as HqClientHelloMessage, m as HqClientHelloPayload, n as HqClientIdentity, o as HqClientKind, p as HqClientMessage, q as HqClientRecord, r as HqEventEnvelope, s as HqEventPayloadResult, t as HqEventType, u as HqFleetEventPayload, v as HqFleetSnapshotPayload, w as HqFleetSummary, x as HqGitSnapshotPayload, y as HqMachineRecord, z as HqMailboxAgentStatus, A as HqMailboxAgentSummary, B as HqMailboxEventAction, C as HqMailboxEventPayload, E as HqMailboxMappingOptions, F as HqMailboxMessageSummary, I as HqMailboxMessageType, J as HqMailboxPriority, K as HqMailboxSnapshotOptions, L as HqMailboxSnapshotPayload, M as HqMailboxSummary, N as HqParseResult, O as HqPathPolicy, P as HqProjectIdentity, Q as HqProjectRecord, R as HqProjectStatus, S as HqProtocolVersion, T as HqPublishEventOptions, U as HqPublisher, V as HqPublisherCommandHandler, W as HqPublisherCommandResult, X as HqPublisherOptions, Y as HqQueuedCommand, Z as HqRedactionPolicy, _ as HqServerCommandBatchMessage, $ as HqServerMessage, a0 as HqSessionAgentLiveStatus, a1 as HqSessionAgentSummary, a2 as HqSessionEndedPayload, a3 as HqSessionLiveStatus, a4 as HqSessionSnapshotPayload, a5 as HqSessionStartedPayload, a6 as HqSessionStatus, a7 as HqSessionStatusPayload, a8 as HqSessionSummary, a9 as HqSnapshot, aa as HqSocketFactory, ab as HqSocketLike, ac as HqSubagentSummary, ad as HqToolArgsPolicy, ae as HqToolCompletedPayload, af as HqToolStartedPayload, ag as HqTranscriptAppendPayload, ah as HqTranscriptEntry, ai as HqTranscriptRole, aj as HqUsagePayload, ak as HqWelcomePayload, al as HqWorklistCounts, am as HqWorklistSnapshotPayload, an as HqWorkspaceKind, ao as createHqEventEnvelope, ap as createMailboxEventPayload, aq as createMailboxSnapshotPayload, ar as createMailboxSnapshotPayloadFromMailbox, as as mapMailboxAgentToHqSummary, at as mapMailboxMessageToHqSummary, au as parseHqEventPayload, av as parseHqFrame, aw as resolveProjectDir } from './global-mailbox-CwcubDkA.js';
|
|
69
68
|
export { AgentMonitorEventBridgeOptions, CreateGlobalMailboxOptions, CreateHqPublisherOptions, EnsureHqFirstRunAuthResult, HQ_AUTH_FILE_VERSION, HqAgentEventPublisher, HqAuthFile, HqBrowserToken, HqPublisherEnvConfig, HqRedactOptions, HqRedactionResult, HqRuntimeFile, HqToken, SessionTelemetryBridgeOptions, buildTranscriptFromEvents, createGlobalMailbox, createHqPublisherFromEnv, defaultHqDataDir, emptyHqAuthFile, ensureHqFirstRunAuthFile, hqAuthFilePath, hqRuntimeFilePath, mapSessionEventToEntries, mergeToolResults, mintHqBrowserToken, mintHqToken, mutateHqAuthFile, readHqAuthFile, readHqRuntimeFileSync, redactHqEvent, redactHqValue, resolveHqConfig, resolveHqConfigFromEnv, resolveHqDataDir, scrubAndTruncateHqPreview, startAgentMonitorEventBridge, startSessionTelemetryBridge, summarizeHqToolArgs, watchHqAuthFile, writeHqAuthFile, writeHqRuntimeFile } from './hq/index.js';
|
|
70
|
-
import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-
|
|
69
|
+
import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-kqXJOVkX.js';
|
|
71
70
|
export { AdaptiveConcurrencyController, AdaptiveConcurrencyState, AgentMonitorOptions, AgentMonitorService, AgentTimelineEntry, AgentVirtualSession, ApplyResult, ApprovalDecision, AutonomousBrain, AutonomousBrainOptions, AutonomousCoordinator, AutonomousCoordinatorOptions, AutonomousDecisionRequest, AutonomousDecisionType, BUILD_AGENTS, BrainInterventionInput, BrainMonitor, BrainMonitorOptions, ChangeFile, ChangeManager, ChangeManagerOptions, ChangeNode, ChangeProposal, ChangeStatus, ConsensusOptions, ConsensusProtocol, ConsensusResult, CoordinatorEvent, CoordinatorStats, DAGEdgeEvent, DAGEdgeHandler, DAGNode, DAGNodeStatus, DEFAULT_QUALITY_CHECKS, DELIVERY_AGENTS, DEPENDENCY_FILE_PATTERNS, DISCOVERY_AGENTS, DOMAIN_AGENTS, DecisionNode, DecisionPrompt, DefaultMailbox, DepWatchEntry, DepWatcherBridgeOptions, DependencyWatcherConfig, EscalationDecision, FactCategory, FactNode, GoalNode, GoalPriority, GoalStatus, GraphSubscription, KNOWLEDGE_AGENTS, KnowledgeGraph, LLMProvider, META_AGENTS, MailToolsOptions, MailboxHooksOptions, MailboxResolver, MailboxToolOptions, NodeFilter, NodeType, OutdatedNotifyMessage, PLANNING_AGENTS, PackageAuthorEntry, PackageAuthorLog, PackageAuthorTrackerOptions, PackageOutdatedEntry, PackageOutdatedResult, PackageOutdatedWatcherOptions, PrioritizationDecision, QualityCheck, QualityGateChecks, QualityGateResult, QuorumRule, REVIEW_AGENTS, RollbackResult, RunnablesHandler, SpawnDecision, TaskAuctionOptions, TaskAuctioneer, TaskBid, TaskDAG, VERIFY_AGENTS, VoteNode, VoteRecord, VoteValue, VoterConfig, attachDepWatcherBridge, createAgentMonitorService, createMailboxHooks, detectEcosystem, detectEcosystem as detectPackageEcosystem, getFullPackageLog, getManifestPackages, getPackageAuthor, getPackagesByAgent, mailboxSessionTag, makeDependencyWatcherConfig, makeMailInboxTool, makeMailSendTool, makeMailboxTool, recordPackageAction, resolveMailboxIdentity, startPackageOutdatedWatcher, updatePackageOutdatedStatus } from './coordination/index.js';
|
|
72
71
|
import { b as Mailbox, M as MailboxMessage } from './mailbox-types-Ct2hJq0P.js';
|
|
73
72
|
export { g as AgentHeartbeatInput, A as AgentRegistrationInput, e as MailboxAckInput, a as MailboxAgentStatus, k as MailboxMessageType, d as MailboxQuery, c as MailboxSendInput, l as MailboxTaskContext, R as ReadReceipts, m as RegisteredAgent, n as normalizeRecipient } from './mailbox-types-Ct2hJq0P.js';
|
|
@@ -77,12 +76,14 @@ import { L as Logger } from './logger-B63L5bTg.js';
|
|
|
77
76
|
export { a as LogLevel } from './logger-B63L5bTg.js';
|
|
78
77
|
export { AutonomyBrainOptions, BrainAutoRisk, ModelRuntimeMiddlewareOptions, ResolvedModelRuntime, TieredBrainArbiterOptions, applyModelRuntime, createAutonomyBrain, createTieredBrainArbiter, formatDecisionSummary, resolveCacheForRequest, resolveModelRuntime, resolveReasoningForRequest } from './execution/index.js';
|
|
79
78
|
export { R as RotatableSecretVault, S as SecretVault, e as encryptedPrefixForVersion, n as noOpVault, p as parseEncryptedVersion } from './secret-vault-BAKpgFw_.js';
|
|
80
|
-
export { D as DANGEROUS_FOR_SUBAGENTS, T as ToolCapabilities, a as ToolCapability, W as WIDE_SUBAGENT_CAPABILITIES, g as getDangerousCapabilities, h as hasCapability, b as hasDangerousCapabilityForSubagents } from './index-
|
|
79
|
+
export { D as DANGEROUS_FOR_SUBAGENTS, T as ToolCapabilities, a as ToolCapability, W as WIDE_SUBAGENT_CAPABILITIES, g as getDangerousCapabilities, h as hasCapability, b as hasDangerousCapabilityForSubagents } from './index-CxP-HBhX.js';
|
|
81
80
|
export { ConversationTurn, ENHANCER_SYSTEM_PROMPT, EnhanceResult, EnhanceUserPromptOptions, enhanceUserPrompt, gatedEnhancerReasoning, normalizedEqual, recentTextTurns, shouldEnhance } from './execution/prompt-enhancer.js';
|
|
81
|
+
import { W as WorktreeManager } from './worktree-manager-DHdrWQ_7.js';
|
|
82
|
+
export { A as AllocateOpts, M as MergeOpts, a as MergeResult, b as WorktreeHandle, c as WorktreeManagerOptions, R as WorktreeRunResult, d as WorktreeStatus, e as assertSafePath } from './worktree-manager-DHdrWQ_7.js';
|
|
82
83
|
import './path-resolver-CPRj4bFY.js';
|
|
83
84
|
import 'node:https';
|
|
84
85
|
import 'undici';
|
|
85
|
-
import './selector-
|
|
86
|
+
import './selector-B4r34PWR.js';
|
|
86
87
|
import 'node:events';
|
|
87
88
|
|
|
88
89
|
/**
|
|
@@ -424,6 +425,78 @@ interface RunProviderOptions {
|
|
|
424
425
|
*/
|
|
425
426
|
declare function runProviderWithRetry(opts: RunProviderOptions): Promise<Response>;
|
|
426
427
|
|
|
428
|
+
/**
|
|
429
|
+
* Cross-provider fallback model extension.
|
|
430
|
+
*
|
|
431
|
+
* Lives in core so EVERY agent surface can reuse it: the CLI leader, the CLI
|
|
432
|
+
* director/host subagent factory, and the runtime light subagent factory (used
|
|
433
|
+
* by standalone SDD runs). It wraps the provider runner and, when the active
|
|
434
|
+
* model 429s / overloads / stream-hangs, rotates through a fallback chain. The
|
|
435
|
+
* chain is recomputed from live config every turn, so changes take effect
|
|
436
|
+
* without a restart; an empty chain makes the wrapper a no-op.
|
|
437
|
+
*
|
|
438
|
+
* Moved here from `@wrongstack/cli` (it only ever depended on core types) so the
|
|
439
|
+
* runtime light factory can wire fallbacks for SDD worker subagents.
|
|
440
|
+
*/
|
|
441
|
+
|
|
442
|
+
interface FallbackModelDeps {
|
|
443
|
+
/** Returns the live config (re-read each turn so `/model` switches are honored). */
|
|
444
|
+
getConfig: () => Config;
|
|
445
|
+
/**
|
|
446
|
+
* Builds a credential-resolved Provider for a provider id (alias-resolved),
|
|
447
|
+
* WITHOUT persisting anything to config/configStore. Supplied by the boot
|
|
448
|
+
* path, which shares this with the `/model` switch logic. May be async — the
|
|
449
|
+
* subagent host resolves a provider's real context window asynchronously.
|
|
450
|
+
*/
|
|
451
|
+
buildProvider: (providerId: string) => Provider | Promise<Provider>;
|
|
452
|
+
/**
|
|
453
|
+
* Called after the active model changes (a fallback hop or the primary
|
|
454
|
+
* restore) so the host can refresh the auto-compaction / context-window
|
|
455
|
+
* denominator — important when a fallback crosses to a smaller-window model.
|
|
456
|
+
*/
|
|
457
|
+
onModelSwitch?: (providerId: string, modelId: string) => void | Promise<void>;
|
|
458
|
+
events: EventBus;
|
|
459
|
+
/** Optional — warnings about un-buildable fallback providers. */
|
|
460
|
+
logger?: Logger | undefined;
|
|
461
|
+
}
|
|
462
|
+
interface ModelRef {
|
|
463
|
+
provider?: string | undefined;
|
|
464
|
+
model: string;
|
|
465
|
+
}
|
|
466
|
+
/** Parse a fallback entry: `model`, `provider/model`, or `provider model`. */
|
|
467
|
+
declare function parseModelRef(ref: string): ModelRef;
|
|
468
|
+
/**
|
|
469
|
+
* Derive a fallback chain from the configured providers when the user has not
|
|
470
|
+
* set an explicit `fallbackModels` list. Picks declared models from every
|
|
471
|
+
* keyed provider — same-provider alternatives first (same key, cheapest
|
|
472
|
+
* failover), then cross-provider — excluding the active leader model. Returns
|
|
473
|
+
* `[]` when nothing usable is configured (e.g. providers with no `models`
|
|
474
|
+
* list), in which case the extension is a no-op.
|
|
475
|
+
*/
|
|
476
|
+
declare function smartDefaultFallbackChain(config: Config): string[];
|
|
477
|
+
/**
|
|
478
|
+
* The effective fallback chain for a turn: the explicit `fallbackModels` list
|
|
479
|
+
* when non-empty, otherwise the smart default (unless `fallbackAuto` is off).
|
|
480
|
+
*/
|
|
481
|
+
declare function effectiveFallbackChain(config: Config): string[];
|
|
482
|
+
/**
|
|
483
|
+
* Build the cross-provider fallback extension. Always returns an extension —
|
|
484
|
+
* the effective chain (`effectiveFallbackChain`) is recomputed every turn from
|
|
485
|
+
* the live config, so a chain that is empty at boot but populated later (via
|
|
486
|
+
* `/fallback add` or the smart default kicking in once a key is added) takes
|
|
487
|
+
* effect WITHOUT a restart. An empty chain makes the wrapper a no-op (it just
|
|
488
|
+
* rethrows the original error).
|
|
489
|
+
*
|
|
490
|
+
* Mechanism (see plan): wraps the provider runner. The inner runner already
|
|
491
|
+
* applies the per-model retry policy (backoff, up to 5 tries for 429), so the
|
|
492
|
+
* fallback only engages AFTER the active model's own retries are exhausted.
|
|
493
|
+
* Because the wrapper resolves within a single provider call, it does not
|
|
494
|
+
* consume the agent loop's `recoveryRetries` budget — chains longer than two
|
|
495
|
+
* entries work. `beforeRun` restores the configured primary at the start of
|
|
496
|
+
* every turn, giving Claude's "retry the primary each user turn" semantics.
|
|
497
|
+
*/
|
|
498
|
+
declare function createFallbackModelExtension(deps: FallbackModelDeps): AgentExtension;
|
|
499
|
+
|
|
427
500
|
interface ShellHookSpec {
|
|
428
501
|
command: string;
|
|
429
502
|
timeoutMs?: number | undefined;
|
|
@@ -1384,6 +1457,14 @@ interface PhaseEventMap {
|
|
|
1384
1457
|
name: string;
|
|
1385
1458
|
error?: string | undefined;
|
|
1386
1459
|
};
|
|
1460
|
+
/** A task began executing — carries the worker agent so boards can show who is on it. */
|
|
1461
|
+
'phase.taskStarted': {
|
|
1462
|
+
phaseId: string;
|
|
1463
|
+
taskId: string;
|
|
1464
|
+
taskTitle: string;
|
|
1465
|
+
agentId?: string | undefined;
|
|
1466
|
+
agentName?: string | undefined;
|
|
1467
|
+
};
|
|
1387
1468
|
'phase.taskCompleted': {
|
|
1388
1469
|
phaseId: string;
|
|
1389
1470
|
taskId: string;
|
|
@@ -1453,6 +1534,25 @@ interface PhaseEventMap {
|
|
|
1453
1534
|
phaseId: string;
|
|
1454
1535
|
agentId: string;
|
|
1455
1536
|
};
|
|
1537
|
+
/** A task was moved between phases from an interactive board. */
|
|
1538
|
+
'phase.taskMoved': {
|
|
1539
|
+
taskId: string;
|
|
1540
|
+
fromPhaseId: string;
|
|
1541
|
+
toPhaseId: string;
|
|
1542
|
+
};
|
|
1543
|
+
/** A task was (re)assigned to a specific agent from an interactive board. */
|
|
1544
|
+
'phase.taskAssigned': {
|
|
1545
|
+
phaseId: string;
|
|
1546
|
+
taskId: string;
|
|
1547
|
+
agentId?: string | undefined;
|
|
1548
|
+
agentName?: string | undefined;
|
|
1549
|
+
};
|
|
1550
|
+
/** A task was added to a phase from an interactive board. */
|
|
1551
|
+
'phase.taskAdded': {
|
|
1552
|
+
phaseId: string;
|
|
1553
|
+
taskId: string;
|
|
1554
|
+
taskTitle: string;
|
|
1555
|
+
};
|
|
1456
1556
|
}
|
|
1457
1557
|
type PhaseEventName = keyof PhaseEventMap;
|
|
1458
1558
|
interface PhaseExecutionContext {
|
|
@@ -1581,13 +1681,13 @@ interface AutoPhaseRunnerOptions extends AutoPhaseOptions {
|
|
|
1581
1681
|
repairPhase?: PhaseExecutionContext['repairPhase'] | undefined;
|
|
1582
1682
|
/** Optional resolver for worktree merge conflicts. */
|
|
1583
1683
|
resolveConflict?: PhaseExecutionContext['resolveConflict'] | undefined;
|
|
1584
|
-
/**
|
|
1684
|
+
/** Optional Brain arbiter. */
|
|
1585
1685
|
brain?: PhaseExecutionContext['brain'] | undefined;
|
|
1586
1686
|
/** Called when a phase completes. */
|
|
1587
1687
|
onPhaseComplete?: ((phase: PhaseNode) => void) | undefined;
|
|
1588
1688
|
/** Called when a phase fails. */
|
|
1589
1689
|
onPhaseFail?: (phase: PhaseNode, error: Error) => void;
|
|
1590
|
-
/**
|
|
1690
|
+
/** Called on every orchestrator tick. */
|
|
1591
1691
|
onTick?: (ctx: {
|
|
1592
1692
|
activePhases: PhaseNode[];
|
|
1593
1693
|
readyPhases: PhaseNode[];
|
|
@@ -1683,6 +1783,17 @@ declare class PhaseOrchestrator {
|
|
|
1683
1783
|
* In autonomous mode, starts root phases and automatically starts the next phase when they finish.
|
|
1684
1784
|
*/
|
|
1685
1785
|
start(): Promise<void>;
|
|
1786
|
+
/**
|
|
1787
|
+
* Make a (possibly resumed) graph runnable. A graph loaded from disk after an
|
|
1788
|
+
* interrupted run can carry transient state from the dead process: phases left
|
|
1789
|
+
* `running` and tasks left `in_progress`. The scheduler only starts `pending`
|
|
1790
|
+
* phases (getReadyPhases) and only runs `pending` tasks (getExecutableTasks),
|
|
1791
|
+
* so without this a resumed phase/task would stall forever. Reset that
|
|
1792
|
+
* transient state to `pending`; terminal phases (completed/failed/skipped) and
|
|
1793
|
+
* already-completed tasks are untouched, so completed work is never re-run.
|
|
1794
|
+
* For a freshly built graph this is a no-op.
|
|
1795
|
+
*/
|
|
1796
|
+
private normalizeForResume;
|
|
1686
1797
|
/** Wait for all pending phase merges, dependency-ordered and globally serialized. */
|
|
1687
1798
|
private drainMerges;
|
|
1688
1799
|
/** Pause: active phases continue, but no new phase starts. */
|
|
@@ -1704,6 +1815,16 @@ declare class PhaseOrchestrator {
|
|
|
1704
1815
|
private worktreeEnv;
|
|
1705
1816
|
/** Shared failure bookkeeping for a phase whose tasks ran but the phase failed. */
|
|
1706
1817
|
private failPhaseAfterTasks;
|
|
1818
|
+
/**
|
|
1819
|
+
* A phase whose tasks all succeeded was marked `completed` and queued for
|
|
1820
|
+
* merge, but the merge back into the base branch failed. Its work is NOT
|
|
1821
|
+
* integrated, so correct the graph: move the phase out of `completedPhaseIds`
|
|
1822
|
+
* into `failedPhaseIds` and flip its status to `failed`. Without this the
|
|
1823
|
+
* persisted graph (and the board) would claim the phase succeeded while a
|
|
1824
|
+
* `phase.failed` event fired — an inconsistency that hides un-merged work.
|
|
1825
|
+
* Idempotent: safe to call more than once for the same phase.
|
|
1826
|
+
*/
|
|
1827
|
+
private markPhaseMergeFailed;
|
|
1707
1828
|
/** Trim long verifier output so it fits cleanly in an event/error message. */
|
|
1708
1829
|
private truncate;
|
|
1709
1830
|
/**
|
|
@@ -1743,6 +1864,29 @@ declare class PhaseOrchestrator {
|
|
|
1743
1864
|
isPaused(): boolean;
|
|
1744
1865
|
assignAgent(phaseId: string, agentId: string): void;
|
|
1745
1866
|
releaseAgent(phaseId: string, agentId: string): void;
|
|
1867
|
+
/** Find the phase whose task graph currently holds `taskId`. */
|
|
1868
|
+
findPhaseOfTask(taskId: string): PhaseNode | undefined;
|
|
1869
|
+
/**
|
|
1870
|
+
* Move a task to another phase's task graph. Edges that referenced the task
|
|
1871
|
+
* are dropped (cross-phase dependencies are not modeled). No-op when the task
|
|
1872
|
+
* or target phase is missing, or it is already in the target phase.
|
|
1873
|
+
*/
|
|
1874
|
+
moveTask(taskId: string, toPhaseId: string): boolean;
|
|
1875
|
+
/** (Re)assign a task to a specific agent (or clear with agentName/agentId omitted). */
|
|
1876
|
+
setTaskAssignee(taskId: string, agentId?: string, agentName?: string): boolean;
|
|
1877
|
+
/** Add a new task to a phase. Returns the created task id, or null if the phase is missing. */
|
|
1878
|
+
addTask(phaseId: string, spec: {
|
|
1879
|
+
title: string;
|
|
1880
|
+
description?: string | undefined;
|
|
1881
|
+
type?: TaskNode['type'] | undefined;
|
|
1882
|
+
priority?: TaskNode['priority'] | undefined;
|
|
1883
|
+
}): string | null;
|
|
1884
|
+
/**
|
|
1885
|
+
* Requeue a task to `pending` (clearing its retry counter) and nudge a
|
|
1886
|
+
* terminal/paused phase back to `ready` so the loop re-runs it. Backs both the
|
|
1887
|
+
* board's "retry" and "start" affordances.
|
|
1888
|
+
*/
|
|
1889
|
+
requeueTask(taskId: string): boolean;
|
|
1746
1890
|
private emit;
|
|
1747
1891
|
private createNoopEventBus;
|
|
1748
1892
|
private waitWhilePaused;
|
|
@@ -1917,6 +2061,44 @@ declare class CheckpointManager {
|
|
|
1917
2061
|
private pruneCheckpoints;
|
|
1918
2062
|
}
|
|
1919
2063
|
|
|
2064
|
+
/**
|
|
2065
|
+
* Subagent nickname pool — famous scientists, mathematicians, and computing pioneers.
|
|
2066
|
+
* Names are grouped by domain affinity so the nickname hints at the agent's role.
|
|
2067
|
+
*/
|
|
2068
|
+
/** Result of a nickname assignment. */
|
|
2069
|
+
interface NicknameAssignment {
|
|
2070
|
+
/**
|
|
2071
|
+
* Canonical pool key (e.g. `von-neumann`). This — NOT the display string — is
|
|
2072
|
+
* what callers must add to their `used` set and later remove on release.
|
|
2073
|
+
* Deriving the key by parsing the display string is unsafe: multi-word names
|
|
2074
|
+
* like "Von Neumann" would be truncated to "von" and never dedupe correctly.
|
|
2075
|
+
*/
|
|
2076
|
+
key: string;
|
|
2077
|
+
/** Human display string, e.g. `Von Neumann (Backend)`. */
|
|
2078
|
+
display: string;
|
|
2079
|
+
}
|
|
2080
|
+
/**
|
|
2081
|
+
* Assign a unique nickname to a subagent based on its role.
|
|
2082
|
+
*
|
|
2083
|
+
* Returns both the canonical pool `key` (for the `used` set) and the formatted
|
|
2084
|
+
* `display` string (`Name (Role)`, e.g. `Einstein (Bug Hunter)`).
|
|
2085
|
+
*
|
|
2086
|
+
* @param role - The subagent's role id (e.g. 'bug-hunter', 'security-scanner')
|
|
2087
|
+
* @param used - Set of nickname KEYS already assigned in this fleet
|
|
2088
|
+
* (so no two subagents share the same base name)
|
|
2089
|
+
*/
|
|
2090
|
+
declare function assignNickname(role: string, used: ReadonlySet<string>): NicknameAssignment;
|
|
2091
|
+
/**
|
|
2092
|
+
* Resolve a previously-assigned display string back to its canonical pool key,
|
|
2093
|
+
* for release paths that only retained the formatted name (e.g. a manifest
|
|
2094
|
+
* entry). Strips the trailing ` (Role)` suffix, then matches the base name
|
|
2095
|
+
* against the pool. Returns `undefined` when the name is not a known nickname.
|
|
2096
|
+
*
|
|
2097
|
+
* Use this instead of `name.split(' ')[0]` — the latter mangles multi-word
|
|
2098
|
+
* names like "Von Neumann" and "Berners-Lee".
|
|
2099
|
+
*/
|
|
2100
|
+
declare function nicknameKeyFromDisplay(display: string): string | undefined;
|
|
2101
|
+
|
|
1920
2102
|
/**
|
|
1921
2103
|
* Per-task model matrix resolution.
|
|
1922
2104
|
*
|
|
@@ -2646,4 +2828,4 @@ interface ChimeraReviewNeededPayload {
|
|
|
2646
2828
|
declare const CHIMERA_REVIEW_PROMPT = "You are Chimera, a post-session code quality agent. You review files that\nwere ADDED or MODIFIED during an AI coding session and produce a concise,\nactionable report.\n\nRULES\n1. Only review the files provided \u2014 do not expand scope.\n2. Use read/grep/lint tools to inspect files before flagging issues.\n3. Be surgical \u2014 flag real bugs, not style preferences.\n4. Severity-ranked: Critical > High > Medium > Low. Only report Medium+.\n5. One finding per line with severity, file:line, and a one-sentence fix.\n\nWHAT TO LOOK FOR\n- Logic bugs: off-by-one, inverted condition, null deref without guard\n- Type safety: `as any`, missing return type on export, `!` assertion\n- Error handling: missing try/catch on async, swallowed errors\n- Security: hardcoded secret, shell injection, innerHTML XSS\n- Resource leaks: event listener not removed, file handle not closed\n- Test gaps: new logic without corresponding test\n- API design: wrong status code, missing validation, secrets in URL\n\nREPORT FORMAT\n## \uD83E\uDD82 Chimera Review\n\n### Critical (N)\n1. [BUG] `path/file.ts:42` \u2014 description\n \u2192 fix suggestion\n\n### High (N)\n...\n\n### Medium (N)\n...\n\n### Summary\n- Files reviewed: N\n- Findings: C critical, H high, M medium\n- Clean files: N\n\nIf NOTHING worth flagging:\n## \uD83E\uDD82 Chimera Review \u2014 all clear \u2705\nNo issues found in N changed files.";
|
|
2647
2829
|
declare function createChimeraPlugin(): Plugin;
|
|
2648
2830
|
|
|
2649
|
-
export { AddAttachmentInput, AgentPipelines, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, type BootConfigOptions, type BootConfigResult, BrainArbiter, BuildContext, CHIMERA_REVIEW_PROMPT, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type ChimeraReviewNeededPayload, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, type CommitSafetyOptions, type CommitSafetyReport, Config, ConfigStore, type ConsumedInjectionInfo, Container, ContentBlock, type ContentScore, Context, type ContinueDirective, DefaultLogger, DefaultPathResolver, DefaultPluginAPI, DefaultPromptStore, DefaultSecretVault, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, type EliseResult, EventBus, EventName, ExtensionRegistry, type FileAuthorEntry, type FileAuthorLog, type FileAuthorTrackerOptions, type Finding, type ForeignFile, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, HookEvent, HookInput, HookMatcher, HookOutcome, HookRegistry, InProcessHook, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, JSONSchema, KERNEL_API_VERSION, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, MATRIX_PHASE_KEYS, MCPRegistryHandle, MCPRegistryView, Mailbox, type MailboxLoopOptions, MailboxMessage, type MatrixKeyKind, MemoryStore, Message, MetricsSink, MetricsSinkView, ModeStore, ModelCapabilities, ModelMatrixEntry, type PackageManager, PermissionPolicy, type PhaseEventMap, type PhaseEventName, type PhaseExecutionContext, type PhaseFilter, type PhaseGraph, PhaseGraphBuilder, type PhaseGraphBuilderOptions, type PhaseNode, PhaseOrchestrator, type PhaseOrchestratorOptions, type PhaseProgress, type PhaseSort, type PhaseStatus, PhaseStore, type PhaseStoreOptions, type PhaseTemplate, Plugin, PluginAPI, type PluginAPIInit, PluginCapabilities, PluginDependency, PluginPipelines, Provider, ProviderRegistry, ProviderRegistryView, ProviderRunner, Renderer, ReplayLogStore, type ReplayMode, ReplayProviderRunner, type ReplayProviderRunnerOptions, ReportGenerator, type ReportOptions, Request, type ResolvedChimeraConfig, Response, RunProviderOptions$1 as RunProviderOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SeverityLevel, type ShellHookSpec, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, type TechStackConsumerOptions, TechStackDetector, type TechStackInfo, TextBlock, TokenSavingTier, Tool, ToolCallPipelinePayload, ToolRegistry, ToolRegistryView, Tracer, WorktreeManager, WstackPaths, assessCommitSafety, attachMailboxChecker, bootConfig, buildBtwBlock, buildLosslessDigest, buildMailboxBlock, buildQueuedMessagesBlock, buildSmartDigest, collabInjectMiddleware, collabPauseMiddleware, compactLog, consumeBtwNotes, consumeQueuedMessagesUpdate, createAutoPhaseFromTaskGraph, createChimeraPlugin, createGitPlugin, createMailboxChecker, createMcpUseTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, definePlugin, eliseOldToolResults, estimateMessageTokens, estimateMessages, extractText, findPreserveStart, flagsToConfigPatch, getFileHistory, getFilesByAgent, getFullLog, getLastAuthor, hasTextContent, hashRequest, injectPendingMailboxMessages, isValidMatrixKey, loadPlugins, makeContinueToNextIterationTool, matrixKeyKind, parseContinueDirective, peekQueuedMessages, pendingBtwCount, phaseForRole, recordFileAction, resolveChimeraConfig, resolveModelMatrix, runProviderWithRetry, runShellHook, scoreMessage, securitySlashCommand, setBtwNote, setQueuedMessagesSnapshot, stableStringify, startTechStackConsumer, unloadPlugins };
|
|
2831
|
+
export { AddAttachmentInput, AgentExtension, AgentPipelines, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, type BootConfigOptions, type BootConfigResult, BrainArbiter, BuildContext, CHIMERA_REVIEW_PROMPT, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type ChimeraReviewNeededPayload, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, type CommitSafetyOptions, type CommitSafetyReport, Config, ConfigStore, type ConsumedInjectionInfo, Container, ContentBlock, type ContentScore, Context, type ContinueDirective, DefaultLogger, DefaultPathResolver, DefaultPluginAPI, DefaultPromptStore, DefaultSecretVault, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, type EliseResult, EventBus, EventName, ExtensionRegistry, type FallbackModelDeps, type FileAuthorEntry, type FileAuthorLog, type FileAuthorTrackerOptions, type Finding, type ForeignFile, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, HookEvent, HookInput, HookMatcher, HookOutcome, HookRegistry, InProcessHook, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, JSONSchema, KERNEL_API_VERSION, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, MATRIX_PHASE_KEYS, MCPRegistryHandle, MCPRegistryView, Mailbox, type MailboxLoopOptions, MailboxMessage, type MatrixKeyKind, MemoryStore, Message, MetricsSink, MetricsSinkView, ModeStore, ModelCapabilities, ModelMatrixEntry, type NicknameAssignment, type PackageManager, PermissionPolicy, type PhaseEventMap, type PhaseEventName, type PhaseExecutionContext, type PhaseFilter, type PhaseGraph, PhaseGraphBuilder, type PhaseGraphBuilderOptions, type PhaseNode, PhaseOrchestrator, type PhaseOrchestratorOptions, type PhaseProgress, type PhaseSort, type PhaseStatus, PhaseStore, type PhaseStoreOptions, type PhaseTemplate, Plugin, PluginAPI, type PluginAPIInit, PluginCapabilities, PluginDependency, PluginPipelines, Provider, ProviderRegistry, ProviderRegistryView, ProviderRunner, Renderer, ReplayLogStore, type ReplayMode, ReplayProviderRunner, type ReplayProviderRunnerOptions, ReportGenerator, type ReportOptions, Request, type ResolvedChimeraConfig, Response, RunProviderOptions$1 as RunProviderOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SeverityLevel, type ShellHookSpec, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, type TechStackConsumerOptions, TechStackDetector, type TechStackInfo, TextBlock, TokenSavingTier, Tool, ToolCallPipelinePayload, ToolRegistry, ToolRegistryView, Tracer, WorktreeManager, WstackPaths, assessCommitSafety, assignNickname, attachMailboxChecker, bootConfig, buildBtwBlock, buildLosslessDigest, buildMailboxBlock, buildQueuedMessagesBlock, buildSmartDigest, collabInjectMiddleware, collabPauseMiddleware, compactLog, consumeBtwNotes, consumeQueuedMessagesUpdate, createAutoPhaseFromTaskGraph, createChimeraPlugin, createFallbackModelExtension, createGitPlugin, createMailboxChecker, createMcpUseTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, definePlugin, effectiveFallbackChain, eliseOldToolResults, estimateMessageTokens, estimateMessages, extractText, findPreserveStart, flagsToConfigPatch, getFileHistory, getFilesByAgent, getFullLog, getLastAuthor, hasTextContent, hashRequest, injectPendingMailboxMessages, isValidMatrixKey, loadPlugins, makeContinueToNextIterationTool, matrixKeyKind, nicknameKeyFromDisplay, parseContinueDirective, parseModelRef, peekQueuedMessages, pendingBtwCount, phaseForRole, recordFileAction, resolveChimeraConfig, resolveModelMatrix, runProviderWithRetry, runShellHook, scoreMessage, securitySlashCommand, setBtwNote, setQueuedMessagesSnapshot, smartDefaultFallbackChain, stableStringify, startTechStackConsumer, unloadPlugins };
|