@inventarch/session-system 0.0.0-stage → 1.1.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/LANGUAGE.md +56 -0
- package/LICENSE +202 -0
- package/NOTICE +4 -0
- package/README.md +2 -2
- package/SPEC.md +3 -0
- package/dist/codec.d.ts +10 -0
- package/dist/codec.d.ts.map +1 -0
- package/dist/codec.js +49 -0
- package/dist/codec.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/memory.d.ts +17 -0
- package/dist/memory.d.ts.map +1 -0
- package/dist/memory.js +58 -0
- package/dist/memory.js.map +1 -0
- package/dist/native-selection.json +205 -0
- package/dist/native.ia.tgz +0 -0
- package/dist/reducer.d.ts +11 -0
- package/dist/reducer.d.ts.map +1 -0
- package/dist/reducer.js +723 -0
- package/dist/reducer.js.map +1 -0
- package/dist/sqlite.d.ts +35 -0
- package/dist/sqlite.d.ts.map +1 -0
- package/dist/sqlite.js +188 -0
- package/dist/sqlite.js.map +1 -0
- package/dist/store.d.ts +19 -0
- package/dist/store.d.ts.map +1 -0
- package/dist/store.js +97 -0
- package/dist/store.js.map +1 -0
- package/dist/system-package.json +330 -0
- package/dist/types.d.ts +411 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +78 -3
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,411 @@
|
|
|
1
|
+
/** Versioned storage messages. This module deliberately has no engine/provider imports. */
|
|
2
|
+
export type Json = null | boolean | number | string | Json[] | {
|
|
3
|
+
[key: string]: Json;
|
|
4
|
+
};
|
|
5
|
+
export type RunStatus = 'created' | 'running' | 'waiting' | 'paused' | 'cancelling' | 'completed' | 'failed' | 'cancelled';
|
|
6
|
+
export type Effect = 'none' | 'applied' | 'partial' | 'unknown';
|
|
7
|
+
export type Recovery = 'repeatable' | 'idempotent' | 'reconcile' | 'manual';
|
|
8
|
+
export interface Limits {
|
|
9
|
+
steps: number;
|
|
10
|
+
modelCalls: number;
|
|
11
|
+
operations: number;
|
|
12
|
+
tokens: number;
|
|
13
|
+
children: number;
|
|
14
|
+
depth: number;
|
|
15
|
+
bytes: number;
|
|
16
|
+
deadline: number;
|
|
17
|
+
}
|
|
18
|
+
export interface Budget {
|
|
19
|
+
usedTokens: number;
|
|
20
|
+
reservedTokens: number;
|
|
21
|
+
steps: number;
|
|
22
|
+
modelCalls: number;
|
|
23
|
+
operations: number;
|
|
24
|
+
children: number;
|
|
25
|
+
retainedBytes: number;
|
|
26
|
+
}
|
|
27
|
+
export interface Wait {
|
|
28
|
+
id: string;
|
|
29
|
+
reason: string;
|
|
30
|
+
objectIds: string[];
|
|
31
|
+
continuation: string;
|
|
32
|
+
details: Json;
|
|
33
|
+
}
|
|
34
|
+
export interface CausalReferences {
|
|
35
|
+
actionId: string;
|
|
36
|
+
modelAttemptId: string | null;
|
|
37
|
+
questions: string[];
|
|
38
|
+
proposals: string[];
|
|
39
|
+
decisions: string[];
|
|
40
|
+
receipts: string[];
|
|
41
|
+
}
|
|
42
|
+
export interface ReviewContract {
|
|
43
|
+
/** Current separately mandated authority, present only for the explicit independent review rule. */
|
|
44
|
+
authority?: {
|
|
45
|
+
mandate: string;
|
|
46
|
+
policyRevision: string;
|
|
47
|
+
};
|
|
48
|
+
reviewer: string;
|
|
49
|
+
rule: string;
|
|
50
|
+
expiresAt: number;
|
|
51
|
+
operation: string;
|
|
52
|
+
bindingDigest: string;
|
|
53
|
+
inputDigest: string;
|
|
54
|
+
candidateDigest: string;
|
|
55
|
+
artifactDigest: string;
|
|
56
|
+
destination: Json;
|
|
57
|
+
effect: 'local-write' | 'external-write';
|
|
58
|
+
validationReceipt: string;
|
|
59
|
+
}
|
|
60
|
+
export interface Run {
|
|
61
|
+
id: string;
|
|
62
|
+
parentId: string | null;
|
|
63
|
+
profile: string;
|
|
64
|
+
agent: string;
|
|
65
|
+
task: Json;
|
|
66
|
+
depth: number;
|
|
67
|
+
status: RunStatus;
|
|
68
|
+
wait: Wait | null;
|
|
69
|
+
outcome: Json | null;
|
|
70
|
+
pendingAction: Json | null;
|
|
71
|
+
returned: boolean;
|
|
72
|
+
cancelRequested: boolean;
|
|
73
|
+
pauseRequested: boolean;
|
|
74
|
+
transcript: Json[];
|
|
75
|
+
contract?: Json;
|
|
76
|
+
authority?: Json;
|
|
77
|
+
limits?: Limits;
|
|
78
|
+
retainedBytes?: number;
|
|
79
|
+
cause?: CausalReferences;
|
|
80
|
+
retryOf?: string;
|
|
81
|
+
repairs?: number;
|
|
82
|
+
}
|
|
83
|
+
export interface Attempt {
|
|
84
|
+
id: string;
|
|
85
|
+
invocationId: string;
|
|
86
|
+
runId: string;
|
|
87
|
+
kind: 'model' | 'operation' | 'reconcile';
|
|
88
|
+
target: string;
|
|
89
|
+
bindingDigest: string;
|
|
90
|
+
input: Json;
|
|
91
|
+
inputDigest: string;
|
|
92
|
+
authority: Json;
|
|
93
|
+
recovery: Recovery;
|
|
94
|
+
status: 'prepared' | 'dispatched' | 'observed';
|
|
95
|
+
reservation: number;
|
|
96
|
+
effect: Effect;
|
|
97
|
+
actionAccepted: boolean;
|
|
98
|
+
output: Json | null;
|
|
99
|
+
error: string | null;
|
|
100
|
+
usage: number | null;
|
|
101
|
+
preparedAt: string;
|
|
102
|
+
observedAt: string | null;
|
|
103
|
+
cause?: CausalReferences;
|
|
104
|
+
review?: ReviewContract & {
|
|
105
|
+
proposalId: string;
|
|
106
|
+
revision: number;
|
|
107
|
+
digest: string;
|
|
108
|
+
decisionId: string;
|
|
109
|
+
};
|
|
110
|
+
preparedSequence?: number;
|
|
111
|
+
reconciliations?: number;
|
|
112
|
+
}
|
|
113
|
+
export interface Question {
|
|
114
|
+
id: string;
|
|
115
|
+
revision: number;
|
|
116
|
+
runId: string;
|
|
117
|
+
prompt: string;
|
|
118
|
+
respondent: string;
|
|
119
|
+
required: boolean;
|
|
120
|
+
choices: string[];
|
|
121
|
+
answer: Json | null;
|
|
122
|
+
status: 'open' | 'answered' | 'withdrawn' | 'superseded';
|
|
123
|
+
digest: string;
|
|
124
|
+
cause?: CausalReferences;
|
|
125
|
+
}
|
|
126
|
+
export interface Proposal {
|
|
127
|
+
id: string;
|
|
128
|
+
revision: number;
|
|
129
|
+
runId: string;
|
|
130
|
+
candidate: Json;
|
|
131
|
+
digest: string;
|
|
132
|
+
status: 'offered' | 'accepted' | 'rejected' | 'superseded' | 'expired';
|
|
133
|
+
decisionId: string | null;
|
|
134
|
+
review?: ReviewContract;
|
|
135
|
+
cause?: CausalReferences;
|
|
136
|
+
}
|
|
137
|
+
export interface Decision {
|
|
138
|
+
id: string;
|
|
139
|
+
runId: string;
|
|
140
|
+
subject: string;
|
|
141
|
+
revision: number;
|
|
142
|
+
choice: string;
|
|
143
|
+
actor: string;
|
|
144
|
+
rationale: string;
|
|
145
|
+
evidence: string[];
|
|
146
|
+
review?: ReviewContract;
|
|
147
|
+
proposalDigest?: string;
|
|
148
|
+
}
|
|
149
|
+
export interface Reaction {
|
|
150
|
+
id: string;
|
|
151
|
+
cause: string;
|
|
152
|
+
binding: string;
|
|
153
|
+
runId: string;
|
|
154
|
+
input: Json;
|
|
155
|
+
required: boolean;
|
|
156
|
+
status: 'queued' | 'settled';
|
|
157
|
+
result: Json | null;
|
|
158
|
+
}
|
|
159
|
+
export interface Control {
|
|
160
|
+
id: string;
|
|
161
|
+
actor: string;
|
|
162
|
+
kind: 'pause' | 'cancel' | 'resume';
|
|
163
|
+
runId: string;
|
|
164
|
+
applied: boolean;
|
|
165
|
+
}
|
|
166
|
+
export interface Receipt {
|
|
167
|
+
version: 1;
|
|
168
|
+
id: string;
|
|
169
|
+
sessionId: string;
|
|
170
|
+
runId: string;
|
|
171
|
+
actionId: string;
|
|
172
|
+
invocationId: string;
|
|
173
|
+
attemptId: string;
|
|
174
|
+
sequence: number;
|
|
175
|
+
target: string;
|
|
176
|
+
bindingDigest: string;
|
|
177
|
+
inputDigest: string;
|
|
178
|
+
authority: Json;
|
|
179
|
+
effect: Effect;
|
|
180
|
+
output: Json | null;
|
|
181
|
+
error: string | null;
|
|
182
|
+
usage: number | null;
|
|
183
|
+
at: string;
|
|
184
|
+
reconciles: string | null;
|
|
185
|
+
cause?: CausalReferences;
|
|
186
|
+
review?: Attempt['review'];
|
|
187
|
+
}
|
|
188
|
+
export interface Session {
|
|
189
|
+
version: 1;
|
|
190
|
+
id: string;
|
|
191
|
+
principal: string;
|
|
192
|
+
workspace: string;
|
|
193
|
+
manifestDigest: string;
|
|
194
|
+
manifest: Json;
|
|
195
|
+
createdAt: string;
|
|
196
|
+
rootId: string;
|
|
197
|
+
sequence: number;
|
|
198
|
+
hash: string;
|
|
199
|
+
limits: Limits;
|
|
200
|
+
budget: Budget;
|
|
201
|
+
runs: Record<string, Run>;
|
|
202
|
+
attempts: Record<string, Attempt>;
|
|
203
|
+
questions: Record<string, Question>;
|
|
204
|
+
proposals: Record<string, Proposal>;
|
|
205
|
+
decisions: Record<string, Decision>;
|
|
206
|
+
reactions: Record<string, Reaction>;
|
|
207
|
+
controls: Control[];
|
|
208
|
+
receipts: Receipt[];
|
|
209
|
+
}
|
|
210
|
+
export type Mutation = {
|
|
211
|
+
type: 'session.create';
|
|
212
|
+
sessionId: string;
|
|
213
|
+
principal: string;
|
|
214
|
+
workspace: string;
|
|
215
|
+
manifestDigest: string;
|
|
216
|
+
manifest: Json;
|
|
217
|
+
rootId: string;
|
|
218
|
+
profile: string;
|
|
219
|
+
agent: string;
|
|
220
|
+
task: Json;
|
|
221
|
+
limits: Limits;
|
|
222
|
+
contract?: Json;
|
|
223
|
+
authority?: Json;
|
|
224
|
+
} | {
|
|
225
|
+
type: 'run.ready';
|
|
226
|
+
runId: string;
|
|
227
|
+
} | {
|
|
228
|
+
type: 'attempt.prepare';
|
|
229
|
+
attempt: Omit<Attempt, 'status' | 'effect' | 'actionAccepted' | 'output' | 'error' | 'usage' | 'preparedAt' | 'observedAt'>;
|
|
230
|
+
} | {
|
|
231
|
+
type: 'attempt.dispatch';
|
|
232
|
+
attemptId: string;
|
|
233
|
+
} | {
|
|
234
|
+
type: 'attempt.abandon';
|
|
235
|
+
attemptId: string;
|
|
236
|
+
} | {
|
|
237
|
+
type: 'attempt.observe';
|
|
238
|
+
attemptId: string;
|
|
239
|
+
output: Json | null;
|
|
240
|
+
effect: Effect;
|
|
241
|
+
error: string | null;
|
|
242
|
+
usage: number | null;
|
|
243
|
+
reconciles?: string;
|
|
244
|
+
} | {
|
|
245
|
+
type: 'action.accept';
|
|
246
|
+
runId: string;
|
|
247
|
+
action: Json;
|
|
248
|
+
attemptId: string;
|
|
249
|
+
cause?: CausalReferences;
|
|
250
|
+
} | {
|
|
251
|
+
type: 'attempt.retry';
|
|
252
|
+
attemptId: string;
|
|
253
|
+
action: Json;
|
|
254
|
+
maxAttempts: number;
|
|
255
|
+
} | {
|
|
256
|
+
type: 'model.repair';
|
|
257
|
+
attemptId: string;
|
|
258
|
+
allowance: number;
|
|
259
|
+
details?: Json;
|
|
260
|
+
} | {
|
|
261
|
+
type: 'action.clear';
|
|
262
|
+
runId: string;
|
|
263
|
+
} | {
|
|
264
|
+
type: 'run.wait';
|
|
265
|
+
runId: string;
|
|
266
|
+
wait: Wait;
|
|
267
|
+
} | {
|
|
268
|
+
type: 'outcome.accept';
|
|
269
|
+
runId: string;
|
|
270
|
+
outcome: Json;
|
|
271
|
+
terminal: 'completed' | 'failed' | null;
|
|
272
|
+
questions?: Question[];
|
|
273
|
+
proposal?: Proposal;
|
|
274
|
+
wait?: Wait;
|
|
275
|
+
} | {
|
|
276
|
+
type: 'question.reply';
|
|
277
|
+
questionId: string;
|
|
278
|
+
revision: number;
|
|
279
|
+
digest: string;
|
|
280
|
+
answer: Json;
|
|
281
|
+
} | {
|
|
282
|
+
type: 'proposal.review';
|
|
283
|
+
proposalId: string;
|
|
284
|
+
revision: number;
|
|
285
|
+
digest: string;
|
|
286
|
+
accept: boolean;
|
|
287
|
+
decisionId: string;
|
|
288
|
+
rationale: string;
|
|
289
|
+
} | {
|
|
290
|
+
type: 'decision.record';
|
|
291
|
+
decision: Decision;
|
|
292
|
+
} | {
|
|
293
|
+
type: 'child.create';
|
|
294
|
+
parentId: string;
|
|
295
|
+
childId: string;
|
|
296
|
+
profile: string;
|
|
297
|
+
agent: string;
|
|
298
|
+
task: Json;
|
|
299
|
+
contract?: Json;
|
|
300
|
+
authority?: Json;
|
|
301
|
+
limits?: Limits;
|
|
302
|
+
cause?: CausalReferences;
|
|
303
|
+
} | {
|
|
304
|
+
type: 'child.return';
|
|
305
|
+
childId: string;
|
|
306
|
+
} | {
|
|
307
|
+
type: 'control.submit';
|
|
308
|
+
control: Control;
|
|
309
|
+
} | {
|
|
310
|
+
type: 'control.apply';
|
|
311
|
+
controlId: string;
|
|
312
|
+
} | {
|
|
313
|
+
type: 'session.rebind';
|
|
314
|
+
manifestDigest: string;
|
|
315
|
+
manifest: Json;
|
|
316
|
+
} | {
|
|
317
|
+
type: 'session.renew';
|
|
318
|
+
expectedSequence: number;
|
|
319
|
+
previousDeadline: number;
|
|
320
|
+
deadline: number;
|
|
321
|
+
runs: Record<string, {
|
|
322
|
+
previousDeadline: number;
|
|
323
|
+
deadline: number;
|
|
324
|
+
}>;
|
|
325
|
+
} | {
|
|
326
|
+
type: 'budget.extend';
|
|
327
|
+
limits: Limits;
|
|
328
|
+
} | {
|
|
329
|
+
type: 'reaction.queue';
|
|
330
|
+
reaction: Reaction;
|
|
331
|
+
} | {
|
|
332
|
+
type: 'reaction.settle';
|
|
333
|
+
reactionId: string;
|
|
334
|
+
result: Json;
|
|
335
|
+
} | {
|
|
336
|
+
type: 'attempt.reconcile.start';
|
|
337
|
+
attemptId: string;
|
|
338
|
+
maxAttempts: number;
|
|
339
|
+
} | {
|
|
340
|
+
type: 'attempt.reconcile';
|
|
341
|
+
attemptId: string;
|
|
342
|
+
effect: Effect;
|
|
343
|
+
output: Json | null;
|
|
344
|
+
evidence: string;
|
|
345
|
+
error?: string | null;
|
|
346
|
+
};
|
|
347
|
+
export interface Event {
|
|
348
|
+
version: 1 | 2;
|
|
349
|
+
id: string;
|
|
350
|
+
sequence: number;
|
|
351
|
+
sessionId: string;
|
|
352
|
+
actor: string;
|
|
353
|
+
at: string;
|
|
354
|
+
cause: string | null;
|
|
355
|
+
mutation: Mutation;
|
|
356
|
+
previous: string;
|
|
357
|
+
hash: string;
|
|
358
|
+
}
|
|
359
|
+
export interface Owner {
|
|
360
|
+
sessionId: string;
|
|
361
|
+
token: string;
|
|
362
|
+
fence: number;
|
|
363
|
+
}
|
|
364
|
+
export interface Command {
|
|
365
|
+
id: string;
|
|
366
|
+
sessionId: string;
|
|
367
|
+
actor: string;
|
|
368
|
+
expected: number;
|
|
369
|
+
mutation: Mutation;
|
|
370
|
+
cause?: string;
|
|
371
|
+
following?: Mutation[];
|
|
372
|
+
}
|
|
373
|
+
export interface CommandResult {
|
|
374
|
+
id: string;
|
|
375
|
+
digest: string;
|
|
376
|
+
sequence: number;
|
|
377
|
+
hash: string;
|
|
378
|
+
}
|
|
379
|
+
export interface Checkpoint {
|
|
380
|
+
version: 1;
|
|
381
|
+
sequence: number;
|
|
382
|
+
hash: string;
|
|
383
|
+
stateDigest: string;
|
|
384
|
+
state: Session;
|
|
385
|
+
}
|
|
386
|
+
export interface Journal {
|
|
387
|
+
events: Event[];
|
|
388
|
+
commands: Record<string, CommandResult>;
|
|
389
|
+
checkpoint: Checkpoint | null;
|
|
390
|
+
}
|
|
391
|
+
/** Trusted adapter boundary, not exposed to a model or network caller. */
|
|
392
|
+
export interface JournalBackend {
|
|
393
|
+
load(sessionId: string): Promise<Journal | null>;
|
|
394
|
+
commit(command: Command, digest: string, events: Event[], owner?: Owner): Promise<CommandResult>;
|
|
395
|
+
checkpoint(sessionId: string, checkpoint: Checkpoint, owner: Owner): Promise<void>;
|
|
396
|
+
acquire(sessionId: string): Promise<Owner>;
|
|
397
|
+
release(owner: Owner): Promise<void>;
|
|
398
|
+
validate(owner: Owner): Promise<void>;
|
|
399
|
+
close(): Promise<void>;
|
|
400
|
+
}
|
|
401
|
+
export interface SessionStore {
|
|
402
|
+
read(sessionId: string): Promise<Session>;
|
|
403
|
+
journal(sessionId: string): Promise<Journal>;
|
|
404
|
+
command(command: Command, owner?: Owner): Promise<CommandResult>;
|
|
405
|
+
checkpoint(sessionId: string, owner: Owner): Promise<Checkpoint>;
|
|
406
|
+
acquire(sessionId: string): Promise<Owner>;
|
|
407
|
+
release(owner: Owner): Promise<void>;
|
|
408
|
+
validate(owner: Owner): Promise<void>;
|
|
409
|
+
close(): Promise<void>;
|
|
410
|
+
}
|
|
411
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,EAAE,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC;AACvF,MAAM,MAAM,SAAS,GACjB,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,WAAW,CAAC;AAChB,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAChE,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,YAAY,GAAG,WAAW,GAAG,QAAQ,CAAC;AAC5E,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,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M,EAAE,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IACjE,OAAO,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3C,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACxB"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inventarch/session-system",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./sqlite": {
|
|
13
|
+
"types": "./dist/sqlite.d.ts",
|
|
14
|
+
"default": "./dist/sqlite.js"
|
|
15
|
+
},
|
|
16
|
+
"./internal/codec": {
|
|
17
|
+
"types": "./dist/codec.d.ts",
|
|
18
|
+
"default": "./dist/codec.js"
|
|
19
|
+
},
|
|
20
|
+
"./internal/index": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./internal/memory": {
|
|
25
|
+
"types": "./dist/memory.d.ts",
|
|
26
|
+
"default": "./dist/memory.js"
|
|
27
|
+
},
|
|
28
|
+
"./internal/reducer": {
|
|
29
|
+
"types": "./dist/reducer.d.ts",
|
|
30
|
+
"default": "./dist/reducer.js"
|
|
31
|
+
},
|
|
32
|
+
"./internal/sqlite": {
|
|
33
|
+
"types": "./dist/sqlite.d.ts",
|
|
34
|
+
"default": "./dist/sqlite.js"
|
|
35
|
+
},
|
|
36
|
+
"./internal/store": {
|
|
37
|
+
"types": "./dist/store.d.ts",
|
|
38
|
+
"default": "./dist/store.js"
|
|
39
|
+
},
|
|
40
|
+
"./internal/types": {
|
|
41
|
+
"types": "./dist/types.d.ts",
|
|
42
|
+
"default": "./dist/types.js"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist",
|
|
47
|
+
"README.md",
|
|
48
|
+
"SPEC.md",
|
|
49
|
+
"LICENSE",
|
|
50
|
+
"NOTICE",
|
|
51
|
+
"LANGUAGE.md"
|
|
52
|
+
],
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^22.19.0",
|
|
55
|
+
"typescript": "^5.9.3",
|
|
56
|
+
"vitest": "^4.1.4"
|
|
57
|
+
},
|
|
58
|
+
"license": "Apache-2.0",
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=22.22.0 <23"
|
|
61
|
+
},
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public",
|
|
64
|
+
"registry": "https://registry.npmjs.org"
|
|
65
|
+
},
|
|
66
|
+
"repository": {
|
|
67
|
+
"type": "git",
|
|
68
|
+
"url": "git+https://github.com/inventarch/ia.git",
|
|
69
|
+
"directory": ".ia/src/systems/session-system"
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"@inventarch/agent-system": "1.1.0",
|
|
73
|
+
"@inventarch/governance-system": "1.1.0",
|
|
74
|
+
"@inventarch/workspace-system": "1.1.0"
|
|
75
|
+
},
|
|
76
|
+
"scripts": {
|
|
77
|
+
"build": "tsc -p tsconfig.json",
|
|
78
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc -p tsconfig.tests.json",
|
|
79
|
+
"test": "vitest run --config vitest.config.mts"
|
|
80
|
+
}
|
|
6
81
|
}
|