@wrongstack/core 0.9.1 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-subagent-runner-R0I0Xusn.d.ts → agent-subagent-runner-DaF_EgRG.d.ts} +1 -1
- package/dist/{config-DoUAEvXH.d.ts → config-SkMIDN9L.d.ts} +15 -1
- package/dist/coordination/index.d.ts +6 -6
- package/dist/defaults/index.d.ts +9 -9
- package/dist/execution/index.d.ts +6 -6
- package/dist/extension/index.d.ts +2 -2
- package/dist/{index-u2ROAV0F.d.ts → index-Bsha5K4D.d.ts} +1 -1
- package/dist/{index-bOl8lzFV.d.ts → index-CP8638Wm.d.ts} +1 -1
- package/dist/index.d.ts +129 -20
- package/dist/index.js +1474 -57
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +2 -2
- package/dist/kernel/index.d.ts +2 -2
- package/dist/{mcp-servers-jEoMIBZv.d.ts → mcp-servers-BouUWYW6.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-COwCGIrU.d.ts → multi-agent-coordinator-DTXF2aAl.d.ts} +1 -1
- package/dist/{null-fleet-bus-C1grTnOF.d.ts → null-fleet-bus-Chrc_3Pp.d.ts} +2 -2
- package/dist/{plan-templates-ByT1HcRI.d.ts → plan-templates-envSmNlZ.d.ts} +2 -2
- package/dist/sdd/index.d.ts +3 -3
- package/dist/storage/index.d.ts +74 -5
- package/dist/storage/index.js +352 -5
- package/dist/storage/index.js.map +1 -1
- package/dist/{tool-executor-D7a00JVJ.d.ts → tool-executor-CsktM3h9.d.ts} +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +3 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/{wstack-paths-CJYrjQU8.d.ts → wstack-paths-BCgmTNlG.d.ts} +4 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Agent, f as AgentInput } from './index-
|
|
1
|
+
import { c as Agent, f as AgentInput } from './index-CP8638Wm.js';
|
|
2
2
|
import { E as EventBus } from './events-CiG9qUM_.js';
|
|
3
3
|
import { n as SubagentConfig, v as TaskSpec, t as SubagentRunner } from './multi-agent-3ZnTB1aT.js';
|
|
4
4
|
|
|
@@ -165,6 +165,15 @@ interface AutonomyConfig {
|
|
|
165
165
|
/** ms to wait before auto-proceeding in 'auto' mode. Default: 45000. */
|
|
166
166
|
autoProceedDelayMs?: number;
|
|
167
167
|
}
|
|
168
|
+
type SyncCategory = 'settings' | 'skills' | 'prompts' | 'memory' | 'history';
|
|
169
|
+
interface SyncConfig {
|
|
170
|
+
enabled: boolean;
|
|
171
|
+
repo: string;
|
|
172
|
+
/** GitHub token (fine-grained PAT). Encrypted at rest via SecretVault. */
|
|
173
|
+
githubToken: string;
|
|
174
|
+
categories: SyncCategory[];
|
|
175
|
+
lastSyncedAt?: string;
|
|
176
|
+
}
|
|
168
177
|
interface Config {
|
|
169
178
|
version: 1;
|
|
170
179
|
provider: string;
|
|
@@ -182,6 +191,11 @@ interface Config {
|
|
|
182
191
|
cwd?: string;
|
|
183
192
|
/** Autonomy mode configuration (auto-proceed delay, etc.). */
|
|
184
193
|
autonomy?: AutonomyConfig;
|
|
194
|
+
/**
|
|
195
|
+
* Cloud sync configuration. Stored separately in sync.json to avoid
|
|
196
|
+
* accidentally committing the GitHub token to project configs.
|
|
197
|
+
*/
|
|
198
|
+
sync?: SyncConfig;
|
|
185
199
|
/**
|
|
186
200
|
* Per-plugin namespaced config sections. Each plugin reads its own
|
|
187
201
|
* subtree via `ConfigStore.getExtension(pluginName)`. Plugins should
|
|
@@ -234,4 +248,4 @@ interface ConfigStore {
|
|
|
234
248
|
watch(cb: (next: Readonly<Config>, prev: Readonly<Config>) => void): () => void;
|
|
235
249
|
}
|
|
236
250
|
|
|
237
|
-
export { type AutonomyConfig as A, CONTEXT_WINDOW_MODES as C, DEFAULT_CONTEXT_WINDOW_MODE_ID as D, type FeaturesConfig as F, type LogConfig as L, type MCPServerConfig as M, type PluginConfig as P, type ToolsConfig as T, type Config as a, type ConfigLoader as b, type ConfigStore as c, type ContextConfig as d, type ContextWindowAggressiveOn as e, type ContextWindowConfigLike as f, type ContextWindowMode as g, type ContextWindowModeId as h, type ContextWindowPolicy as i, type ContextWindowThresholds as j, type ProviderApiKey as k, type ProviderConfig as l,
|
|
251
|
+
export { type AutonomyConfig as A, CONTEXT_WINDOW_MODES as C, DEFAULT_CONTEXT_WINDOW_MODE_ID as D, type FeaturesConfig as F, type LogConfig as L, type MCPServerConfig as M, type PluginConfig as P, type SyncCategory as S, type ToolsConfig as T, type Config as a, type ConfigLoader as b, type ConfigStore as c, type ContextConfig as d, type ContextWindowAggressiveOn as e, type ContextWindowConfigLike as f, type ContextWindowMode as g, type ContextWindowModeId as h, type ContextWindowPolicy as i, type ContextWindowThresholds as j, type ProviderApiKey as k, type ProviderConfig as l, type SyncConfig as m, formatContextWindowModeList as n, getContextWindowMode as o, isContextWindowModeId as p, listContextWindowModes as q, resolveContextWindowPolicy as r };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
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, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, o as FLEET_ROSTER_WITHACP, p as FleetCostCapError, q as FleetManager, r as FleetManagerOptions, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N 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, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from '../null-fleet-bus-
|
|
2
|
-
import { b as AgentDefinition } from '../multi-agent-coordinator-
|
|
3
|
-
export { T as AGENT_TOOL_PRESETS, A as AgentBudgetTier, a as AgentCapability, c as AgentPhase, D as DEFAULT_DISPATCH_ROLE, d as DefaultMultiAgentCoordinator, e as DispatchCandidate, f as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, H as HEAVY_BUDGET, L as LIGHT_BUDGET, M as MEDIUM_BUDGET, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from '../multi-agent-coordinator-
|
|
1
|
+
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, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, o as FLEET_ROSTER_WITHACP, p as FleetCostCapError, q as FleetManager, r as FleetManagerOptions, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N 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, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from '../null-fleet-bus-Chrc_3Pp.js';
|
|
2
|
+
import { b as AgentDefinition } from '../multi-agent-coordinator-DTXF2aAl.js';
|
|
3
|
+
export { T as AGENT_TOOL_PRESETS, A as AgentBudgetTier, a as AgentCapability, c as AgentPhase, D as DEFAULT_DISPATCH_ROLE, d as DefaultMultiAgentCoordinator, e as DispatchCandidate, f as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, H as HEAVY_BUDGET, L as LIGHT_BUDGET, M as MEDIUM_BUDGET, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from '../multi-agent-coordinator-DTXF2aAl.js';
|
|
4
4
|
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, f as BudgetNegotiationMode, g as BudgetThresholdDecision, h as BudgetThresholdHandler, i as BudgetThresholdSignal, j as BudgetUsage, m as SubagentBudget } from '../multi-agent-3ZnTB1aT.js';
|
|
5
|
-
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-
|
|
5
|
+
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-DaF_EgRG.js';
|
|
6
6
|
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-DMVOX0cF.js';
|
|
7
7
|
import '../context-BRNbHmRM.js';
|
|
8
8
|
import '../director-state-BmYi3DGA.js';
|
|
9
9
|
import '../events-CiG9qUM_.js';
|
|
10
10
|
import 'node:events';
|
|
11
|
-
import '../index-
|
|
11
|
+
import '../index-CP8638Wm.js';
|
|
12
12
|
import '../logger-DDd5C--Z.js';
|
|
13
13
|
import '../system-prompt-Bs-Wliab.js';
|
|
14
14
|
import '../observability-BhnVLBLS.js';
|
|
15
15
|
import '../secret-scrubber-DttNiGYA.js';
|
|
16
|
-
import '../config-
|
|
16
|
+
import '../config-SkMIDN9L.js';
|
|
17
17
|
import '../models-registry-BcYJDKLm.js';
|
|
18
18
|
|
|
19
19
|
/** Phase 1 · Discovery — map the territory before any work begins. */
|
package/dist/defaults/index.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-bOzkF5LL.js';
|
|
2
|
-
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-
|
|
2
|
+
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-envSmNlZ.js';
|
|
3
3
|
export { D as DefaultSessionReader } from '../session-reader-CSWcb5Ga.js';
|
|
4
4
|
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from '../director-state-BmYi3DGA.js';
|
|
5
5
|
export { D as DefaultSecretScrubber, a as DefaultSecretVault, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from '../secret-scrubber-QSeI0ADi.js';
|
|
6
6
|
export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from '../permission-policy-BpCGYBud.js';
|
|
7
|
-
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-
|
|
7
|
+
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-CsktM3h9.js';
|
|
8
8
|
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';
|
|
9
9
|
import { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-BEpikbbN.js';
|
|
10
10
|
import { q as Response } from '../context-BRNbHmRM.js';
|
|
11
|
-
export { 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, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N 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, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from '../null-fleet-bus-
|
|
12
|
-
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-
|
|
11
|
+
export { 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, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N 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, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from '../null-fleet-bus-Chrc_3Pp.js';
|
|
12
|
+
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-DTXF2aAl.js';
|
|
13
13
|
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, j as BudgetUsage, m as SubagentBudget } from '../multi-agent-3ZnTB1aT.js';
|
|
14
|
-
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-
|
|
14
|
+
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-DaF_EgRG.js';
|
|
15
15
|
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-DMVOX0cF.js';
|
|
16
16
|
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-OG_30xqZ.js';
|
|
17
17
|
export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from '../models/index.js';
|
|
18
18
|
export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CriticalPathAnalysis, DefaultTaskStore, ExecutionSummary, GeneratedTask, RunResult, 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, TaskStore, TaskTracker, TaskTrackerOptions, TaskTransition, WaveResult, analyzeCriticalPath, createAutoExecutor, getTemplate, listTemplates, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, templateToMarkdown } from '../sdd/index.js';
|
|
19
19
|
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';
|
|
20
|
-
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-
|
|
20
|
+
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-BouUWYW6.js';
|
|
21
21
|
export { D as DEFAULT_AUTONOMY_CONFIG, a as DEFAULT_CONTEXT_CONFIG, b as DEFAULT_TOOLS_CONFIG } from '../default-config-Uzla85H-.js';
|
|
22
22
|
import '../logger-DDd5C--Z.js';
|
|
23
23
|
import '../events-CiG9qUM_.js';
|
|
24
24
|
import '../memory-CEXuo7sz.js';
|
|
25
|
-
import '../wstack-paths-
|
|
26
|
-
import '../config-
|
|
25
|
+
import '../wstack-paths-BCgmTNlG.js';
|
|
26
|
+
import '../config-SkMIDN9L.js';
|
|
27
27
|
import '../models-registry-BcYJDKLm.js';
|
|
28
28
|
import '../secret-vault-DoISxaKO.js';
|
|
29
29
|
import '../secret-scrubber-DttNiGYA.js';
|
|
30
30
|
import '../input-reader-E-ffP2ee.js';
|
|
31
31
|
import '../compactor-DVTKL7XD.js';
|
|
32
32
|
import '../retry-policy-BYkq0ugs.js';
|
|
33
|
-
import '../index-
|
|
33
|
+
import '../index-CP8638Wm.js';
|
|
34
34
|
import '../system-prompt-Bs-Wliab.js';
|
|
35
35
|
import '../observability-BhnVLBLS.js';
|
|
36
36
|
import '../selector-pox8abg0.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
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-CsktM3h9.js';
|
|
2
2
|
import { m as Provider, d as Context } from '../context-BRNbHmRM.js';
|
|
3
3
|
import { a as Compactor, C as CompactReport } from '../compactor-DVTKL7XD.js';
|
|
4
4
|
import { M as MessageSelector } from '../selector-pox8abg0.js';
|
|
5
5
|
import { E as EventBus } from '../events-CiG9qUM_.js';
|
|
6
6
|
import { b as MiddlewareHandler } from '../system-prompt-Bs-Wliab.js';
|
|
7
|
-
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-
|
|
8
|
-
import { c as Agent, R as RunResult, w as SystemPromptContributor } from '../index-
|
|
7
|
+
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-SkMIDN9L.js';
|
|
8
|
+
import { c as Agent, R as RunResult, w as SystemPromptContributor } from '../index-CP8638Wm.js';
|
|
9
9
|
import { D as DoneCondition } from '../multi-agent-3ZnTB1aT.js';
|
|
10
10
|
import { J as JournalEntry } from '../goal-store-C7jcumEh.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-DaF_EgRG.js';
|
|
12
|
+
import { f as DispatchClassifier, d as DefaultMultiAgentCoordinator } from '../multi-agent-coordinator-DTXF2aAl.js';
|
|
13
13
|
import { a as SkillLoader, b as SkillManifest, S as SkillEntry } from '../skill-CxuWrsKK.js';
|
|
14
|
-
import { a as WstackPaths } from '../wstack-paths-
|
|
14
|
+
import { a as WstackPaths } from '../wstack-paths-BCgmTNlG.js';
|
|
15
15
|
import '../retry-policy-BYkq0ugs.js';
|
|
16
16
|
import '../models-registry-BcYJDKLm.js';
|
|
17
17
|
import '../logger-DDd5C--Z.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-CP8638Wm.js';
|
|
2
2
|
import '../context-BRNbHmRM.js';
|
|
3
3
|
import '../logger-DDd5C--Z.js';
|
|
4
4
|
import '../system-prompt-Bs-Wliab.js';
|
|
5
5
|
import '../observability-BhnVLBLS.js';
|
|
6
6
|
import '../events-CiG9qUM_.js';
|
|
7
7
|
import '../secret-scrubber-DttNiGYA.js';
|
|
8
|
-
import '../config-
|
|
8
|
+
import '../config-SkMIDN9L.js';
|
|
9
9
|
import '../models-registry-BcYJDKLm.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { T as Token, e as Renderer, S as SystemPromptBuilder } from './system-prompt-Bs-Wliab.js';
|
|
2
2
|
import { E as EventBus } from './events-CiG9qUM_.js';
|
|
3
3
|
import { a as Compactor } from './compactor-DVTKL7XD.js';
|
|
4
|
-
import { b as ConfigLoader, c as ConfigStore } from './config-
|
|
4
|
+
import { b as ConfigLoader, c as ConfigStore } from './config-SkMIDN9L.js';
|
|
5
5
|
import { E as ErrorHandler, a as RetryPolicy } from './retry-policy-BYkq0ugs.js';
|
|
6
6
|
import { I as InputReader } from './input-reader-E-ffP2ee.js';
|
|
7
7
|
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
@@ -4,7 +4,7 @@ import { e as Renderer, a as BuildContext, C as Container, P as Pipeline, R as R
|
|
|
4
4
|
import { T as Tracer } from './observability-BhnVLBLS.js';
|
|
5
5
|
import { E as EventBus, c as EventName, L as Listener } from './events-CiG9qUM_.js';
|
|
6
6
|
import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-DttNiGYA.js';
|
|
7
|
-
import { l as ProviderConfig, a as Config } from './config-
|
|
7
|
+
import { l as ProviderConfig, a as Config } from './config-SkMIDN9L.js';
|
|
8
8
|
import { W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
9
9
|
|
|
10
10
|
/**
|
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-Bs-Wliab.js';
|
|
3
3
|
import { E as EventBus, c as EventName, L as Listener } from './events-CiG9qUM_.js';
|
|
4
4
|
export { a as EventLogger, b as EventMap, S as ScopedEventBus } from './events-CiG9qUM_.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-Bsha5K4D.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-Bsha5K4D.js';
|
|
7
7
|
import { d as Context, m as Provider, Q as Tool, c as ContentBlock, T as TextBlock } from './context-BRNbHmRM.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, p as Request, q as Response, 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-BRNbHmRM.js';
|
|
9
9
|
export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-BEpikbbN.js';
|
|
10
|
-
import { M as MCPServerConfig, a as Config } from './config-
|
|
11
|
-
export { A as AutonomyConfig, C as CONTEXT_WINDOW_MODES, b as ConfigLoader,
|
|
10
|
+
import { M as MCPServerConfig, a as Config, c as ConfigStore } from './config-SkMIDN9L.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, k as ProviderApiKey, l as ProviderConfig, S as SyncCategory, m as SyncConfig, T as ToolsConfig, n as formatContextWindowModeList, o as getContextWindowMode, p as isContextWindowModeId, q as listContextWindowModes, r as resolveContextWindowPolicy } from './config-SkMIDN9L.js';
|
|
12
12
|
export { C as CompactReport, a as Compactor } from './compactor-DVTKL7XD.js';
|
|
13
13
|
export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-DttNiGYA.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-TcJfc29Y.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-CsktM3h9.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, C as ToolRegistryView, r as ProviderRegistryView, M as MCPRegistryView, v as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, j as MetricsSinkView, z as ToolRegistry, q as ProviderRegistry, P as Plugin } 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, F as ToolWrapper, U as UserInputPayload, G as createDefaultPipelines } from './index-
|
|
27
|
+
import { u as SlashCommand, w as SystemPromptContributor, k as PluginAPI, n as PluginPipelines, C as ToolRegistryView, r as ProviderRegistryView, M as MCPRegistryView, v as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, j as MetricsSinkView, z as ToolRegistry, q as ProviderRegistry, P as Plugin } from './index-CP8638Wm.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, F as ToolWrapper, U as UserInputPayload, G as createDefaultPipelines } from './index-CP8638Wm.js';
|
|
29
29
|
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-OG_30xqZ.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';
|
|
@@ -33,24 +33,27 @@ export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMess
|
|
|
33
33
|
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, j as BudgetUsage, C as CoordinatorEvents, k as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, l as MultiAgentCoordinator, S as SpawnResult, m as SubagentBudget, n as SubagentConfig, o as SubagentContext, p as SubagentError, q as SubagentErrorKind, r as SubagentRunContext, s as SubagentRunOutcome, t as SubagentRunner, T as TaskDelegation, u as TaskResult, v as TaskSpec } from './multi-agent-3ZnTB1aT.js';
|
|
34
34
|
import { l as TaskGraph, r as TaskType, n as TaskPriority, m as TaskNode } from './task-graph-D1YQbpxF.js';
|
|
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 { e as MetricsSink, b as HealthRegistry } from './observability-BhnVLBLS.js';
|
|
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, T as Tracer } from './observability-BhnVLBLS.js';
|
|
37
38
|
export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, MessageRepairReport, MessageRepairResult, NewlineStyle, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, UnifiedDiffOptions, ValidationError, ValidationResult, atomicWrite, buildChildEnv, color, compileGlob, compileUserRegex, createToolOutputSerializer, detectNewlineStyle, ensureDir, estimateRequestTokens, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, formatTodosList, matchAny, matchGlob, normalizeToLf, repairToolUseAdjacency, safeParse, safeStringify, sanitizeJsonString, stripAnsi, toStyle, unifiedDiff, validateAgainstSchema } from './utils/index.js';
|
|
38
|
-
|
|
39
|
-
export {
|
|
39
|
+
import { a as WstackPaths } from './wstack-paths-BCgmTNlG.js';
|
|
40
|
+
export { W as WstackPathOptions, p as projectHash, r as resolveWstackPaths } from './wstack-paths-BCgmTNlG.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-envSmNlZ.js';
|
|
40
42
|
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BmYi3DGA.js';
|
|
41
43
|
export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-BpCGYBud.js';
|
|
42
44
|
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';
|
|
43
45
|
export { DefaultProviderRunner } from './defaults/index.js';
|
|
44
|
-
export { 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, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, q as FleetManager, r as FleetManagerOptions, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N 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, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from './null-fleet-bus-
|
|
45
|
-
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-
|
|
46
|
-
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-
|
|
46
|
+
export { 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, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, q as FleetManager, r as FleetManagerOptions, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N 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, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from './null-fleet-bus-Chrc_3Pp.js';
|
|
47
|
+
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-DTXF2aAl.js';
|
|
48
|
+
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-DaF_EgRG.js';
|
|
47
49
|
export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from './models/index.js';
|
|
48
50
|
import { TaskStore } from './sdd/index.js';
|
|
49
51
|
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';
|
|
50
52
|
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';
|
|
51
|
-
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-
|
|
53
|
+
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-BouUWYW6.js';
|
|
52
54
|
export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
|
|
53
|
-
|
|
55
|
+
import { DefaultPromptStore } from './storage/index.js';
|
|
56
|
+
export { ALL_SYNC_CATEGORIES, CloudSync, DefaultSessionRewinder, PromptEntry, PromptStore, SessionRewinderOptions, SyncResult } from './storage/index.js';
|
|
54
57
|
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-C7jcumEh.js';
|
|
55
58
|
import { a as RetryPolicy, E as ErrorHandler } from './retry-policy-BYkq0ugs.js';
|
|
56
59
|
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
@@ -655,11 +658,27 @@ declare class DefaultSystemPromptBuilder implements SystemPromptBuilder {
|
|
|
655
658
|
declare class SlashCommandRegistry {
|
|
656
659
|
private readonly cmds;
|
|
657
660
|
/**
|
|
658
|
-
* Register a command.
|
|
659
|
-
*
|
|
660
|
-
*
|
|
661
|
+
* Register a command.
|
|
662
|
+
*
|
|
663
|
+
* Trust tiers, by `owner` and `opts.official`:
|
|
664
|
+
*
|
|
665
|
+
* - **Built-ins** (`owner === 'core'`) and **official plugins**
|
|
666
|
+
* (`opts.official === true`, set by the host only for first-party plugins
|
|
667
|
+
* loaded from the built-in factory list) claim the **bare** command name
|
|
668
|
+
* (`/prompts`). They may override one another — last write wins — so an
|
|
669
|
+
* official plugin can replace a built-in. Official plugins are *also*
|
|
670
|
+
* reachable under their `owner:name` namespace.
|
|
671
|
+
* - **External plugins** (any other `owner`) are isolated under the
|
|
672
|
+
* `owner:name` namespace: invocable only as `/owner:cmd`, never by bare
|
|
673
|
+
* name, and unable to shadow or override a built-in or official command.
|
|
674
|
+
*
|
|
675
|
+
* Officiality is supplied by the host based on the plugin's load source, not
|
|
676
|
+
* self-declared by the plugin — an external plugin cannot name itself into
|
|
677
|
+
* the official tier.
|
|
661
678
|
*/
|
|
662
|
-
register(cmd: SlashCommand, owner?: string
|
|
679
|
+
register(cmd: SlashCommand, owner?: string, opts?: {
|
|
680
|
+
official?: boolean;
|
|
681
|
+
}): void;
|
|
663
682
|
unregister(name: string): boolean;
|
|
664
683
|
/**
|
|
665
684
|
* Bulk-register multiple slash commands at once.
|
|
@@ -726,6 +745,14 @@ interface PluginAPIInit {
|
|
|
726
745
|
watch(cb: (next: unknown, prev: unknown) => void): () => void;
|
|
727
746
|
};
|
|
728
747
|
log: Logger;
|
|
748
|
+
/**
|
|
749
|
+
* Whether this plugin is first-party ("official"). Set by the host based on
|
|
750
|
+
* the plugin's load source (e.g. shipped in the built-in factory list), NOT
|
|
751
|
+
* self-declared by the plugin. Official plugins may register bare slash
|
|
752
|
+
* command names and override built-ins; external plugins are namespaced.
|
|
753
|
+
* Defaults to false.
|
|
754
|
+
*/
|
|
755
|
+
official?: boolean;
|
|
729
756
|
}
|
|
730
757
|
declare class DefaultPluginAPI implements PluginAPI {
|
|
731
758
|
readonly container: Container;
|
|
@@ -1333,4 +1360,86 @@ declare class CheckpointManager {
|
|
|
1333
1360
|
private pruneCheckpoints;
|
|
1334
1361
|
}
|
|
1335
1362
|
|
|
1336
|
-
|
|
1363
|
+
interface PromptsPluginOptions {
|
|
1364
|
+
store?: DefaultPromptStore;
|
|
1365
|
+
paths?: WstackPaths;
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* PromptsPlugin — built-in prompt library.
|
|
1369
|
+
*
|
|
1370
|
+
* Registers `/prompts` slash command so users can manage a personal
|
|
1371
|
+
* prompt library. Active by default for all WrongStack sessions.
|
|
1372
|
+
* No configuration required.
|
|
1373
|
+
*/
|
|
1374
|
+
declare function createPromptsPlugin(opts?: PromptsPluginOptions): Plugin;
|
|
1375
|
+
|
|
1376
|
+
interface SyncPluginOptions {
|
|
1377
|
+
paths?: WstackPaths;
|
|
1378
|
+
configStore?: ConfigStore;
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* SyncPlugin — GitHub-backed cloud sync for WrongStack user data.
|
|
1382
|
+
*
|
|
1383
|
+
* Registers `/sync` slash command. Users can push/pull their prompts,
|
|
1384
|
+
* skills, settings, memory, and history to a private GitHub repo.
|
|
1385
|
+
* Active by default; configure once with `/sync enable owner/repo TOKEN`.
|
|
1386
|
+
*/
|
|
1387
|
+
declare function createSyncPlugin(opts?: SyncPluginOptions): Plugin;
|
|
1388
|
+
|
|
1389
|
+
/**
|
|
1390
|
+
* GitPlugin — built-in git helpers.
|
|
1391
|
+
*
|
|
1392
|
+
* Registers `/commit`, `/gitcheck` and `/push`. First-party ("official")
|
|
1393
|
+
* plugin, so the commands keep their bare names and `gc` / `gcstatus` aliases.
|
|
1394
|
+
* `/commit` generates an LLM commit message from the session provider when one
|
|
1395
|
+
* is available, falling back to diff heuristics. No configuration required.
|
|
1396
|
+
*/
|
|
1397
|
+
declare function createGitPlugin(): Plugin;
|
|
1398
|
+
|
|
1399
|
+
interface ObservabilityPluginOptions {
|
|
1400
|
+
metricsSink?: MetricsSink;
|
|
1401
|
+
healthRegistry?: HealthRegistry;
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* ObservabilityPlugin — runtime metrics + health checks.
|
|
1405
|
+
*
|
|
1406
|
+
* Registers `/metrics` and `/health`. First-party ("official") plugin, so the
|
|
1407
|
+
* commands keep their bare names. Both require the host to have started the
|
|
1408
|
+
* metrics subsystem (`--metrics`); without it they report that and no-op.
|
|
1409
|
+
*/
|
|
1410
|
+
declare function createObservabilityPlugin(opts?: ObservabilityPluginOptions): Plugin;
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* SecurityPlugin — automated security scanning.
|
|
1414
|
+
*
|
|
1415
|
+
* Registers `/security` (scan | audit | report). First-party ("official")
|
|
1416
|
+
* plugin, so the command keeps its bare name. Wraps the canonical
|
|
1417
|
+
* `createSecuritySlashCommand`, which reads the live provider off `ctx`.
|
|
1418
|
+
*/
|
|
1419
|
+
declare function createSecurityPlugin(): Plugin;
|
|
1420
|
+
|
|
1421
|
+
interface SkillsPluginOptions {
|
|
1422
|
+
skillLoader?: SkillLoader;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
* SkillsPlugin — skill library + installer.
|
|
1426
|
+
*
|
|
1427
|
+
* Registers `/skill`, `/skill-gen`, `/skill-install`, `/skill-update`,
|
|
1428
|
+
* `/skill-uninstall`. First-party ("official") plugin, so the commands keep
|
|
1429
|
+
* their bare names. Needs a `SkillLoader` (injected by the host via
|
|
1430
|
+
* `config.skillLoader`); without one the commands report that and no-op.
|
|
1431
|
+
*/
|
|
1432
|
+
declare function createSkillsPlugin(opts?: SkillsPluginOptions): Plugin;
|
|
1433
|
+
|
|
1434
|
+
interface PlanPluginOptions {
|
|
1435
|
+
paths?: WstackPaths;
|
|
1436
|
+
}
|
|
1437
|
+
/**
|
|
1438
|
+
* PlanPlugin — strategic plan board (`/plan`), the higher-level counterpart to
|
|
1439
|
+
* `/todos`. First-party ("official") plugin, so the command keeps its bare
|
|
1440
|
+
* name. Plans persist to `<projectDir>/plan.json` (from the injected
|
|
1441
|
+
* `WstackPaths`); the live context is read off `ctx` at dispatch.
|
|
1442
|
+
*/
|
|
1443
|
+
declare function createPlanPlugin(opts?: PlanPluginOptions): Plugin;
|
|
1444
|
+
|
|
1445
|
+
export { AddAttachmentInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, BuildContext, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, 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, ReportGenerator, type ReportOptions, 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, WorktreeManager, WstackPaths, buildBtwBlock, consumeBtwNotes, createAutoPhaseFromTaskGraph, createGitPlugin, createMcpControlTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, loadPlugins, makeContinueToNextIterationTool, parseContinueDirective, pendingBtwCount, securitySlashCommand, setBtwNote, unloadPlugins };
|