@wrongstack/core 0.280.0 → 0.281.0
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-subagent-runner-PoqNKiR4.d.ts → agent-subagent-runner-DyOSK2Wy.d.ts} +39 -8
- package/dist/{compactor-U3agvUIG.d.ts → compactor-BxddyCFu.d.ts} +1 -1
- package/dist/{config-Cr3312zc.d.ts → config-CN-vdDEI.d.ts} +82 -2
- package/dist/coordination/index.d.ts +203 -20
- package/dist/coordination/index.js +981 -52
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +26 -30
- package/dist/defaults/index.js +382 -30
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-Bs2fmldo.d.ts → events-C5hLU0AT.d.ts} +38 -2
- package/dist/execution/index.d.ts +16 -16
- package/dist/execution/index.js +161 -18
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/prompt-enhancer.d.ts +1 -1
- package/dist/execution/prompt-enhancer.js +12 -3
- package/dist/execution/prompt-enhancer.js.map +1 -1
- package/dist/extension/index.d.ts +6 -6
- package/dist/{global-mailbox-Ct7IorLJ.d.ts → global-mailbox-CHM1QkCi.d.ts} +5 -2
- package/dist/{goal-store-C4F6DjC0.d.ts → goal-store-BLGZq16t.d.ts} +1 -1
- package/dist/hq/index.d.ts +6 -6
- package/dist/hq/index.js +35 -13
- package/dist/hq/index.js.map +1 -1
- package/dist/{index-nP09-oP2.d.ts → index-BEFWNZYs.d.ts} +1 -2
- package/dist/{index-kidebiDh.d.ts → index-C1E-_71T.d.ts} +6 -6
- package/dist/index.d.ts +44 -48
- package/dist/index.js +14855 -13944
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +60 -8
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +11 -11
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-D910X5_r.d.ts → mcp-servers-EKRAcJDi.d.ts} +97 -4
- package/dist/models/index.d.ts +4 -5
- package/dist/models/index.js +22 -5
- package/dist/models/index.js.map +1 -1
- package/dist/{multi-agent-coordinator-CieyUoEL.d.ts → multi-agent-coordinator-IpHCuHUa.d.ts} +29 -1
- package/dist/{null-fleet-bus-DkdmZJ_W.d.ts → null-fleet-bus-ZBkKGR9j.d.ts} +105 -7
- package/dist/observability/index.d.ts +3 -3
- package/dist/{tool-executor-SiE1wlZo.d.ts → parallel-eternal-engine-Cc2CNgmv.d.ts} +6 -202
- package/dist/path-resolver-CMS5307d.d.ts +13 -0
- package/dist/{permission-Dx6dIqS2.d.ts → permission-B6YAtNFz.d.ts} +1 -1
- package/dist/{pipeline-BwAP21_4.d.ts → pipeline-E7_jqGyV.d.ts} +2 -2
- package/dist/{provider-model-resolve-CwQNZWt_.d.ts → provider-model-resolve-KgIdiEQ6.d.ts} +118 -5
- package/dist/{provider-runner-CYHFImzV.d.ts → provider-runner-DxWXNHL1.d.ts} +3 -3
- package/dist/{retry-policy-D4feSLk3.d.ts → retry-policy-V67lBOJz.d.ts} +2 -2
- package/dist/sdd/index.d.ts +9 -9
- package/dist/sdd/index.js +94 -10
- package/dist/sdd/index.js.map +1 -1
- package/dist/{permission-policy-C8vJcnX5.d.ts → secret-vault-D7jeyXUQ.d.ts} +119 -3
- package/dist/security/index.d.ts +5 -6
- package/dist/security/index.js +4 -1
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-Dy-MzKp1.d.ts → selector-Bx2HgUkU.d.ts} +1 -1
- package/dist/{session-event-bridge-CqdiGnfU.d.ts → session-event-bridge-vA2fLV58.d.ts} +1 -1
- package/dist/{session-reader-Hk0WbNm9.d.ts → session-reader-B-Fi9L6I.d.ts} +1 -1
- package/dist/session-registry-Dvg7i_IA.d.ts +129 -0
- package/dist/storage/index.d.ts +71 -142
- package/dist/storage/index.js +161 -13
- package/dist/storage/index.js.map +1 -1
- package/dist/{todos-checkpoint-Bk2uP7Ex.d.ts → todos-checkpoint-B1QVkoa8.d.ts} +23 -5
- package/dist/{tool-BkOgs_KL.d.ts → tool-LVSLiE1s.d.ts} +18 -4
- package/dist/{strategy-compactor-CQwhbErd.d.ts → tool-executor-BWtYwuPI.d.ts} +210 -12
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/types/index.d.ts +17 -41
- package/dist/types/index.js +182 -5085
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +6 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/{worktree-manager-BjOFF6bt.d.ts → worktree-manager-C6CIilTT.d.ts} +1 -1
- package/dist/{wstack-paths-CMl_cYgq.d.ts → wstack-paths-C3K40Qst.d.ts} +2 -0
- package/instructions/agents/shadow-agent.md +23 -84
- package/instructions/coordination/director-preamble.md +12 -3
- package/instructions/coordination/subagent-baseline.md +39 -46
- package/instructions/leader-after-task.md +10 -28
- package/instructions/llm/llm-selector.md +1 -2
- package/instructions/modes/brief-system.md +7 -33
- package/instructions/modes/brief.md +5 -20
- package/instructions/modes/teach-system.md +12 -72
- package/instructions/modes/teach.md +12 -49
- package/instructions/sections/tool/commit-hygiene.md +5 -5
- package/instructions/sections/tool/context-management-full.md +6 -6
- package/instructions/sections/tool/delegation-compact.md +1 -1
- package/instructions/sections/tool/delegation-full.md +19 -23
- package/instructions/sections/tool/mailbox-full.md +11 -31
- package/instructions/sections/tool/mcp-full-control.md +5 -7
- package/instructions/sections/tool/mcp-full-use.md +7 -7
- package/instructions/system.md +22 -38
- package/package.json +1 -29
- package/dist/agent-bridge-DXC6QDJ4.d.ts +0 -35
- package/dist/logger-D3lV0cUZ.d.ts +0 -101
- package/dist/models-registry-CLkoOcHk.d.ts +0 -108
- package/dist/path-resolver-XfZ9eLxG.d.ts +0 -67
- package/dist/secret-vault-CImt2XrR.d.ts +0 -118
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as Container, R as ReadonlyPipeline, a as Renderer } from './pipeline-
|
|
3
|
-
import { E as EventBus, a as EventName, L as Listener } from './events-
|
|
4
|
-
import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-
|
|
1
|
+
import { T as ToolCallPipelinePayload, a as ToolWrapper, E as ExtensionRegistry, S as SystemPromptContributor, b as ToolRegistry, P as ProviderRegistry, A as AgentPipelines, c as ToolExecutorLike, d as AgentInit, e as AgentInput, R as RunResult } from './index-C1E-_71T.js';
|
|
2
|
+
import { C as Container, R as ReadonlyPipeline, a as Renderer } from './pipeline-E7_jqGyV.js';
|
|
3
|
+
import { E as EventBus, a as EventName, L as Listener } from './events-C5hLU0AT.js';
|
|
4
|
+
import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-V67lBOJz.js';
|
|
5
5
|
import { L as Logger } from './logger-B63L5bTg.js';
|
|
6
6
|
import { T as Tracer } from './observability-D-HZN_mF.js';
|
|
7
|
-
import { P as PermissionPolicy } from './permission-
|
|
8
|
-
import {
|
|
9
|
-
import { W as WireFamily, H as HookEvent, f as HookMatcher, I as InProcessHook, C as Config, M as ModelsRegistry, h as ModelRuntimeConfig } from './config-
|
|
7
|
+
import { P as PermissionPolicy } from './permission-B6YAtNFz.js';
|
|
8
|
+
import { d as Context, J as JSONSchema, c as Request, e as Response, i as ContentBlock, s as TextBlock, g as Tool, P as Provider, t as RunOptions, U as Usage } from './tool-LVSLiE1s.js';
|
|
9
|
+
import { W as WireFamily, H as HookEvent, f as HookMatcher, I as InProcessHook, C as Config, M as ModelsRegistry, h as ModelRuntimeConfig } from './config-CN-vdDEI.js';
|
|
10
10
|
import { b as Mailbox } from './mailbox-types-BGZWrYTJ.js';
|
|
11
11
|
|
|
12
12
|
type BridgeMessageType = 'task' | 'result' | 'progress' | 'error' | 'heartbeat' | 'stop' | 'delegate' | 'budget_threshold';
|
|
@@ -1050,6 +1050,18 @@ interface CoordinatorEvents {
|
|
|
1050
1050
|
totalIterations: number;
|
|
1051
1051
|
};
|
|
1052
1052
|
}
|
|
1053
|
+
/**
|
|
1054
|
+
* Result of {@link MultiAgentCoordinator.awaitTasksAny} — a partial drain of a
|
|
1055
|
+
* task-id batch. `completed` holds every requested id that has already
|
|
1056
|
+
* settled (at least one, unless `timedOut`); `pending` holds the rest, so the
|
|
1057
|
+
* caller can loop "handle finishers, re-await the remainder".
|
|
1058
|
+
*/
|
|
1059
|
+
interface AwaitAnyResult {
|
|
1060
|
+
completed: TaskResult[];
|
|
1061
|
+
pending: string[];
|
|
1062
|
+
/** Set when `timeoutMs` elapsed with zero completions among the requested ids. */
|
|
1063
|
+
timedOut?: boolean;
|
|
1064
|
+
}
|
|
1053
1065
|
interface MultiAgentCoordinator {
|
|
1054
1066
|
readonly coordinatorId: string;
|
|
1055
1067
|
readonly config: MultiAgentConfig;
|
|
@@ -1070,8 +1082,27 @@ interface MultiAgentCoordinator {
|
|
|
1070
1082
|
* Resolves to an array in the same order as `taskIds`.
|
|
1071
1083
|
*/
|
|
1072
1084
|
awaitTasks(taskIds: string[]): Promise<TaskResult[]>;
|
|
1085
|
+
/**
|
|
1086
|
+
* Wait until AT LEAST ONE of the named tasks completes, then return every
|
|
1087
|
+
* requested result available at that moment plus the still-pending ids.
|
|
1088
|
+
* Ids that already completed resolve immediately (drain-what's-done). With
|
|
1089
|
+
* `timeoutMs`, resolves (never rejects) with `timedOut: true` and zero
|
|
1090
|
+
* completions when the window elapses first.
|
|
1091
|
+
*/
|
|
1092
|
+
awaitTasksAny(taskIds: string[], opts?: {
|
|
1093
|
+
timeoutMs?: number;
|
|
1094
|
+
}): Promise<AwaitAnyResult>;
|
|
1073
1095
|
/** Snapshot of completed task results. */
|
|
1074
1096
|
results(): readonly TaskResult[];
|
|
1097
|
+
/** Defensive snapshot of the still-queued (not yet dispatched) tasks. */
|
|
1098
|
+
listPendingTasks(): readonly TaskSpec[];
|
|
1099
|
+
/**
|
|
1100
|
+
* Re-pin a still-pending task to a different subagent (`undefined` =
|
|
1101
|
+
* unpin) and try to dispatch. Returns `false` when the task is no longer
|
|
1102
|
+
* pending (dispatched/completed/unknown) or the target subagent does not
|
|
1103
|
+
* exist. Running tasks can never be pulled — steer or terminate instead.
|
|
1104
|
+
*/
|
|
1105
|
+
retargetPendingTask(taskId: string, subagentId: string | undefined): boolean;
|
|
1075
1106
|
}
|
|
1076
1107
|
/**
|
|
1077
1108
|
* Caller-supplied runner that actually executes a task. The coordinator
|
|
@@ -1317,4 +1348,4 @@ interface AgentRunnerOptions {
|
|
|
1317
1348
|
*/
|
|
1318
1349
|
declare function makeAgentSubagentRunner(opts: AgentRunnerOptions): SubagentRunner;
|
|
1319
1350
|
|
|
1320
|
-
export { type
|
|
1351
|
+
export { type SubagentRunContext as $, Agent as A, type BudgetSessionIdSource as B, type CoordinatorStatus as C, type DoneCondition as D, BudgetExceededError as E, FleetBus as F, type BudgetKind as G, type BudgetLimits as H, type BudgetNegotiationMode as I, type BudgetThresholdDecision as J, type BudgetThresholdHandler as K, BudgetThresholdSignal as L, type MultiAgentCoordinator as M, type BudgetUsage as N, type CoordinatorEvents as O, type PluginAPI as P, DECISION_TIMEOUT_MS as Q, type FleetEvent as R, type SubagentConfig as S, type TaskSpec as T, type FleetHandler as U, type PluginLLMOptions as V, type PluginLLMResult as W, SubagentBudget as X, type SubagentContext as Y, type SubagentError as Z, type SubagentErrorKind as _, type AgentFactory as a, type SubagentRunOutcome as a0, type SubagentUsageSnapshot as a1, TIMEOUT_PREEMPT_FRACTION as a2, type TaskDelegation as a3, makeAgentSubagentRunner as a4, withDisabledToolFiltering as a5, type ProviderFactory as a6, type MultiAgentConfig as b, type SubagentRunner as c, type SpawnResult as d, type BridgeMessage as e, type AgentBridge as f, type TaskResult as g, type AwaitAnyResult as h, type BridgeTransport as i, type AgentBridgeConfig as j, type FleetUsage as k, FleetUsageAggregator as l, type SlashCommand as m, type PluginPipelines as n, type ToolRegistryView as o, type ProviderRegistryView as p, type MCPRegistryView as q, type SlashCommandRegistryView as r, type SessionWriterView as s, type MetricsSinkView as t, type PluginLLM as u, type PluginCapabilities as v, type PluginDependency as w, type Plugin as x, type AgentFactoryResult as y, type AgentRunnerOptions as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ReasoningConfig, p as ReasoningEffort, q as CacheTtl, r as Capabilities,
|
|
1
|
+
import { a as ReasoningConfig, p as ReasoningEffort, q as CacheTtl, r as Capabilities, f as Permission } from './tool-LVSLiE1s.js';
|
|
2
2
|
|
|
3
3
|
type ContextWindowModeId = 'balanced' | 'frugal' | 'deep' | 'archival';
|
|
4
4
|
type ContextWindowAggressiveOn = 'hard' | 'soft' | 'warn';
|
|
@@ -810,6 +810,23 @@ interface AutonomyConfig {
|
|
|
810
810
|
statuslineMode?: 'minimum' | 'detailed' | undefined;
|
|
811
811
|
/** Single short word shown in the TUI rainbow working-state chip. Default: "thinking". */
|
|
812
812
|
thinkingWord?: string | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* Persist the TUI prompt input history to disk per project so Up/Down
|
|
815
|
+
* navigation recalls prompts across sessions. Secrets are scrubbed before
|
|
816
|
+
* they reach disk. Default: enabled, 100 entries.
|
|
817
|
+
*/
|
|
818
|
+
inputHistory?: InputHistoryConfig | undefined;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Per-project TUI input history persistence options. Lives under
|
|
822
|
+
* `config.autonomy.inputHistory` because the TUI-specific knobs on Config
|
|
823
|
+
* are grouped there.
|
|
824
|
+
*/
|
|
825
|
+
interface InputHistoryConfig {
|
|
826
|
+
/** Persist history to ~/.wrongstack/projects/<slug>/input-history.json. Default: true. */
|
|
827
|
+
enabled?: boolean | undefined;
|
|
828
|
+
/** Max entries kept on disk (and in memory). Default: 100. */
|
|
829
|
+
maxEntries?: number | undefined;
|
|
813
830
|
}
|
|
814
831
|
/**
|
|
815
832
|
* Automatic codebase symbol-index maintenance. Keeps the `codebase-search`
|
|
@@ -960,6 +977,61 @@ interface SkillsConfig {
|
|
|
960
977
|
*/
|
|
961
978
|
registryUrl?: string | undefined;
|
|
962
979
|
}
|
|
980
|
+
/**
|
|
981
|
+
* Fleet peer-awareness + supervision settings. All sub-features are
|
|
982
|
+
* enabled-by-default with conservative throttles; each has its own kill
|
|
983
|
+
* switch. See `FleetSupervisor` (coordination/fleet-supervisor.ts) for the
|
|
984
|
+
* supervisor semantics.
|
|
985
|
+
*/
|
|
986
|
+
interface FleetConfig {
|
|
987
|
+
/** Periodic "[FLEET PULSE]" peer-status digest folded into each agent's context. */
|
|
988
|
+
pulse?: {
|
|
989
|
+
/** Default true. */
|
|
990
|
+
enabled?: boolean | undefined;
|
|
991
|
+
/** Inject at most every N agent iterations. Default 5. */
|
|
992
|
+
everyNIterations?: number | undefined;
|
|
993
|
+
/** Hard cap on digest characters. Default 900. */
|
|
994
|
+
maxChars?: number | undefined;
|
|
995
|
+
/** Max peers listed per digest. Default 15. */
|
|
996
|
+
maxAgents?: number | undefined;
|
|
997
|
+
} | undefined;
|
|
998
|
+
/** Broadcast `type:'status'` mails on meaningful subagent transitions. */
|
|
999
|
+
statusBroadcasts?: {
|
|
1000
|
+
/** Default true. */
|
|
1001
|
+
enabled?: boolean | undefined;
|
|
1002
|
+
/** Min interval between broadcasts about the same subagent. Default 15000. */
|
|
1003
|
+
minIntervalMsPerAgent?: number | undefined;
|
|
1004
|
+
/** Global cap on broadcasts per minute (excess dropped + counted). Default 20. */
|
|
1005
|
+
globalPerMinuteCap?: number | undefined;
|
|
1006
|
+
} | undefined;
|
|
1007
|
+
/** Brain-gated fleet supervisor (rebalance/steer/spawn-helper). */
|
|
1008
|
+
supervisor?: FleetSupervisorConfig | undefined;
|
|
1009
|
+
}
|
|
1010
|
+
/** Config surface for the brain-gated FleetSupervisor. */
|
|
1011
|
+
interface FleetSupervisorConfig {
|
|
1012
|
+
/** Kill switch. Default true (active whenever a Director is running). */
|
|
1013
|
+
enabled?: boolean | undefined;
|
|
1014
|
+
/** Evaluation tick. Default 20000. */
|
|
1015
|
+
intervalMs?: number | undefined;
|
|
1016
|
+
/** Per-(signal,subject) re-engagement cooldown. Default 120000. */
|
|
1017
|
+
cooldownMs?: number | undefined;
|
|
1018
|
+
/** Hard cap on interventions touching one subagent per run. Default 3. */
|
|
1019
|
+
maxInterventionsPerSubagent?: number | undefined;
|
|
1020
|
+
/** Pending task pinned to a busy worker longer than this → starvation signal. Default 60000. */
|
|
1021
|
+
pinnedWaitMs?: number | undefined;
|
|
1022
|
+
/** ≥ this many pending tasks pinned to one worker (with an idle sibling) → overload signal. Default 2. */
|
|
1023
|
+
overloadPinnedThreshold?: number | undefined;
|
|
1024
|
+
/** pending > backlogFactor × live workers (sustained) → spawn-helper signal. Default 2. */
|
|
1025
|
+
backlogFactor?: number | undefined;
|
|
1026
|
+
/** Running subagent with no tool activity for this long → stuck signal. Default 180000. */
|
|
1027
|
+
stuckMs?: number | undefined;
|
|
1028
|
+
/** Consecutive failed/timeout results from one subagent → failure-streak signal. Default 2. */
|
|
1029
|
+
failureStreak?: number | undefined;
|
|
1030
|
+
/** Allow the supervisor to spawn helper subagents. Default true. */
|
|
1031
|
+
allowSpawn?: boolean | undefined;
|
|
1032
|
+
/** Allow the supervisor to terminate subagents (highest risk). Default false. */
|
|
1033
|
+
allowTerminate?: boolean | undefined;
|
|
1034
|
+
}
|
|
963
1035
|
interface Config {
|
|
964
1036
|
version: 1;
|
|
965
1037
|
provider: string;
|
|
@@ -1104,6 +1176,14 @@ interface Config {
|
|
|
1104
1176
|
modelRuntime?: ModelRuntimeConfig | undefined;
|
|
1105
1177
|
/** HQ client publishing settings, used by CLI/REPL/TUI/WebUI consistently. */
|
|
1106
1178
|
hq?: HqClientConfig | undefined;
|
|
1179
|
+
/**
|
|
1180
|
+
* Fleet awareness + supervision settings (peer-status pulse digests,
|
|
1181
|
+
* status-broadcast mails, and the brain-gated FleetSupervisor). SECURITY:
|
|
1182
|
+
* in the in-project config DENY list — a repo-committed config must not be
|
|
1183
|
+
* able to enable autonomous spawning/steering or mailbox traffic. Only
|
|
1184
|
+
* honoured from the user's `~/.wrongstack/config.json`.
|
|
1185
|
+
*/
|
|
1186
|
+
fleet?: FleetConfig | undefined;
|
|
1107
1187
|
/**
|
|
1108
1188
|
* Cloud sync configuration. Stored separately in sync.json to avoid
|
|
1109
1189
|
* accidentally committing the GitHub token to project configs.
|
|
@@ -1165,4 +1245,4 @@ interface ConfigStore {
|
|
|
1165
1245
|
watch(cb: (next: Readonly<Config>, prev: Readonly<Config>) => void): () => void;
|
|
1166
1246
|
}
|
|
1167
1247
|
|
|
1168
|
-
export { type
|
|
1248
|
+
export { type ProviderApiKey as $, type AdaptiveConcurrencyConfig as A, type ExecToolConfig as B, type Config as C, DEFAULT_CONTEXT_WINDOW_MODE_ID as D, type ExecDangerConfig as E, type FeaturesConfig as F, type FleetConfig as G, type HookEvent as H, type InProcessHook as I, type FleetSupervisorConfig as J, type HqClientConfig as K, type IndexingConfig as L, type ModelsRegistry as M, type InputHistoryConfig as N, type LaunchConfig as O, type ProviderConfig as P, type LogConfig as Q, type ResolvedModel as R, type ShellHook as S, type ToolResultRenderMode as T, MAX_TUI_THINKING_WORD_LENGTH as U, type ModelRuntimeCacheConfig as V, type WireFamily as W, type ModelRuntimeParametersConfig as X, type ModelRuntimeReasoningConfig as Y, type ModelsDevProvider as Z, type PluginConfig as _, type ModelMatrixEntry as a, type SessionLoggingConfig as a0, type SkillsConfig as a1, type SyncCategory as a2, type ToolDescriptionMode as a3, type ToolDescriptionModeConfig as a4, type ToolResultRenderModeConfig as a5, type ToolsConfig as a6, formatContextWindowModeList as a7, getContextWindowMode as a8, isContextWindowModeId as a9, listContextWindowModes as aa, normalizeTokenSavingTier as ab, normalizeTuiThinkingWord as ac, resolveContextWindowPolicy as ad, type MCPServerConfig as b, type ModelsDevPayload as c, type ResolvedProvider as d, type ModelsDevModel as e, type HookMatcher as f, type HookEntry as g, type ModelRuntimeConfig as h, type ConfigLoader as i, type SyncConfig as j, type ConfigStore as k, type ContextWindowAggressiveOn as l, type ContextWindowPolicy as m, type HookInput as n, type HookOutcome as o, type TokenSavingTier as p, type AutonomyConfig as q, CONTEXT_WINDOW_MODES as r, type CircuitBreakerRuntimeConfig as s, type ContextConfig as t, type ContextWindowConfigLike as u, type ContextWindowMode as v, type ContextWindowModeId as w, type ContextWindowThresholds as x, type CustomModelDefinition as y, DEFAULT_TUI_THINKING_WORD as z };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { g as BrainDecisionQueue, j as BrainFallback, D as DefaultBrainArbiter, l as DefaultBrainArbiterOptions, H as HumanEscalatingBrainArbiter, O as ObservableBrainArbiter, w as formatHumanPrompt } from '../events-Bs2fmldo.js';
|
|
1
|
+
import { H as FleetManager, s as Director } from '../null-fleet-bus-ZBkKGR9j.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, 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, I as FleetManagerOptions, J as FleetRosterBudget, K as FleetSpawnBudgetError, L as ICoordinator, M as IFleetManager, N as InMemoryAgentBridge, O as InMemoryBridgeTransport, P as LargeAnswerStore, Q as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as RefactorPhase, T as RefactorPlan, U as SECURITY_SCANNER_AGENT, V as SharedFileEntry, W as SharedFileSnapshot, X as SubagentPromptParts, Y as TaskResultNotification, Z as applyRosterBudget, _ as attachAutoExtend, $ as composeDirectorPrompt, a0 as composeSubagentPrompt, a1 as createDelegateTool, a2 as createMessage, a3 as getAgentDefinition, a4 as makeAskResultTool, a5 as makeAskTool, a6 as makeAssignTool, a7 as makeAwaitTasksTool, a8 as makeCollabDebugTool, a9 as makeDirectorSessionFactory, aa as makeFleetEmitTool, ab as makeFleetHealthTool, ab as makeFleetSessionTool, ab as makeFleetTool, ab as makeFleetUsageTool, ac as makeRollUpTool, ad as makeSpawnTool, ae as makeTerminateAllTool, af as makeTerminateTool, ag as makeWorkCompleteTool, ah as rosterSummaryFromConfigs } from '../null-fleet-bus-ZBkKGR9j.js';
|
|
3
|
+
import { F as FleetBus, T as TaskSpec } from '../agent-subagent-runner-DyOSK2Wy.js';
|
|
4
|
+
export { a as AgentFactory, y as AgentFactoryResult, z as AgentRunnerOptions, E as BudgetExceededError, G as BudgetKind, H as BudgetLimits, I as BudgetNegotiationMode, J as BudgetThresholdDecision, K as BudgetThresholdHandler, L as BudgetThresholdSignal, N as BudgetUsage, Q as DECISION_TIMEOUT_MS, R as FleetEvent, U as FleetHandler, k as FleetUsage, l as FleetUsageAggregator, X as SubagentBudget, a1 as SubagentUsageSnapshot, a2 as TIMEOUT_PREEMPT_FRACTION, a4 as makeAgentSubagentRunner, a5 as withDisabledToolFiltering } from '../agent-subagent-runner-DyOSK2Wy.js';
|
|
5
|
+
import { E as EventBus, B as BrainArbiter, f as BrainDecisionOption, k as BrainRisk, h as BrainDecisionRequest, e as BrainDecision, i as BrainDecisionSource } from '../events-C5hLU0AT.js';
|
|
6
|
+
export { g as BrainDecisionQueue, j as BrainFallback, D as DefaultBrainArbiter, l as DefaultBrainArbiterOptions, H as HumanEscalatingBrainArbiter, O as ObservableBrainArbiter, w as formatHumanPrompt } from '../events-C5hLU0AT.js';
|
|
8
7
|
import { b as Mailbox, c as MailboxSendInput, M as MailboxMessage, d as MailboxQuery, e as MailboxAckInput, f as MailboxAckBatchInput, a as MailboxAgentStatus, A as AgentRegistrationInput, g as AgentHeartbeatInput, P as PurgeOptions, j as PurgeResult, C as ClientRegistrationInput, h as ClientHeartbeatInput, i as ClientStatus } from '../mailbox-types-BGZWrYTJ.js';
|
|
9
8
|
export { k as ClientSource, l as MailboxMessageType, m as MailboxTaskContext, R as ReadReceipts, n as RegisteredAgent, o as normalizeRecipient } from '../mailbox-types-BGZWrYTJ.js';
|
|
10
|
-
import { b as AgentDefinition } from '../multi-agent-coordinator-
|
|
11
|
-
export { T as AGENT_TOOL_PRESETS, c as AgentBudgetTier, d as AgentCapability, 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-
|
|
12
|
-
import { G as GlobalMailbox } from '../global-mailbox-
|
|
13
|
-
export { aA as resolveProjectDir } from '../global-mailbox-
|
|
14
|
-
import {
|
|
15
|
-
import { A as
|
|
9
|
+
import { b as AgentDefinition } from '../multi-agent-coordinator-IpHCuHUa.js';
|
|
10
|
+
export { T as AGENT_TOOL_PRESETS, c as AgentBudgetTier, d as AgentCapability, 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-IpHCuHUa.js';
|
|
11
|
+
import { G as GlobalMailbox } from '../global-mailbox-CHM1QkCi.js';
|
|
12
|
+
export { aA as resolveProjectDir } from '../global-mailbox-CHM1QkCi.js';
|
|
13
|
+
import { d as Context, g as Tool } from '../tool-LVSLiE1s.js';
|
|
14
|
+
import { A as AgentEntry } from '../session-registry-Dvg7i_IA.js';
|
|
15
|
+
import { J as FleetSupervisorConfig, A as AdaptiveConcurrencyConfig } from '../config-CN-vdDEI.js';
|
|
16
16
|
import { L as Logger } from '../logger-B63L5bTg.js';
|
|
17
|
-
import '../index-kidebiDh.js';
|
|
18
|
-
import '../pipeline-BwAP21_4.js';
|
|
19
|
-
import '../permission-Dx6dIqS2.js';
|
|
20
|
-
import '../observability-D-HZN_mF.js';
|
|
21
|
-
import '../secret-scrubber-3MHDDAtm.js';
|
|
22
|
-
import '../retry-policy-D4feSLk3.js';
|
|
23
17
|
import 'node:events';
|
|
24
18
|
import '../director-state-BfeCUbmk.js';
|
|
19
|
+
import '../index-C1E-_71T.js';
|
|
20
|
+
import '../pipeline-E7_jqGyV.js';
|
|
21
|
+
import '../permission-B6YAtNFz.js';
|
|
22
|
+
import '../observability-D-HZN_mF.js';
|
|
23
|
+
import '../secret-scrubber-3MHDDAtm.js';
|
|
24
|
+
import '../retry-policy-V67lBOJz.js';
|
|
25
25
|
|
|
26
26
|
/** Phase 1 · Discovery — map the territory before any work begins. */
|
|
27
27
|
declare const DISCOVERY_AGENTS: AgentDefinition[];
|
|
@@ -346,6 +346,189 @@ interface MailToolsOptions {
|
|
|
346
346
|
declare function makeMailSendTool(opts?: MailToolsOptions): Tool;
|
|
347
347
|
declare function makeMailInboxTool(opts?: MailToolsOptions): Tool;
|
|
348
348
|
|
|
349
|
+
/**
|
|
350
|
+
* fleet-status-tool — read-only live peer snapshot for any agent.
|
|
351
|
+
*
|
|
352
|
+
* The pull half of peer awareness (the push half is the fleet-pulse
|
|
353
|
+
* digest): any agent — leader or fleet subagent — can ask "who else is
|
|
354
|
+
* working on this project right now, and on what?" before starting work
|
|
355
|
+
* that might overlap, or when deciding whether to wait or proceed.
|
|
356
|
+
*
|
|
357
|
+
* Data source: the project mailbox registry (`getAgentStatuses`), which is
|
|
358
|
+
* cross-process by construction. When the host passes `getLocalAgents`
|
|
359
|
+
* (an AgentStatusTracker view), same-process entries are enriched with the
|
|
360
|
+
* richer live fields the registry doesn't carry (ctxPct, costUsd,
|
|
361
|
+
* partialText tail).
|
|
362
|
+
*
|
|
363
|
+
* @module fleet-status-tool
|
|
364
|
+
*/
|
|
365
|
+
|
|
366
|
+
interface FleetStatusToolOptions {
|
|
367
|
+
/** How to obtain a Mailbox given the execution Context (tests). */
|
|
368
|
+
resolveMailbox?: MailboxResolver | undefined;
|
|
369
|
+
/** Project dir for the shared mailbox. Prefer wpaths.projectDir. */
|
|
370
|
+
projectDir?: string | undefined;
|
|
371
|
+
/** EventBus for mailbox registration surface events. */
|
|
372
|
+
events?: EventBus | undefined;
|
|
373
|
+
/**
|
|
374
|
+
* Same-process rich agent state (AgentStatusTracker snapshot). Merged
|
|
375
|
+
* into registry rows by name when provided — cross-process peers keep
|
|
376
|
+
* registry-only fields.
|
|
377
|
+
*/
|
|
378
|
+
getLocalAgents?: (() => AgentEntry[]) | undefined;
|
|
379
|
+
}
|
|
380
|
+
declare function makeFleetStatusTool(opts?: FleetStatusToolOptions): Tool;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* FleetSupervisor — brain-gated shadow watcher over the generic fleet.
|
|
384
|
+
*
|
|
385
|
+
* The Director gives a leader agent orchestration TOOLS; this module gives
|
|
386
|
+
* the fleet a SUPERVISOR that works even while the leader is deep in its
|
|
387
|
+
* own task: it continuously watches queue shape + worker activity, detects
|
|
388
|
+
* imbalance (a pending task starving behind a busy worker while a sibling
|
|
389
|
+
* idles, a deep backlog, a stuck or repeatedly-failing worker), and — after
|
|
390
|
+
* clearing every proposal through the tiered BrainArbiter (policy → LLM →
|
|
391
|
+
* human, honoring the /brain risk ceiling) — acts: retargets pending
|
|
392
|
+
* tasks ("I'm reducing your workload"), spawns a helper, steers an agent
|
|
393
|
+
* by mail, notifies the leader, or (opt-in) terminates.
|
|
394
|
+
*
|
|
395
|
+
* Design lineage: BrainMonitor (watch bus → decide → intervene, cooldowns,
|
|
396
|
+
* single engagement in flight) generalized from "steer the leader" to the
|
|
397
|
+
* full fleet action set; SddSupervisor's brain-verdict contract reused for
|
|
398
|
+
* the decision step. The SDD subsystem itself is untouched.
|
|
399
|
+
*
|
|
400
|
+
* Non-interference guarantees (also pinned by tests):
|
|
401
|
+
* - never calls extend/deny on budget negotiations — the Director's
|
|
402
|
+
* budgetFilter remains the sole negotiator; we only OBSERVE events
|
|
403
|
+
* - never preempts a RUNNING task — only still-pending tasks move
|
|
404
|
+
* - never flips autonomy mode
|
|
405
|
+
* - dormant once the director declares work complete
|
|
406
|
+
*
|
|
407
|
+
* @module fleet-supervisor
|
|
408
|
+
*/
|
|
409
|
+
|
|
410
|
+
/** One subagent row of the snapshot the supervisor reasons over. */
|
|
411
|
+
interface SupervisedSubagent {
|
|
412
|
+
id: string;
|
|
413
|
+
name: string;
|
|
414
|
+
status: 'running' | 'idle' | 'stopped' | 'error';
|
|
415
|
+
currentTask?: string | undefined;
|
|
416
|
+
}
|
|
417
|
+
/** Read port — implemented over Director/coordinator state by the host. */
|
|
418
|
+
interface FleetSupervisorSource {
|
|
419
|
+
subagents(): SupervisedSubagent[];
|
|
420
|
+
listPendingTasks(): readonly TaskSpec[];
|
|
421
|
+
isWorkComplete(): boolean;
|
|
422
|
+
}
|
|
423
|
+
/** Action port — every mutation the supervisor may perform, brain-gated. */
|
|
424
|
+
interface FleetSupervisorActions {
|
|
425
|
+
/** Move a still-pending task to another (or any idle) worker. */
|
|
426
|
+
retargetPendingTask(taskId: string, subagentId: string | undefined): boolean | Promise<boolean>;
|
|
427
|
+
/** Spawn an additional helper worker. Return {error} to degrade gracefully. */
|
|
428
|
+
spawnHelper(input: {
|
|
429
|
+
reason: string;
|
|
430
|
+
}): Promise<{
|
|
431
|
+
subagentId: string;
|
|
432
|
+
} | {
|
|
433
|
+
error: string;
|
|
434
|
+
}>;
|
|
435
|
+
/** High-priority steer mail to one agent. */
|
|
436
|
+
steerAgent(subagentId: string, subject: string, body: string): Promise<void>;
|
|
437
|
+
/** Status/steer mail to the session leader. */
|
|
438
|
+
notifyLeader(subject: string, body: string): Promise<void>;
|
|
439
|
+
/** Abort a subagent (only used when config.allowTerminate). */
|
|
440
|
+
terminate(subagentId: string): Promise<void>;
|
|
441
|
+
}
|
|
442
|
+
interface FleetSupervisorOptions {
|
|
443
|
+
events: EventBus;
|
|
444
|
+
fleet: FleetBus;
|
|
445
|
+
brain: BrainArbiter;
|
|
446
|
+
source: FleetSupervisorSource;
|
|
447
|
+
actions: FleetSupervisorActions;
|
|
448
|
+
/** Active host session id, read lazily (resume/session-swap safe). */
|
|
449
|
+
sessionId?: (() => string | undefined) | undefined;
|
|
450
|
+
config?: FleetSupervisorConfig | undefined;
|
|
451
|
+
/** Injectable clock for tests. Default Date.now. */
|
|
452
|
+
now?: (() => number) | undefined;
|
|
453
|
+
}
|
|
454
|
+
interface SupervisorLogEntry {
|
|
455
|
+
at: number;
|
|
456
|
+
kind: string;
|
|
457
|
+
subagentId?: string | undefined;
|
|
458
|
+
taskId?: string | undefined;
|
|
459
|
+
proposedAction: string;
|
|
460
|
+
outcome: 'approved' | 'denied' | 'escalated' | 'skipped' | 'error';
|
|
461
|
+
detail: string;
|
|
462
|
+
}
|
|
463
|
+
interface ResolvedSupervisorConfig {
|
|
464
|
+
enabled: boolean;
|
|
465
|
+
intervalMs: number;
|
|
466
|
+
cooldownMs: number;
|
|
467
|
+
maxInterventionsPerSubagent: number;
|
|
468
|
+
pinnedWaitMs: number;
|
|
469
|
+
overloadPinnedThreshold: number;
|
|
470
|
+
backlogFactor: number;
|
|
471
|
+
stuckMs: number;
|
|
472
|
+
failureStreak: number;
|
|
473
|
+
allowSpawn: boolean;
|
|
474
|
+
allowTerminate: boolean;
|
|
475
|
+
}
|
|
476
|
+
declare class FleetSupervisor {
|
|
477
|
+
private readonly opts;
|
|
478
|
+
private readonly cfg;
|
|
479
|
+
private readonly now;
|
|
480
|
+
private timer;
|
|
481
|
+
private readonly offHandles;
|
|
482
|
+
private engaging;
|
|
483
|
+
private stopped;
|
|
484
|
+
/** taskId → first tick timestamp we saw it pending. */
|
|
485
|
+
private readonly pendingSince;
|
|
486
|
+
/** subagentId → last tool.executed timestamp (fleet-wide activity map). */
|
|
487
|
+
private readonly lastActivityAt;
|
|
488
|
+
/** subagentId → consecutive non-success completions. */
|
|
489
|
+
private readonly failStreaks;
|
|
490
|
+
/** Consecutive ticks the backlog condition held. */
|
|
491
|
+
private backlogTicks;
|
|
492
|
+
/** `${kind}|${subject}` → last engagement ts. */
|
|
493
|
+
private readonly lastEngagedAt;
|
|
494
|
+
private readonly interventionsBySubagent;
|
|
495
|
+
/** Tasks already retargeted once — never bounced twice. */
|
|
496
|
+
private readonly retargetedTasks;
|
|
497
|
+
private readonly log;
|
|
498
|
+
constructor(opts: FleetSupervisorOptions);
|
|
499
|
+
/** Idempotent; also re-arms after a stop() so `/supervisor on` works. */
|
|
500
|
+
start(): void;
|
|
501
|
+
stop(): void;
|
|
502
|
+
history(): readonly SupervisorLogEntry[];
|
|
503
|
+
/** True while the evaluation loop is armed. */
|
|
504
|
+
isRunning(): boolean;
|
|
505
|
+
/** Resolved (defaulted) configuration — for status surfaces. */
|
|
506
|
+
configSnapshot(): Readonly<ResolvedSupervisorConfig>;
|
|
507
|
+
private nudgeTimer;
|
|
508
|
+
private scheduleNudge;
|
|
509
|
+
private isCollab;
|
|
510
|
+
/** One evaluation pass. Public for tests; production runs it on the tick. */
|
|
511
|
+
evaluate(): Promise<void>;
|
|
512
|
+
private cooldownOk;
|
|
513
|
+
private interventionBudgetOk;
|
|
514
|
+
private recordIntervention;
|
|
515
|
+
private emitSignal;
|
|
516
|
+
private record;
|
|
517
|
+
private emitAction;
|
|
518
|
+
/**
|
|
519
|
+
* Ask the brain to approve a proposal. Same contract as BrainMonitor:
|
|
520
|
+
* `source:'system'`, the rule's proposal `recommended:true`, fallback
|
|
521
|
+
* 'ask_human' (routes to the LLM tier under the risk ceiling before any
|
|
522
|
+
* human). Returns the chosen option id, or null for deny/escalate.
|
|
523
|
+
*/
|
|
524
|
+
private decide;
|
|
525
|
+
private engageRebalance;
|
|
526
|
+
private engageBacklog;
|
|
527
|
+
private engageStuck;
|
|
528
|
+
private engageFailureStreak;
|
|
529
|
+
private engageIdleWithWork;
|
|
530
|
+
}
|
|
531
|
+
|
|
349
532
|
/**
|
|
350
533
|
* DefaultMailbox — append-only JSONL inter-agent mailbox (per-session).
|
|
351
534
|
*
|
|
@@ -2279,4 +2462,4 @@ declare class AutonomousCoordinator {
|
|
|
2279
2462
|
private _emit;
|
|
2280
2463
|
}
|
|
2281
2464
|
|
|
2282
|
-
export { type AcquireOptions, type AcquireResult, AdaptiveConcurrencyController, type AdaptiveConcurrencyState, AgentDefinition, AgentHeartbeatInput, type AgentMonitorOptions, AgentMonitorService, AgentRegistrationInput, type AgentTimelineEntry, type AgentVirtualSession, type ApplyResult, type ApprovalDecision, AutonomousBrain, type AutonomousBrainOptions, AutonomousCoordinator, type AutonomousCoordinatorOptions, type AutonomousDecisionRequest, type AutonomousDecisionType, BUILD_AGENTS, BrainArbiter, BrainDecision, BrainDecisionOption, BrainDecisionRequest, BrainDecisionSource, type BrainInterventionInput, BrainMonitor, type BrainMonitorOptions, BrainRisk, type ChangeFile, ChangeManager, type ChangeManagerOptions, type ChangeNode, type ChangeProposal, type ChangeStatus, ClientHeartbeatInput, ClientRegistrationInput, ClientStatus, type ConsensusOptions, ConsensusProtocol, type ConsensusResult, type CoordinatorEvent, type CoordinatorStats, type DAGEdgeEvent, type DAGEdgeHandler, type DAGNode, type DAGNodeStatus, DEFAULT_QUALITY_CHECKS, DELIVERY_AGENTS, DEPENDENCY_FILE_PATTERNS, DISCOVERY_AGENTS, DOMAIN_AGENTS, type DecisionNode, type DecisionPrompt, DefaultMailbox, type DepWatchEntry, type DepWatcherBridgeOptions, type DependencyWatcherConfig, Director, type DownAlertInput, type EscalationDecision, type FactCategory, type FactNode, FleetBus, FleetManager, GlobalMailbox, type GoalNode, type GoalPriority, type GoalStatus, type GraphSubscription, KNOWLEDGE_AGENTS, KnowledgeGraph, type LLMProvider, type LiveLockResult, MAILBOX_BRIDGE_LOCK_FILENAME, MAILBOX_BRIDGE_TOKEN_FILENAME, MAILBOX_HEALTH_DEFAULT_FAILURE_THRESHOLD, MAILBOX_HEALTH_DEFAULT_FROM, MAILBOX_HEALTH_DEFAULT_INTERVAL_MS, MAILBOX_HEALTH_DEFAULT_TIMEOUT_MS, META_AGENTS, type MailToolsOptions, Mailbox, MailboxAckBatchInput, MailboxAckInput, type MailboxActionInput, type MailboxActionResult, MailboxAgentStatus, type MailboxBridgeLock, type MailboxHealthEvent, MailboxHealthWatchdog, type MailboxHealthWatchdogOptions, type MailboxHooksOptions, MailboxMessage, type MailboxMessageAction, MailboxQuery, type MailboxResolver, MailboxSendInput, type MailboxToolOptions, type NodeFilter, type NodeType, type OutdatedNotifyMessage, PLANNING_AGENTS, type PackageAuthorEntry, type PackageAuthorLog, type PackageAuthorTrackerOptions, type PackageOutdatedEntry, type PackageOutdatedResult, type PackageOutdatedWatcherOptions, type PrioritizationDecision, PurgeOptions, PurgeResult, type QualityCheck, type QualityGateChecks, type QualityGateResult, type QuorumRule, REVIEW_AGENTS, type RecoveryAlertInput, type RollbackResult, type RunOptions, type RunnablesHandler, type SpawnDecision, type TaskAuctionOptions, TaskAuctioneer, type TaskBid, TaskDAG, VERIFY_AGENTS, type VoteNode, type VoteRecord, type VoteValue, type VoterConfig, type WatchdogConfig, acquireOrJoin, actionToAckInput, attachDepWatcherBridge, buildDownAlert, buildRecoveryAlert, createAgentMonitorService, createMailboxHooks, detectEcosystem, finalize, getFullPackageLog, getManifestPackages, getPackageAuthor, getPackagesByAgent, mailboxSessionTag, makeDependencyWatcherConfig, makeMailInboxTool, makeMailSendTool, makeMailboxTool, readLiveLock, recordPackageAction, release, resolveMailboxIdentity, startPackageOutdatedWatcher, updatePackageOutdatedStatus, validateWatchdogOptions };
|
|
2465
|
+
export { type AcquireOptions, type AcquireResult, AdaptiveConcurrencyController, type AdaptiveConcurrencyState, AgentDefinition, AgentHeartbeatInput, type AgentMonitorOptions, AgentMonitorService, AgentRegistrationInput, type AgentTimelineEntry, type AgentVirtualSession, type ApplyResult, type ApprovalDecision, AutonomousBrain, type AutonomousBrainOptions, AutonomousCoordinator, type AutonomousCoordinatorOptions, type AutonomousDecisionRequest, type AutonomousDecisionType, BUILD_AGENTS, BrainArbiter, BrainDecision, BrainDecisionOption, BrainDecisionRequest, BrainDecisionSource, type BrainInterventionInput, BrainMonitor, type BrainMonitorOptions, BrainRisk, type ChangeFile, ChangeManager, type ChangeManagerOptions, type ChangeNode, type ChangeProposal, type ChangeStatus, ClientHeartbeatInput, ClientRegistrationInput, ClientStatus, type ConsensusOptions, ConsensusProtocol, type ConsensusResult, type CoordinatorEvent, type CoordinatorStats, type DAGEdgeEvent, type DAGEdgeHandler, type DAGNode, type DAGNodeStatus, DEFAULT_QUALITY_CHECKS, DELIVERY_AGENTS, DEPENDENCY_FILE_PATTERNS, DISCOVERY_AGENTS, DOMAIN_AGENTS, type DecisionNode, type DecisionPrompt, DefaultMailbox, type DepWatchEntry, type DepWatcherBridgeOptions, type DependencyWatcherConfig, Director, type DownAlertInput, type EscalationDecision, type FactCategory, type FactNode, FleetBus, FleetManager, type FleetStatusToolOptions, FleetSupervisor, type FleetSupervisorActions, FleetSupervisorConfig, type FleetSupervisorOptions, type FleetSupervisorSource, GlobalMailbox, type GoalNode, type GoalPriority, type GoalStatus, type GraphSubscription, KNOWLEDGE_AGENTS, KnowledgeGraph, type LLMProvider, type LiveLockResult, MAILBOX_BRIDGE_LOCK_FILENAME, MAILBOX_BRIDGE_TOKEN_FILENAME, MAILBOX_HEALTH_DEFAULT_FAILURE_THRESHOLD, MAILBOX_HEALTH_DEFAULT_FROM, MAILBOX_HEALTH_DEFAULT_INTERVAL_MS, MAILBOX_HEALTH_DEFAULT_TIMEOUT_MS, META_AGENTS, type MailToolsOptions, Mailbox, MailboxAckBatchInput, MailboxAckInput, type MailboxActionInput, type MailboxActionResult, MailboxAgentStatus, type MailboxBridgeLock, type MailboxHealthEvent, MailboxHealthWatchdog, type MailboxHealthWatchdogOptions, type MailboxHooksOptions, MailboxMessage, type MailboxMessageAction, MailboxQuery, type MailboxResolver, MailboxSendInput, type MailboxToolOptions, type NodeFilter, type NodeType, type OutdatedNotifyMessage, PLANNING_AGENTS, type PackageAuthorEntry, type PackageAuthorLog, type PackageAuthorTrackerOptions, type PackageOutdatedEntry, type PackageOutdatedResult, type PackageOutdatedWatcherOptions, type PrioritizationDecision, PurgeOptions, PurgeResult, type QualityCheck, type QualityGateChecks, type QualityGateResult, type QuorumRule, REVIEW_AGENTS, type RecoveryAlertInput, type RollbackResult, type RunOptions, type RunnablesHandler, type SpawnDecision, type SupervisedSubagent, type SupervisorLogEntry, type TaskAuctionOptions, TaskAuctioneer, type TaskBid, TaskDAG, VERIFY_AGENTS, type VoteNode, type VoteRecord, type VoteValue, type VoterConfig, type WatchdogConfig, acquireOrJoin, actionToAckInput, attachDepWatcherBridge, buildDownAlert, buildRecoveryAlert, createAgentMonitorService, createMailboxHooks, detectEcosystem, finalize, getFullPackageLog, getManifestPackages, getPackageAuthor, getPackagesByAgent, mailboxSessionTag, makeDependencyWatcherConfig, makeFleetStatusTool, makeMailInboxTool, makeMailSendTool, makeMailboxTool, readLiveLock, recordPackageAction, release, resolveMailboxIdentity, startPackageOutdatedWatcher, updatePackageOutdatedStatus, validateWatchdogOptions };
|