stitchkit 0.70.0 → 0.70.2

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.
Files changed (67) hide show
  1. package/dist/agent-runtime/coding-tool-files.d.ts.map +1 -1
  2. package/dist/agent-runtime/coding-tool-paths.d.ts +0 -1
  3. package/dist/agent-runtime/coding-tool-paths.d.ts.map +1 -1
  4. package/dist/agent-runtime/coding-tool-search-patch.d.ts.map +1 -1
  5. package/dist/agent-runtime/contained-files.d.ts +30 -7
  6. package/dist/agent-runtime/contained-files.d.ts.map +1 -1
  7. package/dist/agent-runtime/harness-control.d.ts +2 -0
  8. package/dist/agent-runtime/harness-control.d.ts.map +1 -1
  9. package/dist/agent-runtime/history-chronology.d.ts +19 -0
  10. package/dist/agent-runtime/history-chronology.d.ts.map +1 -0
  11. package/dist/agent-runtime/history.d.ts.map +1 -1
  12. package/dist/agent-runtime/run-execution.d.ts.map +1 -1
  13. package/dist/agent-runtime/terminal-status.d.ts.map +1 -1
  14. package/dist/agent-runtime-browser.js +51 -51
  15. package/dist/agent-runtime-coding-tools.js +31 -34
  16. package/dist/agent-runtime-harness.js +61 -17
  17. package/dist/agent-runtime-openrouter.js +2 -2
  18. package/dist/agent-runtime-sqlite-bun.js +5 -5
  19. package/dist/agent-runtime-sqlite-node.js +5 -5
  20. package/dist/agent-runtime.js +110 -110
  21. package/dist/application/server-resource.d.ts +1 -0
  22. package/dist/application/server-resource.d.ts.map +1 -1
  23. package/dist/application-grammy.js +2 -2
  24. package/dist/application.js +68 -65
  25. package/dist/browser/live-state.d.ts +126 -0
  26. package/dist/browser/live-state.d.ts.map +1 -0
  27. package/dist/cli.js +5 -5
  28. package/dist/contract/index.js +20 -20
  29. package/dist/declaration.d.ts +4 -0
  30. package/dist/declaration.d.ts.map +1 -1
  31. package/dist/declaration.js +22 -22
  32. package/dist/files.js +3 -3
  33. package/dist/index-1z5xxfst.js +397 -0
  34. package/dist/{index-vy5bjy07.js → index-4qfqy0m6.js} +21 -31
  35. package/dist/{index-dk6e56g0.js → index-7wpgrqa8.js} +37 -2
  36. package/dist/{index-10gbbbaa.js → index-9sx8tbz2.js} +1 -1
  37. package/dist/{index-38hs3a58.js → index-a01jky8m.js} +73 -8
  38. package/dist/{index-hsabxjz0.js → index-jw81xr75.js} +1 -1
  39. package/dist/{index-6wzr93cg.js → index-w0445741.js} +1 -1
  40. package/dist/index-y2s6h5bf.js +83 -0
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.d.ts.map +1 -1
  43. package/dist/index.js +667 -56
  44. package/dist/node.js +47 -27
  45. package/dist/observability/index.js +22 -22
  46. package/dist/react.js +2 -2
  47. package/dist/realtime/contract.d.ts +30 -11
  48. package/dist/realtime/contract.d.ts.map +1 -1
  49. package/dist/realtime/index.d.ts +1 -1
  50. package/dist/realtime/index.d.ts.map +1 -1
  51. package/dist/server/bun.d.ts.map +1 -1
  52. package/dist/server/index.js +88 -80
  53. package/dist/server/multipart.d.ts.map +1 -1
  54. package/dist/server/node.d.ts.map +1 -1
  55. package/dist/server/process-signals.d.ts.map +1 -1
  56. package/dist/server/shutdown.d.ts +2 -0
  57. package/dist/server/shutdown.d.ts.map +1 -1
  58. package/dist/testing/surface-conformance.d.ts +4 -2
  59. package/dist/testing/surface-conformance.d.ts.map +1 -1
  60. package/dist/testing.js +124 -113
  61. package/dist/tools.js +57 -57
  62. package/llms-full.txt +246 -17
  63. package/native/darwin-arm64.node +0 -0
  64. package/native/darwin-x64.node +0 -0
  65. package/package.json +3 -1
  66. package/dist/index-es0h4w26.js +0 -63
  67. package/dist/index-xbtcszs7.js +0 -202
