@makaio/framework 1.0.0-dev-1781999985054 → 1.0.0-dev-1782130828143

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 (77) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.d.mts +13 -2
  3. package/dist/adapter-subsystem/index.mjs +1 -1
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/index.d.mts +11 -8
  6. package/dist/adapters/index.mjs +2 -2
  7. package/dist/adapters/stream-session/index.d.mts +4 -4
  8. package/dist/adapters/stream-session/index.mjs +1 -1
  9. package/dist/contracts/adapter/index.d.mts +1 -1
  10. package/dist/contracts/artifact/index.d.mts +1 -1
  11. package/dist/contracts/client/index.d.mts +1 -1
  12. package/dist/contracts/config/index.d.mts +6 -6
  13. package/dist/contracts/extension/index.d.mts +3 -3
  14. package/dist/contracts/facet/index.d.mts +1 -1
  15. package/dist/contracts/harness/index.d.mts +1 -1
  16. package/dist/contracts/index.d.mts +21 -21
  17. package/dist/contracts/materialization/index.d.mts +3 -3
  18. package/dist/contracts/provider/index.d.mts +1 -1
  19. package/dist/contracts/session/index.d.mts +2 -2
  20. package/dist/contracts/shared/index.d.mts +1 -1
  21. package/dist/contracts/variant/index.d.mts +1 -1
  22. package/dist/contracts/workflow/index.d.mts +2 -2
  23. package/dist/{definition-D_3U4OLJ.d.mts → definition-0EXM1tyu.d.mts} +1 -1
  24. package/dist/{index-Mi_UJoUV.d.mts → index-4eP9DRL_.d.mts} +4 -4
  25. package/dist/{index-vs_GRZcb.d.mts → index-BAnDvAk4.d.mts} +1 -1
  26. package/dist/{index-xyXYG5WO.d.mts → index-BW9kVuY2.d.mts} +16 -16
  27. package/dist/{index-DnZJ4j-7.d.mts → index-BjPtzjH6.d.mts} +12 -12
  28. package/dist/{index-vUhaDyDa.d.mts → index-C3bheiJg.d.mts} +15 -15
  29. package/dist/{index-DM8PTbfm.d.mts → index-CG5h1g3H.d.mts} +1 -1
  30. package/dist/{index-D2WJ0Zpt.d.mts → index-CTEsbp9H.d.mts} +5 -5
  31. package/dist/{index-NkNbYFud.d.mts → index-CaerrEDH.d.mts} +1 -1
  32. package/dist/{index-mU2lnU7O.d.mts → index-CqCe7Phc.d.mts} +6 -6
  33. package/dist/{index-CRmApyqn.d.mts → index-Cx1Bm6WD.d.mts} +4 -4
  34. package/dist/{index-C2K2Tdo9.d.mts → index-DBIqKoFm.d.mts} +24 -24
  35. package/dist/{index-DdBRlm7m.d.mts → index-DBxYWBvw.d.mts} +3 -3
  36. package/dist/{index-B_FtZ3Gn.d.mts → index-DImePakw.d.mts} +20 -20
  37. package/dist/{index-BWnf3pYm.d.mts → index-DeVMGLbP.d.mts} +9 -9
  38. package/dist/{index-q8nLr74m.d.mts → index-DnLf0YKC.d.mts} +6 -6
  39. package/dist/{index-C096hXsS.d.mts → index-dZwlJDpU.d.mts} +77 -77
  40. package/dist/{index-CXZ1a_DD.d.mts → index-gKaw_TMU.d.mts} +16 -16
  41. package/dist/{index-DFk-zky_.d.mts → index-ntS1EXlf.d.mts} +1 -1
  42. package/dist/kernel/extension/index.d.mts +1 -1
  43. package/dist/kernel/index.d.mts +2 -2
  44. package/dist/kernel/observability/index.d.mts +1 -1
  45. package/dist/{namespace-DSsdxeKi.d.mts → namespace-4xHw59K8.d.mts} +9 -9
  46. package/dist/{namespace-CJkAriut.d.mts → namespace-DxyTww2j.d.mts} +38 -38
  47. package/dist/{namespace-C6iVTunW.d.mts → namespace-Dybz75l5.d.mts} +26 -26
  48. package/dist/{namespace-3yGm4WF9.d.mts → namespace-j7vFsmYL.d.mts} +2 -2
  49. package/dist/package.json +1 -1
  50. package/dist/runtime-node/index.d.mts +1 -1
  51. package/dist/runtime-node/index.mjs +3 -3
  52. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  53. package/dist/{schema-B3sB8_cB.d.mts → schema-DqfR-im7.d.mts} +2 -2
  54. package/dist/{schemas-DhSdafzl2.d.mts → schemas-CBt7Ld8G2.d.mts} +6 -6
  55. package/dist/{schemas-DXjyGVpx.d.mts → schemas-DDaP5WkH.d.mts} +3 -3
  56. package/dist/{schemas-CscdPqCt.d.mts → schemas-lnE9YoG7.d.mts} +3 -3
  57. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  58. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  59. package/dist/services/context-rules/index.d.mts +3 -3
  60. package/dist/services/execution-target/index.d.mts +1 -1
  61. package/dist/services/harness/index.d.mts +3 -3
  62. package/dist/services/index.d.mts +36 -36
  63. package/dist/services/session/index.d.mts +4 -4
  64. package/dist/services/session/messages/namespace.d.mts +1 -1
  65. package/dist/services/session/storage/namespace.d.mts +1 -1
  66. package/dist/services/session/storage/schema.d.mts +1 -1
  67. package/dist/services/settings/namespace.d.mts +6 -6
  68. package/dist/services/subagent-template/index.d.mts +1 -1
  69. package/dist/services/subagent-template/schemas.d.mts +1 -1
  70. package/dist/services/tray-menu/index.d.mts +2 -2
  71. package/dist/services/tray-menu/namespace.d.mts +1 -1
  72. package/dist/services/tray-menu/schemas.d.mts +1 -1
  73. package/dist/{transition-ByWf06n-.d.mts → transition-BBElJqQ8.d.mts} +1 -1
  74. package/dist/{types-BNgCREUh.d.mts → types-BLG7bl-Q.d.mts} +26 -26
  75. package/dist/{types-BXCLseKt.d.mts → types-Cse8s_cD.d.mts} +2 -1
  76. package/dist/workflow-engine/index.d.mts +34 -34
  77. package/package.json +1 -1
