@wrongstack/core 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-bridge-Bji75Iv9.d.ts → agent-bridge-hXRN-GO_.d.ts} +1 -1
- package/dist/{compactor-BFKGzKd5.d.ts → compactor-Mw7-rNyb.d.ts} +1 -1
- package/dist/{config-BXAhlqJb.d.ts → config-Bi4Q0fnz.d.ts} +2 -2
- package/dist/{context-BwxhvyW8.d.ts → context-z2x5gv_V.d.ts} +1 -1
- package/dist/coordination/index.d.ts +14 -14
- package/dist/defaults/index.d.ts +25 -25
- package/dist/{director-state-BUB7JRUr.d.ts → director-state-BmYi3DGA.d.ts} +1 -1
- package/dist/{events-AjrvHJ9V.d.ts → events-D4pGukpI.d.ts} +2 -2
- package/dist/execution/index.d.ts +15 -15
- package/dist/extension/index.d.ts +8 -8
- package/dist/{index-B2WWETRP.d.ts → index-BUHs7xJ9.d.ts} +8 -8
- package/dist/index.d.ts +33 -33
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +9 -9
- package/dist/kernel/index.d.ts +11 -11
- package/dist/{logger-BMQgxvdy.d.ts → logger-DDd5C--Z.d.ts} +1 -1
- package/dist/{logger-BH6AE0W9.d.ts → logger-bOzkF5LL.d.ts} +1 -1
- package/dist/{mcp-servers-BDM2Leff.d.ts → mcp-servers-n2L9ohMX.d.ts} +3 -3
- package/dist/models/index.d.ts +4 -4
- package/dist/{models-registry-Y2xbog0E.d.ts → models-registry-BcYJDKLm.d.ts} +1 -1
- package/dist/{models-registry-DqzwpBQy.d.ts → models-registry-OG_30xqZ.d.ts} +1 -1
- package/dist/{multi-agent-DenFfUv5.d.ts → multi-agent-7OK4pEKW.d.ts} +3 -3
- package/dist/{multi-agent-coordinator-DGUn-5Bb.d.ts → multi-agent-coordinator-D8PLzfz6.d.ts} +4 -4
- package/dist/{null-fleet-bus-DJMbqYhL.d.ts → null-fleet-bus-Bkk3gafb.d.ts} +6 -6
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver-C1NM67-u.d.ts → path-resolver-DPUjF10O.d.ts} +3 -3
- package/dist/{plan-templates-CNY6f82B.d.ts → plan-templates-DWbEIJvV.d.ts} +5 -5
- package/dist/{provider-runner-Cmuevptw.d.ts → provider-runner-iST8U3ni.d.ts} +4 -4
- package/dist/{retry-policy-mEBn5qpv.d.ts → retry-policy-OwtKNxo8.d.ts} +2 -2
- package/dist/sdd/index.d.ts +3 -3
- package/dist/{secret-scrubber-BmiGszvl.d.ts → secret-scrubber-DXkhwuka.d.ts} +1 -1
- package/dist/{secret-scrubber-bZ5AyhwJ.d.ts → secret-scrubber-nI8qjaqW.d.ts} +1 -1
- package/dist/security/index.d.ts +3 -3
- package/dist/{selector-BmUma5iG.d.ts → selector-DkvgYVS4.d.ts} +1 -1
- package/dist/{session-reader-g-FKCyBw.d.ts → session-reader-DsadjyF9.d.ts} +1 -1
- package/dist/storage/index.d.ts +8 -8
- package/dist/{system-prompt-BKrzd_ci.d.ts → system-prompt-CWA6ml-d.d.ts} +2 -2
- package/dist/{tool-executor-BoM0U0qn.d.ts → tool-executor-Tutu4ePV.d.ts} +5 -5
- package/dist/types/index.d.ts +19 -19
- package/dist/utils/index.d.ts +2 -2
- package/dist/{wstack-paths-86YPFktR.d.ts → wstack-paths-BGu2INTm.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as BridgeTransport, B as BridgeMessage, A as AgentBridge, a as AgentBridgeConfig } from './multi-agent-7OK4pEKW.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* In-memory pub/sub transport for agent-to-agent messaging.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as WireFamily } from './models-registry-
|
|
2
|
-
import { P as Permission } from './context-
|
|
1
|
+
import { W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
2
|
+
import { P as Permission } from './context-z2x5gv_V.js';
|
|
3
3
|
|
|
4
4
|
type ContextWindowModeId = 'balanced' | 'frugal' | 'deep' | 'archival';
|
|
5
5
|
type ContextWindowAggressiveOn = 'hard' | 'soft' | 'warn';
|
|
@@ -1042,4 +1042,4 @@ declare class Context implements RunEnv {
|
|
|
1042
1042
|
usage(): Usage;
|
|
1043
1043
|
}
|
|
1044
1044
|
|
|
1045
|
-
export {
|
|
1045
|
+
export { type Usage as $, AgentError as A, type SessionWriter as B, type CacheStats as C, type StateChange as D, ERROR_CODES as E, type FileSnapshot as F, type StateChangeHandler as G, type StopReason as H, type ImageBlock as I, type JSONSchema as J, type StreamEvent as K, type ThinkingBlock as L, type Message as M, type TodoItem as N, type TokenCounter as O, type Permission as P, type Tool as Q, type ReadonlyConversationState as R, type SessionData as S, type TextBlock as T, type ToolCallContext as U, ToolError as V, type ToolFinalEvent as W, type ToolProgressEvent as X, type ToolResultBlock as Y, type ToolStreamEvent as Z, type ToolUseBlock as _, type Capabilities as a, WrongStackError as a0, asBlocks as a1, asText as a2, extractRunEnv as a3, isAgentError as a4, isConfigError as a5, isFsError as a6, isImageBlock as a7, isPluginError as a8, isSessionError as a9, isTextBlock as aa, isThinkingBlock as ab, isToolError as ac, isToolResultBlock as ad, isToolUseBlock as ae, isWrongStackError as af, toWrongStackError as ag, wrapAsState as ah, ConfigError as b, type ContentBlock as c, Context as d, type ContextInit as e, ConversationState as f, type ErrorCode as g, type ErrorSeverity as h, type ErrorSubsystem as i, FsError as j, type MessageRole as k, PluginError as l, type Provider as m, ProviderError as n, type ProviderErrorBody as o, type Request as p, type Response as q, type ResumedSession as r, type RiskTier as s, type RunEnv as t, type RunOptions as u, SessionError as v, type SessionEvent as w, type SessionMetadata as x, type SessionStore as y, type SessionSummary as z };
|
|
@@ -1,18 +1,18 @@
|
|
|
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 {
|
|
3
|
-
export { T as AGENT_TOOL_PRESETS,
|
|
4
|
-
export {
|
|
5
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-
|
|
6
|
-
import '../context-
|
|
7
|
-
import '../director-state-
|
|
8
|
-
import '../events-
|
|
9
|
-
import '../index-
|
|
10
|
-
import '../logger-
|
|
11
|
-
import '../system-prompt-
|
|
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-Bkk3gafb.js';
|
|
2
|
+
import { b as AgentDefinition } from '../multi-agent-coordinator-D8PLzfz6.js';
|
|
3
|
+
export { T as AGENT_TOOL_PRESETS, A as AgentBudgetTier, a as AgentCapability, c as AgentFactory, d as AgentFactoryResult, e as AgentPhase, f as AgentRunnerOptions, D as DEFAULT_DISPATCH_ROLE, g as DefaultMultiAgentCoordinator, h as DispatchCandidate, i as DispatchClassifier, j as DispatchMethod, k as DispatchOptions, l as DispatchResult, F as FleetBus, m as FleetEvent, n as FleetHandler, o as FleetUsage, p as FleetUsageAggregator, H as HEAVY_BUDGET, L as LIGHT_BUDGET, M as MEDIUM_BUDGET, q as MultiAgentCoordinatorOptions, S as SubagentUsageSnapshot, r as dispatchAgent, s as makeAgentSubagentRunner, t as makeLLMClassifier, u as scoreAgents } from '../multi-agent-coordinator-D8PLzfz6.js';
|
|
4
|
+
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, f as BudgetThresholdDecision, g as BudgetThresholdHandler, h as BudgetThresholdSignal, i as BudgetUsage, l as SubagentBudget } from '../multi-agent-7OK4pEKW.js';
|
|
5
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-hXRN-GO_.js';
|
|
6
|
+
import '../context-z2x5gv_V.js';
|
|
7
|
+
import '../director-state-BmYi3DGA.js';
|
|
8
|
+
import '../events-D4pGukpI.js';
|
|
9
|
+
import '../index-BUHs7xJ9.js';
|
|
10
|
+
import '../logger-DDd5C--Z.js';
|
|
11
|
+
import '../system-prompt-CWA6ml-d.js';
|
|
12
12
|
import '../observability-BhnVLBLS.js';
|
|
13
|
-
import '../secret-scrubber-
|
|
14
|
-
import '../config-
|
|
15
|
-
import '../models-registry-
|
|
13
|
+
import '../secret-scrubber-nI8qjaqW.js';
|
|
14
|
+
import '../config-Bi4Q0fnz.js';
|
|
15
|
+
import '../models-registry-BcYJDKLm.js';
|
|
16
16
|
import 'node:events';
|
|
17
17
|
|
|
18
18
|
/** Phase 1 · Discovery — map the territory before any work begins. */
|
package/dist/defaults/index.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-
|
|
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-
|
|
3
|
-
export { D as DefaultSessionReader } from '../session-reader-
|
|
4
|
-
export {
|
|
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-
|
|
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-DWbEIJvV.js';
|
|
3
|
+
export { D as DefaultSessionReader } from '../session-reader-DsadjyF9.js';
|
|
4
|
+
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from '../director-state-BmYi3DGA.js';
|
|
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-DXkhwuka.js';
|
|
6
6
|
export { AutoApprovePermissionPolicy, DefaultPermissionPolicy, PermissionPolicyOptions } from '../security/index.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-Tutu4ePV.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
|
-
import { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-
|
|
10
|
-
import {
|
|
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 {
|
|
13
|
-
export {
|
|
14
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-
|
|
15
|
-
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-
|
|
9
|
+
import { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-iST8U3ni.js';
|
|
10
|
+
import { q as Response } from '../context-z2x5gv_V.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-Bkk3gafb.js';
|
|
12
|
+
export { A as AgentBudgetTier, a as AgentCapability, b as AgentDefinition, c as AgentFactory, d as AgentFactoryResult, e as AgentPhase, f as AgentRunnerOptions, D as DEFAULT_DISPATCH_ROLE, g as DefaultMultiAgentCoordinator, h as DispatchCandidate, i as DispatchClassifier, j as DispatchMethod, k as DispatchOptions, l as DispatchResult, F as FleetBus, m as FleetEvent, n as FleetHandler, o as FleetUsage, p as FleetUsageAggregator, q as MultiAgentCoordinatorOptions, S as SubagentUsageSnapshot, r as dispatchAgent, s as makeAgentSubagentRunner, t as makeLLMClassifier, u as scoreAgents } from '../multi-agent-coordinator-D8PLzfz6.js';
|
|
13
|
+
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, i as BudgetUsage, l as SubagentBudget } from '../multi-agent-7OK4pEKW.js';
|
|
14
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-hXRN-GO_.js';
|
|
15
|
+
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-OG_30xqZ.js';
|
|
16
16
|
export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from '../models/index.js';
|
|
17
17
|
export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CriticalPathAnalysis, DefaultTaskStore, ExecutionSummary, GeneratedTask, SPEC_TEMPLATES, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskStore, TaskTracker, TaskTrackerOptions, TaskTransition, analyzeCriticalPath, createAutoExecutor, getTemplate, listTemplates, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, templateToMarkdown } from '../sdd/index.js';
|
|
18
18
|
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';
|
|
19
|
-
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-
|
|
19
|
+
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-n2L9ohMX.js';
|
|
20
20
|
export { D as DEFAULT_CONTEXT_CONFIG, a as DEFAULT_TOOLS_CONFIG } from '../default-config-DvRSTELf.js';
|
|
21
|
-
import '../logger-
|
|
22
|
-
import '../events-
|
|
21
|
+
import '../logger-DDd5C--Z.js';
|
|
22
|
+
import '../events-D4pGukpI.js';
|
|
23
23
|
import '../memory-CEXuo7sz.js';
|
|
24
|
-
import '../wstack-paths-
|
|
25
|
-
import '../config-
|
|
26
|
-
import '../models-registry-
|
|
24
|
+
import '../wstack-paths-BGu2INTm.js';
|
|
25
|
+
import '../config-Bi4Q0fnz.js';
|
|
26
|
+
import '../models-registry-BcYJDKLm.js';
|
|
27
27
|
import '../secret-vault-DoISxaKO.js';
|
|
28
|
-
import '../secret-scrubber-
|
|
28
|
+
import '../secret-scrubber-nI8qjaqW.js';
|
|
29
29
|
import '../input-reader-E-ffP2ee.js';
|
|
30
|
-
import '../compactor-
|
|
31
|
-
import '../retry-policy-
|
|
32
|
-
import '../index-
|
|
33
|
-
import '../system-prompt-
|
|
30
|
+
import '../compactor-Mw7-rNyb.js';
|
|
31
|
+
import '../retry-policy-OwtKNxo8.js';
|
|
32
|
+
import '../index-BUHs7xJ9.js';
|
|
33
|
+
import '../system-prompt-CWA6ml-d.js';
|
|
34
34
|
import '../observability-BhnVLBLS.js';
|
|
35
|
-
import '../selector-
|
|
35
|
+
import '../selector-DkvgYVS4.js';
|
|
36
36
|
import '../goal-store-HHgaq5ue.js';
|
|
37
37
|
import '../skill-CxuWrsKK.js';
|
|
38
38
|
import 'node:events';
|
|
@@ -105,4 +105,4 @@ declare class DirectorStateCheckpoint {
|
|
|
105
105
|
private persist;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { DirectorStateCheckpoint as D, type DirectorStateSnapshot as a, type DirectorSubagentState as b, type DirectorTaskState as c, loadDirectorState as l };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as Usage, d as Context, X as ToolProgressEvent, Q as Tool } from './context-z2x5gv_V.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* EventBus — observe-only typed event bus.
|
|
@@ -524,4 +524,4 @@ declare class ScopedEventBus extends EventBus {
|
|
|
524
524
|
get scopedListenerCount(): number;
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
export { EventBus as E, type Listener as L, ScopedEventBus as S, type
|
|
527
|
+
export { EventBus as E, type Listener as L, ScopedEventBus as S, type EventLogger as a, type EventMap as b, type EventName as c };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-
|
|
2
|
-
import {
|
|
3
|
-
import { a as Compactor, C as CompactReport } from '../compactor-
|
|
4
|
-
import { M as MessageSelector } from '../selector-
|
|
5
|
-
import { E as EventBus } from '../events-
|
|
6
|
-
import {
|
|
7
|
-
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-
|
|
8
|
-
import {
|
|
9
|
-
import { D as DoneCondition } from '../multi-agent-
|
|
1
|
+
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-Tutu4ePV.js';
|
|
2
|
+
import { m as Provider, d as Context } from '../context-z2x5gv_V.js';
|
|
3
|
+
import { a as Compactor, C as CompactReport } from '../compactor-Mw7-rNyb.js';
|
|
4
|
+
import { M as MessageSelector } from '../selector-DkvgYVS4.js';
|
|
5
|
+
import { E as EventBus } from '../events-D4pGukpI.js';
|
|
6
|
+
import { b as MiddlewareHandler } from '../system-prompt-CWA6ml-d.js';
|
|
7
|
+
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-Bi4Q0fnz.js';
|
|
8
|
+
import { c as Agent, R as RunResult, w as SystemPromptContributor } from '../index-BUHs7xJ9.js';
|
|
9
|
+
import { D as DoneCondition } from '../multi-agent-7OK4pEKW.js';
|
|
10
10
|
import { J as JournalEntry } from '../goal-store-HHgaq5ue.js';
|
|
11
|
-
import { c as AgentFactory, i as DispatchClassifier, g as DefaultMultiAgentCoordinator } from '../multi-agent-coordinator-
|
|
11
|
+
import { c as AgentFactory, i as DispatchClassifier, g as DefaultMultiAgentCoordinator } from '../multi-agent-coordinator-D8PLzfz6.js';
|
|
12
12
|
import { a as SkillLoader, b as SkillManifest, S as SkillEntry } from '../skill-CxuWrsKK.js';
|
|
13
|
-
import {
|
|
14
|
-
import '../retry-policy-
|
|
15
|
-
import '../models-registry-
|
|
16
|
-
import '../logger-
|
|
13
|
+
import { a as WstackPaths } from '../wstack-paths-BGu2INTm.js';
|
|
14
|
+
import '../retry-policy-OwtKNxo8.js';
|
|
15
|
+
import '../models-registry-BcYJDKLm.js';
|
|
16
|
+
import '../logger-DDd5C--Z.js';
|
|
17
17
|
import '../observability-BhnVLBLS.js';
|
|
18
|
-
import '../secret-scrubber-
|
|
18
|
+
import '../secret-scrubber-nI8qjaqW.js';
|
|
19
19
|
import 'node:events';
|
|
20
20
|
|
|
21
21
|
interface SkillLoaderOptions {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../context-
|
|
3
|
-
import '../logger-
|
|
4
|
-
import '../system-prompt-
|
|
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-BUHs7xJ9.js';
|
|
2
|
+
import '../context-z2x5gv_V.js';
|
|
3
|
+
import '../logger-DDd5C--Z.js';
|
|
4
|
+
import '../system-prompt-CWA6ml-d.js';
|
|
5
5
|
import '../observability-BhnVLBLS.js';
|
|
6
|
-
import '../events-
|
|
7
|
-
import '../secret-scrubber-
|
|
8
|
-
import '../config-
|
|
9
|
-
import '../models-registry-
|
|
6
|
+
import '../events-D4pGukpI.js';
|
|
7
|
+
import '../secret-scrubber-nI8qjaqW.js';
|
|
8
|
+
import '../config-Bi4Q0fnz.js';
|
|
9
|
+
import '../models-registry-BcYJDKLm.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Q as Tool, Y as ToolResultBlock, _ as ToolUseBlock, d as Context, T as TextBlock, p as Request, q as Response, m as Provider, a0 as WrongStackError, c as ContentBlock, u as RunOptions, J as JSONSchema } from './context-z2x5gv_V.js';
|
|
2
|
+
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
3
|
+
import { e as Renderer, a as BuildContext, C as Container, P as Pipeline, R as ReadonlyPipeline } from './system-prompt-CWA6ml-d.js';
|
|
4
4
|
import { T as Tracer } from './observability-BhnVLBLS.js';
|
|
5
|
-
import { E as EventBus,
|
|
6
|
-
import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-
|
|
7
|
-
import { l as ProviderConfig, a as Config } from './config-
|
|
8
|
-
import { W as WireFamily } from './models-registry-
|
|
5
|
+
import { E as EventBus, c as EventName, L as Listener } from './events-D4pGukpI.js';
|
|
6
|
+
import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-nI8qjaqW.js';
|
|
7
|
+
import { l as ProviderConfig, a as Config } from './config-Bi4Q0fnz.js';
|
|
8
|
+
import { W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A function that wraps (decorates) an existing tool. Receives the
|
|
@@ -886,4 +886,4 @@ interface Plugin {
|
|
|
886
886
|
}>;
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
-
export {
|
|
889
|
+
export { type AfterIterationHook as A, type BeforeIterationHook as B, type ToolRegistryView as C, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, type ToolWrapper as F, createDefaultPipelines as G, type MCPRegistryView as M, type OnErrorHook as O, type Plugin as P, type RunResult as R, type SessionWriterView as S, type ToolBatchResult as T, type UserInputPayload as U, type AfterRunHook as a, type AfterToolExecutionHook as b, Agent as c, type AgentExtension as d, type AgentInit as e, type AgentInput as f, type AgentPipelines as g, type BeforeRunHook as h, type BeforeToolExecutionHook as i, type MetricsSinkView as j, type PluginAPI as k, type PluginCapabilities as l, type PluginDependency as m, type PluginPipelines as n, type ProviderFactory as o, type ProviderFactory$1 as p, ProviderRegistry as q, type ProviderRegistryView as r, type ProviderRunnerFn as s, type ProviderRunnerWrapper as t, type SlashCommand as u, type SlashCommandRegistryView as v, type SystemPromptContributor as w, type ToolExecutorOptions as x, type ToolExecutorStrategy as y, ToolRegistry as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { S as SystemPromptBuilder,
|
|
2
|
-
export {
|
|
3
|
-
import { E as EventBus,
|
|
4
|
-
export {
|
|
1
|
+
import { S as SystemPromptBuilder, c as ModelCapabilities, a as BuildContext, C as Container } from './system-prompt-CWA6ml-d.js';
|
|
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-CWA6ml-d.js';
|
|
3
|
+
import { E as EventBus, c as EventName, L as Listener } from './events-D4pGukpI.js';
|
|
4
|
+
export { a as EventLogger, b as EventMap, S as ScopedEventBus } from './events-D4pGukpI.js';
|
|
5
5
|
export { RunController, RunControllerOptions, TOKENS } from './kernel/index.js';
|
|
6
|
-
import {
|
|
7
|
-
export { A as AgentError,
|
|
8
|
-
export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-
|
|
9
|
-
import { M as MCPServerConfig, a as Config } from './config-
|
|
10
|
-
export { C as CONTEXT_WINDOW_MODES, b as ConfigLoader, c as ConfigStore, 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, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from './config-
|
|
11
|
-
export { C as CompactReport, a as Compactor } from './compactor-
|
|
12
|
-
export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-
|
|
6
|
+
import { d as Context, m as Provider, Q as Tool, c as ContentBlock, T as TextBlock } from './context-z2x5gv_V.js';
|
|
7
|
+
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-z2x5gv_V.js';
|
|
8
|
+
export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-iST8U3ni.js';
|
|
9
|
+
import { M as MCPServerConfig, a as Config } from './config-Bi4Q0fnz.js';
|
|
10
|
+
export { C as CONTEXT_WINDOW_MODES, b as ConfigLoader, c as ConfigStore, 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, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from './config-Bi4Q0fnz.js';
|
|
11
|
+
export { C as CompactReport, a as Compactor } from './compactor-Mw7-rNyb.js';
|
|
12
|
+
export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-nI8qjaqW.js';
|
|
13
13
|
export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from './session-rewinder-C9HnMkhP.js';
|
|
14
|
-
import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-
|
|
15
|
-
export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-
|
|
14
|
+
import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-DsadjyF9.js';
|
|
15
|
+
export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-DsadjyF9.js';
|
|
16
16
|
export { D as DEFAULT_CONTEXT_CONFIG, a as DEFAULT_TOOLS_CONFIG } from './default-config-DvRSTELf.js';
|
|
17
|
-
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-
|
|
18
|
-
export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-
|
|
19
|
-
export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-
|
|
17
|
+
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-DXkhwuka.js';
|
|
18
|
+
export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-bOzkF5LL.js';
|
|
19
|
+
export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-DPUjF10O.js';
|
|
20
20
|
import { b as MemoryStore } from './memory-CEXuo7sz.js';
|
|
21
21
|
export { M as MemoryEntry, a as MemoryScope } from './memory-CEXuo7sz.js';
|
|
22
|
-
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-
|
|
22
|
+
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-Tutu4ePV.js';
|
|
23
23
|
import { a as SkillLoader } from './skill-CxuWrsKK.js';
|
|
24
24
|
export { S as SkillEntry, b as SkillManifest } from './skill-CxuWrsKK.js';
|
|
25
25
|
export { I as InputReader, P as PromptOption } from './input-reader-E-ffP2ee.js';
|
|
26
|
-
import {
|
|
27
|
-
export {
|
|
28
|
-
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-
|
|
26
|
+
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-BUHs7xJ9.js';
|
|
27
|
+
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-BUHs7xJ9.js';
|
|
28
|
+
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-OG_30xqZ.js';
|
|
29
29
|
import { c as ModeStore } from './mode-CV077NjV.js';
|
|
30
30
|
export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest } from './mode-CV077NjV.js';
|
|
31
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-
|
|
32
|
-
export {
|
|
31
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-hXRN-GO_.js';
|
|
32
|
+
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, i as BudgetUsage, C as CoordinatorEvents, j as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, k as MultiAgentCoordinator, S as SpawnResult, l as SubagentBudget, m as SubagentConfig, n as SubagentContext, o as SubagentError, p as SubagentErrorKind, q as SubagentRunContext, r as SubagentRunOutcome, s as SubagentRunner, T as TaskDelegation, t as TaskResult, u as TaskSpec } from './multi-agent-7OK4pEKW.js';
|
|
33
33
|
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, l as TaskGraph, m as TaskNode, n as TaskPriority, o as TaskProgress, p as TaskSort, q as TaskStatus, r as TaskType, s as computeTaskProgress, t as findCriticalPath, u as topologicalSort } from './task-graph-D1YQbpxF.js';
|
|
34
34
|
export { A as AggregateHealth, H as HealthCheck, a as HealthCheckResult, b as HealthRegistry, c as HealthStatus, M as MetricLabels, d as MetricSeries, e as MetricsSink, f as MetricsSnapshot, S as Span, T as Tracer } from './observability-BhnVLBLS.js';
|
|
35
35
|
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';
|
|
36
|
-
export {
|
|
37
|
-
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-
|
|
38
|
-
export {
|
|
36
|
+
export { W as WstackPathOptions, a as WstackPaths, p as projectHash, r as resolveWstackPaths } from './wstack-paths-BGu2INTm.js';
|
|
37
|
+
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-DWbEIJvV.js';
|
|
38
|
+
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BmYi3DGA.js';
|
|
39
39
|
export { AutoApprovePermissionPolicy, DefaultPermissionPolicy, PermissionPolicyOptions } from './security/index.js';
|
|
40
40
|
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';
|
|
41
41
|
export { DefaultProviderRunner } from './defaults/index.js';
|
|
42
|
-
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-
|
|
43
|
-
export {
|
|
42
|
+
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-Bkk3gafb.js';
|
|
43
|
+
export { A as AgentBudgetTier, a as AgentCapability, b as AgentDefinition, c as AgentFactory, d as AgentFactoryResult, e as AgentPhase, f as AgentRunnerOptions, D as DEFAULT_DISPATCH_ROLE, g as DefaultMultiAgentCoordinator, h as DispatchCandidate, i as DispatchClassifier, j as DispatchMethod, k as DispatchOptions, l as DispatchResult, F as FleetBus, m as FleetEvent, n as FleetHandler, o as FleetUsage, p as FleetUsageAggregator, q as MultiAgentCoordinatorOptions, S as SubagentUsageSnapshot, r as dispatchAgent, s as makeAgentSubagentRunner, t as makeLLMClassifier, u as scoreAgents } from './multi-agent-coordinator-D8PLzfz6.js';
|
|
44
44
|
export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from './models/index.js';
|
|
45
45
|
export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CriticalPathAnalysis, DefaultTaskStore, ExecutionSummary, GeneratedTask, SPEC_TEMPLATES, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskStore, TaskTracker, TaskTrackerOptions, TaskTransition, analyzeCriticalPath, createAutoExecutor, getTemplate, listTemplates, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, templateToMarkdown } from './sdd/index.js';
|
|
46
46
|
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';
|
|
47
|
-
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-
|
|
47
|
+
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-n2L9ohMX.js';
|
|
48
48
|
export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
|
|
49
49
|
export { DefaultSessionRewinder, SessionRewinderOptions } from './storage/index.js';
|
|
50
50
|
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-HHgaq5ue.js';
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
51
|
+
import { a as RetryPolicy, E as ErrorHandler } from './retry-policy-OwtKNxo8.js';
|
|
52
|
+
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
53
|
+
export { L as LogLevel } from './logger-DDd5C--Z.js';
|
|
54
|
+
export { M as ModelsDevPayload, a as ModelsDevProvider, b as ModelsRegistry, R as ResolvedModel, c as ResolvedProvider, W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
55
55
|
export { S as SecretVault } from './secret-vault-DoISxaKO.js';
|
|
56
56
|
import './path-resolver-CPRj4bFY.js';
|
|
57
|
-
import './selector-
|
|
57
|
+
import './selector-DkvgYVS4.js';
|
|
58
58
|
import 'node:events';
|
|
59
59
|
|
|
60
60
|
/**
|
package/dist/index.js
CHANGED
|
@@ -20756,6 +20756,9 @@ var Agent = class {
|
|
|
20756
20756
|
ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
20757
20757
|
content: inputPayload.content
|
|
20758
20758
|
});
|
|
20759
|
+
const promptIndex = this.ctx.messages.filter((m) => m.role === "user").length - 1;
|
|
20760
|
+
const preview = inputPayload.text.slice(0, 80) + (inputPayload.text.length > 80 ? "\u2026" : "");
|
|
20761
|
+
await this.ctx.session.writeCheckpoint(promptIndex, preview);
|
|
20759
20762
|
let finalText = "";
|
|
20760
20763
|
let iterations = 0;
|
|
20761
20764
|
const delegateSummaries = [];
|