@@ -27,7 +27,7 @@ import {
27
27
  registerDeferredToolRepair,
28
28
  repairedSearchCall,
29
29
  selectAgentHistory
30
- } from "./index-vy5bjy07.js";
30
+ } from "./index-4qfqy0m6.js";
31
31
  import {
32
32
  AgentModelCapabilitySchema,
33
33
  AgentModelCatalogEntrySchema,
@@ -71,11 +71,11 @@ import {
71
71
  RequestRunInterruptSchema,
72
72
  createAgentRuntimeStore,
73
73
  createMemoryAgentRuntimeStore
74
- } from "./index-hsabxjz0.js";
74
+ } from "./index-jw81xr75.js";
75
75
  import {
76
76
  isAssistantHistoryEvidence,
77
77
  isCompleteAgentHistoryTurn
78
- } from "./index-es0h4w26.js";
78
+ } from "./index-y2s6h5bf.js";
79
79
  import {
80
80
  createBoundedSinkManager
81
81
  } from "./index-a59da114.js";
@@ -695,112 +695,112 @@ function defineAgentProtocol(config) {
695
695
  };
696
696
  }
697
697
  export {
698
- ACTIVE_AGENT_RUN_STATES,
699
- AcceptInputAndAssignRunSchema,
700
- AcquireAgentRunSchema,
701
- AgentAdmissionEventSchema,
702
- AgentAdmissionReceiptSchema,
703
- AgentAssistantPlaceholderSchema,
704
- AgentCheckpointEventSchema,
705
- AgentContextOverflowError,
706
- AgentControlPartSchema,
707
- AgentConversationMessagePageSchema,
708
- AgentConversationPageSchema,
709
- AgentConversationSummarySchema,
710
- AgentCostValueSchema,
711
- AgentFilePartSchema,
712
- AgentHistoryMutationSchema,
713
- AgentJsonObjectSchema,
714
- AgentMessagePartSchema,
715
- AgentMessageRoleSchema,
716
- AgentMessageSchema,
717
- AgentMessageStatusSchema,
718
- AgentModelCapabilitySchema,
719
- AgentModelCatalogEntrySchema,
720
- AgentModelCatalogSchema,
721
- AgentModelDescriptorSchema,
722
- AgentModelMetricSchema,
723
- AgentModelPopularitySchema,
724
- AgentModelPriceSchema,
725
- AgentModelRegistrySnapshotSchema,
726
- AgentModelSearchInputSchema,
727
- AgentModelSearchResultSchema,
728
- AgentModelSelectionSchema,
729
- AgentOpaquePartSchema,
730
- AgentProvenanceSchema,
731
- AgentProviderEnvelopeSchema,
732
- AgentReasoningDeltaEventSchema,
733
- AgentReasoningEndEventSchema,
734
- AgentReasoningPartSchema,
735
- AgentReasoningStartEventSchema,
736
- AgentRecordIdSchema,
737
- AgentRecordVersionSchema,
738
- AgentRecoverableDescriptorSchema,
739
- AgentRecoverablePageSchema,
740
- AgentRunEventSchema,
741
- AgentRunMetricsSchema,
742
- AgentRunQueuePrioritySchema,
743
- AgentRunSchema,
744
- AgentRunStartedEventSchema,
745
- AgentRunStateEventSchema,
746
- AgentRunStateSchema,
747
- AgentRunTerminalEventSchema,
748
- AgentRunViewSchema,
749
- AgentRuntimeConflictError,
750
- AgentRuntimeEventCursorSchema,
751
- AgentRuntimeEventSchema,
752
- AgentRuntimeHeadSchema,
753
- AgentSnapshotSchema,
754
- AgentSourcePartSchema,
755
- AgentStepFinishedEventSchema,
756
- AgentStoreAppliedSchema,
757
- AgentStoreConflictSchema,
758
- AgentStoreDuplicateSchema,
759
- AgentStoreMutationResultSchema,
760
- AgentStoreNotFoundSchema,
761
- AgentStoredRunSchema,
762
- AgentTerminalEventSchema,
763
- AgentTerminalReasonSchema,
764
- AgentTextPartSchema,
765
- AgentTimestampSchema,
766
- AgentTokenCountSchema,
767
- AgentToolApprovalRequestPartSchema,
768
- AgentToolApprovalResponsePartSchema,
769
- AgentToolCallPartSchema,
770
- AgentToolResultPartSchema,
771
- AgentToolStatusEventSchema,
772
- AgentTransientDeltaEventSchema,
773
- AgentUsageSchema,
774
- AgentUsageValueSchema,
775
- CheckpointRunAssistantSchema,
776
- CommitRunTerminalSchema,
777
- DeferredAgentToolMatchSchema,
778
- DeferredAgentToolReceiptSchema,
779
- DeferredAgentToolSearchInputSchema,
780
- RecoverAgentRunSchema,
781
- ReplaceCompactedRangeSchema,
782
- RequestRunInterruptSchema,
783
- advanceAgentRuntimeEventCursor,
784
- agentDurableEventId,
785
- composeAgentPrompt,
786
- createAgentObservability,
787
- createAgentRuntime,
788
- createAgentRuntimeEventSink,
789
- createAgentRuntimeStore,
790
- createAgentSessionCoordinator,
791
- createAgentToolFenceLifecycle,
792
- createDeferredAgentToolSurface,
793
- createMemoryAgentModelSelectionStore,
794
- createMemoryAgentRuntimeStore,
795
- defineAgentProtocol,
796
- defineModelRegistry,
797
- hasAgentTerminalOutput,
798
- isAssistantHistoryEvidence,
799
- projectAgentHistory,
800
- projectAgentHistoryDetailed,
801
- runStateForTerminalReason,
802
- searchAgentModelCatalog,
803
- selectAgentHistory,
698
+ validateAgentModelSnapshot,
804
699
  structuredCompaction,
805
- validateAgentModelSnapshot
700
+ selectAgentHistory,
701
+ searchAgentModelCatalog,
702
+ runStateForTerminalReason,
703
+ projectAgentHistoryDetailed,
704
+ projectAgentHistory,
705
+ isAssistantHistoryEvidence,
706
+ hasAgentTerminalOutput,
707
+ defineModelRegistry,
708
+ defineAgentProtocol,
709
+ createMemoryAgentRuntimeStore,
710
+ createMemoryAgentModelSelectionStore,
711
+ createDeferredAgentToolSurface,
712
+ createAgentToolFenceLifecycle,
713
+ createAgentSessionCoordinator,
714
+ createAgentRuntimeStore,
715
+ createAgentRuntimeEventSink,
716
+ createAgentRuntime,
717
+ createAgentObservability,
718
+ composeAgentPrompt,
719
+ agentDurableEventId,
720
+ advanceAgentRuntimeEventCursor,
721
+ RequestRunInterruptSchema,
722
+ ReplaceCompactedRangeSchema,
723
+ RecoverAgentRunSchema,
724
+ DeferredAgentToolSearchInputSchema,
725
+ DeferredAgentToolReceiptSchema,
726
+ DeferredAgentToolMatchSchema,
727
+ CommitRunTerminalSchema,
728
+ CheckpointRunAssistantSchema,
729
+ AgentUsageValueSchema,
730
+ AgentUsageSchema,
731
+ AgentTransientDeltaEventSchema,
732
+ AgentToolStatusEventSchema,
733
+ AgentToolResultPartSchema,
734
+ AgentToolCallPartSchema,
735
+ AgentToolApprovalResponsePartSchema,
736
+ AgentToolApprovalRequestPartSchema,
737
+ AgentTokenCountSchema,
738
+ AgentTimestampSchema,
739
+ AgentTextPartSchema,
740
+ AgentTerminalReasonSchema,
741
+ AgentTerminalEventSchema,
742
+ AgentStoredRunSchema,
743
+ AgentStoreNotFoundSchema,
744
+ AgentStoreMutationResultSchema,
745
+ AgentStoreDuplicateSchema,
746
+ AgentStoreConflictSchema,
747
+ AgentStoreAppliedSchema,
748
+ AgentStepFinishedEventSchema,
749
+ AgentSourcePartSchema,
750
+ AgentSnapshotSchema,
751
+ AgentRuntimeHeadSchema,
752
+ AgentRuntimeEventSchema,
753
+ AgentRuntimeEventCursorSchema,
754
+ AgentRuntimeConflictError,
755
+ AgentRunViewSchema,
756
+ AgentRunTerminalEventSchema,
757
+ AgentRunStateSchema,
758
+ AgentRunStateEventSchema,
759
+ AgentRunStartedEventSchema,
760
+ AgentRunSchema,
761
+ AgentRunQueuePrioritySchema,
762
+ AgentRunMetricsSchema,
763
+ AgentRunEventSchema,
764
+ AgentRecoverablePageSchema,
765
+ AgentRecoverableDescriptorSchema,
766
+ AgentRecordVersionSchema,
767
+ AgentRecordIdSchema,
768
+ AgentReasoningStartEventSchema,
769
+ AgentReasoningPartSchema,
770
+ AgentReasoningEndEventSchema,
771
+ AgentReasoningDeltaEventSchema,
772
+ AgentProviderEnvelopeSchema,
773
+ AgentProvenanceSchema,
774
+ AgentOpaquePartSchema,
775
+ AgentModelSelectionSchema,
776
+ AgentModelSearchResultSchema,
777
+ AgentModelSearchInputSchema,
778
+ AgentModelRegistrySnapshotSchema,
779
+ AgentModelPriceSchema,
780
+ AgentModelPopularitySchema,
781
+ AgentModelMetricSchema,
782
+ AgentModelDescriptorSchema,
783
+ AgentModelCatalogSchema,
784
+ AgentModelCatalogEntrySchema,
785
+ AgentModelCapabilitySchema,
786
+ AgentMessageStatusSchema,
787
+ AgentMessageSchema,
788
+ AgentMessageRoleSchema,
789
+ AgentMessagePartSchema,
790
+ AgentJsonObjectSchema,
791
+ AgentHistoryMutationSchema,
792
+ AgentFilePartSchema,
793
+ AgentCostValueSchema,
794
+ AgentConversationSummarySchema,
795
+ AgentConversationPageSchema,
796
+ AgentConversationMessagePageSchema,
797
+ AgentControlPartSchema,
798
+ AgentContextOverflowError,
799
+ AgentCheckpointEventSchema,
800
+ AgentAssistantPlaceholderSchema,
801
+ AgentAdmissionReceiptSchema,
802
+ AgentAdmissionEventSchema,
803
+ AcquireAgentRunSchema,
804
+ AcceptInputAndAssignRunSchema,
805
+ ACTIVE_AGENT_RUN_STATES
806
806
  };
