@wrongstack/core 0.51.3 → 0.63.4
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-CjbD-i7-.d.ts → agent-bridge-B5rxWrg3.d.ts} +1 -1
- package/dist/{agent-subagent-runner-DfvlBx5N.d.ts → agent-subagent-runner-Zc3f37Sg.d.ts} +3 -3
- package/dist/{compactor-D1RHFRmF.d.ts → compactor-0vjZ8KTk.d.ts} +1 -1
- package/dist/{config-ZRCf7sTu.d.ts → config-BdDuaZmB.d.ts} +143 -2
- package/dist/{context-7u93AcGD.d.ts → context-iFMEO2rN.d.ts} +9 -8
- package/dist/coordination/index.d.ts +12 -12
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +22 -22
- package/dist/defaults/index.js +285 -108
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-Bt44ikPN.d.ts → events-k8CHjcrN.d.ts} +20 -1
- package/dist/execution/index.d.ts +14 -14
- package/dist/execution/index.js +70 -10
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +7 -7
- package/dist/{goal-store-BeRsj7YX.d.ts → goal-store-iHltMi5n.d.ts} +1 -1
- package/dist/{index-mAWBdLyJ.d.ts → index-Bc6BiP5q.d.ts} +77 -6
- package/dist/{index-OzA1XjHL.d.ts → index-CWdW_CJt.d.ts} +10 -8
- package/dist/index.d.ts +58 -34
- package/dist/index.js +587 -100
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +6 -6
- package/dist/infrastructure/index.js +1 -1
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +9 -9
- package/dist/kernel/index.js +3 -1
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-DONdo-XM.d.ts → mcp-servers-CwqQDMYy.d.ts} +3 -3
- package/dist/models/index.d.ts +3 -3
- package/dist/models/index.js +31 -16
- package/dist/models/index.js.map +1 -1
- package/dist/{models-registry-gwMAo6E3.d.ts → models-registry-Cuq1C8V9.d.ts} +7 -0
- package/dist/{multi-agent-Ba9Ni2hC.d.ts → multi-agent-SASYOrWA.d.ts} +2 -2
- package/dist/{multi-agent-coordinator-BuKq0q89.d.ts → multi-agent-coordinator-CNUJYq7U.d.ts} +2 -2
- package/dist/{null-fleet-bus-C0xd73YP.d.ts → null-fleet-bus-DRoJ0uOY.d.ts} +7 -7
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver-nkmdiFgi.d.ts → path-resolver-C5sPVne8.d.ts} +2 -2
- package/dist/{permission-B6sldrSp.d.ts → permission-Ld-i5ugf.d.ts} +13 -1
- package/dist/{permission-policy-CtNscWOA.d.ts → permission-policy-CL-mPufp.d.ts} +14 -7
- package/dist/{plan-templates-BmDdJ7UL.d.ts → plan-templates-ThBHOjaM.d.ts} +4 -4
- package/dist/{provider-runner-BGro2qQB.d.ts → provider-runner-DJQa211J.d.ts} +3 -3
- package/dist/{retry-policy-KF18W4dg.d.ts → retry-policy-BfBScewS.d.ts} +1 -1
- package/dist/sdd/index.d.ts +9 -9
- package/dist/sdd/index.js +1 -1
- package/dist/sdd/index.js.map +1 -1
- package/dist/security/index.d.ts +3 -3
- package/dist/security/index.js +115 -13
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-DmXxpFyM.d.ts → selector-DxhW7ML3.d.ts} +1 -1
- package/dist/{session-reader-bfgsy2a0.d.ts → session-reader-q2ThszgG.d.ts} +1 -1
- package/dist/storage/index.d.ts +6 -6
- package/dist/storage/index.js +57 -37
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-CM6zOhd2.d.ts → system-prompt-7LHyBbIf.d.ts} +32 -2
- package/dist/{tool-executor-p4tP9tGF.d.ts → tool-executor-CIjpGaRA.d.ts} +5 -4
- package/dist/types/index.d.ts +15 -15
- package/dist/types/index.js +93 -22
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +14 -2
- package/dist/utils/index.js +18 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as BridgeTransport, B as BridgeMessage, A as AgentBridge, a as AgentBridgeConfig } from './multi-agent-
|
|
1
|
+
import { b as BridgeTransport, B as BridgeMessage, A as AgentBridge, a as AgentBridgeConfig } from './multi-agent-SASYOrWA.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* In-memory pub/sub transport for agent-to-agent messaging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as Agent, f as AgentInput } from './index-
|
|
2
|
-
import { E as EventBus } from './events-
|
|
3
|
-
import { n as SubagentConfig, v as TaskSpec, t as SubagentRunner } from './multi-agent-
|
|
1
|
+
import { c as Agent, f as AgentInput } from './index-Bc6BiP5q.js';
|
|
2
|
+
import { E as EventBus } from './events-k8CHjcrN.js';
|
|
3
|
+
import { n as SubagentConfig, v as TaskSpec, t as SubagentRunner } from './multi-agent-SASYOrWA.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Single fleet-wide event with subagent attribution. Whatever a child
|
|
@@ -1,5 +1,100 @@
|
|
|
1
1
|
import { W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
2
|
-
import { P as Permission } from './context-
|
|
2
|
+
import { a as Capabilities, P as Permission } from './context-iFMEO2rN.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Lifecycle hook types — the pure, serializable contract shared by the config
|
|
6
|
+
* layer, the in-process plugin API, and the shell-hook executor.
|
|
7
|
+
*
|
|
8
|
+
* These types intentionally avoid referencing the live `Context` (which lives
|
|
9
|
+
* in `core/`, a higher layer) so `types/config.ts` can import them without
|
|
10
|
+
* creating a layering cycle. The runtime pieces (`hooks/registry`,
|
|
11
|
+
* `hooks/runner`, `hooks/shell-executor`) translate live run state into the
|
|
12
|
+
* serializable `HookInput` below.
|
|
13
|
+
*/
|
|
14
|
+
/** Lifecycle phases a hook can subscribe to. */
|
|
15
|
+
type HookEvent = 'PreToolUse' | 'PostToolUse' | 'UserPromptSubmit' | 'SessionStart' | 'Stop';
|
|
16
|
+
/**
|
|
17
|
+
* Tool-name matcher for `PreToolUse`/`PostToolUse` hooks. A pipe-delimited
|
|
18
|
+
* list of exact tool names, or `*` for all tools. Examples: `"Bash"`,
|
|
19
|
+
* `"edit|write"`, `"*"`. Ignored (treated as `*`) for non-tool events.
|
|
20
|
+
*/
|
|
21
|
+
type HookMatcher = string;
|
|
22
|
+
/**
|
|
23
|
+
* The JSON payload handed to a hook. For shell hooks this is serialized to
|
|
24
|
+
* stdin; for in-process hooks it is passed as the sole argument. Kept flat and
|
|
25
|
+
* serializable so both transports see the same shape.
|
|
26
|
+
*/
|
|
27
|
+
interface HookInput {
|
|
28
|
+
event: HookEvent;
|
|
29
|
+
/** Present for PreToolUse / PostToolUse. */
|
|
30
|
+
toolName?: string;
|
|
31
|
+
/** Tool arguments (PreToolUse / PostToolUse). */
|
|
32
|
+
toolInput?: unknown;
|
|
33
|
+
/** Tool result preview (PostToolUse only). */
|
|
34
|
+
toolResult?: {
|
|
35
|
+
content: string;
|
|
36
|
+
isError: boolean;
|
|
37
|
+
};
|
|
38
|
+
/** The submitted user text (UserPromptSubmit only). */
|
|
39
|
+
prompt?: string;
|
|
40
|
+
/** Absolute working directory of the session. */
|
|
41
|
+
cwd: string;
|
|
42
|
+
/** Active session id, when known. */
|
|
43
|
+
sessionId?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* What a hook returns. Every field is optional — an empty object (or a hook
|
|
47
|
+
* that returns nothing) is a no-op "allow".
|
|
48
|
+
*/
|
|
49
|
+
interface HookOutcome {
|
|
50
|
+
/**
|
|
51
|
+
* `block` stops the action (PreToolUse → tool not run; UserPromptSubmit →
|
|
52
|
+
* turn short-circuited). `allow` is the explicit no-op. Omitted = allow.
|
|
53
|
+
*/
|
|
54
|
+
decision?: 'block' | 'allow';
|
|
55
|
+
/** Human-readable reason, surfaced to the model when blocking. */
|
|
56
|
+
reason?: string;
|
|
57
|
+
/**
|
|
58
|
+
* PreToolUse only: replacement tool arguments. The executor swaps these in
|
|
59
|
+
* and RE-VALIDATES them against the tool's input schema before running.
|
|
60
|
+
*/
|
|
61
|
+
modifiedInput?: Record<string, unknown>;
|
|
62
|
+
/**
|
|
63
|
+
* Extra context to fold back to the model — appended to the tool_result
|
|
64
|
+
* (PostToolUse), the user message (UserPromptSubmit), or the system preamble
|
|
65
|
+
* (SessionStart).
|
|
66
|
+
*/
|
|
67
|
+
additionalContext?: string;
|
|
68
|
+
}
|
|
69
|
+
/** An in-process hook function (registered via the plugin API). */
|
|
70
|
+
type InProcessHook = (input: HookInput) => HookOutcome | void | Promise<HookOutcome | void>;
|
|
71
|
+
/**
|
|
72
|
+
* A shell-command hook (declared in `config.hooks`). Claude-compatible: the
|
|
73
|
+
* `HookInput` JSON is written to the command's stdin; a JSON `HookOutcome` may
|
|
74
|
+
* be printed to stdout, and exit code 2 forces `decision: 'block'`.
|
|
75
|
+
*/
|
|
76
|
+
interface ShellHook {
|
|
77
|
+
/** Command line run via the platform shell. */
|
|
78
|
+
command: string;
|
|
79
|
+
/** Tool-name matcher (defaults to `*`). */
|
|
80
|
+
matcher?: HookMatcher;
|
|
81
|
+
/** Per-invocation timeout in ms (default 5000). */
|
|
82
|
+
timeoutMs?: number;
|
|
83
|
+
}
|
|
84
|
+
/** A registered hook entry, discriminated by transport. */
|
|
85
|
+
type HookEntry = {
|
|
86
|
+
kind: 'inprocess';
|
|
87
|
+
event: HookEvent;
|
|
88
|
+
matcher: HookMatcher;
|
|
89
|
+
hook: InProcessHook;
|
|
90
|
+
owner?: string;
|
|
91
|
+
} | {
|
|
92
|
+
kind: 'shell';
|
|
93
|
+
event: HookEvent;
|
|
94
|
+
matcher: HookMatcher;
|
|
95
|
+
command: string;
|
|
96
|
+
timeoutMs?: number;
|
|
97
|
+
};
|
|
3
98
|
|
|
4
99
|
type ContextWindowModeId = 'balanced' | 'frugal' | 'deep' | 'archival';
|
|
5
100
|
type ContextWindowAggressiveOn = 'hard' | 'soft' | 'warn';
|
|
@@ -115,6 +210,12 @@ interface ProviderConfig {
|
|
|
115
210
|
envVars?: string[];
|
|
116
211
|
/** Optional list of models the user wants visible for this provider. */
|
|
117
212
|
models?: string[];
|
|
213
|
+
/**
|
|
214
|
+
* Provider-relative custom model definitions (maps modelId → definition).
|
|
215
|
+
* Each entry adds/overrides a model for this provider with optional
|
|
216
|
+
* capability overrides. The model id is the key, not a fully qualified id.
|
|
217
|
+
*/
|
|
218
|
+
customModels?: Record<string, CustomModelDefinition>;
|
|
118
219
|
}
|
|
119
220
|
/**
|
|
120
221
|
* One entry in the per-task model matrix. Pins a catalog role, a phase, or
|
|
@@ -218,6 +319,24 @@ interface SyncConfig {
|
|
|
218
319
|
categories: SyncCategory[];
|
|
219
320
|
lastSyncedAt?: string;
|
|
220
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
* Per-model capability overrides the user can define in their config.
|
|
324
|
+
* Used to add models not in the models.dev catalog, or override catalog
|
|
325
|
+
* facts when the real backend differs (e.g. local Ollama models, proxies).
|
|
326
|
+
*/
|
|
327
|
+
interface CustomModelDefinition {
|
|
328
|
+
/** Provider this model belongs to. Defaults to the owning ProviderConfig. */
|
|
329
|
+
provider?: string;
|
|
330
|
+
/** Optional display name. */
|
|
331
|
+
name?: string;
|
|
332
|
+
/** Capability overrides — only specified fields are overlaid. */
|
|
333
|
+
capabilities?: Partial<Capabilities>;
|
|
334
|
+
/**
|
|
335
|
+
* Max output tokens. If not specified, the provider family default
|
|
336
|
+
* or catalog entry is used.
|
|
337
|
+
*/
|
|
338
|
+
maxOutput?: number;
|
|
339
|
+
}
|
|
221
340
|
interface Config {
|
|
222
341
|
version: 1;
|
|
223
342
|
provider: string;
|
|
@@ -225,6 +344,13 @@ interface Config {
|
|
|
225
344
|
apiKey?: string;
|
|
226
345
|
baseUrl?: string;
|
|
227
346
|
providers?: Record<string, ProviderConfig>;
|
|
347
|
+
/**
|
|
348
|
+
* Top-level custom models (maps modelId → definition). Merged with
|
|
349
|
+
* per-provider `customModels` at resolution time. The key is the
|
|
350
|
+
* model id — not a fully qualified name. When the same model id
|
|
351
|
+
* appears in both places, the top-level one wins.
|
|
352
|
+
*/
|
|
353
|
+
models?: Record<string, CustomModelDefinition>;
|
|
228
354
|
/**
|
|
229
355
|
* Per-task model matrix. Keys are catalog roles (e.g. "security-scanner"),
|
|
230
356
|
* phase names (e.g. "review"), or the `*` default. Resolution precedence at
|
|
@@ -235,6 +361,21 @@ interface Config {
|
|
|
235
361
|
context: ContextConfig;
|
|
236
362
|
tools: ToolsConfig;
|
|
237
363
|
mcpServers?: Record<string, MCPServerConfig>;
|
|
364
|
+
/**
|
|
365
|
+
* Ordered list of fallback model references tried, in order, when the
|
|
366
|
+
* primary model is overloaded (HTTP 429/529/5xx) and its own retries are
|
|
367
|
+
* exhausted. Each entry is a model reference: a bare model id (same
|
|
368
|
+
* provider), `provider/model`, or `provider model`. The primary is always
|
|
369
|
+
* re-tried first at the start of every user turn. See `createFallbackModelExtension`.
|
|
370
|
+
*/
|
|
371
|
+
fallbackModels?: string[];
|
|
372
|
+
/**
|
|
373
|
+
* Lifecycle shell hooks, keyed by event. Each command receives the hook
|
|
374
|
+
* `HookInput` JSON on stdin; a JSON `HookOutcome` on stdout (and exit code 2
|
|
375
|
+
* = block) steers the agent. In-process hooks are registered separately via
|
|
376
|
+
* the plugin API. Disabled entirely under `--bare` / `--no-hooks`.
|
|
377
|
+
*/
|
|
378
|
+
hooks?: Partial<Record<HookEvent, ShellHook[]>>;
|
|
238
379
|
plugins?: (string | PluginConfig)[];
|
|
239
380
|
log: LogConfig;
|
|
240
381
|
features: FeaturesConfig;
|
|
@@ -310,4 +451,4 @@ interface ConfigStore {
|
|
|
310
451
|
watch(cb: (next: Readonly<Config>, prev: Readonly<Config>) => void): () => void;
|
|
311
452
|
}
|
|
312
453
|
|
|
313
|
-
export { type AutonomyConfig as A, CONTEXT_WINDOW_MODES as C, DEFAULT_CONTEXT_WINDOW_MODE_ID as D, type FeaturesConfig as F, type LogConfig as L, type MCPServerConfig as M, type PluginConfig as P, type SessionLoggingConfig as S, type ToolsConfig as T, type Config as a, type ConfigLoader as b, type ConfigStore as c, type ContextConfig as d, type ContextWindowAggressiveOn as e, type ContextWindowConfigLike as f, type ContextWindowMode as g, type ContextWindowModeId as h, type ContextWindowPolicy as i, type ContextWindowThresholds as j, type
|
|
454
|
+
export { type AutonomyConfig as A, CONTEXT_WINDOW_MODES as C, DEFAULT_CONTEXT_WINDOW_MODE_ID as D, type FeaturesConfig as F, type HookEntry as H, type InProcessHook as I, type LogConfig as L, type MCPServerConfig as M, type PluginConfig as P, type SessionLoggingConfig as S, type ToolsConfig as T, type Config as a, type ConfigLoader as b, type ConfigStore as c, type ContextConfig as d, type ContextWindowAggressiveOn as e, type ContextWindowConfigLike as f, type ContextWindowMode as g, type ContextWindowModeId as h, type ContextWindowPolicy as i, type ContextWindowThresholds as j, type CustomModelDefinition as k, type HookEvent as l, type HookInput as m, type HookMatcher as n, type HookOutcome as o, type ModelMatrixEntry as p, type ProviderApiKey as q, type ProviderConfig as r, type ShellHook as s, type SyncCategory as t, type SyncConfig as u, formatContextWindowModeList as v, getContextWindowMode as w, isContextWindowModeId as x, listContextWindowModes as y, resolveContextWindowPolicy as z };
|
|
@@ -265,12 +265,12 @@ declare function isFsError(err: unknown): err is FsError;
|
|
|
265
265
|
|
|
266
266
|
type Permission = 'auto' | 'confirm' | 'deny';
|
|
267
267
|
/**
|
|
268
|
-
* Risk tier for tools in YOLO mode.
|
|
269
|
-
*
|
|
270
|
-
* is set.
|
|
268
|
+
* Risk tier for tools in YOLO mode. YOLO auto-approves normal project work,
|
|
269
|
+
* but calls classified as clearly destructive still prompt unless
|
|
270
|
+
* `--yolo-destructive` is set (`--force-all-yolo` is a deprecated alias).
|
|
271
271
|
*
|
|
272
272
|
* - `safe` — read-only, no side effects (read, glob, grep, etc.)
|
|
273
|
-
* - `standard` — non-destructive writes and mutations (write, edit,
|
|
273
|
+
* - `standard` — non-destructive writes and mutations (write, edit, safe shell commands)
|
|
274
274
|
* - `destructive` — irreversible or broadside effects (recursive deletes, db drops, etc.)
|
|
275
275
|
*/
|
|
276
276
|
type RiskTier = 'safe' | 'standard' | 'destructive';
|
|
@@ -324,10 +324,10 @@ interface Tool<I = unknown, O = unknown> {
|
|
|
324
324
|
permission: Permission;
|
|
325
325
|
mutating: boolean;
|
|
326
326
|
/**
|
|
327
|
-
* Risk tier for selective YOLO gating. When YOLO is active,
|
|
328
|
-
*
|
|
329
|
-
* `standard` when omitted — callers should always check
|
|
330
|
-
* the basic permission decision.
|
|
327
|
+
* Risk tier for selective YOLO gating. When YOLO is active, clearly
|
|
328
|
+
* destructive calls still emit `confirm` unless the destructive override is
|
|
329
|
+
* set. Defaults to `standard` when omitted — callers should always check
|
|
330
|
+
* `riskTier` after the basic permission decision.
|
|
331
331
|
*/
|
|
332
332
|
riskTier?: RiskTier;
|
|
333
333
|
/**
|
|
@@ -463,6 +463,7 @@ interface Capabilities {
|
|
|
463
463
|
promptCache: boolean;
|
|
464
464
|
systemPrompt: boolean;
|
|
465
465
|
jsonMode: boolean;
|
|
466
|
+
reasoning: boolean;
|
|
466
467
|
maxContext: number;
|
|
467
468
|
cacheControl: 'native' | 'auto' | 'none';
|
|
468
469
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { B as BrainArbiter, a as BrainDecision, b as BrainDecisionOption, c as BrainDecisionQueue, d as BrainDecisionRequest, e as BrainDecisionSource, f as BrainFallback, g as BrainRisk, D as DefaultBrainArbiter, h as DefaultBrainArbiterOptions, H as HumanEscalatingBrainArbiter, O as ObservableBrainArbiter, l as formatHumanPrompt } from '../events-
|
|
2
|
-
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-
|
|
3
|
-
import { b as AgentDefinition } from '../multi-agent-coordinator-
|
|
4
|
-
export { T as AGENT_TOOL_PRESETS, A as AgentBudgetTier, a as AgentCapability, c as AgentPhase, D as DEFAULT_DISPATCH_ROLE, d as DefaultMultiAgentCoordinator, e as DispatchCandidate, f 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-
|
|
5
|
-
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, f as BudgetNegotiationMode, g as BudgetThresholdDecision, h as BudgetThresholdHandler, i as BudgetThresholdSignal, j as BudgetUsage, m as SubagentBudget } from '../multi-agent-
|
|
6
|
-
export { A as AgentFactory, a as AgentFactoryResult, b as AgentRunnerOptions, F as FleetBus, c as FleetEvent, d as FleetHandler, e as FleetUsage, f as FleetUsageAggregator, S as SubagentUsageSnapshot, m as makeAgentSubagentRunner } from '../agent-subagent-runner-
|
|
7
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-
|
|
8
|
-
import '../context-
|
|
1
|
+
export { B as BrainArbiter, a as BrainDecision, b as BrainDecisionOption, c as BrainDecisionQueue, d as BrainDecisionRequest, e as BrainDecisionSource, f as BrainFallback, g as BrainRisk, D as DefaultBrainArbiter, h as DefaultBrainArbiterOptions, H as HumanEscalatingBrainArbiter, O as ObservableBrainArbiter, l as formatHumanPrompt } from '../events-k8CHjcrN.js';
|
|
2
|
+
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-DRoJ0uOY.js';
|
|
3
|
+
import { b as AgentDefinition } from '../multi-agent-coordinator-CNUJYq7U.js';
|
|
4
|
+
export { T as AGENT_TOOL_PRESETS, A as AgentBudgetTier, a as AgentCapability, c as AgentPhase, D as DEFAULT_DISPATCH_ROLE, d as DefaultMultiAgentCoordinator, e as DispatchCandidate, f 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-CNUJYq7U.js';
|
|
5
|
+
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, f as BudgetNegotiationMode, g as BudgetThresholdDecision, h as BudgetThresholdHandler, i as BudgetThresholdSignal, j as BudgetUsage, m as SubagentBudget } from '../multi-agent-SASYOrWA.js';
|
|
6
|
+
export { A as AgentFactory, a as AgentFactoryResult, b as AgentRunnerOptions, F as FleetBus, c as FleetEvent, d as FleetHandler, e as FleetUsage, f as FleetUsageAggregator, S as SubagentUsageSnapshot, m as makeAgentSubagentRunner } from '../agent-subagent-runner-Zc3f37Sg.js';
|
|
7
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-B5rxWrg3.js';
|
|
8
|
+
import '../context-iFMEO2rN.js';
|
|
9
9
|
import 'node:events';
|
|
10
10
|
import '../director-state-BmYi3DGA.js';
|
|
11
|
-
import '../config-
|
|
11
|
+
import '../config-BdDuaZmB.js';
|
|
12
12
|
import '../models-registry-BcYJDKLm.js';
|
|
13
|
-
import '../index-
|
|
13
|
+
import '../index-Bc6BiP5q.js';
|
|
14
14
|
import '../logger-DDd5C--Z.js';
|
|
15
|
-
import '../system-prompt-
|
|
15
|
+
import '../system-prompt-7LHyBbIf.js';
|
|
16
16
|
import '../observability-BhnVLBLS.js';
|
|
17
17
|
import '../secret-scrubber-3MHDDAtm.js';
|
|
18
|
-
import '../permission-
|
|
18
|
+
import '../permission-Ld-i5ugf.js';
|
|
19
19
|
|
|
20
20
|
/** Phase 1 · Discovery — map the territory before any work begins. */
|
|
21
21
|
declare const DISCOVERY_AGENTS: AgentDefinition[];
|