@harness-kernel/core 0.2.0 → 0.3.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/context.d.ts +2 -3
- package/dist/agent/context.js +1 -1
- package/dist/agent/event.d.ts +3 -2
- package/dist/agent/event.js +6 -2
- package/dist/agent/hook.d.ts +3 -4
- package/dist/agent/hook.js +1 -1
- package/dist/agent/mode.d.ts +2 -3
- package/dist/agent/mode.js +1 -1
- package/dist/agent/role.js +1 -1
- package/dist/agent/session.d.ts +3 -4
- package/dist/agent/session.js +8 -2
- package/dist/agent/tool.d.ts +39 -3
- package/dist/agent/tool.js +8 -2
- package/dist/agent.d.ts +6 -6
- package/dist/{approval-D_G2w-fW.d.ts → approval-Ch0LwJFM.d.ts} +18 -13
- package/dist/chunk-2NQ3JL7K.js +502 -0
- package/dist/chunk-2NQ3JL7K.js.map +1 -0
- package/dist/{chunk-JIJHGB6H.js → chunk-3QOAFCCZ.js} +24 -2
- package/dist/chunk-3QOAFCCZ.js.map +1 -0
- package/dist/chunk-NCSQEUQC.js +37 -0
- package/dist/chunk-NCSQEUQC.js.map +1 -0
- package/dist/{chunk-B4Q6CPYO.js → chunk-TCHZYK5Y.js} +3 -1
- package/dist/{chunk-B4Q6CPYO.js.map → chunk-TCHZYK5Y.js.map} +1 -1
- package/dist/{chunk-37PIMSLG.js → chunk-UKXJIKED.js} +365 -136
- package/dist/chunk-UKXJIKED.js.map +1 -0
- package/dist/{context-BfpLqV11.d.ts → context-Bz9C_rL9.d.ts} +88 -3
- package/dist/errors-DHHy8V3O.d.ts +6 -0
- package/dist/errors-hpkW3tfR.d.ts +112 -0
- package/dist/{event-CKV4EeZ3.d.ts → event-DMBY-R6h.d.ts} +33 -4
- package/dist/{hook-CfBbhUQf.d.ts → hook-DD7uuzE3.d.ts} +2 -2
- package/dist/index.d.ts +21 -15
- package/dist/index.js +19 -6
- package/dist/metrics-DMN8bfY6.d.ts +23 -0
- package/dist/{model-provider-Ch7tzk1x.d.ts → model-provider-DGkLQJWP.d.ts} +6 -4
- package/dist/runner/approval.d.ts +7 -7
- package/dist/runner/event.d.ts +3 -2
- package/dist/runner/event.js +6 -2
- package/dist/runner/logging.d.ts +7 -3
- package/dist/runner/logging.js +11 -1
- package/dist/runner/model-provider.d.ts +6 -6
- package/dist/runner/storage.d.ts +181 -4
- package/dist/{runner-BzEf0lAV.d.ts → runner-CZHeMHKV.d.ts} +8 -5
- package/dist/runner.d.ts +9 -8
- package/dist/runner.js +11 -5
- package/package.json +2 -2
- package/dist/chunk-37PIMSLG.js.map +0 -1
- package/dist/chunk-JIJHGB6H.js.map +0 -1
- package/dist/chunk-Q44U2CMM.js +0 -239
- package/dist/chunk-Q44U2CMM.js.map +0 -1
- package/dist/events-D4xcDi53.d.ts +0 -69
- package/dist/storage-DCZE_hES.d.ts +0 -200
- package/dist/tool-errors-CygY1Nba.d.ts +0 -27
- package/dist/types-BPmsw-mF.d.ts +0 -80
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { H as HarnessModelProvider, d as HarnessModelProviderRegistry, M as ModelInfo, e as ModelProviderInfo, f as ModelProviderPreparedContext, g as ModelProviderRunInput, h as ModelProviderRunResult, R as ResolvedModelProvider, m as modelProviderId, p as parseModelRef } from '../model-provider-
|
|
2
|
-
import '../
|
|
3
|
-
import '../context-
|
|
1
|
+
export { H as HarnessModelProvider, d as HarnessModelProviderRegistry, M as ModelInfo, e as ModelProviderInfo, f as ModelProviderPreparedContext, g as ModelProviderRunInput, h as ModelProviderRunResult, R as ResolvedModelProvider, m as modelProviderId, p as parseModelRef } from '../model-provider-DGkLQJWP.js';
|
|
2
|
+
import '../errors-hpkW3tfR.js';
|
|
3
|
+
import '../context-Bz9C_rL9.js';
|
|
4
4
|
import '../role-BN6KhQxx.js';
|
|
5
|
-
import '../types-BPmsw-mF.js';
|
|
6
5
|
import './sandbox.js';
|
|
7
|
-
import '
|
|
8
|
-
import '../
|
|
6
|
+
import './storage.js';
|
|
7
|
+
import '../metrics-DMN8bfY6.js';
|
|
8
|
+
import '../hook-DD7uuzE3.js';
|
package/dist/runner/storage.d.ts
CHANGED
|
@@ -1,6 +1,183 @@
|
|
|
1
|
-
|
|
2
|
-
import '../
|
|
3
|
-
import '../
|
|
1
|
+
import { k as HarnessEventRecord, E as EventCursor } from '../errors-hpkW3tfR.js';
|
|
2
|
+
import { h as AgentMessage, a5 as HarnessSnapshot, ao as TranscriptCursor, an as TranscriptBranch, M as ContextSnapshot } from '../context-Bz9C_rL9.js';
|
|
3
|
+
import { R as RunMetrics } from '../metrics-DMN8bfY6.js';
|
|
4
4
|
import '../role-BN6KhQxx.js';
|
|
5
|
-
import '../types-BPmsw-mF.js';
|
|
6
5
|
import './sandbox.js';
|
|
6
|
+
|
|
7
|
+
interface RunCursorState {
|
|
8
|
+
transcriptCursor: TranscriptCursor;
|
|
9
|
+
eventCursor: EventCursor;
|
|
10
|
+
branches?: TranscriptBranch[];
|
|
11
|
+
}
|
|
12
|
+
interface OpenRunStoreInput {
|
|
13
|
+
runId: string;
|
|
14
|
+
sessionId: string;
|
|
15
|
+
agentKey: string;
|
|
16
|
+
outputDir?: string;
|
|
17
|
+
}
|
|
18
|
+
interface HarnessSessionSummary {
|
|
19
|
+
sessionId: string;
|
|
20
|
+
agentKey: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
lastActiveAt: string;
|
|
23
|
+
mode: string;
|
|
24
|
+
latestRunId?: string;
|
|
25
|
+
metadata?: Record<string, unknown>;
|
|
26
|
+
}
|
|
27
|
+
interface SessionListQuery {
|
|
28
|
+
agentKey?: string;
|
|
29
|
+
active?: boolean;
|
|
30
|
+
limit?: number;
|
|
31
|
+
cursor?: string;
|
|
32
|
+
}
|
|
33
|
+
interface SessionListResult {
|
|
34
|
+
items: HarnessSessionSummary[];
|
|
35
|
+
nextCursor?: string;
|
|
36
|
+
}
|
|
37
|
+
interface StoredRunSummary {
|
|
38
|
+
runId: string;
|
|
39
|
+
sessionId: string;
|
|
40
|
+
agentKey: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
mode: string;
|
|
43
|
+
outputDir?: string;
|
|
44
|
+
metadata?: Record<string, unknown>;
|
|
45
|
+
}
|
|
46
|
+
interface CreateStoredSessionInput {
|
|
47
|
+
sessionId: string;
|
|
48
|
+
agentKey: string;
|
|
49
|
+
createdAt?: string;
|
|
50
|
+
lastActiveAt?: string;
|
|
51
|
+
mode: string;
|
|
52
|
+
latestRunId?: string;
|
|
53
|
+
metadata?: Record<string, unknown>;
|
|
54
|
+
}
|
|
55
|
+
interface TouchStoredSessionInput {
|
|
56
|
+
sessionId: string;
|
|
57
|
+
lastActiveAt?: string;
|
|
58
|
+
mode?: string;
|
|
59
|
+
latestRunId?: string;
|
|
60
|
+
metadata?: Record<string, unknown>;
|
|
61
|
+
}
|
|
62
|
+
interface CreateStoredRunInput {
|
|
63
|
+
runId: string;
|
|
64
|
+
sessionId: string;
|
|
65
|
+
agentKey: string;
|
|
66
|
+
createdAt?: string;
|
|
67
|
+
mode: string;
|
|
68
|
+
outputDir?: string;
|
|
69
|
+
metadata?: Record<string, unknown>;
|
|
70
|
+
}
|
|
71
|
+
declare abstract class HarnessRunStorage {
|
|
72
|
+
abstract readonly id: string;
|
|
73
|
+
label?: string;
|
|
74
|
+
abstract openRun(input: OpenRunStoreInput): Promise<HarnessRunStore> | HarnessRunStore;
|
|
75
|
+
}
|
|
76
|
+
declare abstract class HarnessSessionStorage {
|
|
77
|
+
abstract readonly id: string;
|
|
78
|
+
label?: string;
|
|
79
|
+
init?(): Promise<void> | void;
|
|
80
|
+
abstract createSession(input: CreateStoredSessionInput): Promise<HarnessSessionSummary> | HarnessSessionSummary;
|
|
81
|
+
abstract getSession(sessionId: string): Promise<HarnessSessionSummary | undefined> | HarnessSessionSummary | undefined;
|
|
82
|
+
abstract listSessions(query?: SessionListQuery): Promise<SessionListResult> | SessionListResult;
|
|
83
|
+
abstract touchSession(input: TouchStoredSessionInput): Promise<void> | void;
|
|
84
|
+
abstract deleteSession(sessionId: string): Promise<boolean> | boolean;
|
|
85
|
+
abstract createRun(input: CreateStoredRunInput): Promise<StoredRunSummary> | StoredRunSummary;
|
|
86
|
+
abstract getLatestRun(sessionId: string): Promise<StoredRunSummary | undefined> | StoredRunSummary | undefined;
|
|
87
|
+
abstract listRuns(sessionId: string): Promise<StoredRunSummary[]> | StoredRunSummary[];
|
|
88
|
+
abstract openRun(input: OpenRunStoreInput): Promise<HarnessRunStore> | HarnessRunStore;
|
|
89
|
+
}
|
|
90
|
+
declare abstract class HarnessRunStore {
|
|
91
|
+
abstract readonly runId: string;
|
|
92
|
+
readonly outputDir?: string;
|
|
93
|
+
readonly runDir?: string;
|
|
94
|
+
abstract init(): Promise<void> | void;
|
|
95
|
+
abstract recordEvent(event: HarnessEventRecord): Promise<void> | void;
|
|
96
|
+
abstract loadEvents(): Promise<HarnessEventRecord[]> | HarnessEventRecord[];
|
|
97
|
+
abstract saveTranscript(messages: AgentMessage[]): Promise<void> | void;
|
|
98
|
+
abstract loadTranscript(): Promise<AgentMessage[]> | AgentMessage[];
|
|
99
|
+
abstract saveMetrics(metrics: RunMetrics): Promise<void> | void;
|
|
100
|
+
abstract saveSnapshot(snapshot: HarnessSnapshot): Promise<void> | void;
|
|
101
|
+
abstract loadSnapshots(): Promise<HarnessSnapshot[]> | HarnessSnapshot[];
|
|
102
|
+
abstract deleteSnapshot(id: string): Promise<void> | void;
|
|
103
|
+
abstract saveCursors(cursors: RunCursorState): Promise<void> | void;
|
|
104
|
+
abstract loadCursors(): Promise<RunCursorState | undefined> | RunCursorState | undefined;
|
|
105
|
+
abstract saveContextSnapshot(snapshot: ContextSnapshot): Promise<void> | void;
|
|
106
|
+
abstract loadContextSnapshots(): Promise<ContextSnapshot[]> | ContextSnapshot[];
|
|
107
|
+
close?(): Promise<void>;
|
|
108
|
+
}
|
|
109
|
+
declare class NoopRunStorage extends HarnessRunStorage {
|
|
110
|
+
readonly id = "noop";
|
|
111
|
+
label: string;
|
|
112
|
+
openRun(input: OpenRunStoreInput): HarnessRunStore;
|
|
113
|
+
}
|
|
114
|
+
declare class NoopRunStore extends HarnessRunStore {
|
|
115
|
+
readonly runId: string;
|
|
116
|
+
readonly outputDir: undefined;
|
|
117
|
+
readonly runDir: undefined;
|
|
118
|
+
constructor(runId: string);
|
|
119
|
+
init(): void;
|
|
120
|
+
recordEvent(_event: HarnessEventRecord): void;
|
|
121
|
+
loadEvents(): HarnessEventRecord[];
|
|
122
|
+
saveTranscript(_messages: AgentMessage[]): void;
|
|
123
|
+
loadTranscript(): AgentMessage[];
|
|
124
|
+
saveMetrics(_metrics: RunMetrics): void;
|
|
125
|
+
saveSnapshot(_snapshot: HarnessSnapshot): void;
|
|
126
|
+
loadSnapshots(): HarnessSnapshot[];
|
|
127
|
+
deleteSnapshot(_id: string): void;
|
|
128
|
+
saveCursors(_cursors: RunCursorState): void;
|
|
129
|
+
loadCursors(): RunCursorState | undefined;
|
|
130
|
+
saveContextSnapshot(_snapshot: ContextSnapshot): void;
|
|
131
|
+
loadContextSnapshots(): ContextSnapshot[];
|
|
132
|
+
}
|
|
133
|
+
interface MemoryRunState {
|
|
134
|
+
events: HarnessEventRecord[];
|
|
135
|
+
transcript: AgentMessage[];
|
|
136
|
+
metrics?: RunMetrics;
|
|
137
|
+
snapshots: Map<string, HarnessSnapshot>;
|
|
138
|
+
cursors?: RunCursorState;
|
|
139
|
+
contextSnapshots: Map<string, ContextSnapshot>;
|
|
140
|
+
}
|
|
141
|
+
declare class MemoryRunStorage extends HarnessRunStorage {
|
|
142
|
+
readonly id = "memory";
|
|
143
|
+
label: string;
|
|
144
|
+
private readonly runs;
|
|
145
|
+
openRun(input: OpenRunStoreInput): HarnessRunStore;
|
|
146
|
+
}
|
|
147
|
+
declare class MemorySessionStorage extends HarnessSessionStorage {
|
|
148
|
+
readonly id = "memory-session";
|
|
149
|
+
label: string;
|
|
150
|
+
private readonly sessions;
|
|
151
|
+
private readonly runStates;
|
|
152
|
+
createSession(input: CreateStoredSessionInput): HarnessSessionSummary;
|
|
153
|
+
getSession(sessionId: string): HarnessSessionSummary | undefined;
|
|
154
|
+
listSessions(query?: SessionListQuery): SessionListResult;
|
|
155
|
+
touchSession(input: TouchStoredSessionInput): void;
|
|
156
|
+
deleteSession(sessionId: string): boolean;
|
|
157
|
+
createRun(input: CreateStoredRunInput): StoredRunSummary;
|
|
158
|
+
getLatestRun(sessionId: string): StoredRunSummary | undefined;
|
|
159
|
+
listRuns(sessionId: string): StoredRunSummary[];
|
|
160
|
+
openRun(input: OpenRunStoreInput): HarnessRunStore;
|
|
161
|
+
}
|
|
162
|
+
declare class MemoryRunStore extends HarnessRunStore {
|
|
163
|
+
readonly runId: string;
|
|
164
|
+
private readonly state;
|
|
165
|
+
readonly outputDir: undefined;
|
|
166
|
+
readonly runDir: undefined;
|
|
167
|
+
constructor(runId: string, state: MemoryRunState);
|
|
168
|
+
init(): void;
|
|
169
|
+
recordEvent(event: HarnessEventRecord): void;
|
|
170
|
+
loadEvents(): HarnessEventRecord[];
|
|
171
|
+
saveTranscript(messages: AgentMessage[]): void;
|
|
172
|
+
loadTranscript(): AgentMessage[];
|
|
173
|
+
saveMetrics(metrics: RunMetrics): void;
|
|
174
|
+
saveSnapshot(snapshot: HarnessSnapshot): void;
|
|
175
|
+
loadSnapshots(): HarnessSnapshot[];
|
|
176
|
+
deleteSnapshot(id: string): void;
|
|
177
|
+
saveCursors(cursors: RunCursorState): void;
|
|
178
|
+
loadCursors(): RunCursorState | undefined;
|
|
179
|
+
saveContextSnapshot(snapshot: ContextSnapshot): void;
|
|
180
|
+
loadContextSnapshots(): ContextSnapshot[];
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export { type CreateStoredRunInput, type CreateStoredSessionInput, HarnessRunStorage, HarnessRunStore, HarnessSessionStorage, type HarnessSessionSummary, MemoryRunStorage, MemoryRunStore, MemorySessionStorage, NoopRunStorage, NoopRunStore, type OpenRunStoreInput, type RunCursorState, type SessionListQuery, type SessionListResult, type StoredRunSummary, type TouchStoredSessionInput };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { A as AgentDefinition } from './model-provider-
|
|
5
|
-
import {
|
|
1
|
+
import { j as HarnessEventQuery, k as HarnessEventRecord, f as HarnessEvent, g as HarnessEventClass } from './errors-hpkW3tfR.js';
|
|
2
|
+
import { ad as HarnessTranscriptSession, a8 as HarnessSnapshotSession, a2 as HarnessModeSelector, r as AgentSharedState, M as ContextSnapshot } from './context-Bz9C_rL9.js';
|
|
3
|
+
import { e as HarnessSession, b as HarnessAppConfig, o as HarnessUserInput, S as SendOptions, p as SendResult, q as StreamOptions, d as HarnessRunStream, i as HarnessSessionStatus, a as HarnessAgentManifest, T as ToolApprovalHandle, g as HarnessSessionListener, f as HarnessSessionEventListener, W as WaitForEventOptions, j as HarnessSessionStore, l as HarnessSessionStoreListener } from './approval-Ch0LwJFM.js';
|
|
4
|
+
import { A as AgentDefinition } from './model-provider-DGkLQJWP.js';
|
|
5
|
+
import { HarnessSessionSummary, SessionListQuery, SessionListResult } from './runner/storage.js';
|
|
6
|
+
import './errors-DHHy8V3O.js';
|
|
6
7
|
|
|
7
8
|
interface CreateHarnessSessionInternalOptions {
|
|
8
9
|
sessionId?: string;
|
|
@@ -59,6 +60,7 @@ declare class HarnessSessionImpl implements HarnessSession {
|
|
|
59
60
|
private resolveModeSelector;
|
|
60
61
|
private requestToolApproval;
|
|
61
62
|
private cancelActiveRun;
|
|
63
|
+
private closeAfterFatal;
|
|
62
64
|
}
|
|
63
65
|
declare function createHarnessSession(config: HarnessAppConfig, options?: CreateHarnessSessionInternalOptions): Promise<HarnessSession>;
|
|
64
66
|
|
|
@@ -66,6 +68,7 @@ declare class HarnessSessionStoreImpl implements HarnessSessionStore {
|
|
|
66
68
|
private readonly config;
|
|
67
69
|
private readonly sessions;
|
|
68
70
|
private readonly unsubscriptions;
|
|
71
|
+
private readonly latestRunIds;
|
|
69
72
|
private readonly listeners;
|
|
70
73
|
private readonly storage;
|
|
71
74
|
private closed;
|
package/dist/runner.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { c as createHarnessSession, b as createHarnessSessionStore } from './runner-
|
|
2
|
-
export { a as HarnessAgentManifest, b as HarnessAppConfig,
|
|
3
|
-
export { E as EventCursor } from './
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
|
|
1
|
+
export { c as createHarnessSession, b as createHarnessSessionStore } from './runner-CZHeMHKV.js';
|
|
2
|
+
export { a as HarnessAgentManifest, b as HarnessAppConfig, d as HarnessRunStream, e as HarnessSession, f as HarnessSessionEventListener, g as HarnessSessionListener, h as HarnessSessionPhase, i as HarnessSessionStatus, j as HarnessSessionStore, k as HarnessSessionStoreEvent, l as HarnessSessionStoreListener, n as HarnessStreamEvent, o as HarnessUserInput, S as SendOptions, p as SendResult, q as StreamOptions, W as WaitForEventOptions } from './approval-Ch0LwJFM.js';
|
|
3
|
+
export { E as EventCursor, H as HarnessErrorCategory, a as HarnessErrorCode, b as HarnessErrorContext, c as HarnessErrorPolicy, d as HarnessErrorSeverity, e as HarnessErrorShape, m as HarnessRetryPolicy } from './errors-hpkW3tfR.js';
|
|
4
|
+
export { a5 as HarnessSnapshot, a6 as HarnessSnapshotCreator, a7 as HarnessSnapshotInput, a8 as HarnessSnapshotSession, a9 as HarnessSnapshotSummary, ad as HarnessTranscriptSession, an as TranscriptBranch, ao as TranscriptCursor, ap as TranscriptQuery, aq as TranscriptSeekTarget } from './context-Bz9C_rL9.js';
|
|
5
|
+
export { HarnessSessionSummary, SessionListQuery, SessionListResult } from './runner/storage.js';
|
|
6
|
+
export { n as normalizeHarnessError, s as sanitizeHarnessError } from './errors-DHHy8V3O.js';
|
|
7
|
+
import './model-provider-DGkLQJWP.js';
|
|
7
8
|
import './role-BN6KhQxx.js';
|
|
8
9
|
import './runner/sandbox.js';
|
|
9
|
-
import './hook-
|
|
10
|
-
import './
|
|
10
|
+
import './hook-DD7uuzE3.js';
|
|
11
|
+
import './metrics-DMN8bfY6.js';
|
package/dist/runner.js
CHANGED
|
@@ -2,17 +2,23 @@ import {
|
|
|
2
2
|
HarnessSessionPhase,
|
|
3
3
|
createHarnessSession,
|
|
4
4
|
createHarnessSessionStore
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UKXJIKED.js";
|
|
6
6
|
import "./chunk-Q73WH5D7.js";
|
|
7
|
-
import
|
|
7
|
+
import {
|
|
8
|
+
normalizeHarnessError,
|
|
9
|
+
sanitizeHarnessError
|
|
10
|
+
} from "./chunk-2NQ3JL7K.js";
|
|
8
11
|
import "./chunk-ZU6ADDET.js";
|
|
9
12
|
import "./chunk-ONYDIU4X.js";
|
|
10
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-NCSQEUQC.js";
|
|
14
|
+
import "./chunk-3QOAFCCZ.js";
|
|
11
15
|
import "./chunk-OBKS4AJR.js";
|
|
12
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TCHZYK5Y.js";
|
|
13
17
|
export {
|
|
14
18
|
HarnessSessionPhase,
|
|
15
19
|
createHarnessSession,
|
|
16
|
-
createHarnessSessionStore
|
|
20
|
+
createHarnessSessionStore,
|
|
21
|
+
normalizeHarnessError,
|
|
22
|
+
sanitizeHarnessError
|
|
17
23
|
};
|
|
18
24
|
//# sourceMappingURL=runner.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-kernel/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pure runtime contracts and session kernel for Harness Kernel.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"scripts": {
|
|
104
104
|
"build": "tsup",
|
|
105
105
|
"typecheck": "tsc --noEmit",
|
|
106
|
-
"test": "tsx src/schema/schema.test.ts && tsx src/runtime/events-schema.test.ts && tsx src/engine/provider-registry.test.ts && tsx src/session/model-resolution.test.ts && tsx src/session/tool-approval.test.ts && tsx src/session/session-store.test.ts && tsx src/boundaries.test.ts"
|
|
106
|
+
"test": "tsx src/schema/schema.test.ts && tsx src/runtime/errors.test.ts && tsx src/runtime/events-schema.test.ts && tsx src/logging/normalize.test.ts && tsx src/engine/provider-registry.test.ts && tsx src/session/model-resolution.test.ts && tsx src/session/tool-approval.test.ts && tsx src/session/session-store.test.ts && tsx src/session/queue.test.ts && tsx src/session/error-policy.test.ts && tsx src/boundaries.test.ts"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
109
|
"zod": "^4.4.3"
|