@wrongstack/core 0.31.1 → 0.41.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-DpZTLdBe.d.ts → agent-subagent-runner-C66vi4Gq.d.ts} +1 -1
- package/dist/{config-BUEGM4JP.d.ts → config-ZRCf7sTu.d.ts} +21 -1
- package/dist/coordination/index.d.ts +7 -7
- package/dist/coordination/index.js +3051 -2947
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +8 -8
- package/dist/defaults/index.js +1435 -1321
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +5 -5
- package/dist/extension/index.d.ts +2 -2
- package/dist/{index-ysfO_DlX.d.ts → index-6_csX32J.d.ts} +1 -1
- package/dist/{index-pXJdVLe0.d.ts → index-DkVgH3wC.d.ts} +31 -1
- package/dist/index.d.ts +135 -15
- package/dist/index.js +1236 -931
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +2 -2
- package/dist/infrastructure/index.js +17 -3
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +2 -2
- package/dist/{mcp-servers-BzB3r7_c.d.ts → mcp-servers-DONdo-XM.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-DOXSgtom.d.ts → multi-agent-coordinator-BUsjiRWl.d.ts} +1 -1
- package/dist/{null-fleet-bus-CAQDGsKc.d.ts → null-fleet-bus-FvgHnZah.d.ts} +169 -131
- package/dist/{plan-templates-BZMi-VpU.d.ts → plan-templates-DYCeRCDN.d.ts} +1 -1
- package/dist/sdd/index.d.ts +3 -3
- package/dist/storage/index.d.ts +2 -2
- package/dist/{tool-executor-BAi4WI2d.d.ts → tool-executor-BpK-SWtJ.d.ts} +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +17 -3
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +107 -1
- package/dist/utils/index.js +53 -2
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/multi-agent/SKILL.md +57 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-
|
|
1
|
+
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-BpK-SWtJ.js';
|
|
2
2
|
import { m as Provider, d as Context } from '../context-7u93AcGD.js';
|
|
3
3
|
import { a as Compactor, C as CompactReport } from '../compactor-D1RHFRmF.js';
|
|
4
4
|
import { M as MessageSelector } from '../selector-DmXxpFyM.js';
|
|
5
5
|
import { E as EventBus } from '../events-BrQiweXN.js';
|
|
6
6
|
import { b as MiddlewareHandler } from '../system-prompt-CM6zOhd2.js';
|
|
7
7
|
import { a as SessionEventBridge, J as JournalEntry } from '../goal-store-BeRsj7YX.js';
|
|
8
|
-
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-
|
|
9
|
-
import { c as Agent, R as RunResult, w as SystemPromptContributor } from '../index-
|
|
8
|
+
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-ZRCf7sTu.js';
|
|
9
|
+
import { c as Agent, R as RunResult, w as SystemPromptContributor } from '../index-6_csX32J.js';
|
|
10
10
|
import { D as DoneCondition } from '../multi-agent-C8Z1i__e.js';
|
|
11
|
-
import { A as AgentFactory } from '../agent-subagent-runner-
|
|
12
|
-
import { f as DispatchClassifier, d as DefaultMultiAgentCoordinator } from '../multi-agent-coordinator-
|
|
11
|
+
import { A as AgentFactory } from '../agent-subagent-runner-C66vi4Gq.js';
|
|
12
|
+
import { f as DispatchClassifier, d as DefaultMultiAgentCoordinator } from '../multi-agent-coordinator-BUsjiRWl.js';
|
|
13
13
|
import { a as SkillLoader, b as SkillManifest, S as SkillEntry } from '../skill-CxuWrsKK.js';
|
|
14
14
|
import { a as WstackPaths } from '../wstack-paths-eMXnY1_X.js';
|
|
15
15
|
import '../retry-policy-KF18W4dg.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, d as AgentExtension, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, s as ProviderRunnerFn, t as ProviderRunnerWrapper } from '../index-
|
|
1
|
+
export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, d as AgentExtension, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, s as ProviderRunnerFn, t as ProviderRunnerWrapper } from '../index-6_csX32J.js';
|
|
2
2
|
import '../context-7u93AcGD.js';
|
|
3
3
|
import '../logger-DDd5C--Z.js';
|
|
4
4
|
import '../system-prompt-CM6zOhd2.js';
|
|
@@ -6,5 +6,5 @@ import '../observability-BhnVLBLS.js';
|
|
|
6
6
|
import '../events-BrQiweXN.js';
|
|
7
7
|
import '../secret-scrubber-3MHDDAtm.js';
|
|
8
8
|
import '../permission-B6sldrSp.js';
|
|
9
|
-
import '../config-
|
|
9
|
+
import '../config-ZRCf7sTu.js';
|
|
10
10
|
import '../models-registry-BcYJDKLm.js';
|
|
@@ -5,7 +5,7 @@ import { T as Tracer } from './observability-BhnVLBLS.js';
|
|
|
5
5
|
import { E as EventBus, c as EventName, L as Listener } from './events-BrQiweXN.js';
|
|
6
6
|
import { S as SecretScrubber } from './secret-scrubber-3MHDDAtm.js';
|
|
7
7
|
import { a as PermissionPolicy } from './permission-B6sldrSp.js';
|
|
8
|
-
import {
|
|
8
|
+
import { m as ProviderConfig, a as Config } from './config-ZRCf7sTu.js';
|
|
9
9
|
import { W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { T as Token, e as Renderer, S as SystemPromptBuilder } from './system-prompt-CM6zOhd2.js';
|
|
2
2
|
import { E as EventBus } from './events-BrQiweXN.js';
|
|
3
3
|
import { a as Compactor } from './compactor-D1RHFRmF.js';
|
|
4
|
-
import { b as ConfigLoader, c as ConfigStore } from './config-
|
|
4
|
+
import { b as ConfigLoader, c as ConfigStore } from './config-ZRCf7sTu.js';
|
|
5
5
|
import { E as ErrorHandler, a as RetryPolicy } from './retry-policy-KF18W4dg.js';
|
|
6
6
|
import { I as InputReader } from './input-reader-E-ffP2ee.js';
|
|
7
7
|
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
@@ -58,12 +58,27 @@ interface AllocateOpts {
|
|
|
58
58
|
interface MergeOpts {
|
|
59
59
|
squash?: boolean;
|
|
60
60
|
message?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Optional conflict resolver. Invoked when the squash-merge conflicts, with
|
|
63
|
+
* the conflicted paths and the base working tree (`cwd`). It must resolve the
|
|
64
|
+
* conflict markers in place and return `true` when done. If it returns `true`
|
|
65
|
+
* and no conflict markers remain, the merge is committed and `merge()` returns
|
|
66
|
+
* `{ ok: true, resolved: true }`. Otherwise the merge is aborted (hard reset)
|
|
67
|
+
* and the handle is parked `needs-review` — exactly as if no resolver were
|
|
68
|
+
* provided, so the base tree is never left dirty.
|
|
69
|
+
*/
|
|
70
|
+
resolve?: (info: {
|
|
71
|
+
conflictFiles: string[];
|
|
72
|
+
cwd: string;
|
|
73
|
+
}) => Promise<boolean>;
|
|
61
74
|
}
|
|
62
75
|
interface MergeResult {
|
|
63
76
|
ok: boolean;
|
|
64
77
|
conflict?: boolean;
|
|
65
78
|
conflictFiles?: string[];
|
|
66
79
|
stderr?: string;
|
|
80
|
+
/** True when an initial conflict was successfully resolved by `opts.resolve`. */
|
|
81
|
+
resolved?: boolean;
|
|
67
82
|
}
|
|
68
83
|
interface RunResult {
|
|
69
84
|
code: number;
|
|
@@ -103,6 +118,21 @@ declare class WorktreeManager {
|
|
|
103
118
|
}>;
|
|
104
119
|
/** Merge the worktree branch back into the base branch (squash by default). */
|
|
105
120
|
merge(handle: WorktreeHandle, opts?: MergeOpts): Promise<MergeResult>;
|
|
121
|
+
/**
|
|
122
|
+
* Run the caller-supplied resolver against a conflicted squash-merge, then
|
|
123
|
+
* commit if it cleared every marker. Returns a successful `MergeResult` on a
|
|
124
|
+
* clean resolution, or `null` to signal the caller should fall back to the
|
|
125
|
+
* abort path. Never leaves the base tree committed-but-dirty: a partial or
|
|
126
|
+
* failed resolution returns `null` and the caller hard-resets.
|
|
127
|
+
*/
|
|
128
|
+
private tryResolveConflict;
|
|
129
|
+
/**
|
|
130
|
+
* True when staged content still carries conflict markers. `git diff --cached
|
|
131
|
+
* --check` exits nonzero and prints a "leftover conflict marker" line for each
|
|
132
|
+
* survivor; whitespace-only errors (also flagged by --check) are ignored so a
|
|
133
|
+
* clean resolution with unrelated whitespace is not rejected.
|
|
134
|
+
*/
|
|
135
|
+
private hasConflictMarkers;
|
|
106
136
|
/**
|
|
107
137
|
* Remove the worktree + branch. Conflicted/failed handles (or `keep:true`)
|
|
108
138
|
* are left on disk for inspection.
|
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import { S as SystemPromptBuilder, c as ModelCapabilities, a as BuildContext, C
|
|
|
2
2
|
export { B as BindOptions, D as Decorator, F as Factory, M as Middleware, b as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions, e as Renderer, T as Token } from './system-prompt-CM6zOhd2.js';
|
|
3
3
|
import { E as EventBus, c as EventName, L as Listener } from './events-BrQiweXN.js';
|
|
4
4
|
export { a as EventLogger, b as EventMap, S as ScopedEventBus } from './events-BrQiweXN.js';
|
|
5
|
-
import { d as WorktreeManager } from './index-
|
|
6
|
-
export { A as AllocateOpts, M as MergeOpts, a as MergeResult, R as RunController, b as RunControllerOptions, T as TOKENS, W as WorktreeHandle, e as WorktreeManagerOptions, c as WorktreeRunResult, f as WorktreeStatus, g as assertSafePath } from './index-
|
|
5
|
+
import { d as WorktreeManager } from './index-DkVgH3wC.js';
|
|
6
|
+
export { A as AllocateOpts, M as MergeOpts, a as MergeResult, R as RunController, b as RunControllerOptions, T as TOKENS, W as WorktreeHandle, e as WorktreeManagerOptions, c as WorktreeRunResult, f as WorktreeStatus, g as assertSafePath } from './index-DkVgH3wC.js';
|
|
7
7
|
import { d as Context, m as Provider, Q as Tool, p as Request, q as Response, c as ContentBlock, T as TextBlock } from './context-7u93AcGD.js';
|
|
8
8
|
export { A as AgentError, a as Capabilities, b as ConfigError, e as ContextInit, f as ConversationState, E as ERROR_CODES, g as ErrorCode, h as ErrorSeverity, i as ErrorSubsystem, F as FileSnapshot, j as FsError, I as ImageBlock, J as JSONSchema, M as Message, k as MessageRole, P as Permission, l as PluginError, n as ProviderError, o as ProviderErrorBody, R as ReadonlyConversationState, r as ResumedSession, s as RiskTier, t as RunEnv, u as RunOptions, S as SessionData, v as SessionError, w as SessionEvent, x as SessionMetadata, y as SessionStore, z as SessionSummary, B as SessionWriter, D as StateChange, G as StateChangeHandler, H as StopReason, K as StreamEvent, L as ThinkingBlock, N as TodoItem, O as TokenCounter, U as ToolCallContext, V as ToolError, W as ToolFinalEvent, X as ToolProgressEvent, Y as ToolResultBlock, Z as ToolStreamEvent, _ as ToolUseBlock, $ as Usage, a0 as WrongStackError, a1 as asBlocks, a2 as asText, a3 as extractRunEnv, a4 as isAgentError, a5 as isConfigError, a6 as isFsError, a7 as isImageBlock, a8 as isPluginError, a9 as isSessionError, aa as isTextBlock, ab as isThinkingBlock, ac as isToolError, ad as isToolResultBlock, ae as isToolUseBlock, af as isWrongStackError, ag as toWrongStackError, ah as wrapAsState } from './context-7u93AcGD.js';
|
|
9
9
|
import { P as ProviderRunner, R as RunProviderOptions$1 } from './provider-runner-Dlv8Fvw9.js';
|
|
10
|
-
import { M as MCPServerConfig, a as Config, c as ConfigStore } from './config-
|
|
11
|
-
export { A as AutonomyConfig, C as CONTEXT_WINDOW_MODES, b as ConfigLoader, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, P as PluginConfig,
|
|
10
|
+
import { M as MCPServerConfig, a as Config, k as ModelMatrixEntry, c as ConfigStore } from './config-ZRCf7sTu.js';
|
|
11
|
+
export { A as AutonomyConfig, C as CONTEXT_WINDOW_MODES, b as ConfigLoader, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, P as PluginConfig, l as ProviderApiKey, m as ProviderConfig, S as SessionLoggingConfig, n as SyncCategory, o as SyncConfig, T as ToolsConfig, p as formatContextWindowModeList, q as getContextWindowMode, r as isContextWindowModeId, s as listContextWindowModes, t as resolveContextWindowPolicy } from './config-ZRCf7sTu.js';
|
|
12
12
|
export { C as CompactReport, a as Compactor } from './compactor-D1RHFRmF.js';
|
|
13
13
|
export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from './permission-B6sldrSp.js';
|
|
14
14
|
export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from './session-rewinder-C9HnMkhP.js';
|
|
@@ -20,12 +20,12 @@ export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-bOzkF5LL
|
|
|
20
20
|
export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-DumKAi0n.js';
|
|
21
21
|
import { b as MemoryStore } from './memory-CEXuo7sz.js';
|
|
22
22
|
export { M as MemoryEntry, a as MemoryScope } from './memory-CEXuo7sz.js';
|
|
23
|
-
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, c as buildRecoveryStrategies } from './tool-executor-
|
|
23
|
+
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, c as buildRecoveryStrategies } from './tool-executor-BpK-SWtJ.js';
|
|
24
24
|
import { a as SkillLoader } from './skill-CxuWrsKK.js';
|
|
25
25
|
export { S as SkillEntry, b as SkillManifest } from './skill-CxuWrsKK.js';
|
|
26
26
|
export { I as InputReader, P as PromptOption } from './input-reader-E-ffP2ee.js';
|
|
27
|
-
import { u as SlashCommand, w as SystemPromptContributor, k as PluginAPI, n as PluginPipelines, F as ToolRegistryView, r as ProviderRegistryView, M as MCPRegistryView, v as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, j as MetricsSinkView, C as ToolRegistry, q as ProviderRegistry, P as Plugin, x as ToolCallPipelinePayload } from './index-
|
|
28
|
-
export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, c as Agent, d as AgentExtension, e as AgentInit, f as AgentInput, g as AgentPipelines, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, O as OnErrorHook, l as PluginCapabilities, m as PluginDependency, p as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, G as ToolWrapper, U as UserInputPayload, H as createDefaultPipelines } from './index-
|
|
27
|
+
import { u as SlashCommand, w as SystemPromptContributor, k as PluginAPI, n as PluginPipelines, F as ToolRegistryView, r as ProviderRegistryView, M as MCPRegistryView, v as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, j as MetricsSinkView, C as ToolRegistry, q as ProviderRegistry, P as Plugin, x as ToolCallPipelinePayload } from './index-6_csX32J.js';
|
|
28
|
+
export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, c as Agent, d as AgentExtension, e as AgentInit, f as AgentInput, g as AgentPipelines, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, O as OnErrorHook, l as PluginCapabilities, m as PluginDependency, p as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, G as ToolWrapper, U as UserInputPayload, H as createDefaultPipelines } from './index-6_csX32J.js';
|
|
29
29
|
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-gwMAo6E3.js';
|
|
30
30
|
import { c as ModeStore } from './mode-CV077NjV.js';
|
|
31
31
|
export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest } from './mode-CV077NjV.js';
|
|
@@ -35,23 +35,23 @@ import { l as TaskGraph, r as TaskType, n as TaskPriority, m as TaskNode } from
|
|
|
35
35
|
export { C as CriticalPathResult, 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, T as TaskAssignment, i as TaskDependency, j as TaskEdge, k as TaskFilter, o as TaskProgress, p as TaskSort, q as TaskStatus, s as computeTaskProgress, t as findCriticalPath, u as topologicalSort } from './task-graph-D1YQbpxF.js';
|
|
36
36
|
import { T as Tracer, e as MetricsSink, b as HealthRegistry } from './observability-BhnVLBLS.js';
|
|
37
37
|
export { A as AggregateHealth, H as HealthCheck, a as HealthCheckResult, c as HealthStatus, M as MetricLabels, d as MetricSeries, f as MetricsSnapshot, S as Span } from './observability-BhnVLBLS.js';
|
|
38
|
-
export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, MessageRepairReport, MessageRepairResult, NewlineStyle, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, UnifiedDiffOptions, ValidationError, ValidationResult, atomicWrite, buildChildEnv, color, compileGlob, compileUserRegex, completePartialObject, createToolOutputSerializer, detectNewlineStyle, ensureDir, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, formatTodosList, getCalibrationState, matchAny, matchGlob, mergeModelsPayload, normalizeToLf, recordActualUsage, repairToolUseAdjacency, resetCalibration, safeParse, safeStringify, sanitizeJsonString, stripAnsi, toStyle, unifiedDiff, validateAgainstSchema } from './utils/index.js';
|
|
38
|
+
export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, MessageRepairReport, MessageRepairResult, NewlineStyle, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, UnifiedDiffOptions, ValidationError, ValidationResult, atomicWrite, buildChildEnv, color, compileGlob, compileUserRegex, completePartialObject, createToolOutputSerializer, detectNewlineStyle, ensureDir, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob, formatTodosList, getCalibrationState, getTermSize, isInteractive, isStdinTTY, isStdoutTTY, matchAny, matchGlob, mergeModelsPayload, normalizeToLf, onResize, recordActualUsage, repairToolUseAdjacency, resetCalibration, safeParse, safeStringify, sanitizeJsonString, setRawMode, stripAnsi, toStyle, unifiedDiff, validateAgainstSchema, writeErr, writeOut } from './utils/index.js';
|
|
39
39
|
import { a as WstackPaths } from './wstack-paths-eMXnY1_X.js';
|
|
40
40
|
export { W as WstackPathOptions, p as projectHash, r as resolveWstackPaths } from './wstack-paths-eMXnY1_X.js';
|
|
41
|
-
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, M as MemoryStoreOptions, j as MigrationContext, k as MigrationResult, P as PersistedQueueItem, l as PlanFile, m as PlanItem, n as PlanTemplate, Q as QueueStore, R as RecoveryLock, o as RecoveryLockOptions, S as SessionAnalyzer, p as SessionStoreOptions, T as TodosCheckpointFile, q as addPlanItem, r as attachPlanCheckpoint, s as attachTodosCheckpoint, t as clearPlan, u as deriveTodosFromPlanItem, v as emptyPlan, w as formatPlan, x as formatPlanTemplates, y as getPlanTemplate, z as listPlanTemplates, B as loadPlan, E as loadTodosCheckpoint, F as removePlanItem, G as runConfigMigrations, H as savePlan, I as saveTodosCheckpoint, J as setPlanItemStatus } from './plan-templates-
|
|
41
|
+
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, M as MemoryStoreOptions, j as MigrationContext, k as MigrationResult, P as PersistedQueueItem, l as PlanFile, m as PlanItem, n as PlanTemplate, Q as QueueStore, R as RecoveryLock, o as RecoveryLockOptions, S as SessionAnalyzer, p as SessionStoreOptions, T as TodosCheckpointFile, q as addPlanItem, r as attachPlanCheckpoint, s as attachTodosCheckpoint, t as clearPlan, u as deriveTodosFromPlanItem, v as emptyPlan, w as formatPlan, x as formatPlanTemplates, y as getPlanTemplate, z as listPlanTemplates, B as loadPlan, E as loadTodosCheckpoint, F as removePlanItem, G as runConfigMigrations, H as savePlan, I as saveTodosCheckpoint, J as setPlanItemStatus } from './plan-templates-DYCeRCDN.js';
|
|
42
42
|
export { A as AuditLevel, C as CORE_RECONSTRUCT_EVENTS, G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, S as STANDARD_AUDIT_EVENTS, a as SessionEventBridge, b as SessionEventBridgeOptions, c as SessionSamplingOptions, T as ToolProgressSamplingOptions, d as appendJournal, e as createSessionEventBridge, f as emptyGoal, g as formatGoal, h as goalFilePath, l as loadGoal, r as resolveAuditLevel, i as resolveSessionLoggingConfig, s as saveGoal, j as summarizeUsage } from './goal-store-BeRsj7YX.js';
|
|
43
43
|
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BmYi3DGA.js';
|
|
44
44
|
export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-CtNscWOA.js';
|
|
45
45
|
export { AutoCompactionMiddleware, AutonomousRunner, AutonomousRunnerOptions, AutonomyPromptContributorOptions, DefaultSkillLoader, DoneCheckResult, DoneConditionChecker, EternalAutonomyEngine, EternalAutonomyOptions, EternalEngineState, IntelligentCompactor, IntelligentCompactorOptions, ParallelEngineState, ParallelEternalEngine, ParallelEternalOptions, SelectiveCompactor, SelectiveCompactorOptions, SkillLoaderOptions, buildGoalPreamble, makeAutonomyPromptContributor } from './execution/index.js';
|
|
46
46
|
export { DefaultProviderRunner } from './defaults/index.js';
|
|
47
|
-
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, n as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, q as DEFAULT_SUBAGENT_BASELINE, r as DelegateHost, s as Director, 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, O as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, V as SubagentPromptParts, W as applyRosterBudget, X as attachAutoExtend, Y as composeDirectorPrompt, Z as composeSubagentPrompt, _ as createDelegateTool, $ as getAgentDefinition, 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, af as rosterSummaryFromConfigs } from './null-fleet-bus-
|
|
48
|
-
export { A as AgentBudgetTier, a as AgentCapability, b as AgentDefinition, 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, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-
|
|
49
|
-
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-
|
|
47
|
+
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, n as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, q as DEFAULT_SUBAGENT_BASELINE, r as DelegateHost, s as Director, 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, O as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, V as SubagentPromptParts, W as applyRosterBudget, X as attachAutoExtend, Y as composeDirectorPrompt, Z as composeSubagentPrompt, _ as createDelegateTool, $ as getAgentDefinition, 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, af as rosterSummaryFromConfigs } from './null-fleet-bus-FvgHnZah.js';
|
|
48
|
+
export { A as AgentBudgetTier, a as AgentCapability, b as AgentDefinition, 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, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-BUsjiRWl.js';
|
|
49
|
+
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-C66vi4Gq.js';
|
|
50
50
|
export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from './models/index.js';
|
|
51
51
|
import { TaskStore } from './sdd/index.js';
|
|
52
52
|
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';
|
|
53
53
|
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';
|
|
54
|
-
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, s as sentinelServer, p as slackServer, z as zaiVisionServer } from './mcp-servers-
|
|
54
|
+
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, s as sentinelServer, p as slackServer, z as zaiVisionServer } from './mcp-servers-DONdo-XM.js';
|
|
55
55
|
export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
|
|
56
56
|
import { ReplayLogStore, DefaultPromptStore } from './storage/index.js';
|
|
57
57
|
export { ALL_SYNC_CATEGORIES, Annotation, AnnotationsStore, AnnotationsStoreOptions, AuditEntry, CloudSync, DefaultSessionRewinder, PromptEntry, PromptStore, RecoveryPlan, ReplayEntry, ReplayLogStoreOptions, SessionRecovery, SessionRewinderOptions, StaleSession, SyncResult, ToolAuditLog, ToolAuditLogOptions, VerifyResult } from './storage/index.js';
|
|
@@ -991,6 +991,31 @@ interface PhaseEventMap {
|
|
|
991
991
|
completed: number;
|
|
992
992
|
failed: number;
|
|
993
993
|
};
|
|
994
|
+
'phase.verifying': {
|
|
995
|
+
phaseId: string;
|
|
996
|
+
name: string;
|
|
997
|
+
attempt: number;
|
|
998
|
+
};
|
|
999
|
+
'phase.verifyFailed': {
|
|
1000
|
+
phaseId: string;
|
|
1001
|
+
name: string;
|
|
1002
|
+
attempt: number;
|
|
1003
|
+
error?: string;
|
|
1004
|
+
};
|
|
1005
|
+
'phase.repairing': {
|
|
1006
|
+
phaseId: string;
|
|
1007
|
+
name: string;
|
|
1008
|
+
attempt: number;
|
|
1009
|
+
};
|
|
1010
|
+
'phase.conflictResolving': {
|
|
1011
|
+
phaseId: string;
|
|
1012
|
+
name: string;
|
|
1013
|
+
files: string[];
|
|
1014
|
+
};
|
|
1015
|
+
'phase.conflictResolved': {
|
|
1016
|
+
phaseId: string;
|
|
1017
|
+
name: string;
|
|
1018
|
+
};
|
|
994
1019
|
'graph.completed': {
|
|
995
1020
|
graphId: string;
|
|
996
1021
|
durationMs: number;
|
|
@@ -1023,6 +1048,44 @@ interface PhaseExecutionContext {
|
|
|
1023
1048
|
cwd?: string;
|
|
1024
1049
|
branch?: string;
|
|
1025
1050
|
}) => Promise<unknown>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Opsiyonel doğrulama kapısı. Bir fazın tüm görevleri bittikten *sonra*,
|
|
1053
|
+
* faz "completed" işaretlenmeden ve worktree'si ana branch'e merge edilmeden
|
|
1054
|
+
* *önce* çağrılır. `env`, fazın worktree'sine (varsa) işaret eder; doğrulama
|
|
1055
|
+
* o izole dizinde koşmalıdır (örn. typecheck/test). `ok:false` dönerse merge
|
|
1056
|
+
* bloklanır ve (varsa) `repairPhase` ile onarım denenir.
|
|
1057
|
+
*
|
|
1058
|
+
* Tanımlanmazsa kapı atlanır (geriye dönük uyumlu — eski davranış).
|
|
1059
|
+
*/
|
|
1060
|
+
verifyPhase?: (phase: PhaseNode, env?: {
|
|
1061
|
+
cwd?: string;
|
|
1062
|
+
branch?: string;
|
|
1063
|
+
}) => Promise<{
|
|
1064
|
+
ok: boolean;
|
|
1065
|
+
output?: string;
|
|
1066
|
+
}>;
|
|
1067
|
+
/**
|
|
1068
|
+
* Opsiyonel onarım geçişi. `verifyPhase` başarısız olduğunda, yakalanan hata
|
|
1069
|
+
* çıktısı ile çağrılır. Worktree'deki kodu düzeltmeye çalışmalıdır (örn. bir
|
|
1070
|
+
* onarım subagent'ı). Dönüş beklenmez; orchestrator ardından `verifyPhase`'i
|
|
1071
|
+
* yeniden koşar. `verifyPhase` tanımlı değilse hiç çağrılmaz.
|
|
1072
|
+
*/
|
|
1073
|
+
repairPhase?: (phase: PhaseNode, failure: string, attempt: number, env?: {
|
|
1074
|
+
cwd?: string;
|
|
1075
|
+
branch?: string;
|
|
1076
|
+
}) => Promise<void>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Opsiyonel birleştirme-çakışması çözücü. Bir fazın worktree'si ana branch'e
|
|
1079
|
+
* squash-merge edilirken çakışma çıkarsa çağrılır. `info.cwd` ana çalışma
|
|
1080
|
+
* ağacına (çakışma işaretçilerinin bulunduğu yer) işaret eder; çözücü oradaki
|
|
1081
|
+
* işaretçileri temizlemeli ve `true` döndürmelidir. Başarılı olursa merge
|
|
1082
|
+
* commit'lenir; aksi halde merge iptal edilir ve worktree `needs-review`'da
|
|
1083
|
+
* saklanır. Tanımlanmazsa çakışma eski davranışla parked-for-review olur.
|
|
1084
|
+
*/
|
|
1085
|
+
resolveConflict?: (phase: PhaseNode, info: {
|
|
1086
|
+
conflictFiles: string[];
|
|
1087
|
+
cwd: string;
|
|
1088
|
+
}) => Promise<boolean>;
|
|
1026
1089
|
/** Bir faz tamamlandığında çağrılır */
|
|
1027
1090
|
onPhaseComplete?: (phase: PhaseNode) => void;
|
|
1028
1091
|
/** Bir faz başarısız olduğunda çağrılır */
|
|
@@ -1040,6 +1103,12 @@ interface AutoPhaseOptions {
|
|
|
1040
1103
|
maxConcurrentTasks?: number;
|
|
1041
1104
|
/** Başarısız görev retry sayısı */
|
|
1042
1105
|
maxRetries?: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* Doğrulama kapısı başarısız olduğunda yapılacak maksimum onarım denemesi.
|
|
1108
|
+
* Toplam doğrulama koşusu = maxVerifyAttempts + 1 (ilk koşu + her onarım
|
|
1109
|
+
* sonrası yeniden koşu). Varsayılan 2. `verifyPhase` verilmezse etkisizdir.
|
|
1110
|
+
*/
|
|
1111
|
+
maxVerifyAttempts?: number;
|
|
1043
1112
|
/** Otonom mod: faz tamamlandıkça otomatik sonrakine geç */
|
|
1044
1113
|
autonomous?: boolean;
|
|
1045
1114
|
/** Fazlar arası bekleme süresi (ms) */
|
|
@@ -1195,6 +1264,19 @@ declare class PhaseOrchestrator {
|
|
|
1195
1264
|
stop(): void;
|
|
1196
1265
|
private tick;
|
|
1197
1266
|
private startPhase;
|
|
1267
|
+
/**
|
|
1268
|
+
* Run the verification gate for a phase whose tasks all succeeded. Verifies in
|
|
1269
|
+
* the phase's worktree; on failure, runs the repair pass and re-verifies, up to
|
|
1270
|
+
* `maxVerifyAttempts` repairs. Returns the final verdict. When no `verifyPhase`
|
|
1271
|
+
* callback is wired the gate is a no-op and always passes.
|
|
1272
|
+
*/
|
|
1273
|
+
private runVerifyGate;
|
|
1274
|
+
/** Worktree env (cwd/branch) for a phase, or undefined if it runs on the shared tree. */
|
|
1275
|
+
private worktreeEnv;
|
|
1276
|
+
/** Shared failure bookkeeping for a phase whose tasks ran but the phase failed. */
|
|
1277
|
+
private failPhaseAfterTasks;
|
|
1278
|
+
/** Trim long verifier output so it fits cleanly in an event/error message. */
|
|
1279
|
+
private truncate;
|
|
1198
1280
|
/**
|
|
1199
1281
|
* Commit the phase's worktree changes, then enqueue the merge back into the
|
|
1200
1282
|
* base branch. Merges run dependency-ordered (a phase merges only after its
|
|
@@ -1202,7 +1284,11 @@ declare class PhaseOrchestrator {
|
|
|
1202
1284
|
* concurrent writes to the base tree.
|
|
1203
1285
|
*/
|
|
1204
1286
|
private commitAndEnqueueMerge;
|
|
1205
|
-
/**
|
|
1287
|
+
/**
|
|
1288
|
+
* Squash-merge one phase. When a `resolveConflict` callback is wired, a merge
|
|
1289
|
+
* conflict is handed to it (a resolver subagent) before giving up; only if
|
|
1290
|
+
* that fails does the worktree fall to needs-review and the run continues.
|
|
1291
|
+
*/
|
|
1206
1292
|
private mergeOne;
|
|
1207
1293
|
/** A failed phase keeps its worktree on disk for inspection (no merge). */
|
|
1208
1294
|
private keepWorktreeForReview;
|
|
@@ -1399,6 +1485,40 @@ declare class CheckpointManager {
|
|
|
1399
1485
|
private pruneCheckpoints;
|
|
1400
1486
|
}
|
|
1401
1487
|
|
|
1488
|
+
/**
|
|
1489
|
+
* Per-task model matrix resolution.
|
|
1490
|
+
*
|
|
1491
|
+
* The matrix (Config.modelMatrix) maps a catalog **role**, a **phase** name, or
|
|
1492
|
+
* the `*` default to a {@link ModelMatrixEntry} (model + optional provider).
|
|
1493
|
+
* At subagent spawn time we resolve the most specific match so different task
|
|
1494
|
+
* types can run on different models — e.g. `security-scanner` on one model,
|
|
1495
|
+
* `documentation` on another — while the leader keeps its own model.
|
|
1496
|
+
*
|
|
1497
|
+
* Resolution precedence (most → least specific):
|
|
1498
|
+
* 1. exact role (matrix["security-scanner"])
|
|
1499
|
+
* 2. the role's phase (matrix["review"])
|
|
1500
|
+
* 3. the `*` default (matrix["*"])
|
|
1501
|
+
* 4. undefined (caller falls back to the leader model)
|
|
1502
|
+
*
|
|
1503
|
+
* Set via the `/setmodel` slash command; this module is the single source of
|
|
1504
|
+
* truth both that command and the spawn path use to validate + resolve keys.
|
|
1505
|
+
*/
|
|
1506
|
+
|
|
1507
|
+
/** All valid phase keys, in catalog order. */
|
|
1508
|
+
declare const MATRIX_PHASE_KEYS: readonly string[];
|
|
1509
|
+
/** The phase a catalog role belongs to, or undefined for unknown roles. */
|
|
1510
|
+
declare function phaseForRole(role: string | undefined): string | undefined;
|
|
1511
|
+
/**
|
|
1512
|
+
* Resolve the matrix entry for a subagent role. Returns the most specific
|
|
1513
|
+
* match (role → phase → `*`), or undefined when nothing matches.
|
|
1514
|
+
*/
|
|
1515
|
+
declare function resolveModelMatrix(matrix: Record<string, ModelMatrixEntry> | undefined, role: string | undefined): ModelMatrixEntry | undefined;
|
|
1516
|
+
type MatrixKeyKind = 'role' | 'phase' | 'default' | 'unknown';
|
|
1517
|
+
/** Classify a matrix key so `/setmodel` can reject typos before persisting. */
|
|
1518
|
+
declare function matrixKeyKind(key: string): MatrixKeyKind;
|
|
1519
|
+
/** True when `key` is a usable matrix key (role, phase, or `*`). */
|
|
1520
|
+
declare function isValidMatrixKey(key: string): boolean;
|
|
1521
|
+
|
|
1402
1522
|
/**
|
|
1403
1523
|
* CollaborationBus — kernel-level pause/resume signal for the
|
|
1404
1524
|
* collaboration `controller` role (Phase 3 of idea #13 from IDEAS.md).
|
|
@@ -1745,4 +1865,4 @@ interface PlanPluginOptions {
|
|
|
1745
1865
|
*/
|
|
1746
1866
|
declare function createPlanPlugin(opts?: PlanPluginOptions): Plugin;
|
|
1747
1867
|
|
|
1748
|
-
export { AddAttachmentInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, BuildContext, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, Config, ConfigStore, Container, ContentBlock, Context, type ContinueDirective, DefaultPluginAPI, DefaultPromptStore, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, EventBus, EventName, ExtensionRegistry, type Finding, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, KERNEL_API_VERSION, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, type MCPRegistryHandle, MCPRegistryView, MCPServerConfig, MemoryStore, MetricsSink, MetricsSinkView, ModeStore, ModelCapabilities, type PackageManager, 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, PluginPipelines, Provider, ProviderRegistry, ProviderRegistryView, ProviderRunner, ReplayLogStore, type ReplayMode, ReplayProviderRunner, type ReplayProviderRunnerOptions, ReportGenerator, type ReportOptions, Request, Response, RunProviderOptions$1 as RunProviderOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SeverityLevel, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, TechStackDetector, type TechStackInfo, TextBlock, Tool, ToolRegistry, ToolRegistryView, Tracer, WorktreeManager, WstackPaths, buildBtwBlock, collabInjectMiddleware, collabPauseMiddleware, consumeBtwNotes, createAutoPhaseFromTaskGraph, createGitPlugin, createMcpControlTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, hashRequest, loadPlugins, makeContinueToNextIterationTool, parseContinueDirective, pendingBtwCount, runProviderWithRetry, securitySlashCommand, setBtwNote, stableStringify, unloadPlugins };
|
|
1868
|
+
export { AddAttachmentInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, BuildContext, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, Config, ConfigStore, Container, ContentBlock, Context, type ContinueDirective, DefaultPluginAPI, DefaultPromptStore, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, EventBus, EventName, ExtensionRegistry, type Finding, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, KERNEL_API_VERSION, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, MATRIX_PHASE_KEYS, type MCPRegistryHandle, MCPRegistryView, MCPServerConfig, type MatrixKeyKind, MemoryStore, MetricsSink, MetricsSinkView, ModeStore, ModelCapabilities, ModelMatrixEntry, type PackageManager, 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, PluginPipelines, Provider, ProviderRegistry, ProviderRegistryView, ProviderRunner, ReplayLogStore, type ReplayMode, ReplayProviderRunner, type ReplayProviderRunnerOptions, ReportGenerator, type ReportOptions, Request, Response, RunProviderOptions$1 as RunProviderOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SeverityLevel, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, TechStackDetector, type TechStackInfo, TextBlock, Tool, ToolRegistry, ToolRegistryView, Tracer, WorktreeManager, WstackPaths, buildBtwBlock, collabInjectMiddleware, collabPauseMiddleware, consumeBtwNotes, createAutoPhaseFromTaskGraph, createGitPlugin, createMcpControlTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, hashRequest, isValidMatrixKey, loadPlugins, makeContinueToNextIterationTool, matrixKeyKind, parseContinueDirective, pendingBtwCount, phaseForRole, resolveModelMatrix, runProviderWithRetry, securitySlashCommand, setBtwNote, stableStringify, unloadPlugins };
|