@wrongstack/core 0.3.4 → 0.3.7
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-C3DUGjSb.d.ts → agent-bridge-DaOnnHNW.d.ts} +1 -1
- package/dist/{compactor-DpJBI1YH.d.ts → compactor-CFky6JKM.d.ts} +1 -1
- package/dist/{config-DgE3JslD.d.ts → config-RlhKLjme.d.ts} +1 -1
- package/dist/{context-IovtuTf8.d.ts → context-B1kBj1lY.d.ts} +4 -3
- package/dist/coordination/index.d.ts +10 -10
- package/dist/coordination/index.js +12 -1
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +16 -16
- package/dist/defaults/index.js +119 -6
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-BHIQs4o1.d.ts → events-BBaKeMfb.d.ts} +11 -1
- package/dist/execution/index.d.ts +11 -11
- package/dist/execution/index.js +9 -0
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +6 -6
- package/dist/{index-DedY4Euf.d.ts → index-meJRuQtc.d.ts} +20 -5
- package/dist/index.d.ts +25 -25
- package/dist/index.js +211 -27
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +6 -6
- package/dist/kernel/index.d.ts +9 -9
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-zGiC1lQc.d.ts → mcp-servers-Cf4-bJnd.d.ts} +3 -3
- package/dist/models/index.d.ts +2 -2
- package/dist/{multi-agent-B9a6sflH.d.ts → multi-agent-D5m66hzB.d.ts} +1 -1
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver--59rCou3.d.ts → path-resolver-Bg4OP5fi.d.ts} +2 -2
- package/dist/{provider-runner-B39miKRw.d.ts → provider-runner-CU9gnU2E.d.ts} +3 -3
- package/dist/sdd/index.d.ts +3 -3
- package/dist/secret-scrubber-DyUAWS09.d.ts +54 -0
- package/dist/{secret-scrubber-Cuy5afaQ.d.ts → secret-scrubber-Dyh5LVYL.d.ts} +1 -1
- package/dist/security/index.d.ts +58 -5
- package/dist/security/index.js +90 -5
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-wT2fv9Fg.d.ts → selector-DBEiwXBk.d.ts} +1 -1
- package/dist/{session-reader-CcPi4BQ8.d.ts → session-reader-D-z0AgHs.d.ts} +1 -1
- package/dist/{skill-C_7znCIC.d.ts → skill-DayhFUBb.d.ts} +1 -1
- package/dist/storage/index.d.ts +5 -5
- package/dist/storage/index.js +12 -0
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-Dk1qm8ey.d.ts → system-prompt-DNetCecu.d.ts} +1 -1
- package/dist/{tool-executor-DY0iSXYf.d.ts → tool-executor-B5bgmEgE.d.ts} +12 -5
- package/dist/types/index.d.ts +15 -15
- package/dist/types/index.js +16 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/secret-scrubber-CgG2tV2B.d.ts +0 -31
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as Usage, a0 as Context, y as ToolProgressEvent, u as Tool } from './context-
|
|
1
|
+
import { U as Usage, a0 as Context, y as ToolProgressEvent, u as Tool } from './context-B1kBj1lY.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* EventBus — observe-only typed event bus.
|
|
@@ -109,6 +109,16 @@ interface EventMap {
|
|
|
109
109
|
suggestedPattern: string;
|
|
110
110
|
resolve: (decision: 'yes' | 'no' | 'always' | 'deny') => void;
|
|
111
111
|
};
|
|
112
|
+
/**
|
|
113
|
+
* Fired after the user chooses 'always' or 'deny' on a confirmation prompt.
|
|
114
|
+
* The TUI can use this to show a brief notification that the decision was
|
|
115
|
+
* persisted to the trust file (e.g. "✓ always allowed popo.txt" / "✗ denied popo.txt").
|
|
116
|
+
*/
|
|
117
|
+
'trust.persisted': {
|
|
118
|
+
tool: string;
|
|
119
|
+
pattern: string;
|
|
120
|
+
decision: 'always' | 'deny';
|
|
121
|
+
};
|
|
112
122
|
/**
|
|
113
123
|
* `output` is a truncated preview of the tool's serialized result text
|
|
114
124
|
* (capped at ~400 chars by the emitter). UIs render this inline in the
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-
|
|
2
|
-
import { g as Provider, a0 as Context } from '../context-
|
|
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 { c as MiddlewareHandler } from '../system-prompt-
|
|
7
|
-
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-
|
|
8
|
-
import { r as Agent, R as RunResult } from '../index-
|
|
9
|
-
import { D as DoneCondition } from '../multi-agent-
|
|
10
|
-
import { a as SkillLoader, b as SkillManifest, S as SkillEntry } from '../skill-
|
|
1
|
+
export { C as CompactorOptions, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, T as ToolExecutor } from '../tool-executor-B5bgmEgE.js';
|
|
2
|
+
import { g as Provider, a0 as Context } from '../context-B1kBj1lY.js';
|
|
3
|
+
import { a as Compactor, C as CompactReport } from '../compactor-CFky6JKM.js';
|
|
4
|
+
import { M as MessageSelector } from '../selector-DBEiwXBk.js';
|
|
5
|
+
import { E as EventBus } from '../events-BBaKeMfb.js';
|
|
6
|
+
import { c as MiddlewareHandler } from '../system-prompt-DNetCecu.js';
|
|
7
|
+
import { e as ContextWindowAggressiveOn, i as ContextWindowPolicy } from '../config-RlhKLjme.js';
|
|
8
|
+
import { r as Agent, R as RunResult } from '../index-meJRuQtc.js';
|
|
9
|
+
import { D as DoneCondition } from '../multi-agent-D5m66hzB.js';
|
|
10
|
+
import { a as SkillLoader, b as SkillManifest, S as SkillEntry } from '../skill-DayhFUBb.js';
|
|
11
11
|
import { a as WstackPaths } from '../wstack-paths-BGu2INTm.js';
|
|
12
12
|
import '../models-registry-Y2xbog0E.js';
|
|
13
13
|
import '../logger-BMQgxvdy.js';
|
|
14
14
|
import '../observability-BhnVLBLS.js';
|
|
15
|
-
import '../secret-scrubber-
|
|
15
|
+
import '../secret-scrubber-DyUAWS09.js';
|
|
16
16
|
|
|
17
17
|
interface SkillLoaderOptions {
|
|
18
18
|
paths: WstackPaths;
|
package/dist/execution/index.js
CHANGED
|
@@ -1070,6 +1070,15 @@ var ToolExecutor = class {
|
|
|
1070
1070
|
opts;
|
|
1071
1071
|
serializer;
|
|
1072
1072
|
iterationTimeoutMs;
|
|
1073
|
+
/**
|
|
1074
|
+
* Clear the interactive confirm awaiter so the executor returns
|
|
1075
|
+
* `ToolConfirmPendingResult` instead of blocking on stdin. Used by
|
|
1076
|
+
* the CLI to switch from inline prompts (REPL) to event-driven
|
|
1077
|
+
* confirmation (TUI) at runtime.
|
|
1078
|
+
*/
|
|
1079
|
+
clearConfirmAwaiter() {
|
|
1080
|
+
this.opts.confirmAwaiter = void 0;
|
|
1081
|
+
}
|
|
1073
1082
|
/**
|
|
1074
1083
|
* Execute a batch of tool uses using the configured strategy.
|
|
1075
1084
|
* Returns the execution results and the remaining output budget.
|