stitchkit 0.56.5 → 0.57.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.
@@ -127,7 +127,86 @@ export declare const AgentStoreAppliedSchema: z.ZodObject<{
127
127
  }, z.core.$strip>;
128
128
  export declare const AgentStoreDuplicateSchema: z.ZodObject<{
129
129
  outcome: z.ZodLiteral<"duplicate">;
130
+ input: z.ZodObject<{
131
+ schemaVersion: z.ZodLiteral<1>;
132
+ id: z.ZodString;
133
+ conversationId: z.ZodString;
134
+ runId: z.ZodOptional<z.ZodString>;
135
+ role: z.ZodEnum<{
136
+ assistant: "assistant";
137
+ summary: "summary";
138
+ system: "system";
139
+ user: "user";
140
+ }>;
141
+ status: z.ZodEnum<{
142
+ committed: "committed";
143
+ completed: "completed";
144
+ failed: "failed";
145
+ interrupted: "interrupted";
146
+ streaming: "streaming";
147
+ }>;
148
+ parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
149
+ type: z.ZodLiteral<"text">;
150
+ text: z.ZodString;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ type: z.ZodLiteral<"reasoning">;
153
+ text: z.ZodString;
154
+ provider: z.ZodOptional<z.ZodObject<{
155
+ schemaVersion: z.ZodInt;
156
+ provider: z.ZodString;
157
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
158
+ }, z.core.$strip>>;
159
+ }, z.core.$strip>, z.ZodObject<{
160
+ type: z.ZodLiteral<"file">;
161
+ mediaType: z.ZodString;
162
+ reference: z.ZodString;
163
+ filename: z.ZodOptional<z.ZodString>;
164
+ }, z.core.$strip>, z.ZodObject<{
165
+ type: z.ZodLiteral<"source">;
166
+ sourceId: z.ZodString;
167
+ url: z.ZodOptional<z.ZodURL>;
168
+ title: z.ZodOptional<z.ZodString>;
169
+ }, z.core.$strip>, z.ZodObject<{
170
+ type: z.ZodLiteral<"tool-call">;
171
+ callId: z.ZodString;
172
+ toolName: z.ZodString;
173
+ input: z.ZodJSONSchema;
174
+ provider: z.ZodOptional<z.ZodObject<{
175
+ schemaVersion: z.ZodInt;
176
+ provider: z.ZodString;
177
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
178
+ }, z.core.$strip>>;
179
+ }, z.core.$strip>, z.ZodObject<{
180
+ type: z.ZodLiteral<"tool-result">;
181
+ callId: z.ZodString;
182
+ toolName: z.ZodString;
183
+ outcome: z.ZodEnum<{
184
+ error: "error";
185
+ interrupted: "interrupted";
186
+ success: "success";
187
+ }>;
188
+ output: z.ZodOptional<z.ZodJSONSchema>;
189
+ }, z.core.$strip>, z.ZodObject<{
190
+ type: z.ZodLiteral<"provider">;
191
+ envelope: z.ZodObject<{
192
+ schemaVersion: z.ZodInt;
193
+ provider: z.ZodString;
194
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
195
+ }, z.core.$strip>;
196
+ }, z.core.$strip>, z.ZodObject<{
197
+ type: z.ZodLiteral<"control">;
198
+ reason: z.ZodEnum<{
199
+ "run-interrupted": "run-interrupted";
200
+ "stale-run": "stale-run";
201
+ }>;
202
+ }, z.core.$strip>], "type">>;
203
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
204
+ createdAt: z.ZodISODateTime;
205
+ updatedAt: z.ZodISODateTime;
206
+ }, z.core.$strip>;
207
+ inputMessageId: z.ZodString;
130
208
  runId: z.ZodString;