@@ -14,6 +14,7 @@ export interface ManagedServerResourceConfig<TRuntime> {
14
14
  readonly dependsOn?: readonly ManagedResourceDependency[];
15
15
  readonly required?: boolean;
16
16
  readonly retryAfterSeconds?: number;
17
+ readonly realtimeCloseTimeoutMs?: number;
17
18
  }
18
19
  /**
19
20
  * A managed resource that owns a managed server.
@@ -1 +1 @@
1
- {"version":3,"file":"server-resource.d.ts","sourceRoot":"","sources":["../../src/application/server-resource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAmC,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC/B,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,2BAA2B,CAAC,QAAQ;IACnD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,EACX,mBAAmB,CAAC,QAAQ,CAAC,GAC7B,CAAC,CACC,OAAO,EAAE,sBAAsB,KAC5B,mBAAmB,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACjF,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC1D,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CACrC;AAED;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB,CAAC,QAAQ,CAAE,SAAQ,eAAe;IACtE,KAAK,CACH,OAAO,EAAE,sBAAsB,GAC9B,OAAO,CAAC;QAAE,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAA;KAAE,CAAC,CAAC;CAC/D;AAED,uFAAuF;AACvF,wBAAgB,qBAAqB,CAAC,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160,7 @@ function createGrammyWebhookResource(config) {
160
160
  };
161
161
  }
162
162
  export {
163
- GrammyWebhookUnavailableError,
163
+ grammyPollingResource,
164
164
  createGrammyWebhookResource,
165
- grammyPollingResource
165
+ GrammyWebhookUnavailableError
166
166
  };
@@ -29,7 +29,7 @@ import {
29
29
  ApplicationShutdownBudgetSchema,
30
30
  ApplicationShutdownOptionsSchema,
31
31
  createApplication
32
- } from "./index-6wzr93cg.js";
32
+ } from "./index-w0445741.js";
33
33
  import {
34
34
  defineManagedResource,
35
35
  managedResourceDependencyId
@@ -47,7 +47,7 @@ import {
47
47
  ManagedResourceStateSchema,
48
48
  projectApplicationStatus
49
49
  } from "./index-8eywc9zv.js";
50
- import"./index-dk6e56g0.js";
50
+ import"./index-7wpgrqa8.js";
51
51
  import"./index-0w9abg87.js";
52
52
  import {
53
53
  isRecord
@@ -1030,6 +1030,9 @@ function managedServerResource(config) {
1030
1030
  ...gracePeriodMs !== undefined && { gracePeriodMs },
1031
1031
  ...forceTimeoutMs !== undefined && { forceTimeoutMs },
1032
1032
  retryAfterSeconds: grace(config.retryAfterSeconds ?? 5),
1033
+ ...config.realtimeCloseTimeoutMs !== undefined && {
1034
+ realtimeCloseTimeoutMs: grace(config.realtimeCloseTimeoutMs)
1035
+ },
1033
1036
  signal: context.signal
1034
1037
  };
1035
1038
  shutdownPromise = isHandle(server) ? server.shutdown(options) : server.then((handle) => handle.shutdown(options));
@@ -1062,68 +1065,68 @@ function managedServerResource(config) {
1062
1065
  });
1063
1066
  }
1064
1067
  export {
1065
- ActivityIdSchema,
1066
- ActivityLiveStateSchema,
1067
- ActivitySnapshotSchema,
1068
- ActivityStageIdSchema,
1069
- ActivityStageSnapshotSchema,
1070
- ActivityTokenBrand,
1071
- ApplicationAdmissionError,
1072
- ApplicationAdmissionSnapshotSchema,
1073
- ApplicationHealthHandlerOptionsSchema,
1074
- ApplicationHealthSchema,
1075
- ApplicationIdSchema,
1076
- ApplicationLifecycleEventSchema,
1077
- ApplicationLifecycleSchema,
1078
- ApplicationOperationalHandlersOptionsSchema,
1079
- ApplicationResourceShutdownSchema,
1080
- ApplicationShutdownBudgetSchema,
1081
- ApplicationShutdownOptionsSchema,
1082
- ApplicationShutdownResultSchema,
1083
- ApplicationSnapshotSchema,
1084
- ApplicationSnapshotSinkStatusSchema,
1085
- ApplicationStatusProjectionSchema,
1086
- BoundedAdmissionPolicySchema,
1087
- BoundedAdmissionRefusalError,
1088
- BoundedAdmissionRefusalReasonSchema,
1089
- BoundedAdmissionSnapshotSchema,
1090
- BoundedAdmissionStateSchema,
1091
- BoundedChannelPolicySchema,
1092
- BoundedChannelReaderError,
1093
- BoundedChannelSnapshotSchema,
1094
- BoundedChannelStateSchema,
1095
- BoundedOperationWaitError,
1096
- BoundedRateBudgetSchema,
1097
- CreditWindowSnapshotSchema,
1098
- DiagnosticJournalCloseResultSchema,
1099
- DiagnosticJournalFailurePhaseSchema,
1100
- DiagnosticJournalFrameSchema,
1101
- DiagnosticJournalLimitsSchema,
1102
- DiagnosticJournalRefusalReasonSchema,
1103
- DiagnosticJournalStateSchema,
1104
- DiagnosticJournalStatusSchema,
1105
- DiagnosticJournalSubmitResultSchema,
1106
- DiagnosticJournalWaitResultSchema,
1107
- ManagedResourceSnapshotSchema,
1108
- ManagedResourceStateSchema,
1109
- ManagedScheduleDescriptorSchema,
1110
- ManagedScheduleErrorPolicySchema,
1111
- ManagedScheduleOverlapSchema,
1112
- ManagedScheduleStatusSchema,
1113
- applicationLifecycleEvent,
1114
- createActivityProjection,
1115
- createApplication,
1116
- createApplicationEventSink,
1117
- createApplicationHealthHandler,
1118
- createApplicationOperationalHandlers,
1119
- createApplicationSnapshotSink,
1120
- createBoundedAdmission,
1121
- createBoundedChannel,
1122
- createCreditWindow,
1123
- createDiagnosticJournal,
1124
- createManagedSchedule,
1125
- defineManagedResource,
1126
- managedResourceDependencyId,
1068
+ projectApplicationStatus,
1127
1069
  managedServerResource,
1128
- projectApplicationStatus
1070
+ managedResourceDependencyId,
1071
+ defineManagedResource,
1072
+ createManagedSchedule,
1073
+ createDiagnosticJournal,
1074
+ createCreditWindow,
1075
+ createBoundedChannel,
1076
+ createBoundedAdmission,
1077
+ createApplicationSnapshotSink,
1078
+ createApplicationOperationalHandlers,
1079
+ createApplicationHealthHandler,
1080
+ createApplicationEventSink,
1081
+ createApplication,
1082
+ createActivityProjection,
1083
+ applicationLifecycleEvent,
1084
+ ManagedScheduleStatusSchema,
1085
+ ManagedScheduleOverlapSchema,
1086
+ ManagedScheduleErrorPolicySchema,
1087
+ ManagedScheduleDescriptorSchema,
1088
+ ManagedResourceStateSchema,
1089
+ ManagedResourceSnapshotSchema,
1090
+ DiagnosticJournalWaitResultSchema,
1091
+ DiagnosticJournalSubmitResultSchema,
1092
+ DiagnosticJournalStatusSchema,
1093
+ DiagnosticJournalStateSchema,
1094
+ DiagnosticJournalRefusalReasonSchema,
1095
+ DiagnosticJournalLimitsSchema,
1096
+ DiagnosticJournalFrameSchema,
1097
+ DiagnosticJournalFailurePhaseSchema,
1098
+ DiagnosticJournalCloseResultSchema,
1099
+ CreditWindowSnapshotSchema,
1100
+ BoundedRateBudgetSchema,
1101
+ BoundedOperationWaitError,
1102
+ BoundedChannelStateSchema,
1103
+ BoundedChannelSnapshotSchema,
1104
+ BoundedChannelReaderError,
1105
+ BoundedChannelPolicySchema,
1106
+ BoundedAdmissionStateSchema,
1107
+ BoundedAdmissionSnapshotSchema,
1108
+ BoundedAdmissionRefusalReasonSchema,
1109
+ BoundedAdmissionRefusalError,
1110
+ BoundedAdmissionPolicySchema,
1111
+ ApplicationStatusProjectionSchema,
1112
+ ApplicationSnapshotSinkStatusSchema,
1113
+ ApplicationSnapshotSchema,
1114
+ ApplicationShutdownResultSchema,
1115
+ ApplicationShutdownOptionsSchema,
1116
+ ApplicationShutdownBudgetSchema,
1117
+ ApplicationResourceShutdownSchema,
1118
+ ApplicationOperationalHandlersOptionsSchema,
1119
+ ApplicationLifecycleSchema,
1120
+ ApplicationLifecycleEventSchema,
1121
+ ApplicationIdSchema,
1122
+ ApplicationHealthSchema,
1123
+ ApplicationHealthHandlerOptionsSchema,
1124
+ ApplicationAdmissionSnapshotSchema,
1125
+ ApplicationAdmissionError,
1126
+ ActivityTokenBrand,
1127
+ ActivityStageSnapshotSchema,
1128
+ ActivityStageIdSchema,
1129
+ ActivitySnapshotSchema,
1130
+ ActivityLiveStateSchema,
1131
+ ActivityIdSchema
1129
1132
  };
@@ -0,0 +1,126 @@
1
+ import { z } from 'zod';
2
+ export declare const LiveStatePhaseSchema: z.ZodEnum<{
3
+ closed: "closed";
4
+ idle: "idle";
5
+ live: "live";
6
+ opening: "opening";
7
+ "resync-required": "resync-required";
8
+ unavailable: "unavailable";
9
+ }>;
10
+ export type LiveStatePhase = z.infer<typeof LiveStatePhaseSchema>;
11
+ export declare const LiveStateStopReasonSchema: z.ZodEnum<{
12
+ "buffer-overflow": "buffer-overflow";
13
+ "controller-capacity": "controller-capacity";
14
+ "controller-error": "controller-error";
15
+ gap: "gap";
16
+ "source-error": "source-error";
17
+ "source-unavailable": "source-unavailable";
18
+ }>;
19
+ export type LiveStateStopReason = z.infer<typeof LiveStateStopReasonSchema>;
20
+ export declare const LiveStateControllerStatusSchema: z.ZodReadonly<z.ZodObject<{
21
+ phase: z.ZodEnum<{
22
+ closed: "closed";
23
+ idle: "idle";
24
+ live: "live";
25
+ opening: "opening";
26
+ "resync-required": "resync-required";
27
+ unavailable: "unavailable";
28
+ }>;
29
+ generation: z.ZodNumber;
30
+ hasValue: z.ZodBoolean;
31
+ bufferedEvents: z.ZodNumber;
32
+ bufferedBytes: z.ZodNumber;
33
+ receivedEvents: z.ZodNumber;
34
+ appliedEvents: z.ZodNumber;
35
+ duplicateEvents: z.ZodNumber;
36
+ gapEvents: z.ZodNumber;
37
+ refusedEvents: z.ZodNumber;
38
+ reason: z.ZodOptional<z.ZodEnum<{
39
+ "buffer-overflow": "buffer-overflow";
40
+ "controller-capacity": "controller-capacity";
41
+ "controller-error": "controller-error";
42
+ gap: "gap";
43
+ "source-error": "source-error";
44
+ "source-unavailable": "source-unavailable";
45
+ }>>;
46
+ }, z.core.$strict>>;
47
+ export type LiveStateControllerStatus = z.infer<typeof LiveStateControllerStatusSchema>;
48
+ export interface LiveStateControllerSnapshot<TState> extends LiveStateControllerStatus {
49
+ readonly value?: TState;
50
+ }
51
+ export type LiveStateEventDecision<TState> = {
52
+ readonly outcome: 'applied';
53
+ readonly state: TState;
54
+ } | {
55
+ readonly outcome: 'duplicate';
56
+ } | {
57
+ readonly outcome: 'gap';
58
+ };
59
+ export interface LiveStateSourceOpenInput<TEvent> {
60
+ readonly signal: AbortSignal;
61
+ /** May run before `open()` resolves; the controller buffers those events finitely. */
62
+ readonly onEvent: (event: TEvent) => void;
63
+ /** Reports loss of this source generation. Reconnect policy remains source-owned. */
64
+ readonly onUnavailable: () => void;
65
+ }
66
+ export interface LiveStateSourceOpenResult<TState> {
67
+ /** State at the source's declared consistency point. */
68
+ readonly snapshot: TState;
69
+ /**
70
+ * Releases only resources owned by this opened source generation. Must be
71
+ * idempotent because abort-aware sources may already have begun cleanup.
72
+ */
73
+ close(): void | Promise<void>;
74
+ }
75
+ export interface LiveStateSource<TState, TEvent> {
76
+ /**
77
+ * Open one continuous generation.
78
+ *
79
+ * By resolution, every event after `snapshot`'s consistency point has already
80
+ * been or will be passed to `onEvent`. A source that performs an unrelated
81
+ * snapshot read followed by subscription does not satisfy this contract.
82
+ */
83
+ open(input: LiveStateSourceOpenInput<TEvent>): Promise<LiveStateSourceOpenResult<TState>>;
84
+ }
85
+ export interface LiveStateControllerError {
86
+ readonly error: unknown;
87
+ readonly generation: number;
88
+ readonly phase: LiveStatePhase;
89
+ }
90
+ export interface LiveStateSubscriberError<TState> {
91
+ readonly error: unknown;
92
+ readonly snapshot: LiveStateControllerSnapshot<TState>;
93
+ }
94
+ export interface LiveStateControllerConfig<TState, TEvent> {
95
+ readonly source: LiveStateSource<TState, TEvent>;
96
+ /** Provider-owned cursor/revision policy and state reduction. Must be synchronous. */
97
+ readonly applyEvent: (state: TState, event: TEvent) => LiveStateEventDecision<TState>;
98
+ readonly maxBufferedEvents: number;
99
+ readonly maxBufferedBytes: number;
100
+ /** Exact retained-byte accounting for an event waiting behind the snapshot boundary. */
101
+ readonly sizeOfEvent: (event: TEvent) => number;
102
+ readonly signal?: AbortSignal;
103
+ onControllerError?(failure: LiveStateControllerError): void;
104
+ onSubscriberError?(failure: LiveStateSubscriberError<TState>): void;
105
+ }
106
+ export interface LiveStateController<TState> {
107
+ /** Opens only from `idle`; use `resync()` after loss or an explicit refresh. */
108
+ start(): Promise<LiveStateControllerSnapshot<TState>>;
109
+ /**
110
+ * Fences the current generation and opens a fresh source boundary while
111
+ * bounded pending-operation capacity permits. Otherwise it returns
112
+ * `unavailable/controller-capacity`; retry after `resync-required` is published.
113
+ */
114
+ resync(): Promise<LiveStateControllerSnapshot<TState>>;
115
+ getSnapshot(): LiveStateControllerSnapshot<TState>;
116
+ /** Synchronous external-store subscription; async listeners are removed as invalid. */
117
+ subscribe(listener: (snapshot: LiveStateControllerSnapshot<TState>) => void): () => void;
118
+ /** Fences current work and closes any source handle that has already opened. */
119
+ close(): Promise<LiveStateControllerSnapshot<TState>>;
120
+ }
121
+ /**
122
+ * Keep one application state current across a provider-declared snapshot/event
123
+ * boundary without owning transport reconnect, schemas, replay storage or cursors.
124
+ */
125
+ export declare function createLiveStateController<TState, TEvent>(config: LiveStateControllerConfig<TState, TEvent>): LiveStateController<TState>;
126
+ //# sourceMappingURL=live-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"live-state.d.ts","sourceRoot":"","sources":["../../src/browser/live-state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,oBAAoB;;;;;;;EAO/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,e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nD,uFAAuF;IACvF,SAAS,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,2BAA2B,CAAC,MAAM,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;IACzF,gFAAgF;IAChF,KAAK,IAAI,OAAO,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAAC;CACvD;AAmBD;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,EACtD,MAAM,EAAE,yBAAyB,CAAC,MAAM,EAAE,MAAM,CAAC,GAChD,mBAAmB,CAAC,MAAM,CAAC,CAsZ7B"}
package/dist/cli.js CHANGED
@@ -20,10 +20,10 @@ import"./index-0w9abg87.js";
20
20
  import"./index-qyrqwr4c.js";
