@wrongstack/core 0.7.0 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-bridge-CrQpYjM7.d.ts → agent-bridge-hXRN-GO_.d.ts} +1 -1
- package/dist/{compactor-CWV1u-IU.d.ts → compactor-Mw7-rNyb.d.ts} +1 -1
- package/dist/{config-C34JRwl4.d.ts → config-Bi4Q0fnz.d.ts} +2 -2
- package/dist/{context-bmR0YgBm.d.ts → context-z2x5gv_V.d.ts} +5 -1
- package/dist/coordination/index.d.ts +42 -12
- package/dist/coordination/index.js +2522 -33
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +24 -24
- package/dist/defaults/index.js +2783 -228
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-CEKFTmIY.d.ts → events-D4pGukpI.d.ts} +26 -2
- package/dist/execution/index.d.ts +38 -15
- package/dist/execution/index.js +2406 -21
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +8 -8
- package/dist/{index-BJIFLGII.d.ts → index-BUHs7xJ9.d.ts} +8 -8
- package/dist/index.d.ts +40 -32
- package/dist/index.js +2813 -215
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +9 -9
- package/dist/infrastructure/index.js +12 -0
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +11 -11
- package/dist/kernel/index.js +12 -0
- package/dist/kernel/index.js.map +1 -1
- 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-BRJicm5o.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-Cm1wYSrw.d.ts → multi-agent-7OK4pEKW.d.ts} +6 -3
- package/dist/{multi-agent-coordinator-CCupVFqv.d.ts → multi-agent-coordinator-D8PLzfz6.d.ts} +165 -4
- package/dist/{index-CZR0HjxM.d.ts → null-fleet-bus-Bkk3gafb.d.ts} +97 -6
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver-CfT7e_HT.d.ts → path-resolver-DPUjF10O.d.ts} +3 -3
- package/dist/{plan-templates-Q78an-GJ.d.ts → plan-templates-DWbEIJvV.d.ts} +5 -5
- package/dist/{provider-runner-WDj28o7J.d.ts → provider-runner-iST8U3ni.d.ts} +4 -4
- package/dist/{retry-policy-Dpxp4SET.d.ts → retry-policy-OwtKNxo8.d.ts} +2 -2
- package/dist/sdd/index.d.ts +3 -3
- package/dist/{secret-scrubber-CowtdEF8.d.ts → secret-scrubber-DXkhwuka.d.ts} +1 -1
- package/dist/{secret-scrubber-C2YCYtkn.d.ts → secret-scrubber-nI8qjaqW.d.ts} +1 -1
- package/dist/security/index.d.ts +3 -3
- package/dist/{selector-CP39HhCe.d.ts → selector-DkvgYVS4.d.ts} +1 -1
- package/dist/{session-reader-Dwjn4WZR.d.ts → session-reader-DsadjyF9.d.ts} +1 -1
- package/dist/storage/index.d.ts +7 -7
- package/dist/storage/index.js +8 -4
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-CfgXqyv2.d.ts → system-prompt-CWA6ml-d.d.ts} +2 -2
- package/dist/{tool-executor-D5NFi_LV.d.ts → tool-executor-Tutu4ePV.d.ts} +6 -5
- package/dist/types/index.d.ts +19 -19
- package/dist/types/index.js +29 -0
- package/dist/types/index.js.map +1 -1
- 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';
|
|
@@ -1033,9 +1033,13 @@ declare class Context implements RunEnv {
|
|
|
1033
1033
|
registerAbortHook(fn: () => void | Promise<void>): () => void;
|
|
1034
1034
|
drainAbortHooks(): Promise<void>;
|
|
1035
1035
|
recordRead(absPath: string, mtimeMs: number): void;
|
|
1036
|
+
/** Clear accumulated file-read metadata after compaction or at boundaries
|
|
1037
|
+
* where stale read history could cause tools to skip legitimate re-reads.
|
|
1038
|
+
* The agent re-populates this naturally on the next file access. */
|
|
1039
|
+
clearFileTracking(): void;
|
|
1036
1040
|
hasRead(absPath: string): boolean;
|
|
1037
1041
|
lastReadMtime(absPath: string): number | undefined;
|
|
1038
1042
|
usage(): Usage;
|
|
1039
1043
|
}
|
|
1040
1044
|
|
|
1041
|
-
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,15 +1,45 @@
|
|
|
1
|
-
export { A as
|
|
2
|
-
|
|
3
|
-
export { n as
|
|
4
|
-
export {
|
|
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';
|
|
5
7
|
import '../director-state-BmYi3DGA.js';
|
|
6
|
-
import '../
|
|
7
|
-
import '../index-
|
|
8
|
-
import '../logger-
|
|
9
|
-
import '../system-prompt-
|
|
8
|
+
import '../events-D4pGukpI.js';
|
|
9
|
+
import '../index-BUHs7xJ9.js';
|
|
10
|
+
import '../logger-DDd5C--Z.js';
|
|
11
|
+
import '../system-prompt-CWA6ml-d.js';
|
|
10
12
|
import '../observability-BhnVLBLS.js';
|
|
11
|
-
import '../
|
|
12
|
-
import '../
|
|
13
|
-
import '../
|
|
14
|
-
import '../models-registry-Y2xbog0E.js';
|
|
13
|
+
import '../secret-scrubber-nI8qjaqW.js';
|
|
14
|
+
import '../config-Bi4Q0fnz.js';
|
|
15
|
+
import '../models-registry-BcYJDKLm.js';
|
|
15
16
|
import 'node:events';
|
|
17
|
+
|
|
18
|
+
/** Phase 1 · Discovery — map the territory before any work begins. */
|
|
19
|
+
declare const DISCOVERY_AGENTS: AgentDefinition[];
|
|
20
|
+
|
|
21
|
+
/** Phase 2 · Planning — turn intent into requirements, plans, and architecture. */
|
|
22
|
+
declare const PLANNING_AGENTS: AgentDefinition[];
|
|
23
|
+
|
|
24
|
+
/** Phase 3 · Build — write, refactor, migrate, and fix code. */
|
|
25
|
+
declare const BUILD_AGENTS: AgentDefinition[];
|
|
26
|
+
|
|
27
|
+
/** Phase 4 · Verify — prove the code works under normal, end-to-end, and adverse conditions. */
|
|
28
|
+
declare const VERIFY_AGENTS: AgentDefinition[];
|
|
29
|
+
|
|
30
|
+
/** Phase 5 · Review — read-only quality, security, a11y, and compliance gates. */
|
|
31
|
+
declare const REVIEW_AGENTS: AgentDefinition[];
|
|
32
|
+
|
|
33
|
+
/** Phase 6 · Domain — specialists for the major slices of a system. */
|
|
34
|
+
declare const DOMAIN_AGENTS: AgentDefinition[];
|
|
35
|
+
|
|
36
|
+
/** Phase 7 · Knowledge — documentation, diagrams, localization, and prompts. */
|
|
37
|
+
declare const KNOWLEDGE_AGENTS: AgentDefinition[];
|
|
38
|
+
|
|
39
|
+
/** Phase 8 · Delivery & Ops — ship it, run it, keep it healthy. */
|
|
40
|
+
declare const DELIVERY_AGENTS: AgentDefinition[];
|
|
41
|
+
|
|
42
|
+
/** Phase 9 · Meta — agents that improve the agent system itself. */
|
|
43
|
+
declare const META_AGENTS: AgentDefinition[];
|
|
44
|
+
|
|
45
|
+
export { AgentDefinition, BUILD_AGENTS, DELIVERY_AGENTS, DISCOVERY_AGENTS, DOMAIN_AGENTS, KNOWLEDGE_AGENTS, META_AGENTS, PLANNING_AGENTS, REVIEW_AGENTS, VERIFY_AGENTS };
|