209
+ assistantMessageId: z.ZodString;
131
210
  snapshot: z.ZodObject<{
132
211
  schemaVersion: z.ZodLiteral<1>;
133
212
  conversationId: z.ZodString;
@@ -363,7 +442,86 @@ export declare const AgentStoreMutationResultSchema: z.ZodDiscriminatedUnion<[z.
363
442
  }, z.core.$strip>;
364
443
  }, z.core.$strip>, z.ZodObject<{
365
444
  outcome: z.ZodLiteral<"duplicate">;
445
+ input: z.ZodObject<{
446
+ schemaVersion: z.ZodLiteral<1>;
447
+ id: z.ZodString;
448
+ conversationId: z.ZodString;
449
+ runId: z.ZodOptional<z.ZodString>;
450
+ role: z.ZodEnum<{
451
+ assistant: "assistant";
452
+ summary: "summary";
453
+ system: "system";
454
+ user: "user";
455
+ }>;
456
+ status: z.ZodEnum<{
457
+ committed: "committed";
458
+ completed: "completed";
459
+ failed: "failed";
460
+ interrupted: "interrupted";
461
+ streaming: "streaming";
462
+ }>;
463
+ parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
464
+ type: z.ZodLiteral<"text">;
465
+ text: z.ZodString;
466
+ }, z.core.$strip>, z.ZodObject<{
467
+ type: z.ZodLiteral<"reasoning">;
468
+ text: z.ZodString;
469
+ provider: z.ZodOptional<z.ZodObject<{
470
+ schemaVersion: z.ZodInt;
471
+ provider: z.ZodString;
472
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
473
+ }, z.core.$strip>>;
474
+ }, z.core.$strip>, z.ZodObject<{
475
+ type: z.ZodLiteral<"file">;
476
+ mediaType: z.ZodString;
477
+ reference: z.ZodString;
478
+ filename: z.ZodOptional<z.ZodString>;
479
+ }, z.core.$strip>, z.ZodObject<{
480
+ type: z.ZodLiteral<"source">;
481
+ sourceId: z.ZodString;
482
+ url: z.ZodOptional<z.ZodURL>;
483
+ title: z.ZodOptional<z.ZodString>;
484
+ }, z.core.$strip>, z.ZodObject<{
485
+ type: z.ZodLiteral<"tool-call">;
486
+ callId: z.ZodString;
487
+ toolName: z.ZodString;
488
+ input: z.ZodJSONSchema;
489
+ provider: z.ZodOptional<z.ZodObject<{
490
+ schemaVersion: z.ZodInt;
491
+ provider: z.ZodString;
492
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
493
+ }, z.core.$strip>>;
494
+ }, z.core.$strip>, z.ZodObject<{
495
+ type: z.ZodLiteral<"tool-result">;
496
+ callId: z.ZodString;
497
+ toolName: z.ZodString;
498
+ outcome: z.ZodEnum<{
499
+ error: "error";
500
+ interrupted: "interrupted";
501
+ success: "success";
502
+ }>;
503
+ output: z.ZodOptional<z.ZodJSONSchema>;
504
+ }, z.core.$strip>, z.ZodObject<{
505
+ type: z.ZodLiteral<"provider">;
506
+ envelope: z.ZodObject<{
507
+ schemaVersion: z.ZodInt;
508
+ provider: z.ZodString;
509
+ data: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
510
+ }, z.core.$strip>;
511
+ }, z.core.$strip>, z.ZodObject<{
512
+ type: z.ZodLiteral<"control">;
513
+ reason: z.ZodEnum<{
514
+ "run-interrupted": "run-interrupted";
515
+ "stale-run": "stale-run";
516
+ }>;
517
+ }, z.core.$strip>], "type">>;
518
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
519
+ createdAt: z.ZodISODateTime;
520
+ updatedAt: z.ZodISODateTime;
521
+ }, z.core.$strip>;
522
+ inputMessageId: z.ZodString;
366
523
  runId: z.ZodString;
