@wrongstack/core 0.148.0 → 0.236.0
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-r9y6gdn4.d.ts → agent-bridge-Cimv7bK7.d.ts} +1 -1
- package/dist/{agent-subagent-runner-1GeQE_L0.d.ts → agent-subagent-runner-C658wj_c.d.ts} +9 -8
- package/dist/{brain-Cp_3GIS2.d.ts → brain-sCZ3lCjq.d.ts} +28 -2
- package/dist/{compactor-BueGt7LG.d.ts → compactor-BRfg3QPd.d.ts} +1 -1
- package/dist/{config-BaVThgnT.d.ts → config-Koq6f3fs.d.ts} +2 -2
- package/dist/{context-C7G_MtLV.d.ts → context-CLz3z_E8.d.ts} +126 -2
- package/dist/coordination/index.d.ts +70 -13
- package/dist/coordination/index.js +2126 -151
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +27 -27
- package/dist/defaults/index.js +1328 -354
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +45 -16
- package/dist/execution/index.js +367 -59
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/prompt-enhancer.d.ts +86 -0
- package/dist/execution/prompt-enhancer.js +125 -0
- package/dist/execution/prompt-enhancer.js.map +1 -0
- package/dist/extension/index.d.ts +6 -6
- package/dist/extension/index.js +3 -1
- package/dist/extension/index.js.map +1 -1
- package/dist/{goal-preamble-CYJLg0wk.d.ts → goal-preamble-CnbzyVvl.d.ts} +19 -10
- package/dist/{index-BZdezm3g.d.ts → index-BlMqh5GO.d.ts} +8 -8
- package/dist/{index-CPweVoFM.d.ts → index-C2eSNPsB.d.ts} +7 -5
- package/dist/index.d.ts +439 -129
- package/dist/index.js +5206 -905
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +7 -7
- package/dist/infrastructure/index.js +72 -15
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +9 -9
- package/dist/kernel/index.js +7 -1
- package/dist/kernel/index.js.map +1 -1
- package/dist/{llm-selector-CP72f1lC.d.ts → llm-selector-D22R4AFz.d.ts} +2 -2
- package/dist/logger-DmmQhf4P.d.ts +65 -0
- package/dist/{mcp-servers-Bl5LTvQg.d.ts → mcp-servers-DFbirBv6.d.ts} +11 -4
- package/dist/models/index.d.ts +5 -5
- package/dist/models/index.js +89 -9
- package/dist/models/index.js.map +1 -1
- package/dist/{models-registry-D90K9UnM.d.ts → models-registry-CnJRjTXc.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-QWEzJDlm.d.ts → multi-agent-coordinator-60weDZoA.d.ts} +8 -8
- package/dist/{null-fleet-bus-BUyfqh23.d.ts → null-fleet-bus-1068dEnr.d.ts} +7 -7
- package/dist/observability/index.d.ts +2 -2
- package/dist/package-outdated-watcher-pzJ5w7y8.d.ts +560 -0
- package/dist/{parallel-eternal-engine-C75QuhAI.d.ts → parallel-eternal-engine-DtG1fjc9.d.ts} +13 -9
- package/dist/{path-resolver-DRjQBkoO.d.ts → path-resolver-CA1ULU0J.d.ts} +3 -3
- package/dist/{permission-B7nKnEvQ.d.ts → permission-DbWPbuoA.d.ts} +1 -1
- package/dist/{permission-policy-8-6zBmfA.d.ts → permission-policy-AOk0LVsV.d.ts} +2 -2
- package/dist/pipeline-DsmlwTXu.d.ts +493 -0
- package/dist/{plan-templates-CkKNPU3I.d.ts → plan-templates-DPABrDvy.d.ts} +19 -8
- package/dist/{provider-runner-BNpuIyOL.d.ts → provider-runner-D0HgUqwV.d.ts} +3 -3
- package/dist/{retry-policy-rutAfVeR.d.ts → retry-policy-BVnkbMET.d.ts} +1 -1
- package/dist/sdd/index.d.ts +8 -8
- package/dist/sdd/index.js +358 -85
- package/dist/sdd/index.js.map +1 -1
- package/dist/{secret-vault-DoISxaKO.d.ts → secret-vault-BJDY28ev.d.ts} +7 -1
- package/dist/{secret-vault-BTcC_T5v.d.ts → secret-vault-CeVNiy_f.d.ts} +4 -3
- package/dist/security/index.d.ts +6 -5
- package/dist/security/index.js +214 -35
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-4vDFZKt3.d.ts → selector-Cb4_9-hf.d.ts} +1 -1
- package/dist/{session-event-bridge-DWlvglC2.d.ts → session-event-bridge-BhtkkFFy.d.ts} +4 -2
- package/dist/{session-reader-BAtCxdaw.d.ts → session-reader-CCOssnBS.d.ts} +1 -1
- package/dist/skills/index.js +171 -21
- package/dist/skills/index.js.map +1 -1
- package/dist/storage/index.d.ts +151 -13
- package/dist/storage/index.js +1117 -256
- package/dist/storage/index.js.map +1 -1
- package/dist/types/index.d.ts +68 -21
- package/dist/types/index.js +616 -74
- package/dist/types/index.js.map +1 -1
- package/dist/utils/expect-defined.js +3 -1
- package/dist/utils/expect-defined.js.map +1 -1
- package/dist/utils/index.d.ts +80 -4
- package/dist/utils/index.js +100 -15
- package/dist/utils/index.js.map +1 -1
- package/dist/{wstack-paths-DD50Omgn.d.ts → wstack-paths-CJjEwPXn.d.ts} +14 -1
- package/package.json +7 -3
- package/skills/chimera/SKILL.md +105 -0
- package/skills/research-web/SKILL.md +342 -0
- package/dist/logger-B9J5puGM.d.ts +0 -32
- package/dist/pipeline-BG7UgbDc.d.ts +0 -239
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { C as CompactorOptions,
|
|
2
|
-
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from '../goal-preamble-
|
|
3
|
-
import { P as Provider } from '../context-
|
|
4
|
-
import {
|
|
5
|
-
import '../retry-policy-
|
|
6
|
-
import '../compactor-
|
|
7
|
-
import '../config-
|
|
8
|
-
import '../index-
|
|
1
|
+
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, E as EternalAutonomyEngine, c as EternalAutonomyOptions, d as EternalEngineState, H as HybridCompactor, I as IterationStage, P as ParallelEngineState, e as ParallelEternalEngine, f as ParallelEternalOptions, g as ParallelIterationStage, T as ToolExecutor } from '../parallel-eternal-engine-DtG1fjc9.js';
|
|
2
|
+
export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorStrategy, D as DefaultSkillLoader, d as DoneCheckResult, e as DoneConditionChecker, I as IntelligentCompactor, f as IntelligentCompactorOptions, S as SelectiveCompactor, g as SelectiveCompactorOptions, h as SkillLoaderOptions, i as StrategyCompactorOptions, j as buildGoalPreamble, k as createStrategyCompactor, m as makeAutonomyPromptContributor } from '../goal-preamble-CnbzyVvl.js';
|
|
3
|
+
import { P as Provider } from '../context-CLz3z_E8.js';
|
|
4
|
+
import { b as BrainDecision, e as BrainDecisionRequest, B as BrainArbiter } from '../brain-sCZ3lCjq.js';
|
|
5
|
+
import '../retry-policy-BVnkbMET.js';
|
|
6
|
+
import '../compactor-BRfg3QPd.js';
|
|
7
|
+
import '../config-Koq6f3fs.js';
|
|
8
|
+
import '../index-C2eSNPsB.js';
|
|
9
9
|
import '../logger-B63L5bTg.js';
|
|
10
|
-
import '../pipeline-
|
|
10
|
+
import '../pipeline-DsmlwTXu.js';
|
|
11
11
|
import '../observability-D-HZN_mF.js';
|
|
12
|
-
import '../permission-
|
|
13
|
-
import '../agent-subagent-runner-
|
|
12
|
+
import '../permission-DbWPbuoA.js';
|
|
13
|
+
import '../agent-subagent-runner-C658wj_c.js';
|
|
14
14
|
import '../goal-store-CV9Yz2X_.js';
|
|
15
|
-
import '../multi-agent-coordinator-
|
|
15
|
+
import '../multi-agent-coordinator-60weDZoA.js';
|
|
16
16
|
import 'node:events';
|
|
17
17
|
import '../skill-Bj6Ezqb8.js';
|
|
18
|
-
import '../wstack-paths-
|
|
19
|
-
import '../selector-
|
|
20
|
-
import '../session-event-bridge-
|
|
18
|
+
import '../wstack-paths-CJjEwPXn.js';
|
|
19
|
+
import '../selector-Cb4_9-hf.js';
|
|
20
|
+
import '../session-event-bridge-BhtkkFFy.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* AutonomyBrain — a self-driving decision layer for autonomous workflows.
|
|
@@ -69,6 +69,35 @@ interface AutonomyBrainOptions {
|
|
|
69
69
|
*/
|
|
70
70
|
onDecision?: ((summary: string, decision: BrainDecision, request: BrainDecisionRequest) => void) | undefined;
|
|
71
71
|
}
|
|
72
|
+
/** Runtime-adjustable autonomy ceiling for the tiered brain. */
|
|
73
|
+
type BrainAutoRisk = 'off' | 'low' | 'medium' | 'high' | 'all';
|
|
74
|
+
interface TieredBrainArbiterOptions {
|
|
75
|
+
/** Fast deterministic policy layer (DefaultBrainArbiter). Consulted first. */
|
|
76
|
+
policy: BrainArbiter;
|
|
77
|
+
/** LLM-backed autonomous layer (createAutonomyBrain). Consulted when the
|
|
78
|
+
* policy layer would escalate to the human and the request's risk is
|
|
79
|
+
* within the live ceiling. */
|
|
80
|
+
autonomous?: BrainArbiter | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Live autonomy ceiling — read on EVERY decision so `/brain risk <level>`
|
|
83
|
+
* changes take effect immediately. 'off' disables the autonomous layer
|
|
84
|
+
* entirely (everything the policy can't answer goes to the human).
|
|
85
|
+
*/
|
|
86
|
+
getMaxAutoRisk?: (() => BrainAutoRisk) | undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The standard Brain positioning: policy first, LLM second, human last.
|
|
90
|
+
*
|
|
91
|
+
* 1. POLICY — deterministic DefaultBrainArbiter (low-risk fast path,
|
|
92
|
+
* fallback semantics). Answers and denies pass through untouched.
|
|
93
|
+
* 2. LLM — when the policy says `ask_human` and the request's risk is
|
|
94
|
+
* within the live ceiling, the autonomous brain gets a chance to
|
|
95
|
+
* answer. Only a real `answer` short-circuits; LLM denials/failures
|
|
96
|
+
* fall through.
|
|
97
|
+
* 3. HUMAN — anything left escalates (callers wrap this in
|
|
98
|
+
* HumanEscalatingBrainArbiter so `ask_human` becomes a real prompt).
|
|
99
|
+
*/
|
|
100
|
+
declare function createTieredBrainArbiter(opts: TieredBrainArbiterOptions): BrainArbiter;
|
|
72
101
|
/**
|
|
73
102
|
* Create a self-driving brain that makes autonomous decisions.
|
|
74
103
|
* Never asks the human — within its risk boundary it answers, above it denies.
|
|
@@ -79,4 +108,4 @@ declare function createAutonomyBrain(opts: AutonomyBrainOptions): BrainArbiter;
|
|
|
79
108
|
*/
|
|
80
109
|
declare function formatDecisionSummary(decision: BrainDecision, request: BrainDecisionRequest): string;
|
|
81
110
|
|
|
82
|
-
export { type AutonomyBrainOptions, createAutonomyBrain, formatDecisionSummary };
|
|
111
|
+
export { type AutonomyBrainOptions, type BrainAutoRisk, type TieredBrainArbiterOptions, createAutonomyBrain, createTieredBrainArbiter, formatDecisionSummary };
|