21
21
  import"./index-6k1937bx.js";
22
22
  export {
23
- DEFAULT_EXIT_CODES,
24
- createCli,
25
- defineCliCommand,
26
- emitResult,
23
+ pollUntilDone,
27
24
  parseCliArgs,
28
- pollUntilDone
25
+ emitResult,
26
+ defineCliCommand,
27
+ createCli,
28
+ DEFAULT_EXIT_CODES
29
29
  };
@@ -23,25 +23,25 @@ import {
23
23
  } from "../index-f6n5n7nz.js";
24
24
  import"../index-ksp6e2ye.js";
25
25
  export {
26
- ALL_TRANSPORTS,
27
- AppError,
28
- ContractStreamFrameSchema,
29
- DEFAULT_CONTRACT_STREAM_FRAME_BYTES,
30
- ManagedFilePathSchema,
31
- ManagedFileRefSchema,
32
- STITCH_ERROR_STATUS,
33
- appError,
34
- badRequest,
35
- conflict,
36
- createContractFactory,
37
- decodeCursor,
38
- defineContract,
39
- defineErrors,
40
- encodeCursor,
41
- forbidden,
42
- isStitchErrorCode,
43
- notFound,
44
- paginatedSchema,
26
+ unauthorized,
45
27
  rateLimited,
46
- unauthorized
28
+ paginatedSchema,
29
+ notFound,
30
+ isStitchErrorCode,
31
+ forbidden,
32
+ encodeCursor,
33
+ defineErrors,
34
+ defineContract,
35
+ decodeCursor,
36
+ createContractFactory,
37
+ conflict,
38
+ badRequest,
39
+ appError,
40
+ STITCH_ERROR_STATUS,
41
+ ManagedFileRefSchema,
42
+ ManagedFilePathSchema,
43
+ DEFAULT_CONTRACT_STREAM_FRAME_BYTES,
44
+ ContractStreamFrameSchema,
45
+ AppError,
46
+ ALL_TRANSPORTS
47
47
  };