524
+ assistantMessageId: z.ZodString;
367
525
  snapshot: z.ZodObject<{
368
526
  schemaVersion: z.ZodLiteral<1>;
369
527
  conversationId: z.ZodString;
@@ -899,7 +1057,9 @@ export interface AgentRuntimeStore {
899
1057
  commitRunTerminal(input: CommitRunTerminal): Promise<AgentStoreMutationResult>;
900
1058
  replaceCompactedRange(input: ReplaceCompactedRange): Promise<AgentStoreMutationResult>;
901
1059
  scanRecoverable(): Promise<readonly AgentSnapshot[]>;
1060
+ scanRecoverablePage?(input: {
1061
+ cursor?: string;
1062
+ limit: number;
1063
+ }): Promise<import('./store-driver').AgentRecoverablePage>;
902
1064
  }
903
- /** In-memory reference adapter. It is process-local and deliberately offers no lease guarantee. */
904
- export declare function createMemoryAgentRuntimeStore(): AgentRuntimeStore;
905
1065
  //# sourceMappingURL=store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAOL,KAAK,aAAa,EAGnB,MAAM,WAAW,CAAC;AAEnB,eAAO,MAA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O,CAAC,SAAS,aAAa,EAAE,CAAC,CAAC;IACrD,mBAAmB,CAAC,CAAC,KAAK,EAAE;QAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,GAAG,OAAO,CAAC,OAAO,gBAAgB,EAAE,oBAAoB,CAAC,CAAC;CAC5D"}
@@ -1,13 +1,14 @@
1
1
  export { type AgentCompactionContext, type AgentCompactionResult, type StructuredCompactionConfig, structuredCompaction, } from './agent-runtime/compaction';
2
2
  export { type AgentCoordinatedRun, type AgentInputPolicy, type AgentRunTicket, type AgentSessionCloseOptions, type AgentSessionCoordinator, type AgentStopReason, createAgentSessionCoordinator, } from './agent-runtime/coordinator';
3
- export { AgentCheckpointEventSchema, AgentReasoningDeltaEventSchema, AgentReasoningEndEventSchema, AgentReasoningStartEventSchema, AgentRunStateEventSchema, type AgentRuntimeEvent, AgentRuntimeEventSchema, type AgentRuntimePublisher, AgentTerminalEventSchema, AgentToolStatusEventSchema, AgentTransientDeltaEventSchema, } from './agent-runtime/events';
3
+ export { AgentAdmissionEventSchema, AgentCheckpointEventSchema, AgentReasoningDeltaEventSchema, AgentReasoningEndEventSchema, AgentReasoningStartEventSchema, AgentRunStateEventSchema, type AgentRuntimeEvent, AgentRuntimeEventSchema, type AgentRuntimePublisher, AgentTerminalEventSchema, AgentToolStatusEventSchema, AgentTransientDeltaEventSchema, } from './agent-runtime/events';
4
4
  export { type AgentHistoryProjectionOptions, projectAgentHistory, } from './agent-runtime/history';
5
5
  export { type AgentToolFenceConfig, type AgentToolFenceContext, createAgentToolFenceLifecycle, } from './agent-runtime/managed-tools';
6
6
  export { type AgentLanguageModelProvider, type AgentModelCapability, AgentModelCapabilitySchema, type AgentModelDeclaration, type AgentModelDescriptor, AgentModelDescriptorSchema, type AgentModelRegistry, type AgentModelRegistryConfig, type AgentResolvedModel, defineModelRegistry, } from './agent-runtime/models';
7
7
  export { type AgentObservability, type AgentRunEvent, AgentRunEventSchema, type AgentRunSinkConfig, type AgentRunSinkDrop, type AgentRunSinkError, createAgentObservability, } from './agent-runtime/observability';
8
8
  export { type AgentPromptBudget, type AgentPromptSection, type AgentPromptSectionContext, type AgentTokenCount, AgentTokenCountSchema, type ComposeAgentPromptOptions, type ComposedAgentPrompt, composeAgentPrompt, } from './agent-runtime/prompt';
9
9
  export { type AgentProtocol, type AgentProtocolConfig, defineAgentProtocol, } from './agent-runtime/protocol';
10
- export { type AgentRuntime, type AgentRuntimeAdmission, type AgentRuntimeConfig, type AgentRuntimeInput, type AgentRuntimeInterruptInput, type AgentRuntimePrepareStep, type AgentRuntimeProtocolInput, type AgentRuntimeRecordIds, type AgentRuntimeRecoveryInput, type AgentRuntimeResult, type AgentRuntimeRunContext, type AgentRuntimeStopPolicy, createAgentRuntime, } from './agent-runtime/runtime';
10
+ export { type AgentRuntime, type AgentRuntimeAdmission, type AgentRuntimeConfig, type AgentRuntimeInput, type AgentRuntimeInterruptInput, type AgentRuntimePrepareStep, type AgentRuntimeProtocolInput, type AgentRuntimeRecordIds, type AgentRuntimeRecoverOptions, type AgentRuntimeRecoveryDecision, type AgentRuntimeRecoveryInput, type AgentRuntimeRecoveryOutcome, type AgentRuntimeResult, type AgentRuntimeRunContext, type AgentRuntimeStopPolicy, createAgentRuntime, } from './agent-runtime/runtime';
11
11
  export * from './agent-runtime/schemas';
12
- export { type AcceptInputAndAssignRun, AcceptInputAndAssignRunSchema, type AcquireAgentRun, AcquireAgentRunSchema, type AgentRuntimeStore, AgentStoreAppliedSchema, AgentStoreConflictSchema, AgentStoreDuplicateSchema, type AgentStoreMutationResult, AgentStoreMutationResultSchema, AgentStoreNotFoundSchema, type CheckpointRunAssistant, CheckpointRunAssistantSchema, type CommitRunTerminal, CommitRunTerminalSchema, createMemoryAgentRuntimeStore, type RecoverAgentRun, RecoverAgentRunSchema, type ReplaceCompactedRange, ReplaceCompactedRangeSchema, type RequestRunInterrupt, RequestRunInterruptSchema, } from './agent-runtime/store';
12
+ export { type AcceptInputAndAssignRun, AcceptInputAndAssignRunSchema, type AcquireAgentRun, AcquireAgentRunSchema, type AgentRuntimeStore, AgentStoreAppliedSchema, AgentStoreConflictSchema, AgentStoreDuplicateSchema, type AgentStoreMutationResult, AgentStoreMutationResultSchema, AgentStoreNotFoundSchema, type CheckpointRunAssistant, CheckpointRunAssistantSchema, type CommitRunTerminal, CommitRunTerminalSchema, type RecoverAgentRun, RecoverAgentRunSchema, type ReplaceCompactedRange, ReplaceCompactedRangeSchema, type RequestRunInterrupt, RequestRunInterruptSchema, } from './agent-runtime/store';
13
+ export { type AgentAdmissionIdentity, AgentAdmissionIdentitySchema, type AgentHistoryMutation, AgentHistoryMutationSchema, type AgentRecoverableDescriptor, AgentRecoverableDescriptorSchema, type AgentRecoverablePage, AgentRecoverablePageSchema, type AgentRuntimeStoreDriver, type AgentStoreCompareAndSwapResult, type AgentStoredState, AgentStoredStateSchema, createAgentRuntimeStore, createMemoryAgentRuntimeStore, } from './agent-runtime/store-driver';
13
14
  //# sourceMappingURL=agent-runtime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"agent-runtime.d.ts","sourceRoot":"","sources":["../src/agent-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,oBAAoB,GACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,0BAA0B,EAC1B,8BAA8B,EAC9B,4BAA4B,EAC5B,8BAA8B,EAC9B,wBAAwB,EACxB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,qBAAqB,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,w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