@wrongstack/core 0.7.0 → 0.7.2

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.
Files changed (52) hide show
  1. package/dist/{agent-bridge-CrQpYjM7.d.ts → agent-bridge-Bji75Iv9.d.ts} +1 -1
  2. package/dist/{compactor-CWV1u-IU.d.ts → compactor-BFKGzKd5.d.ts} +1 -1
  3. package/dist/{config-C34JRwl4.d.ts → config-BXAhlqJb.d.ts} +1 -1
  4. package/dist/{context-bmR0YgBm.d.ts → context-BwxhvyW8.d.ts} +4 -0
  5. package/dist/coordination/index.d.ts +41 -11
  6. package/dist/coordination/index.js +2522 -33
  7. package/dist/coordination/index.js.map +1 -1
  8. package/dist/defaults/index.d.ts +20 -20
  9. package/dist/defaults/index.js +2783 -228
  10. package/dist/defaults/index.js.map +1 -1
  11. package/dist/{director-state-BmYi3DGA.d.ts → director-state-BUB7JRUr.d.ts} +1 -1
  12. package/dist/{events-CEKFTmIY.d.ts → events-AjrvHJ9V.d.ts} +25 -1
  13. package/dist/execution/index.d.ts +35 -12
  14. package/dist/execution/index.js +2406 -21
  15. package/dist/execution/index.js.map +1 -1
  16. package/dist/extension/index.d.ts +6 -6
  17. package/dist/{index-BJIFLGII.d.ts → index-B2WWETRP.d.ts} +6 -6
  18. package/dist/index.d.ts +35 -27
  19. package/dist/index.js +2810 -215
  20. package/dist/index.js.map +1 -1
  21. package/dist/infrastructure/index.d.ts +6 -6
  22. package/dist/infrastructure/index.js +12 -0
  23. package/dist/infrastructure/index.js.map +1 -1
  24. package/dist/kernel/index.d.ts +9 -9
  25. package/dist/kernel/index.js +12 -0
  26. package/dist/kernel/index.js.map +1 -1
  27. package/dist/{mcp-servers-BRJicm5o.d.ts → mcp-servers-BDM2Leff.d.ts} +3 -3
  28. package/dist/models/index.d.ts +2 -2
  29. package/dist/{multi-agent-Cm1wYSrw.d.ts → multi-agent-DenFfUv5.d.ts} +6 -3
  30. package/dist/{multi-agent-coordinator-CCupVFqv.d.ts → multi-agent-coordinator-DGUn-5Bb.d.ts} +165 -4
  31. package/dist/{index-CZR0HjxM.d.ts → null-fleet-bus-DJMbqYhL.d.ts} +98 -7
  32. package/dist/observability/index.d.ts +2 -2
  33. package/dist/{path-resolver-CfT7e_HT.d.ts → path-resolver-C1NM67-u.d.ts} +2 -2
  34. package/dist/{plan-templates-Q78an-GJ.d.ts → plan-templates-CNY6f82B.d.ts} +4 -4
  35. package/dist/{provider-runner-WDj28o7J.d.ts → provider-runner-Cmuevptw.d.ts} +3 -3
  36. package/dist/{retry-policy-Dpxp4SET.d.ts → retry-policy-mEBn5qpv.d.ts} +1 -1
  37. package/dist/sdd/index.d.ts +3 -3
  38. package/dist/{secret-scrubber-CowtdEF8.d.ts → secret-scrubber-BmiGszvl.d.ts} +1 -1
  39. package/dist/{secret-scrubber-C2YCYtkn.d.ts → secret-scrubber-bZ5AyhwJ.d.ts} +1 -1
  40. package/dist/security/index.d.ts +3 -3
  41. package/dist/{selector-CP39HhCe.d.ts → selector-BmUma5iG.d.ts} +1 -1
  42. package/dist/{session-reader-Dwjn4WZR.d.ts → session-reader-g-FKCyBw.d.ts} +1 -1
  43. package/dist/storage/index.d.ts +6 -6
  44. package/dist/storage/index.js +8 -4
  45. package/dist/storage/index.js.map +1 -1
  46. package/dist/{system-prompt-CfgXqyv2.d.ts → system-prompt-BKrzd_ci.d.ts} +1 -1
  47. package/dist/{tool-executor-D5NFi_LV.d.ts → tool-executor-BoM0U0qn.d.ts} +5 -4
  48. package/dist/types/index.d.ts +15 -15
  49. package/dist/types/index.js +29 -0
  50. package/dist/types/index.js.map +1 -1
  51. package/dist/utils/index.d.ts +1 -1
  52. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { B as BridgeTransport, l as BridgeMessage, A as AgentBridge, m as AgentBridgeConfig } from './multi-agent-Cm1wYSrw.js';