@@ -14,9 +14,9 @@ declare const ProviderConfigFileRecordSchema: z.ZodObject<{
14
14
  name: z.ZodString;
15
15
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
16
16
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
17
+ enabled: "enabled";
17
18
  visible: "visible";
18
19
  disabled: "disabled";
19
- enabled: "enabled";
20
20
  }>>>;
21
21
  modelFilterMode: z.ZodEnum<{
22
22
  allowlist: "allowlist";
@@ -187,9 +187,9 @@ declare const AdapterSubsystemSchemas: {
187
187
  name: z.ZodString;
188
188
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
189
189
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
190
+ enabled: "enabled";
190
191
  visible: "visible";
191
192
  disabled: "disabled";
192
- enabled: "enabled";
193
193
  }>>>;
194
194
  modelFilterMode: z.ZodEnum<{
195
195
  allowlist: "allowlist";
@@ -217,9 +217,9 @@ declare const AdapterSubsystemSchemas: {
217
217
  name: z.ZodString;
218
218
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
219
219
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
220
+ enabled: "enabled";
220
221
  visible: "visible";
221
222
  disabled: "disabled";
222
- enabled: "enabled";
223
223
  }>>>;
224
224
  modelFilterMode: z.ZodEnum<{
225
225
  allowlist: "allowlist";
@@ -247,9 +247,9 @@ declare const AdapterSubsystemSchemas: {
247
247
  name: z.ZodString;
248
248
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
249
249
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
250
+ enabled: "enabled";
250
251
  visible: "visible";
251
252
  disabled: "disabled";
252
- enabled: "enabled";
253
253
  }>>>;
254
254
  modelFilterMode: z.ZodEnum<{
255
255
  allowlist: "allowlist";
@@ -323,9 +323,9 @@ declare const AdapterSubsystemSchemas: {
323
323
  name: z.ZodString;
324
324
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
325
325
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
326
+ enabled: "enabled";
326
327
  visible: "visible";
327
328
  disabled: "disabled";
328
- enabled: "enabled";
329
329
  }>>>;
330
330
  modelFilterMode: z.ZodEnum<{
331
331
  allowlist: "allowlist";
@@ -487,9 +487,9 @@ declare const AdapterSubsystemSchemas: {
487
487
  openai: z.ZodOptional<z.ZodString>;
488
488
  }, z.core.$strip>>;
489
489
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
490
+ enabled: "enabled";
490
491
  visible: "visible";
491
492
  disabled: "disabled";
492
- enabled: "enabled";
493
493
  }>>>;
494
494
  modelFilterMode: z.ZodOptional<z.ZodEnum<{
495
495
  allowlist: "allowlist";
@@ -504,9 +504,9 @@ declare const AdapterSubsystemSchemas: {
504
504
  name: z.ZodString;
505
505
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
506
506
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
507
+ enabled: "enabled";
507
508
  visible: "visible";
508
509
  disabled: "disabled";
509
- enabled: "enabled";
510
510
  }>>>;
511
511
  modelFilterMode: z.ZodEnum<{
512
512
  allowlist: "allowlist";
@@ -533,9 +533,9 @@ declare const AdapterSubsystemSchemas: {
533
533
  openai: z.ZodOptional<z.ZodString>;
534
534
  }, z.core.$strip>>>;
535
535
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
536
+ enabled: "enabled";
536
537
  visible: "visible";
537
538
  disabled: "disabled";
538
- enabled: "enabled";
539
539
  }>>>;
540
540
  enabled: z.ZodOptional<z.ZodBoolean>;
541
541
  }, z.core.$strict>;
@@ -547,9 +547,9 @@ declare const AdapterSubsystemSchemas: {
547
547
  name: z.ZodString;
548
548
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
549
549
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
550
+ enabled: "enabled";
550
551
  visible: "visible";
551
552
  disabled: "disabled";
552
- enabled: "enabled";
553
553
  }>>>;
554
554
  modelFilterMode: z.ZodEnum<{
555
555
  allowlist: "allowlist";
@@ -578,9 +578,9 @@ declare const AdapterSubsystemSchemas: {
578
578
  name: z.ZodString;
579
579
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
580
580
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
581
+ enabled: "enabled";
581
582
  visible: "visible";
582
583
  disabled: "disabled";
583
- enabled: "enabled";
584
584
  }>>>;
585
585
  modelFilterMode: z.ZodEnum<{
586
586
  allowlist: "allowlist";
@@ -619,9 +619,9 @@ declare const AdapterSubsystemSchemas: {
619
619
  name: z.ZodString;
620
620
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
621
621
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
622
+ enabled: "enabled";
622
623
  visible: "visible";
623
624
  disabled: "disabled";
624
- enabled: "enabled";
625
625
  }>>>;
626
626
  modelFilterMode: z.ZodEnum<{
627
627
  allowlist: "allowlist";
@@ -654,9 +654,9 @@ declare const AdapterSubsystemSchemas: {
654
654
  name: z.ZodString;
655
655
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
656
656
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
657
+ enabled: "enabled";
657
658
  visible: "visible";
658
659
  disabled: "disabled";
659
- enabled: "enabled";
660
660
  }>>>;
661
661
  modelFilterMode: z.ZodEnum<{
662
662
  allowlist: "allowlist";
@@ -780,9 +780,9 @@ declare const AdapterSubsystemSchemas: {
780
780
  name: z.ZodString;
781
781
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
782
782
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
783
+ enabled: "enabled";
783
784
  visible: "visible";
784
785
  disabled: "disabled";
785
- enabled: "enabled";
786
786
  }>>>;
787
787
  modelFilterMode: z.ZodEnum<{
788
788
  allowlist: "allowlist";
@@ -800,9 +800,9 @@ declare const AdapterSubsystemSchemas: {
800
800
  name: z.ZodString;
801
801
  endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
802
802
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
803
+ enabled: "enabled";
803
804
  visible: "visible";
804
805
  disabled: "disabled";
805
- enabled: "enabled";
806
806
  }>>>;
807
807
  modelFilterMode: z.ZodEnum<{
808
808
  allowlist: "allowlist";
@@ -936,9 +936,9 @@ declare const CreateCanonicalProviderConfigInputSchema: z.ZodObject<{
936
936
  openai: z.ZodOptional<z.ZodString>;
937
937
  }, z.core.$strip>>;
938
938
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
939
+ enabled: "enabled";
939
940
  visible: "visible";
940
941
  disabled: "disabled";
941
- enabled: "enabled";
942
942
  }>>>;
943
943
  modelFilterMode: z.ZodOptional<z.ZodEnum<{
944
944
  allowlist: "allowlist";
@@ -959,9 +959,9 @@ declare const CanonicalProviderConfigPatchSchema: z.ZodObject<{
959
959
  openai: z.ZodOptional<z.ZodString>;
960
960
  }, z.core.$strip>>>;
961
961
  modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
962
+ enabled: "enabled";
962
963
  visible: "visible";
963
964
  disabled: "disabled";
964
- enabled: "enabled";
965
965
  }>>>;
966
966
  enabled: z.ZodOptional<z.ZodBoolean>;
967
967
  }, z.core.$strict>;
@@ -4,8 +4,8 @@ import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@ma
4
4
  import { ExtensionConfigProvider, IWorkerNodeProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, LoopGateHandler, NormalizedWorkerNodeCapabilities, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerContributionManifest, WorkerNodeCapabilities, WorkerNodeDispatch, WorkerNodeHandle, WorkerNodeProvisionRequest, WorkerNodeRequirements, WorkflowDefinition, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
5
5
  import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
6
6
  import { StorageEngine } from "@makaio/framework/storage/drizzle";
7
- import { IAdapterConfigRepository } from "@makaio/framework/services/adapter-subsystem";
8
7
  import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
8
+ import { IAdapterConfigRepository } from "@makaio/framework/services/adapter-subsystem";
9
9
  import { PostInstallHandler, StrategyDependencies } from "@makaio/framework/clients";
10
10
  import { DatabaseClient } from "@makaio/framework/storage/drizzle/client";
11
11
  import { PersistedMachineIdentity } from "@makaio/framework/node/machine-identity";
@@ -1,2 +1,2 @@
1
- import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-DM8PTbfm.mjs";
1
+ import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-CG5h1g3H.mjs";
2
2
  export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -1,5 +1,5 @@
1
- import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-DnZJ4j-7.mjs";
2
- import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-DM8PTbfm.mjs";
1
+ import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-BjPtzjH6.mjs";
2
+ import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-CG5h1g3H.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-ofIUQnfo.mjs";
4
4
  import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-Y8rMeYYX.mjs";
5
5
  import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-CpKikwK4.mjs";
@@ -1,2 +1,2 @@
1
- import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-DnZJ4j-7.mjs";
1
+ import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-BjPtzjH6.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -334,10 +334,10 @@ declare const MessageStorageNamespace$1: {
334
334
  output: _$zod.ZodString;
335
335
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
336
336
  }, _$zod_v4_core0.$strip>], "type">>;
337
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
338
337
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
339
- timestamp: _$zod.ZodNumber;
338
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
340
339
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
340
+ timestamp: _$zod.ZodNumber;
341
341
  contentText: _$zod.ZodString;
342
342
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
343
343
  editOf: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1119,10 +1119,10 @@ declare const MessageStorageNamespace$1: {
1119
1119
  output: _$zod.ZodString;
1120
1120
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
1121
1121
  }, _$zod_v4_core0.$strip>], "type">>;
1122
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1123
1122
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
1124
- timestamp: _$zod.ZodNumber;
1123
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1125
1124
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
1125
+ timestamp: _$zod.ZodNumber;
1126
1126
  contentText: _$zod.ZodString;
1127
1127
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1128
1128
  editOf: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1960,12 +1960,12 @@ declare const MessageStorageNamespace$1: {
1960
1960
  output: string;
1961
1961
  isError?: boolean | undefined;
1962
1962
  })[];
1963
- timestamp: number;
1964
1963
  turnId: string | null;
1964
+ timestamp: number;
1965
1965
  contentText: string;
1966
1966
  origin?: "text" | "voice" | "compact" | undefined;
1967
- adapterSessionId?: string | undefined;
1968
1967
  agentId?: string | undefined;
1968
+ adapterSessionId?: string | undefined;
1969
1969
  adapterMessageId?: string | undefined;
1970
1970
  editOf?: string | undefined;
1971
1971
  messageId?: string | undefined;
@@ -2029,12 +2029,12 @@ declare const MessageStorageNamespace$1: {
2029
2029
  isError?: boolean | undefined;
2030
2030
  })[];
2031
2031
  messageId: string;
2032
- adapterSessionId: never;
2033
2032
  agentId: never;
2034
- timestamp: number;
2035
- limit: never;
2033
+ adapterSessionId: never;
2036
2034
  turnId: string | null;
2035
+ timestamp: number;
2037
2036
  query: string;
2037
+ limit: never;
2038
2038
  contentText: string;
2039
2039
  adapterMessageId: string;
2040
2040
  emitEvent: never;
@@ -88,7 +88,7 @@ declare const SessionStorageNamespace$1: {
88
88
  tableName: "sessions";
89
89
  dataType: "string";
90
90
  columnType: "SQLiteText";
91
- data: "closed" | "discovered" | "active" | "archived";
91
+ data: "closed" | "active" | "archived" | "discovered";
92
92
  driverParam: string;
93
93
  notNull: true;
94
94
  hasDefault: false;
@@ -923,7 +923,7 @@ declare const SessionStorageNamespace$1: {
923
923
  tableName: "agents";
924
924
  dataType: "string";
925
925
  columnType: "SQLiteText";
926
- data: "idle" | "active" | "dead" | "disposed";
926
+ data: "active" | "idle" | "dead" | "disposed";
927
927
  driverParam: string;
928
928
  notNull: true;
929
929
  hasDefault: false;
@@ -1012,8 +1012,8 @@ declare const SessionStorageNamespace$1: {
1012
1012
  member: "member";
1013
1013
  }>;
1014
1014
  status: _$zod.ZodEnum<{
1015
- idle: "idle";
1016
1015
  active: "active";
1016
+ idle: "idle";
1017
1017
  dead: "dead";
1018
1018
  disposed: "disposed";
1019
1019
  }>;
@@ -1022,9 +1022,9 @@ declare const SessionStorageNamespace$1: {
1022
1022
  }, _$zod_v4_core0.$strip>>;
1023
1023
  status: _$zod.ZodEnum<{
1024
1024
  closed: "closed";
1025
- discovered: "discovered";
1026
1025
  active: "active";
1027
1026
  archived: "archived";
1027
+ discovered: "discovered";
1028
1028
  }>;
1029
1029
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1030
1030
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1132,8 +1132,8 @@ declare const SessionStorageNamespace$1: {
1132
1132
  member: "member";
1133
1133
  }>;
1134
1134
  status: _$zod.ZodEnum<{
1135
- idle: "idle";
1136
1135
  active: "active";
1136
+ idle: "idle";
1137
1137
  dead: "dead";
1138
1138
  disposed: "disposed";
1139
1139
  }>;
@@ -1142,9 +1142,9 @@ declare const SessionStorageNamespace$1: {
1142
1142
  }, _$zod_v4_core0.$strip>>;
1143
1143
  status: _$zod.ZodEnum<{
1144
1144
  closed: "closed";
1145
- discovered: "discovered";
1146
1145
  active: "active";
1147
1146
  archived: "archived";
1147
+ discovered: "discovered";
1148
1148
  }>;
1149
1149
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1150
1150
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1239,9 +1239,9 @@ declare const SessionStorageNamespace$1: {
1239
1239
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1240
1240
  all: "all";
1241
1241
  closed: "closed";
1242
- discovered: "discovered";
1243
1242
  active: "active";
1244
1243
  archived: "archived";
1244
+ discovered: "discovered";
1245
1245
  }>>;
1246
1246
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1247
1247
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -1277,8 +1277,8 @@ declare const SessionStorageNamespace$1: {
1277
1277
  member: "member";
1278
1278
  }>;
1279
1279
  status: _$zod.ZodEnum<{
1280
- idle: "idle";
1281
1280
  active: "active";
1281
+ idle: "idle";
1282
1282
  dead: "dead";
1283
1283
  disposed: "disposed";
1284
1284
  }>;
@@ -1287,9 +1287,9 @@ declare const SessionStorageNamespace$1: {
1287
1287
  }, _$zod_v4_core0.$strip>>;
1288
1288
  status: _$zod.ZodEnum<{
1289
1289
  closed: "closed";
1290
- discovered: "discovered";
1291
1290
  active: "active";
1292
1291
  archived: "archived";
1292
+ discovered: "discovered";
1293
1293
  }>;
1294
1294
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1295
1295
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1402,9 +1402,9 @@ declare const SessionStorageNamespace$1: {
1402
1402
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1403
1403
  all: "all";
1404
1404
  closed: "closed";
1405
- discovered: "discovered";
1406
1405
  active: "active";
1407
1406
  archived: "archived";
1407
+ discovered: "discovered";
1408
1408
  }>>;
1409
1409
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
1410
1410
  }, _$zod_v4_core0.$strip>;
@@ -1437,8 +1437,8 @@ declare const SessionStorageNamespace$1: {
1437
1437
  member: "member";
1438
1438
  }>;
1439
1439
  status: _$zod.ZodEnum<{
1440
- idle: "idle";
1441
1440
  active: "active";
1441
+ idle: "idle";
1442
1442
  dead: "dead";
1443
1443
  disposed: "disposed";
1444
1444
  }>;
@@ -1447,9 +1447,9 @@ declare const SessionStorageNamespace$1: {
1447
1447
  }, _$zod_v4_core0.$strip>>;
1448
1448
  status: _$zod.ZodEnum<{
1449
1449
  closed: "closed";
1450
- discovered: "discovered";
1451
1450
  active: "active";
1452
1451
  archived: "archived";
1452
+ discovered: "discovered";
1453
1453
  }>;
1454
1454
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1455
1455
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1536,9 +1536,9 @@ declare const SessionStorageNamespace$1: {
1536
1536
  sessionId: _$zod.ZodString;
1537
1537
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1538
1538
  closed: "closed";
1539
- discovered: "discovered";
1540
1539
  active: "active";
1541
1540
  archived: "archived";
1541
+ discovered: "discovered";
1542
1542
  }>>;
1543
1543
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1544
1544
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1619,8 +1619,8 @@ declare const SessionStorageNamespace$1: {
1619
1619
  member: "member";
1620
1620
  }>;
1621
1621
  status: _$zod.ZodEnum<{
1622
- idle: "idle";
1623
1622
  active: "active";
1623
+ idle: "idle";
1624
1624
  dead: "dead";
1625
1625
  disposed: "disposed";
1626
1626
  }>;
@@ -1629,9 +1629,9 @@ declare const SessionStorageNamespace$1: {
1629
1629
  }, _$zod_v4_core0.$strip>>;
1630
1630
  status: _$zod.ZodEnum<{
1631
1631
  closed: "closed";
1632
- discovered: "discovered";
1633
1632
  active: "active";
1634
1633
  archived: "archived";
1634
+ discovered: "discovered";
1635
1635
  }>;
1636
1636
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1637
1637
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1806,8 +1806,8 @@ declare const SessionStorageNamespace$1: {
1806
1806
  member: "member";
1807
1807
  }>;
1808
1808
  status: _$zod.ZodEnum<{
1809
- idle: "idle";
1810
1809
  active: "active";
1810
+ idle: "idle";
1811
1811
  dead: "dead";
1812
1812
  disposed: "disposed";
1813
1813
  }>;
@@ -1816,9 +1816,9 @@ declare const SessionStorageNamespace$1: {
1816
1816
  }, _$zod_v4_core0.$strip>>;
1817
1817
  status: _$zod.ZodEnum<{
1818
1818
  closed: "closed";
1819
- discovered: "discovered";
1820
1819
  active: "active";
1821
1820
  archived: "archived";
1821
+ discovered: "discovered";
1822
1822
  }>;
1823
1823
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1824
1824
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1933,8 +1933,8 @@ declare const SessionStorageNamespace$1: {
1933
1933
  member: "member";
1934
1934
  }>;
1935
1935
  status: _$zod.ZodEnum<{
1936
- idle: "idle";
1937
1936
  active: "active";
1937
+ idle: "idle";
1938
1938
  dead: "dead";
1939
1939
  disposed: "disposed";
1940
1940
  }>;
@@ -1943,9 +1943,9 @@ declare const SessionStorageNamespace$1: {
1943
1943
  }, _$zod_v4_core0.$strip>>;
1944
1944
  status: _$zod.ZodEnum<{
1945
1945
  closed: "closed";
1946
- discovered: "discovered";
1947
1946
  active: "active";
1948
1947
  archived: "archived";
1948
+ discovered: "discovered";
1949
1949
  }>;
1950
1950
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1951
1951
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2081,8 +2081,8 @@ declare const SessionStorageNamespace$1: {
2081
2081
  member: "member";
2082
2082
  }>;
2083
2083
  status: _$zod.ZodEnum<{
2084
- idle: "idle";
2085
2084
  active: "active";
2085
+ idle: "idle";
2086
2086
  dead: "dead";
2087
2087
  disposed: "disposed";
2088
2088
  }>;
@@ -2091,9 +2091,9 @@ declare const SessionStorageNamespace$1: {
2091
2091
  }, _$zod_v4_core0.$strip>>;
2092
2092
  status: _$zod.ZodEnum<{
2093
2093
  closed: "closed";
2094
- discovered: "discovered";
2095
2094
  active: "active";
2096
2095
  archived: "archived";
2096
+ discovered: "discovered";
2097
2097
  }>;
2098
2098
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2099
2099
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2201,8 +2201,8 @@ declare const SessionStorageNamespace$1: {
2201
2201
  member: "member";
2202
2202
  }>;
2203
2203
  status: _$zod.ZodEnum<{
2204
- idle: "idle";
2205
2204
  active: "active";
2205
+ idle: "idle";
2206
2206
  dead: "dead";
2207
2207
  disposed: "disposed";
2208
2208
  }>;
@@ -2211,9 +2211,9 @@ declare const SessionStorageNamespace$1: {
2211
2211
  }, _$zod_v4_core0.$strip>>;
2212
2212
  status: _$zod.ZodEnum<{
2213
2213
  closed: "closed";
2214
- discovered: "discovered";
2215
2214
  active: "active";
2216
2215
  archived: "archived";
2216
+ discovered: "discovered";
2217
2217
  }>;
2218
2218
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2219
2219
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2308,9 +2308,9 @@ declare const SessionStorageNamespace$1: {
2308
2308
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2309
2309
  all: "all";
2310
2310
  closed: "closed";
2311
- discovered: "discovered";
2312
2311
  active: "active";
2313
2312
  archived: "archived";
2313
+ discovered: "discovered";
2314
2314
  }>>;
2315
2315
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
2316
2316
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -2346,8 +2346,8 @@ declare const SessionStorageNamespace$1: {
2346
2346
  member: "member";
2347
2347
  }>;
2348
2348
  status: _$zod.ZodEnum<{
2349
- idle: "idle";
2350
2349
  active: "active";
2350
+ idle: "idle";
2351
2351
  dead: "dead";
2352
2352
  disposed: "disposed";
2353
2353
  }>;
@@ -2356,9 +2356,9 @@ declare const SessionStorageNamespace$1: {
2356
2356
  }, _$zod_v4_core0.$strip>>;
2357
2357
  status: _$zod.ZodEnum<{
2358
2358
  closed: "closed";
2359
- discovered: "discovered";
2360
2359
  active: "active";
2361
2360
  archived: "archived";
2361
+ discovered: "discovered";
2362
2362
  }>;
2363
2363
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2364
2364
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2471,9 +2471,9 @@ declare const SessionStorageNamespace$1: {
2471
2471
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2472
2472
  all: "all";
2473
2473
  closed: "closed";
2474
- discovered: "discovered";
2475
2474
  active: "active";
2476
2475
  archived: "archived";
2476
+ discovered: "discovered";
2477
2477
  }>>;
2478
2478
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
2479
2479
  }, _$zod_v4_core0.$strip>;
@@ -2506,8 +2506,8 @@ declare const SessionStorageNamespace$1: {
2506
2506
  member: "member";
2507
2507
  }>;
2508
2508
  status: _$zod.ZodEnum<{
2509
- idle: "idle";
2510
2509
  active: "active";
2510
+ idle: "idle";
2511
2511
  dead: "dead";
2512
2512
  disposed: "disposed";
2513
2513
  }>;
@@ -2516,9 +2516,9 @@ declare const SessionStorageNamespace$1: {
2516
2516
  }, _$zod_v4_core0.$strip>>;
2517
2517
  status: _$zod.ZodEnum<{
2518
2518
  closed: "closed";
2519
- discovered: "discovered";
2520
2519
  active: "active";
2521
2520
  archived: "archived";
2521
+ discovered: "discovered";
2522
2522
  }>;
2523
2523
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2524
2524
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2605,9 +2605,9 @@ declare const SessionStorageNamespace$1: {
2605
2605
  sessionId: _$zod.ZodString;
2606
2606
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2607
2607
  closed: "closed";
2608
- discovered: "discovered";
2609
2608
  active: "active";
2610
2609
  archived: "archived";
2610
+ discovered: "discovered";
2611
2611
  }>>;
2612
2612
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2613
2613
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2688,8 +2688,8 @@ declare const SessionStorageNamespace$1: {
2688
2688
  member: "member";
2689
2689
  }>;
2690
2690
  status: _$zod.ZodEnum<{
2691
- idle: "idle";
2692
2691
  active: "active";
2692
+ idle: "idle";
2693
2693
  dead: "dead";
2694
2694
  disposed: "disposed";
2695
2695
  }>;
@@ -2698,9 +2698,9 @@ declare const SessionStorageNamespace$1: {
2698
2698
  }, _$zod_v4_core0.$strip>>;
2699
2699
  status: _$zod.ZodEnum<{
2700
2700
  closed: "closed";
2701
- discovered: "discovered";
2702
2701
  active: "active";
2703
2702
  archived: "archived";
2703
+ discovered: "discovered";
2704
2704
  }>;
2705
2705
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2706
2706
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2875,8 +2875,8 @@ declare const SessionStorageNamespace$1: {
2875
2875
  member: "member";
2876
2876
  }>;
2877
2877
  status: _$zod.ZodEnum<{
2878
- idle: "idle";
2879
2878
  active: "active";
2879
+ idle: "idle";
2880
2880
  dead: "dead";
2881
2881
  disposed: "disposed";
2882
2882
  }>;
@@ -2885,9 +2885,9 @@ declare const SessionStorageNamespace$1: {
2885
2885
  }, _$zod_v4_core0.$strip>>;
2886
2886
  status: _$zod.ZodEnum<{
2887
2887
  closed: "closed";
2888
- discovered: "discovered";
2889
2888
  active: "active";
2890
2889
  archived: "archived";
2890
+ discovered: "discovered";
2891
2891
  }>;
2892
2892
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2893
2893
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3002,8 +3002,8 @@ declare const SessionStorageNamespace$1: {
3002
3002
  member: "member";
3003
3003
  }>;
3004
3004
  status: _$zod.ZodEnum<{
3005
- idle: "idle";
3006
3005
  active: "active";
3006
+ idle: "idle";
3007
3007
  dead: "dead";
3008
3008
  disposed: "disposed";
3009
3009
  }>;
@@ -3012,9 +3012,9 @@ declare const SessionStorageNamespace$1: {
3012
3012
  }, _$zod_v4_core0.$strip>>;
3013
3013
  status: _$zod.ZodEnum<{
3014
3014
  closed: "closed";
3015
- discovered: "discovered";
3016
3015
  active: "active";
3017
3016
  archived: "archived";
3017
+ discovered: "discovered";
3018
3018
  }>;
3019
3019
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3020
3020
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3135,7 +3135,7 @@ declare const SessionStorageNamespace$1: {
3135
3135
  adapterName: string;
3136
3136
  sessionId: string;
3137
3137
  role: "lead" | "member";
3138
- status: "idle" | "active" | "dead" | "disposed";
3138
+ status: "active" | "idle" | "dead" | "disposed";
3139
3139
  createdAt: number;
3140
3140
  lastActivityAt: number;
3141
3141
  adapterSessionId?: string | undefined;
@@ -3149,7 +3149,7 @@ declare const SessionStorageNamespace$1: {
3149
3149
  clientId?: string | undefined;
3150
3150
  compressionMode?: "auto" | "manual" | "off" | undefined;
3151
3151
  }[];
3152
- status: "closed" | "discovered" | "active" | "archived";
3152
+ status: "closed" | "active" | "archived" | "discovered";
3153
3153
  leadAgentId?: string | undefined;
3154
3154
  parentSessionId?: string | undefined;
3155
3155
  contextInheritance?: "none" | "parent-history" | undefined;