@@ -1,6 +1,10 @@
1
1
  /**
2
2
  * The project declaration — the one machine-readable statement a repository
3
3
  * chooses to make about itself.
4
+ * Identity names its buildable source/artifact, not product membership, a
5
+ * checkout or a harness workspace. Explicit product↔repository membership is
6
+ * many-to-many and belongs to an external registry with its own access policy;
7
+ * dependencies do not create membership or require private companion metadata.
4
8
  *
5
9
  * The schema lives in the published framework, not in the repository that fills
6
10
  * it in, because it has readers that must never disagree: the project itself,
@@ -1 +1 @@
1
- {"version":3,"file":"declaration.d.ts","sourceRoot":"","sources":["../src/declaration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AACH,eAAO,MAAM,kCAAkC,IAAI,CAAC;AAoBpD,+EAA+E;AAC/E,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAK/D;AAUD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,aAO3B,CAAC;AAEJ;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,uCAQlC,CAAC;AAEJ,yEAAyE;AACzE,eAAO,MAAM,qBAAqB;;;;;kBAOvB,CAAC;AAEZ;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,aAW9B,CAAC;AAEJ,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,aAEiD,CAAC;AAEpF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB;;;;kBAavB,CAAC;AAEZ,kDAAkD;AAClD,eAAO,MAAM,oBAAoB;;;EAAwC,CAAC;AAoG1E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