1
+ import { B as BridgeTransport, l as BridgeMessage, A as AgentBridge, m as AgentBridgeConfig } from './multi-agent-DenFfUv5.js';
2
2
 
3
3
  /**
4
4
  * In-memory pub/sub transport for agent-to-agent messaging.
@@ -1,4 +1,4 @@
1
- import { a5 as Context } from './context-bmR0YgBm.js';
1
+ import { a5 as Context } from './context-BwxhvyW8.js';
2
2
 
3
3
  interface CompactRepairReport {
4
4
  removedToolUses: string[];
@@ -1,5 +1,5 @@
1
1
  import { W as WireFamily } from './models-registry-Y2xbog0E.js';
2
- import { P as Permission } from './context-bmR0YgBm.js';
2
+ import { P as Permission } from './context-BwxhvyW8.js';
3
3
 
4
4
  type ContextWindowModeId = 'balanced' | 'frugal' | 'deep' | 'archival';
5
5
  type ContextWindowAggressiveOn = 'hard' | 'soft' | 'warn';
@@ -1033,6 +1033,10 @@ 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;
@@ -1,15 +1,45 @@
1
- export { A as ALL_FLEET_AGENTS, a as AUDIT_LOG_AGENT, B as BUG_HUNTER_AGENT, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, b as DEFAULT_SUBAGENT_BASELINE, c as DelegateHost, d as Director, e as DirectorPromptParts, f as DirectorSessionFactory, g as DirectorSessionFactoryOptions, F as FLEET_ROSTER, t as FleetCostCapError, i as FleetManager, j as FleetManagerOptions, k as FleetSpawnBudgetError, I as ICoordinator, l as IFleetManager, N as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, m as SubagentPromptParts, o as composeDirectorPrompt, p as composeSubagentPrompt, q as createDelegateTool, r as makeDirectorSessionFactory, s as rosterSummaryFromConfigs } from '../index-CZR0HjxM.js';
2
- export { A as AgentFactory, a as AgentFactoryResult, b as AgentRunnerOptions, D as DefaultMultiAgentCoordinator, F as FleetBus, c as FleetEvent, d as FleetHandler, e as FleetUsage, f as FleetUsageAggregator, M as MultiAgentCoordinatorOptions, S as SubagentUsageSnapshot, m as makeAgentSubagentRunner } from '../multi-agent-coordinator-CCupVFqv.js';
3
- export { n as BudgetExceededError, o as BudgetKind, p as BudgetLimits, s as BudgetThresholdDecision, t as BudgetThresholdHandler, u as BudgetThresholdSignal, q as BudgetUsage, r as SubagentBudget } from '../multi-agent-Cm1wYSrw.js';
4
- export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-CrQpYjM7.js';
5
- import '../director-state-BmYi3DGA.js';
6
- import '../context-bmR0YgBm.js';
7
- import '../index-BJIFLGII.js';
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-DJMbqYhL.js';
2
+ import { A as AgentDefinition } from '../multi-agent-coordinator-DGUn-5Bb.js';
3
+ export { T as AGENT_TOOL_PRESETS, a as AgentBudgetTier, b 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-DGUn-5Bb.js';
4
+ export { n as BudgetExceededError, o as BudgetKind, p as BudgetLimits, q as BudgetThresholdDecision, r as BudgetThresholdHandler, s as BudgetThresholdSignal, t as BudgetUsage, u as SubagentBudget } from '../multi-agent-DenFfUv5.js';
5
+ export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-Bji75Iv9.js';
6
+ import '../context-BwxhvyW8.js';
7
+ import '../director-state-BUB7JRUr.js';
8
+ import '../events-AjrvHJ9V.js';
9
+ import '../index-B2WWETRP.js';
8
10
  import '../logger-BMQgxvdy.js';
9
- import '../system-prompt-CfgXqyv2.js';
11
+ import '../system-prompt-BKrzd_ci.js';
10
12
  import '../observability-BhnVLBLS.js';
11
- import '../events-CEKFTmIY.js';
12
- import '../secret-scrubber-C2YCYtkn.js';
13
- import '../config-C34JRwl4.js';
13
+ import '../secret-scrubber-bZ5AyhwJ.js';
14
+ import '../config-BXAhlqJb.js';
14
15
  import '../models-registry-Y2xbog0E.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 };