@wrongstack/core 0.89.1 → 0.89.3
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-B8F2ORwg.d.ts → agent-bridge-DbVe1dHT.d.ts} +1 -1
- package/dist/{agent-subagent-runner-CQaLFNnA.d.ts → agent-subagent-runner-C6eqID1t.d.ts} +433 -433
- package/dist/{events-DzyLtja6.d.ts → brain-s9DyD_Vf.d.ts} +179 -92
- package/dist/{compactor-CJq7LQev.d.ts → compactor-DXLxLcmU.d.ts} +2 -2
- package/dist/{config-_DZ7dN-T.d.ts → config-84VaZpH6.d.ts} +45 -38
- package/dist/{context-ToHAp4-U.d.ts → context-CNRYfhUv.d.ts} +1 -1
- package/dist/coordination/index.d.ts +16 -17
- package/dist/coordination/index.js +25 -37
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +31 -33
- package/dist/defaults/index.js +476 -206
- package/dist/defaults/index.js.map +1 -1
- package/dist/{director-state-CgIc30qi.d.ts → director-state-BfeCUbmk.d.ts} +1 -1
- package/dist/execution/index.d.ts +18 -19
- package/dist/execution/index.js +23 -45
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +9 -10
- package/dist/extension/index.js +8 -6
- package/dist/extension/index.js.map +1 -1
- package/dist/{index-Ca_lOmKl.d.ts → index-CqrroYcU.d.ts} +13 -15
- package/dist/{index-Dx-CnrDN.d.ts → index-D3Nax3YU.d.ts} +9 -10
- package/dist/index.d.ts +184 -174
- package/dist/index.js +973 -349
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +9 -9
- package/dist/infrastructure/index.js +4 -2
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +14 -16
- package/dist/kernel/index.js.map +1 -1
- package/dist/{logger-B72yyPc6.d.ts → logger-B63L5bTg.d.ts} +1 -1
- package/dist/{logger-C_27pj9i.d.ts → logger-B9J5puGM.d.ts} +1 -1
- package/dist/{mcp-servers-Dck3T85_.d.ts → mcp-servers-D3E5ixAR.d.ts} +3 -3
- package/dist/{mode-CHo2XtHs.d.ts → mode-ARA3HrkY.d.ts} +1 -1
- package/dist/models/index.d.ts +5 -5
- package/dist/models/index.js +8 -6
- package/dist/models/index.js.map +1 -1
- package/dist/{models-registry-Be3osGt5.d.ts → models-registry-B6_KfS65.d.ts} +1 -1
- package/dist/{models-registry-Boz639EI.d.ts → models-registry-DU64QxQa.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-Da9nd8Ic.d.ts → multi-agent-coordinator-DHNrjPaA.d.ts} +2 -2
- package/dist/{null-fleet-bus-CHJOXv3t.d.ts → null-fleet-bus-BzzciAc4.d.ts} +32 -31
- package/dist/observability/index.d.ts +3 -3
- package/dist/{observability-CoSNZdhX.d.ts → observability-D-HZN_mF.d.ts} +1 -1
- package/dist/{parallel-eternal-engine-DyMCj2Pw.d.ts → parallel-eternal-engine-CTpcrb9O.d.ts} +33 -33
- package/dist/{path-resolver-TjBlRKyH.d.ts → path-resolver-B7hgMAVe.d.ts} +3 -3
- package/dist/{permission-14CChMmO.d.ts → permission-BDv7z0mk.d.ts} +7 -2
- package/dist/{permission-policy-gW5htOo1.d.ts → permission-policy-dF74EpDp.d.ts} +2 -2
- package/dist/{system-prompt-C0rLCeyn.d.ts → pipeline-C1Ad9OjI.d.ts} +73 -73
- package/dist/{plan-templates-D9UhwoGh.d.ts → plan-templates-CNphsz0n.d.ts} +79 -11
- package/dist/{provider-runner-BEPWwkxH.d.ts → provider-runner-cqvlB_oS.d.ts} +5 -5
- package/dist/{retry-policy-DSu6O6rD.d.ts → retry-policy-BcmuT_V0.d.ts} +2 -2
- package/dist/sdd/index.d.ts +12 -33
- package/dist/sdd/index.js +21 -31
- package/dist/sdd/index.js.map +1 -1
- package/dist/{secret-scrubber-yGBFQYju.d.ts → secret-vault-DrOhc2i5.d.ts} +7 -7
- package/dist/security/index.d.ts +4 -5
- package/dist/security/index.js +4 -2
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-11-fm95U.d.ts → selector-C7wcdqMA.d.ts} +1 -1
- package/dist/{session-event-bridge-D0u-x576.d.ts → session-event-bridge-IVzs2GpE.d.ts} +1 -1
- package/dist/{session-reader-BQU-toaN.d.ts → session-reader-DDz1Ek4V.d.ts} +2 -2
- package/dist/{skill-BJeF2DwY.d.ts → skill-BJxzIyyN.d.ts} +1 -1
- package/dist/skills/index.d.ts +1 -1
- package/dist/skills/index.js +3 -9
- package/dist/skills/index.js.map +1 -1
- package/dist/storage/index.d.ts +132 -12
- package/dist/storage/index.js +834 -159
- package/dist/storage/index.js.map +1 -1
- package/dist/{task-graph-CikNdRTG.d.ts → task-graph-DJBqO0EY.d.ts} +1 -1
- package/dist/types/index.d.ts +25 -27
- package/dist/types/index.js +19 -31
- package/dist/types/index.js.map +1 -1
- package/dist/utils/expect-defined.d.ts +7 -0
- package/dist/utils/expect-defined.js +11 -0
- package/dist/utils/expect-defined.js.map +1 -0
- package/dist/utils/index.d.ts +6 -20
- package/dist/utils/index.js +11 -41
- package/dist/utils/index.js.map +1 -1
- package/dist/{wstack-paths-BQMvEllz.d.ts → wstack-paths-_lqjzErq.d.ts} +1 -1
- package/package.json +5 -1
- package/dist/memory-CEXuo7sz.d.ts +0 -16
- package/dist/secret-scrubber-3MHDDAtm.d.ts +0 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,73 +1,71 @@
|
|
|
1
|
-
import { S as SystemPromptBuilder,
|
|
2
|
-
export {
|
|
3
|
-
import { E as EventBus,
|
|
4
|
-
export {
|
|
5
|
-
import {
|
|
6
|
-
export { A as AllocateOpts, M as MergeOpts, a as MergeResult, R as RunController, b as RunControllerOptions, T as TOKENS,
|
|
7
|
-
import {
|
|
8
|
-
export { A as AgentError,
|
|
9
|
-
import { P as ProviderRunner, R as RunProviderOptions$1 } from './provider-runner-
|
|
10
|
-
import { M as MCPServerConfig,
|
|
11
|
-
export { A as AutonomyConfig,
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
1
|
+
import { S as SystemPromptBuilder, M as ModelCapabilities, B as BuildContext, C as Container, H as HookRegistry } from './pipeline-C1Ad9OjI.js';
|
|
2
|
+
export { b as BindOptions, D as Decorator, F as Factory, c as Middleware, d as MiddlewareHandler, N as NextFn, P as Pipeline, e as PipelineOptions, a as Renderer, T as Token, h as hookMatcherMatches } from './pipeline-C1Ad9OjI.js';
|
|
3
|
+
import { E as EventBus, l as MemoryStore, a as EventName, L as Listener, B as BrainArbiter } from './brain-s9DyD_Vf.js';
|
|
4
|
+
export { b as BrainDecision, c as BrainDecisionOption, d as BrainDecisionQueue, e as BrainDecisionRequest, f as BrainDecisionSource, g as BrainFallback, h as BrainRisk, D as DefaultBrainArbiter, i as DefaultBrainArbiterOptions, n as EventLogger, o as EventMap, H as HumanEscalatingBrainArbiter, p as MEMORY_TYPE_LABELS, q as MemoryClearedPayload, r as MemoryConsolidatedPayload, k as MemoryEntry, s as MemoryForgottenPayload, t as MemoryPriority, m as MemoryRelevanceContext, u as MemoryRememberedPayload, M as MemoryScope, v as MemoryType, O as ObservableBrainArbiter, w as ScopedEventBus, S as ScoredEntry, j as formatHumanPrompt } from './brain-s9DyD_Vf.js';
|
|
5
|
+
import { W as WorktreeManager } from './index-CqrroYcU.js';
|
|
6
|
+
export { A as AllocateOpts, M as MergeOpts, a as MergeResult, R as RunController, b as RunControllerOptions, T as TOKENS, c as WorktreeHandle, d as WorktreeManagerOptions, e as WorktreeRunResult, f as WorktreeStatus, g as assertSafePath } from './index-CqrroYcU.js';
|
|
7
|
+
import { C as Context, P as Provider, T as Tool, R as Request, b as Response, g as ContentBlock, l as TextBlock, M as Message } from './context-CNRYfhUv.js';
|
|
8
|
+
export { A as AgentError, k as Capabilities, u as ConfigError, v as ContextInit, t as ConversationState, E as ERROR_CODES, w as ErrorCode, x as ErrorSeverity, y as ErrorSubsystem, F as FileSnapshot, z as FsError, I as ImageBlock, J as JSONSchema, B as MessageRole, f as Permission, D as PluginError, e as ProviderError, G as ProviderErrorBody, H as ReadonlyConversationState, p as ResumedSession, K as RiskTier, L as RunEnv, o as RunOptions, q as SessionData, N as SessionError, S as SessionEvent, h as SessionMetadata, i as SessionStore, r as SessionSummary, a as SessionWriter, O as StateChange, Q as StateChangeHandler, V as StopReason, W as StreamEvent, X as ThinkingBlock, s as TodoItem, c as TokenCounter, Y as ToolCallContext, Z as ToolError, _ as ToolFinalEvent, j as ToolProgressEvent, n as ToolResultBlock, $ as ToolStreamEvent, m as ToolUseBlock, U 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-CNRYfhUv.js';
|
|
9
|
+
import { P as ProviderRunner, R as RunProviderOptions$1 } from './provider-runner-cqvlB_oS.js';
|
|
10
|
+
import { M as MCPServerConfig, C as Config, g as HookInput, h as HookOutcome, H as HookEvent, a as HookMatcher, I as InProcessHook, f as ModelMatrixEntry, c as ConfigStore } from './config-84VaZpH6.js';
|
|
11
|
+
export { A as AutonomyConfig, i as CONTEXT_WINDOW_MODES, d as ConfigLoader, j as ContextConfig, k as ContextWindowAggressiveOn, l as ContextWindowConfigLike, m as ContextWindowMode, n as ContextWindowModeId, o as ContextWindowPolicy, p as ContextWindowThresholds, q as CustomModelDefinition, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, b as HookEntry, r as IndexingConfig, L as LaunchConfig, s as LogConfig, P as PluginConfig, t as ProviderApiKey, u as ProviderConfig, v as SessionLoggingConfig, S as ShellHook, w as SyncCategory, e as SyncConfig, T as ToolsConfig, x as formatContextWindowModeList, y as getContextWindowMode, z as isContextWindowModeId, B as listContextWindowModes, E as resolveContextWindowPolicy } from './config-84VaZpH6.js';
|
|
12
|
+
export { a as CompactReport, C as Compactor } from './compactor-DXLxLcmU.js';
|
|
13
|
+
export { a as PermissionDecision, P as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './permission-BDv7z0mk.js';
|
|
14
14
|
export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from './session-rewinder-C9HnMkhP.js';
|
|
15
|
-
import {
|
|
16
|
-
export {
|
|
15
|
+
import { A as AttachmentStore, b as AttachmentRef, a as AddAttachmentInput } from './session-reader-DDz1Ek4V.js';
|
|
16
|
+
export { c as Attachment, d as AttachmentKind, e as AttachmentMeta, D as DefaultSessionReader, f as DefaultSessionReaderOptions, S as SessionReader } from './session-reader-DDz1Ek4V.js';
|
|
17
17
|
export { D as DEFAULT_AUTONOMY_CONFIG, a as DEFAULT_CONTEXT_CONFIG, b as DEFAULT_SESSION_LOGGING_CONFIG, c as DEFAULT_SESSION_PRUNE_DAYS, d as DEFAULT_TOOLS_CONFIG } from './default-config-CXsDvOmP.js';
|
|
18
|
-
import { a as DefaultSecretVault } from './secret-
|
|
19
|
-
export { D as DefaultSecretScrubber, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from './secret-
|
|
20
|
-
import { D as DefaultLogger } from './logger-
|
|
21
|
-
export { a as DefaultLoggerOptions } from './logger-
|
|
22
|
-
import { D as DefaultPathResolver } from './path-resolver-
|
|
23
|
-
export { a as DefaultTokenCounter } from './path-resolver-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export {
|
|
27
|
-
import { a as SkillLoader } from './skill-BJeF2DwY.js';
|
|
28
|
-
export { S as SkillEntry, b as SkillManifest } from './skill-BJeF2DwY.js';
|
|
18
|
+
import { a as DefaultSecretVault } from './secret-vault-DrOhc2i5.js';
|
|
19
|
+
export { D as DefaultSecretScrubber, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from './secret-vault-DrOhc2i5.js';
|
|
20
|
+
import { D as DefaultLogger } from './logger-B9J5puGM.js';
|
|
21
|
+
export { a as DefaultLoggerOptions } from './logger-B9J5puGM.js';
|
|
22
|
+
import { D as DefaultPathResolver } from './path-resolver-B7hgMAVe.js';
|
|
23
|
+
export { a as DefaultTokenCounter } from './path-resolver-B7hgMAVe.js';
|
|
24
|
+
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, E as EternalAutonomyEngine, c as EternalAutonomyOptions, d as EternalEngineState, H as HybridCompactor, I as IterationStage, P as ParallelEngineState, e as ParallelEternalEngine, f as ParallelEternalOptions, g as ParallelIterationStage, R as RecoveryStrategy, T as ToolExecutor, h as buildRecoveryStrategies } from './parallel-eternal-engine-CTpcrb9O.js';
|
|
25
|
+
import { S as SkillLoader } from './skill-BJxzIyyN.js';
|
|
26
|
+
export { a as SkillEntry, b as SkillManifest } from './skill-BJxzIyyN.js';
|
|
29
27
|
export { I as InputReader, P as PromptOption } from './input-reader-E-ffP2ee.js';
|
|
30
|
-
import {
|
|
31
|
-
export {
|
|
32
|
-
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-
|
|
33
|
-
import {
|
|
34
|
-
export { D as DEFAULT_MODES,
|
|
35
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-
|
|
36
|
-
import {
|
|
37
|
-
export { C as CriticalPathResult, D as DEFAULT_SPEC_TEMPLATE, S as SpecAnalysis,
|
|
38
|
-
import { T as Tracer,
|
|
39
|
-
export { A as AggregateHealth,
|
|
40
|
-
import { S as SystemPromptContributor, E as ExtensionRegistry,
|
|
41
|
-
export {
|
|
28
|
+
import { z as SlashCommand, P as PluginAPI, D as PluginPipelines, E as ToolRegistryView, G as ProviderRegistryView, H as MCPRegistryView, I as SlashCommandRegistryView, J as SessionWriterView, K as MetricsSinkView, L as Plugin } from './agent-subagent-runner-C6eqID1t.js';
|
|
29
|
+
export { g as Agent, h as AgentFactory, i as AgentFactoryResult, j as AgentRunnerOptions, k as BudgetExceededError, l as BudgetKind, m as BudgetLimits, r as BudgetUsage, N as CoordinatorEvents, C as CoordinatorStatus, O as DoneCondition, F as FleetBus, s as FleetEvent, t as FleetHandler, u as FleetUsage, v as FleetUsageAggregator, c as MultiAgentConfig, M as MultiAgentCoordinator, Q as PluginCapabilities, R as PluginDependency, e as SpawnResult, w as SubagentBudget, S as SubagentConfig, U as SubagentContext, V as SubagentError, W as SubagentErrorKind, X as SubagentRunContext, Y as SubagentRunOutcome, d as SubagentRunner, x as SubagentUsageSnapshot, Z as TaskDelegation, f as TaskResult, T as TaskSpec, y as makeAgentSubagentRunner } from './agent-subagent-runner-C6eqID1t.js';
|
|
30
|
+
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-DU64QxQa.js';
|
|
31
|
+
import { M as ModeStore } from './mode-ARA3HrkY.js';
|
|
32
|
+
export { D as DEFAULT_MODES, a as Mode, b as ModeConfig, c as ModeManifest } from './mode-ARA3HrkY.js';
|
|
33
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-DbVe1dHT.js';
|
|
34
|
+
import { T as TaskGraph, a as TaskType, b as TaskPriority, c as TaskNode } from './task-graph-DJBqO0EY.js';
|
|
35
|
+
export { C as CriticalPathResult, D as DEFAULT_SPEC_TEMPLATE, S as SpecAnalysis, d as SpecApiEndpoint, e as SpecRequirement, f as SpecSection, g as SpecSectionType, h as SpecStatus, i as SpecTemplate, j as SpecValidationResult, k as Specification, l as TaskAssignment, m as TaskDependency, n as TaskEdge, o as TaskFilter, p as TaskProgress, q as TaskSort, r as TaskStatus, s as computeTaskProgress, t as findCriticalPath, u as topologicalSort } from './task-graph-DJBqO0EY.js';
|
|
36
|
+
import { T as Tracer, M as MetricsSink, H as HealthRegistry } from './observability-D-HZN_mF.js';
|
|
37
|
+
export { A as AggregateHealth, a as HealthCheck, b as HealthCheckResult, c as HealthStatus, d as MetricLabels, e as MetricSeries, f as MetricsSnapshot, S as Span } from './observability-D-HZN_mF.js';
|
|
38
|
+
import { S as SystemPromptContributor, E as ExtensionRegistry, e as ToolRegistry, P as ProviderRegistry, c as ToolCallPipelinePayload } from './index-D3Nax3YU.js';
|
|
39
|
+
export { i as AfterIterationHook, j as AfterRunHook, k as AfterToolExecutionHook, l as AgentExtension, g as AgentInit, h as AgentInput, A as AgentPipelines, B as BeforeIterationHook, m as BeforeRunHook, n as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, H as HookRunEnv, o as HookRunner, p as HookRunnerOptions, O as OnErrorHook, q as PreToolUseResult, r as PromptResult, s as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, d as ToolWrapper, U as UserInputPayload, u as createDefaultPipelines } from './index-D3Nax3YU.js';
|
|
42
40
|
export { AutonomyStage } from './types/index.js';
|
|
43
|
-
export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, FileLockOptions, MessageRepairReport, MessageRepairResult, NewlineStyle, OutputLineGuard, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, UnifiedDiffOptions, ValidationError, ValidationResult, atomicWrite, buildChildEnv, color, compileGlob, compileUserRegex, completePartialObject, createToolOutputSerializer, detectNewlineStyle, ensureDir, estimateRequestTokens, estimateRequestTokensCalibrated, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, expandGlob,
|
|
44
|
-
import {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export { A as
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
41
|
+
export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, FileLockOptions, MessageRepairReport, MessageRepairResult, NewlineStyle, OutputLineGuard, 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, mergeCustomModelDefs, mergeModelsPayload, normalizeToLf, onResize, recordActualUsage, repairToolUseAdjacency, resetCalibration, safeParse, safeStringify, sanitizeJsonString, setOutputLineGuard, setRawMode, sleep, stripAnsi, toStyle, unifiedDiff, validateAgainstSchema, withFileLock, writeErr, writeOut } from './utils/index.js';
|
|
42
|
+
import { W as WstackPaths } from './wstack-paths-_lqjzErq.js';
|
|
43
|
+
export { a as WstackPathOptions, p as projectHash, b as projectSlug, r as resolveWstackPaths } from './wstack-paths-_lqjzErq.js';
|
|
44
|
+
export { expectDefined } from './utils/expect-defined.js';
|
|
45
|
+
export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOptions, b as ConfigMigration, c as ConfigMigrationError, d as ConfigSource, D as DEFAULT_CONFIG_MIGRATIONS, e as DefaultAttachmentStore, f as DefaultConfigLoader, g as DefaultConfigStore, h as DefaultMemoryStore, i as DefaultSessionStore, F as FileMemoryBackend, j as FileMemoryBackendOptions, M as MemoryBackend, k as MemoryStoreOptions, l as MigrationContext, m as MigrationResult, P as PersistedQueueItem, n as PlanFile, o as PlanItem, p as PlanTemplate, Q as QueueStore, R as RecoveryLock, q as RecoveryLockOptions, S as SessionAnalyzer, r as SessionStoreOptions, T as TodosCheckpointFile, s as addPlanItem, t as attachPlanCheckpoint, u as attachTodosCheckpoint, v as clearPlan, w as deriveTodosFromPlanItem, x as emptyPlan, y as formatPlan, z as formatPlanTemplates, B as getPlanTemplate, E as listPlanTemplates, G as loadPlan, H as loadTodosCheckpoint, I as parseEntries, J as removePlanItem, K as runConfigMigrations, L as savePlan, N as saveTodosCheckpoint, O as setPlanItemStatus } from './plan-templates-CNphsz0n.js';
|
|
46
|
+
export { A as AuditLevel, C as CORE_RECONSTRUCT_EVENTS, S as STANDARD_AUDIT_EVENTS, a as SessionEventBridge, b as SessionEventBridgeOptions, c as SessionSamplingOptions, T as ToolProgressSamplingOptions, d as createSessionEventBridge, r as resolveAuditLevel, e as resolveSessionLoggingConfig } from './session-event-bridge-IVzs2GpE.js';
|
|
47
|
+
export { a as DirectorStateCheckpoint, D as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BfeCUbmk.js';
|
|
48
|
+
export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-dF74EpDp.js';
|
|
50
49
|
export { AutoCompactionMiddleware, AutonomousRunner, AutonomousRunnerOptions, AutonomyPromptContributorOptions, DefaultSkillLoader, DoneCheckResult, DoneConditionChecker, IntelligentCompactor, IntelligentCompactorOptions, SelectiveCompactor, SelectiveCompactorOptions, SkillLoaderOptions, buildGoalPreamble, makeAutonomyPromptContributor } from './execution/index.js';
|
|
51
50
|
export { DefaultProviderRunner } from './defaults/index.js';
|
|
52
|
-
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-
|
|
53
|
-
export {
|
|
51
|
+
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-BzzciAc4.js';
|
|
52
|
+
export { b as AgentBudgetTier, c as AgentCapability, A as AgentDefinition, d 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, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-DHNrjPaA.js';
|
|
54
53
|
export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from './models/index.js';
|
|
55
54
|
import { TaskStore } from './sdd/index.js';
|
|
56
55
|
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';
|
|
57
56
|
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';
|
|
58
|
-
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-
|
|
57
|
+
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-D3E5ixAR.js';
|
|
59
58
|
export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
|
|
60
59
|
import { ReplayLogStore, DefaultPromptStore } from './storage/index.js';
|
|
61
|
-
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';
|
|
60
|
+
export { ALL_SYNC_CATEGORIES, Annotation, AnnotationsStore, AnnotationsStoreOptions, AuditEntry, CloudSync, ConsolidationOp, DefaultSessionRewinder, GraphMemoryBackend, GraphMemoryBackendOptions, MemoryConsolidatorOptions, PromptEntry, PromptStore, RecoveryPlan, ReplayEntry, ReplayLogStoreOptions, SessionMemoryConsolidator, SessionRecovery, SessionRewinderOptions, StaleSession, SyncResult, ToolAuditLog, ToolAuditLogOptions, VerifyResult } from './storage/index.js';
|
|
62
61
|
export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, s as saveGoal, b as summarizeUsage } from './goal-store-DvWLNu52.js';
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
62
|
+
import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-BcmuT_V0.js';
|
|
63
|
+
import { L as Logger } from './logger-B63L5bTg.js';
|
|
64
|
+
export { a as LogLevel } from './logger-B63L5bTg.js';
|
|
65
|
+
export { a as ModelsDevPayload, c as ModelsDevProvider, M as ModelsRegistry, b as ResolvedModel, R as ResolvedProvider, W as WireFamily } from './models-registry-B6_KfS65.js';
|
|
67
66
|
export { S as SecretVault } from './secret-vault-DoISxaKO.js';
|
|
68
|
-
export { S as SecretScrubber } from './secret-scrubber-3MHDDAtm.js';
|
|
69
67
|
import './path-resolver-CPRj4bFY.js';
|
|
70
|
-
import './selector-
|
|
68
|
+
import './selector-C7wcdqMA.js';
|
|
71
69
|
import 'node:events';
|
|
72
70
|
|
|
73
71
|
/**
|
|
@@ -758,6 +756,8 @@ declare class DefaultSystemPromptBuilder implements SystemPromptBuilder {
|
|
|
758
756
|
private skillCache?;
|
|
759
757
|
/** Cached full skill bodies (after frontmatter), built once per session. */
|
|
760
758
|
private skillBodyCache?;
|
|
759
|
+
/** Tools from last build — used for memory relevance scoring. */
|
|
760
|
+
private _lastBuildTools?;
|
|
761
761
|
constructor(opts?: DefaultSystemPromptBuilderOptions);
|
|
762
762
|
build(ctx: BuildContext): Promise<TextBlock[]>;
|
|
763
763
|
/**
|
|
@@ -981,7 +981,7 @@ declare function unloadPlugins(loadedPlugins: Plugin[], opts: LoadPluginsOptions
|
|
|
981
981
|
* `provider.complete()` with a dedicated system prompt — and is deliberately
|
|
982
982
|
* free of React / TUI dependencies so it can be unit-tested in isolation.
|
|
983
983
|
*/
|
|
984
|
-
declare const ENHANCER_SYSTEM_PROMPT = "You are a request refiner embedded in a coding agent. Your ONLY job is to rewrite the user's message into
|
|
984
|
+
declare const ENHANCER_SYSTEM_PROMPT = "You are a request refiner embedded in a coding agent. Your ONLY job is to rewrite the user's message into clearer, unambiguous instructions that the coding agent can act on confidently.\n\nRules:\n- Preserve the user's intent and scope EXACTLY. Do not add new requirements, features, constraints, or steps the user did not ask for. Do not remove anything they did ask for.\n- Do NOT answer, solve, or perform the request. Only restate it more clearly.\n- Keep all concrete details verbatim: file paths, identifiers, code, error text, numbers, names, URLs.\n- Resolve obvious ambiguity by making the implied subject explicit, not by inventing specifics. If something is genuinely unspecified, leave it general rather than guessing.\n- Be concise: one tight instruction per version (a few sentences at most). No preamble, no explanation, no quotes, no markdown headers.\n- If the message is already clear and complete, return it essentially unchanged.\n\nYou MUST output TWO versions of the refined request, separated by a line containing only \"---\".\n- First version: refined in the SAME LANGUAGE the user wrote in (if Turkish \u2192 Turkish, if Spanish \u2192 Spanish, etc.).\n- Second version: refined in ENGLISH (translate the intent into clear English while preserving all concrete details).\n\nOutput format:\n<refined in user's language>\n---\n<refined in English>\n\nWhen earlier conversation turns are provided, they are CONTEXT ONLY. Use them to resolve references in the user's latest message \u2014 \"it\", \"that\", \"the same\", \"the other one\", \"this file\", \"again\" \u2014 so the refined instruction is self-contained. Refine ONLY the user's latest message; do not answer it, do not act on or restate earlier turns, and do not summarize the conversation.\n\nOutput ONLY the two versions separated by \"---\" \u2014 nothing else.";
|
|
985
985
|
/**
|
|
986
986
|
* Heuristic gate: should this raw input be sent through the refiner at all?
|
|
987
987
|
* Pure + exported for unit testing. Returns false for inputs where refinement
|
|
@@ -1000,6 +1000,16 @@ interface ConversationTurn {
|
|
|
1000
1000
|
role: 'user' | 'assistant';
|
|
1001
1001
|
text: string;
|
|
1002
1002
|
}
|
|
1003
|
+
/**
|
|
1004
|
+
* Result of a successful prompt refinement. Contains both the
|
|
1005
|
+
* original-language and English versions so the UI can offer both.
|
|
1006
|
+
*/
|
|
1007
|
+
interface EnhanceResult {
|
|
1008
|
+
/** Refined in the user's original language. */
|
|
1009
|
+
refined: string;
|
|
1010
|
+
/** Refined in English. */
|
|
1011
|
+
english: string;
|
|
1012
|
+
}
|
|
1003
1013
|
interface EnhanceUserPromptOptions {
|
|
1004
1014
|
provider: Provider;
|
|
1005
1015
|
model: string;
|
|
@@ -1031,7 +1041,7 @@ interface EnhanceUserPromptOptions {
|
|
|
1031
1041
|
* aborted, or returned nothing useful). NEVER throws — refinement is a
|
|
1032
1042
|
* best-effort convenience and must never block the user from sending.
|
|
1033
1043
|
*/
|
|
1034
|
-
declare function enhanceUserPrompt(opts: EnhanceUserPromptOptions): Promise<
|
|
1044
|
+
declare function enhanceUserPrompt(opts: EnhanceUserPromptOptions): Promise<EnhanceResult | null>;
|
|
1035
1045
|
/**
|
|
1036
1046
|
* Extract the last few user/assistant TEXT turns from a conversation, newest
|
|
1037
1047
|
* last, for use as refiner context. Skips system messages and tool-only turns
|
|
@@ -1044,52 +1054,52 @@ declare function recentTextTurns(messages: Message[], maxTurns?: number, maxChar
|
|
|
1044
1054
|
type PhaseStatus = 'pending' | 'ready' | 'running' | 'paused' | 'completed' | 'failed' | 'skipped';
|
|
1045
1055
|
interface PhaseNode {
|
|
1046
1056
|
id: string;
|
|
1047
|
-
/**
|
|
1057
|
+
/** Phase name, e.g. "Discovery", "Design", "Implementation", "Testing". */
|
|
1048
1058
|
name: string;
|
|
1049
1059
|
description: string;
|
|
1050
1060
|
status: PhaseStatus;
|
|
1051
|
-
/**
|
|
1061
|
+
/** Task graph for this phase. */
|
|
1052
1062
|
taskGraph: TaskGraph;
|
|
1053
|
-
/**
|
|
1063
|
+
/** Previous phase IDs; this phase cannot start until they complete. */
|
|
1054
1064
|
dependsOn: string[];
|
|
1055
|
-
/**
|
|
1065
|
+
/** Next phase IDs. */
|
|
1056
1066
|
nextPhases: string[];
|
|
1057
|
-
/**
|
|
1067
|
+
/** Whether this phase can run in parallel before the previous phase finishes. */
|
|
1058
1068
|
parallelizable: boolean;
|
|
1059
|
-
/**
|
|
1069
|
+
/** Phase priority. */
|
|
1060
1070
|
priority: 'critical' | 'high' | 'medium' | 'low';
|
|
1061
|
-
/**
|
|
1071
|
+
/** Estimated duration in hours. */
|
|
1062
1072
|
estimateHours: number;
|
|
1063
|
-
/**
|
|
1073
|
+
/** Actual duration in milliseconds. */
|
|
1064
1074
|
actualDurationMs?: number | undefined;
|
|
1065
|
-
/**
|
|
1075
|
+
/** Start time. */
|
|
1066
1076
|
startedAt?: number | undefined;
|
|
1067
|
-
/**
|
|
1077
|
+
/** Completion time. */
|
|
1068
1078
|
completedAt?: number | undefined;
|
|
1069
|
-
/**
|
|
1079
|
+
/** Agents assigned to this phase. */
|
|
1070
1080
|
assignedAgents: string[];
|
|
1071
|
-
/**
|
|
1081
|
+
/** Phase metadata. */
|
|
1072
1082
|
metadata?: Record<string, unknown> | undefined;
|
|
1073
1083
|
createdAt: number;
|
|
1074
1084
|
updatedAt: number;
|
|
1075
1085
|
}
|
|
1076
1086
|
interface PhaseGraph {
|
|
1077
1087
|
id: string;
|
|
1078
|
-
/**
|
|
1088
|
+
/** Project title. */
|
|
1079
1089
|
title: string;
|
|
1080
1090
|
description: string;
|
|
1081
1091
|
phases: Map<string, PhaseNode>;
|
|
1082
|
-
/**
|
|
1092
|
+
/** Starting phase IDs. */
|
|
1083
1093
|
rootPhaseIds: string[];
|
|
1084
|
-
/**
|
|
1094
|
+
/** Active phase IDs with running status. */
|
|
1085
1095
|
activePhaseIds: string[];
|
|
1086
|
-
/**
|
|
1096
|
+
/** Completed phase IDs. */
|
|
1087
1097
|
completedPhaseIds: string[];
|
|
1088
|
-
/**
|
|
1098
|
+
/** Failed phase IDs. */
|
|
1089
1099
|
failedPhaseIds: string[];
|
|
1090
|
-
/**
|
|
1100
|
+
/** Whether autonomous mode is active. */
|
|
1091
1101
|
autonomous: boolean;
|
|
1092
|
-
/**
|
|
1102
|
+
/** Stop when all phases complete. */
|
|
1093
1103
|
stopOnComplete: boolean;
|
|
1094
1104
|
createdAt: number;
|
|
1095
1105
|
updatedAt: number;
|
|
@@ -1205,21 +1215,21 @@ interface PhaseEventMap {
|
|
|
1205
1215
|
type PhaseEventName = keyof PhaseEventMap;
|
|
1206
1216
|
interface PhaseExecutionContext {
|
|
1207
1217
|
/**
|
|
1208
|
-
*
|
|
1209
|
-
* worktree
|
|
1218
|
+
* Execute a task through an AI agent. `env` points to the phase git
|
|
1219
|
+
* worktree when available, so the agent runs in an isolated working directory.
|
|
1210
1220
|
*/
|
|
1211
1221
|
executeTask: (task: TaskNode, phaseId: string, env?: {
|
|
1212
1222
|
cwd?: string | undefined;
|
|
1213
1223
|
branch?: string | undefined;
|
|
1214
1224
|
}) => Promise<unknown>;
|
|
1215
1225
|
/**
|
|
1216
|
-
*
|
|
1217
|
-
*
|
|
1218
|
-
*
|
|
1219
|
-
*
|
|
1220
|
-
*
|
|
1226
|
+
* Optional verification gate. Called after all tasks in a phase finish,
|
|
1227
|
+
* but before the phase is marked "completed" and its worktree is merged
|
|
1228
|
+
* back to the base branch. `env` points to the phase worktree when available;
|
|
1229
|
+
* verification should run in that isolated directory, such as typecheck/test.
|
|
1230
|
+
* If `ok:false` is returned, merge is blocked and `repairPhase` is attempted when available.
|
|
1221
1231
|
*
|
|
1222
|
-
*
|
|
1232
|
+
* If undefined, the gate is skipped for backward compatibility.
|
|
1223
1233
|
*/
|
|
1224
1234
|
verifyPhase?: (phase: PhaseNode, env?: {
|
|
1225
1235
|
cwd?: string | undefined;
|
|
@@ -1229,64 +1239,64 @@ interface PhaseExecutionContext {
|
|
|
1229
1239
|
output?: string | undefined;
|
|
1230
1240
|
}>;
|
|
1231
1241
|
/**
|
|
1232
|
-
*
|
|
1233
|
-
*
|
|
1234
|
-
*
|
|
1235
|
-
*
|
|
1242
|
+
* Optional repair pass. When `verifyPhase` fails, it is called with the
|
|
1243
|
+
* captured error output. It should try to fix the code in the worktree
|
|
1244
|
+
* for example, through a repair subagent. Its return value is ignored;
|
|
1245
|
+
* the orchestrator reruns `verifyPhase` afterward. It is never called when `verifyPhase` is undefined.
|
|
1236
1246
|
*/
|
|
1237
1247
|
repairPhase?: (phase: PhaseNode, failure: string, attempt: number, env?: {
|
|
1238
1248
|
cwd?: string | undefined;
|
|
1239
1249
|
branch?: string | undefined;
|
|
1240
1250
|
}) => Promise<void>;
|
|
1241
1251
|
/**
|
|
1242
|
-
*
|
|
1243
|
-
* squash-merge
|
|
1244
|
-
*
|
|
1245
|
-
*
|
|
1246
|
-
*
|
|
1247
|
-
*
|
|
1252
|
+
* Optional merge-conflict resolver. Called when a phase worktree conflicts
|
|
1253
|
+
* during squash-merge into the base branch. `info.cwd` points to the base
|
|
1254
|
+
* working tree where conflict markers exist; the resolver should clean those
|
|
1255
|
+
* markers and return `true`. On success the merge is committed; otherwise
|
|
1256
|
+
* the merge is aborted and the worktree is kept in `needs-review`.
|
|
1257
|
+
* If undefined, conflicts keep the old parked-for-review behavior.
|
|
1248
1258
|
*/
|
|
1249
1259
|
resolveConflict?: (phase: PhaseNode, info: {
|
|
1250
1260
|
conflictFiles: string[];
|
|
1251
1261
|
cwd: string;
|
|
1252
1262
|
}) => Promise<boolean>;
|
|
1253
|
-
/**
|
|
1263
|
+
/** Optional global Brain arbiter for the policy, decision, and escalation layer. */
|
|
1254
1264
|
brain?: BrainArbiter | undefined;
|
|
1255
|
-
/**
|
|
1265
|
+
/** Called when a phase completes. */
|
|
1256
1266
|
onPhaseComplete?: ((phase: PhaseNode) => void) | undefined;
|
|
1257
|
-
/**
|
|
1267
|
+
/** Called when a phase fails. */
|
|
1258
1268
|
onPhaseFail?: (phase: PhaseNode, error: Error) => void;
|
|
1259
|
-
/**
|
|
1269
|
+
/** Called on every tick in autonomous mode. */
|
|
1260
1270
|
onTick?: (ctx: {
|
|
1261
1271
|
activePhases: PhaseNode[];
|
|
1262
1272
|
readyPhases: PhaseNode[];
|
|
1263
1273
|
}) => void;
|
|
1264
1274
|
}
|
|
1265
1275
|
interface AutoPhaseOptions {
|
|
1266
|
-
/**
|
|
1276
|
+
/** Maximum number of parallel phases. */
|
|
1267
1277
|
maxConcurrentPhases?: number | undefined;
|
|
1268
|
-
/**
|
|
1278
|
+
/** Maximum number of parallel tasks within a phase. */
|
|
1269
1279
|
maxConcurrentTasks?: number | undefined;
|
|
1270
|
-
/**
|
|
1280
|
+
/** Retry count for failed tasks. */
|
|
1271
1281
|
maxRetries?: number | undefined;
|
|
1272
1282
|
/**
|
|
1273
|
-
*
|
|
1274
|
-
*
|
|
1275
|
-
*
|
|
1283
|
+
* Maximum number of repair attempts after the verification gate fails.
|
|
1284
|
+
* Total verification runs = maxVerifyAttempts + 1: the first run plus one
|
|
1285
|
+
* rerun after each repair. Defaults to 2. Has no effect without `verifyPhase`.
|
|
1276
1286
|
*/
|
|
1277
1287
|
maxVerifyAttempts?: number | undefined;
|
|
1278
|
-
/**
|
|
1288
|
+
/** Autonomous mode: automatically advance as phases complete. */
|
|
1279
1289
|
autonomous?: boolean | undefined;
|
|
1280
|
-
/**
|
|
1290
|
+
/** Delay between phases in milliseconds. */
|
|
1281
1291
|
phaseDelayMs?: number | undefined;
|
|
1282
|
-
/**
|
|
1292
|
+
/** Stop when a phase fails. */
|
|
1283
1293
|
stopOnFailure?: boolean | undefined;
|
|
1284
1294
|
/** Event bus */
|
|
1285
1295
|
events?: EventBus | undefined;
|
|
1286
1296
|
/**
|
|
1287
|
-
*
|
|
1288
|
-
* worktree
|
|
1289
|
-
*
|
|
1297
|
+
* Optional git-worktree manager. When provided, each phase runs in its own
|
|
1298
|
+
* isolated worktree and branch, then is squash-merged back into the base
|
|
1299
|
+
* branch in order. Without it, behavior is unchanged and uses the shared working tree.
|
|
1290
1300
|
*/
|
|
1291
1301
|
worktrees?: WorktreeManager | undefined;
|
|
1292
1302
|
}
|
|
@@ -1304,7 +1314,7 @@ interface PhaseTemplate {
|
|
|
1304
1314
|
priority: PhaseNode['priority'];
|
|
1305
1315
|
estimateHours: number;
|
|
1306
1316
|
parallelizable: boolean;
|
|
1307
|
-
/**
|
|
1317
|
+
/** Task templates to create automatically. */
|
|
1308
1318
|
taskTemplates?: Array<{
|
|
1309
1319
|
title: string;
|
|
1310
1320
|
description: string;
|
|
@@ -1316,43 +1326,43 @@ interface PhaseTemplate {
|
|
|
1316
1326
|
}
|
|
1317
1327
|
|
|
1318
1328
|
interface AutoPhaseRunnerOptions extends AutoPhaseOptions {
|
|
1319
|
-
/**
|
|
1329
|
+
/** Project title. */
|
|
1320
1330
|
title: string;
|
|
1321
1331
|
description?: string | undefined;
|
|
1322
|
-
/**
|
|
1332
|
+
/** Phase templates. */
|
|
1323
1333
|
phases: PhaseTemplate[];
|
|
1324
|
-
/**
|
|
1334
|
+
/** Function that executes a task. */
|
|
1325
1335
|
executeTask: PhaseExecutionContext['executeTask'];
|
|
1326
|
-
/**
|
|
1336
|
+
/** Optional verification gate. */
|
|
1327
1337
|
verifyPhase?: PhaseExecutionContext['verifyPhase'] | undefined;
|
|
1328
|
-
/**
|
|
1338
|
+
/** Optional repair pass after verification failure. */
|
|
1329
1339
|
repairPhase?: PhaseExecutionContext['repairPhase'] | undefined;
|
|
1330
|
-
/**
|
|
1340
|
+
/** Optional resolver for worktree merge conflicts. */
|
|
1331
1341
|
resolveConflict?: PhaseExecutionContext['resolveConflict'] | undefined;
|
|
1332
1342
|
/** Opsiyonel Brain arbiter */
|
|
1333
1343
|
brain?: PhaseExecutionContext['brain'] | undefined;
|
|
1334
|
-
/**
|
|
1344
|
+
/** Called when a phase completes. */
|
|
1335
1345
|
onPhaseComplete?: ((phase: PhaseNode) => void) | undefined;
|
|
1336
|
-
/**
|
|
1346
|
+
/** Called when a phase fails. */
|
|
1337
1347
|
onPhaseFail?: (phase: PhaseNode, error: Error) => void;
|
|
1338
1348
|
/** Her tick'te */
|
|
1339
1349
|
onTick?: (ctx: {
|
|
1340
1350
|
activePhases: PhaseNode[];
|
|
1341
1351
|
readyPhases: PhaseNode[];
|
|
1342
1352
|
}) => void;
|
|
1343
|
-
/**
|
|
1353
|
+
/** Called when progress changes. */
|
|
1344
1354
|
onProgress?: ((progress: PhaseProgress) => void) | undefined;
|
|
1345
1355
|
/** Safety net that stops a phase graph if cleanup is bypassed. Default: 24h. */
|
|
1346
1356
|
maxRunDurationMs?: number | undefined;
|
|
1347
|
-
/**
|
|
1357
|
+
/** Called when the graph completes. */
|
|
1348
1358
|
onComplete?: ((graph: PhaseGraph) => void) | undefined;
|
|
1349
|
-
/**
|
|
1359
|
+
/** Called when the graph fails. */
|
|
1350
1360
|
onFail?: (graph: PhaseGraph, failedPhase: PhaseNode, error: Error) => void;
|
|
1351
1361
|
}
|
|
1352
1362
|
/**
|
|
1353
|
-
* AutoPhaseRunner
|
|
1363
|
+
* AutoPhaseRunner - high-level API for managing the whole autonomous phase flow from one entry point.
|
|
1354
1364
|
*
|
|
1355
|
-
*
|
|
1365
|
+
* Usage:
|
|
1356
1366
|
* const runner = new AutoPhaseRunner({
|
|
1357
1367
|
* title: 'Auth Refactor',
|
|
1358
1368
|
* phases: [...],
|
|
@@ -1386,7 +1396,7 @@ declare class AutoPhaseRunner {
|
|
|
1386
1396
|
private cleanup;
|
|
1387
1397
|
}
|
|
1388
1398
|
/**
|
|
1389
|
-
* Quick-start helper:
|
|
1399
|
+
* Quick-start helper: create an AutoPhaseRunner from an existing TaskGraph.
|
|
1390
1400
|
*/
|
|
1391
1401
|
declare function createAutoPhaseFromTaskGraph(taskGraph: TaskGraph, options: Omit<AutoPhaseRunnerOptions, 'phases' | 'title'> & {
|
|
1392
1402
|
title?: string | undefined;
|
|
@@ -1398,14 +1408,14 @@ interface PhaseOrchestratorOptions extends AutoPhaseOptions {
|
|
|
1398
1408
|
ctx: PhaseExecutionContext;
|
|
1399
1409
|
}
|
|
1400
1410
|
/**
|
|
1401
|
-
* PhaseOrchestrator
|
|
1411
|
+
* PhaseOrchestrator - dependency-aware engine for running phases autonomously.
|
|
1402
1412
|
*
|
|
1403
|
-
*
|
|
1404
|
-
* -
|
|
1405
|
-
* -
|
|
1406
|
-
* -
|
|
1407
|
-
* -
|
|
1408
|
-
* -
|
|
1413
|
+
* Features:
|
|
1414
|
+
* - Automatically starts the next phase as each phase completes in autonomous mode
|
|
1415
|
+
* - Supports parallel phases with parallelizable=true
|
|
1416
|
+
* - Assigns and releases agents
|
|
1417
|
+
* - Integrates with the event bus
|
|
1418
|
+
* - Supports pause and resume
|
|
1409
1419
|
*/
|
|
1410
1420
|
declare class PhaseOrchestrator {
|
|
1411
1421
|
private graph;
|
|
@@ -1427,17 +1437,17 @@ declare class PhaseOrchestrator {
|
|
|
1427
1437
|
private readonly phaseMergePromise;
|
|
1428
1438
|
constructor(opts: PhaseOrchestratorOptions);
|
|
1429
1439
|
/**
|
|
1430
|
-
*
|
|
1431
|
-
*
|
|
1440
|
+
* Start the full phase flow.
|
|
1441
|
+
* In autonomous mode, starts root phases and automatically starts the next phase when they finish.
|
|
1432
1442
|
*/
|
|
1433
1443
|
start(): Promise<void>;
|
|
1434
|
-
/**
|
|
1444
|
+
/** Wait for all pending phase merges, dependency-ordered and globally serialized. */
|
|
1435
1445
|
private drainMerges;
|
|
1436
|
-
/**
|
|
1446
|
+
/** Pause: active phases continue, but no new phase starts. */
|
|
1437
1447
|
pause(): void;
|
|
1438
|
-
/**
|
|
1448
|
+
/** Resume: new phases may start again. */
|
|
1439
1449
|
resume(): void;
|
|
1440
|
-
/**
|
|
1450
|
+
/** Stop completely, including active phases. */
|
|
1441
1451
|
stop(): void;
|
|
1442
1452
|
private tick;
|
|
1443
1453
|
private startPhase;
|
|
@@ -1500,19 +1510,19 @@ declare class PhaseOrchestrator {
|
|
|
1500
1510
|
interface PhaseGraphBuilderOptions {
|
|
1501
1511
|
title: string;
|
|
1502
1512
|
description?: string | undefined;
|
|
1503
|
-
/**
|
|
1513
|
+
/** Ordered phase templates. */
|
|
1504
1514
|
phases: PhaseTemplate[];
|
|
1505
|
-
/**
|
|
1515
|
+
/** Autonomous mode. */
|
|
1506
1516
|
autonomous?: boolean | undefined;
|
|
1507
|
-
/**
|
|
1517
|
+
/** Stop on failure. */
|
|
1508
1518
|
stopOnFailure?: boolean | undefined;
|
|
1509
|
-
/**
|
|
1519
|
+
/** Optional external TaskStore. */
|
|
1510
1520
|
externalTaskStore?: TaskStore | undefined;
|
|
1511
1521
|
}
|
|
1512
1522
|
/**
|
|
1513
|
-
* PhaseGraphBuilder
|
|
1523
|
+
* PhaseGraphBuilder - builds project phases and a task graph for each phase.
|
|
1514
1524
|
*
|
|
1515
|
-
*
|
|
1525
|
+
* Usage:
|
|
1516
1526
|
* const builder = new PhaseGraphBuilder({
|
|
1517
1527
|
* title: 'Auth System Refactor',
|
|
1518
1528
|
* phases: [
|
|
@@ -1530,64 +1540,64 @@ declare class PhaseGraphBuilder {
|
|
|
1530
1540
|
constructor(opts: PhaseGraphBuilderOptions);
|
|
1531
1541
|
build(): Promise<PhaseGraph>;
|
|
1532
1542
|
/**
|
|
1533
|
-
*
|
|
1534
|
-
*
|
|
1543
|
+
* Create phases from an existing TaskGraph.
|
|
1544
|
+
* Groups tasks into phases by priority and type.
|
|
1535
1545
|
*/
|
|
1536
1546
|
static fromTaskGraph(taskGraph: TaskGraph, options: Omit<PhaseGraphBuilderOptions, 'phases'> & {
|
|
1537
|
-
/**
|
|
1547
|
+
/** Number of tasks per phase. Defaults to 5. */
|
|
1538
1548
|
tasksPerPhase?: number | undefined;
|
|
1539
1549
|
}): Promise<PhaseGraph>;
|
|
1540
1550
|
}
|
|
1541
1551
|
|
|
1542
1552
|
/**
|
|
1543
|
-
* AutoPhasePlanner
|
|
1544
|
-
*
|
|
1553
|
+
* AutoPhasePlanner - converts a goal into phases using a real LLM call,
|
|
1554
|
+
* producing a large task list with todos under each phase.
|
|
1545
1555
|
*
|
|
1546
|
-
* SDD'
|
|
1547
|
-
* `PhaseTemplate[]
|
|
1548
|
-
* `PhaseGraphBuilder`
|
|
1549
|
-
*
|
|
1556
|
+
* Similar to SDD's spec-to-task flow, but different: the output is directly
|
|
1557
|
+
* `PhaseTemplate[]`; each phase carries `taskTemplates`, so
|
|
1558
|
+
* `PhaseGraphBuilder` produces a populated `PhaseGraph` and `PhaseOrchestrator`
|
|
1559
|
+
* runs each task through a real agent execution.
|
|
1550
1560
|
*
|
|
1551
|
-
*
|
|
1552
|
-
*
|
|
1561
|
+
* The planner is not tied to a specific LLM: callers provide a `runOnce(prompt)` function
|
|
1562
|
+
* (a subagent run in the CLI, or a deterministic stub in tests).
|
|
1553
1563
|
*/
|
|
1554
1564
|
|
|
1555
1565
|
interface AutoPhasePlannerOptions {
|
|
1556
1566
|
/**
|
|
1557
|
-
*
|
|
1558
|
-
* CLI
|
|
1567
|
+
* One-shot LLM call: receives a prompt and returns the model text output.
|
|
1568
|
+
* In the CLI this wraps subagent.run; in tests it can be a deterministic stub.
|
|
1559
1569
|
*/
|
|
1560
1570
|
runOnce: (prompt: string) => Promise<string>;
|
|
1561
|
-
/**
|
|
1571
|
+
/** Goal or project title. */
|
|
1562
1572
|
goal: string;
|
|
1563
|
-
/** package.json
|
|
1573
|
+
/** Optional project context such as package.json or directory structure. */
|
|
1564
1574
|
projectContext?: string | undefined;
|
|
1565
|
-
/**
|
|
1575
|
+
/** Requested minimum phase count. Defaults to 3. */
|
|
1566
1576
|
minPhases?: number | undefined;
|
|
1567
|
-
/**
|
|
1577
|
+
/** Requested maximum phase count. Defaults to 8. */
|
|
1568
1578
|
maxPhases?: number | undefined;
|
|
1569
|
-
/**
|
|
1579
|
+
/** Target todo count per phase. Defaults to 6. */
|
|
1570
1580
|
todosPerPhase?: number | undefined;
|
|
1571
1581
|
}
|
|
1572
1582
|
interface AutoPhasePlanResult {
|
|
1573
|
-
/**
|
|
1583
|
+
/** Phase templates passed to PhaseGraphBuilder. */
|
|
1574
1584
|
phases: PhaseTemplate[];
|
|
1575
|
-
/**
|
|
1585
|
+
/** Raw model output for debugging and logs. */
|
|
1576
1586
|
raw: string;
|
|
1577
|
-
/** JSON
|
|
1587
|
+
/** True when JSON could not be parsed; `phases` is empty in that case. */
|
|
1578
1588
|
parseFailed: boolean;
|
|
1579
1589
|
}
|
|
1580
1590
|
/**
|
|
1581
|
-
* AutoPhasePlanner
|
|
1591
|
+
* AutoPhasePlanner drives the model through `plan()` and produces `PhaseTemplate[]`.
|
|
1582
1592
|
*/
|
|
1583
1593
|
declare class AutoPhasePlanner {
|
|
1584
1594
|
private readonly opts;
|
|
1585
1595
|
constructor(opts: AutoPhasePlannerOptions);
|
|
1586
|
-
/**
|
|
1596
|
+
/** Convert the goal into a phase-and-todo plan. */
|
|
1587
1597
|
plan(): Promise<AutoPhasePlanResult>;
|
|
1588
|
-
/**
|
|
1598
|
+
/** Instruction prompt for the plan the model should produce. */
|
|
1589
1599
|
buildPrompt(): string;
|
|
1590
|
-
/**
|
|
1600
|
+
/** Extract JSON from raw output, validate it, and convert it to PhaseTemplate[]. */
|
|
1591
1601
|
parse(raw: string): PhaseTemplate[];
|
|
1592
1602
|
private coercePhase;
|
|
1593
1603
|
private coerceTask;
|
|
@@ -1597,7 +1607,7 @@ interface PhaseStoreOptions {
|
|
|
1597
1607
|
baseDir: string;
|
|
1598
1608
|
}
|
|
1599
1609
|
/**
|
|
1600
|
-
* PhaseStore
|
|
1610
|
+
* PhaseStore - persistence layer for saving and loading PhaseGraph objects on disk.
|
|
1601
1611
|
*/
|
|
1602
1612
|
declare class PhaseStore {
|
|
1603
1613
|
readonly baseDir: string;
|
|
@@ -1640,12 +1650,12 @@ interface CheckpointManagerOptions {
|
|
|
1640
1650
|
baseDir?: string | undefined;
|
|
1641
1651
|
}
|
|
1642
1652
|
/**
|
|
1643
|
-
* CheckpointManager
|
|
1653
|
+
* CheckpointManager - saves and restores snapshots of the phase graph.
|
|
1644
1654
|
*
|
|
1645
|
-
*
|
|
1655
|
+
* Usage:
|
|
1646
1656
|
* const cm = new CheckpointManager({ store });
|
|
1647
1657
|
* await cm.saveCheckpoint(graph, 'Before risky refactor');
|
|
1648
|
-
* // ...
|
|
1658
|
+
* // ... if something goes wrong ...
|
|
1649
1659
|
* const restored = await cm.restoreCheckpoint(checkpointId);
|
|
1650
1660
|
*/
|
|
1651
1661
|
declare class CheckpointManager {
|
|
@@ -2045,4 +2055,4 @@ interface PlanPluginOptions {
|
|
|
2045
2055
|
*/
|
|
2046
2056
|
declare function createPlanPlugin(opts?: PlanPluginOptions): Plugin;
|
|
2047
2057
|
|
|
2048
|
-
export { AddAttachmentInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, type BootConfigOptions, type BootConfigResult, BrainArbiter, BuildContext, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, Config, ConfigStore, Container, ContentBlock, Context, type ContinueDirective, type ConversationTurn, DefaultLogger, DefaultPathResolver, DefaultPluginAPI, DefaultPromptStore, DefaultSecretVault, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, ENHANCER_SYSTEM_PROMPT, type EnhanceUserPromptOptions, EventBus, EventName, ExtensionRegistry, type Finding, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, HookEvent, HookInput, HookMatcher, HookOutcome, HookRegistry, InProcessHook, 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, Message, 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 ShellHookSpec, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, TechStackDetector, type TechStackInfo, TextBlock, Tool, ToolCallPipelinePayload, ToolRegistry, ToolRegistryView, Tracer, WorktreeManager, WstackPaths, bootConfig, buildBtwBlock, collabInjectMiddleware, collabPauseMiddleware, consumeBtwNotes, createAutoPhaseFromTaskGraph, createGitPlugin, createMcpControlTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, enhanceUserPrompt, flagsToConfigPatch, hashRequest, isValidMatrixKey, loadPlugins, makeContinueToNextIterationTool, matrixKeyKind, normalizedEqual, parseContinueDirective, pendingBtwCount, phaseForRole, recentTextTurns, resolveModelMatrix, runProviderWithRetry, runShellHook, securitySlashCommand, setBtwNote, shouldEnhance, stableStringify, unloadPlugins };
|
|
2058
|
+
export { AddAttachmentInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, type BootConfigOptions, type BootConfigResult, BrainArbiter, BuildContext, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, Config, ConfigStore, Container, ContentBlock, Context, type ContinueDirective, type ConversationTurn, DefaultLogger, DefaultPathResolver, DefaultPluginAPI, DefaultPromptStore, DefaultSecretVault, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, ENHANCER_SYSTEM_PROMPT, type EnhanceResult, type EnhanceUserPromptOptions, EventBus, EventName, ExtensionRegistry, type Finding, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, HookEvent, HookInput, HookMatcher, HookOutcome, HookRegistry, InProcessHook, 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, Message, 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 ShellHookSpec, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, TechStackDetector, type TechStackInfo, TextBlock, Tool, ToolCallPipelinePayload, ToolRegistry, ToolRegistryView, Tracer, WorktreeManager, WstackPaths, bootConfig, buildBtwBlock, collabInjectMiddleware, collabPauseMiddleware, consumeBtwNotes, createAutoPhaseFromTaskGraph, createGitPlugin, createMcpControlTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, enhanceUserPrompt, flagsToConfigPatch, hashRequest, isValidMatrixKey, loadPlugins, makeContinueToNextIterationTool, matrixKeyKind, normalizedEqual, parseContinueDirective, pendingBtwCount, phaseForRole, recentTextTurns, resolveModelMatrix, runProviderWithRetry, runShellHook, securitySlashCommand, setBtwNote, shouldEnhance, stableStringify, unloadPlugins };
|