@makaio/framework 1.0.0-dev-1788811230746 → 1.0.0-dev-1788832451167

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 (103) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{artifact-Btbuib48.mjs → artifact-ClvHqL3w.mjs} +1 -1
  3. package/dist/bus/index.mjs +1 -1
  4. package/dist/{context-resolution-C2VBZhaR.d.mts → context-resolution-BrtoXnez.d.mts} +99 -20
  5. package/dist/contracts/adapter/index.d.mts +1 -1
  6. package/dist/contracts/artifact/index.d.mts +3 -3
  7. package/dist/contracts/artifact/index.mjs +1 -1
  8. package/dist/contracts/capabilities/index.d.mts +1 -1
  9. package/dist/contracts/client/index.d.mts +1 -1
  10. package/dist/contracts/extension/index.d.mts +2 -2
  11. package/dist/contracts/index.d.mts +64 -64
  12. package/dist/contracts/index.mjs +1 -1
  13. package/dist/contracts/materialization/index.d.mts +2 -2
  14. package/dist/contracts/materialization/index.mjs +1 -1
  15. package/dist/contracts/session/index.d.mts +2 -2
  16. package/dist/contracts/worker/index.d.mts +1 -1
  17. package/dist/contracts/worker/index.mjs +1 -1
  18. package/dist/contracts/workflow/index.d.mts +2 -2
  19. package/dist/contracts/workflow/index.mjs +1 -1
  20. package/dist/{execution-attempt-repository-OryBjQQI.d.mts → execution-attempt-repository-CgB7uiYD.d.mts} +12 -1
  21. package/dist/execution-attempt-repository-D0cCU7dI.mjs +1 -0
  22. package/dist/{index-CXH1Bk0W.d.mts → index-BADuMxcP.d.mts} +134 -134
  23. package/dist/{index-BhOMZWZa2.d.mts → index-BDAfOYSw2.d.mts} +24 -24
  24. package/dist/{index-CAYbui7g.d.mts → index-BakMNLkB.d.mts} +110 -22
  25. package/dist/{index-CnGHGFMC.d.mts → index-Bsr4rZl0.d.mts} +4 -4
  26. package/dist/{index-DEpAI8CY.d.mts → index-BvgLFm-U.d.mts} +1 -1
  27. package/dist/{index-9PUmCySn.d.mts → index-BxOFB25y.d.mts} +5 -4
  28. package/dist/{index-BTCodvXA.d.mts → index-C1PfDEIV.d.mts} +50 -50
  29. package/dist/{index-C-cnB1Te.d.mts → index-CGJgZGqN.d.mts} +8 -8
  30. package/dist/{index-B6Kr3cxD2.d.mts → index-CiKzWCW02.d.mts} +30 -6
  31. package/dist/{index-DsjUnKyr.d.mts → index-DZXpKlyB.d.mts} +19 -19
  32. package/dist/{index-DrO6QLwf2.d.mts → index-DZnb56vt2.d.mts} +1 -1
  33. package/dist/{index-BDDavX2S.d.mts → index-LOh6AEqx.d.mts} +9 -9
  34. package/dist/{index-BxTM9lY0.d.mts → index-LryUXslm.d.mts} +1 -1
  35. package/dist/{index-CgqEyk9R.d.mts → index-rygpcDBV.d.mts} +1 -1
  36. package/dist/{index-Df9L5wwp.d.mts → index-vXmPEZ5O.d.mts} +388 -88
  37. package/dist/kernel/extension/index.d.mts +1 -1
  38. package/dist/kernel/index.d.mts +2 -2
  39. package/dist/kernel/observability/index.d.mts +1 -1
  40. package/dist/{materialization-lVd9_-jr.mjs → materialization-B_LA9pfy.mjs} +1 -1
  41. package/dist/{namespace-BkOvOAU5.d.mts → namespace-BMG3RCdr.d.mts} +6 -6
  42. package/dist/{namespace-2qvc6E2Y.d.mts → namespace-BoyqQiW9.d.mts} +2 -2
  43. package/dist/{namespace-CirognbA.d.mts → namespace-BymM0nl_.d.mts} +27 -27
  44. package/dist/{namespace-DAINF1II.d.mts → namespace-DdqVQSyc.d.mts} +2 -2
  45. package/dist/{namespace-DokogwAZ.d.mts → namespace-DlrX8feY.d.mts} +45 -45
  46. package/dist/{namespace-CxXNlHpn.d.mts → namespace-Dw5H_KCF.d.mts} +4 -4
  47. package/dist/{package-DEYXB80d.mjs → package-CzKoZ1k0.mjs} +1 -1
  48. package/dist/{package-eOEt1w6u.d.mts → package-DkpF17X_.d.mts} +14 -6
  49. package/dist/package.json +1 -1
  50. package/dist/runtime-node/index.d.mts +1 -1
  51. package/dist/runtime-node/index.mjs +1 -1
  52. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  53. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  54. package/dist/{schema-zSyY22Ck.d.mts → schema-C9PauHXt.d.mts} +2 -2
  55. package/dist/{schemas-DuJs6Iqj.d.mts → schemas-B2UbGJpJ.d.mts} +10 -10
  56. package/dist/{schemas-Dn1JDTPw.d.mts → schemas-BDZFd3Wb.d.mts} +2 -2
  57. package/dist/{schemas-DqnA42bw.d.mts → schemas-CBpjAhut.d.mts} +4 -4
  58. package/dist/schemas-CNkUEbIr.mjs +1 -0
  59. package/dist/{schemas-D0_kfoDf.d.mts → schemas-Wqo3_F6-.d.mts} +1 -1
  60. package/dist/services/adapter-runtime/index.d.mts +3 -3
  61. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  62. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  63. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  64. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  65. package/dist/services/context-rules/index.d.mts +3 -3
  66. package/dist/services/execution-target/index.d.mts +2 -2
  67. package/dist/services/execution-target/namespace.d.mts +1 -1
  68. package/dist/services/execution-target/schemas.d.mts +1 -1
  69. package/dist/services/filesystem/namespace.d.mts +6 -6
  70. package/dist/services/filesystem/schemas.d.mts +3 -3
  71. package/dist/services/index.d.mts +30 -30
  72. package/dist/services/index.mjs +1 -1
  73. package/dist/services/provider-context/index.d.mts +1 -1
  74. package/dist/services/session/handlers/index.d.mts +1 -1
  75. package/dist/services/session/index.d.mts +7 -7
  76. package/dist/services/session/messages/namespace.d.mts +1 -1
  77. package/dist/services/session/session-events/namespace.d.mts +1 -1
  78. package/dist/services/session/storage/namespace.d.mts +1 -1
  79. package/dist/services/session/storage/schema.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +10 -10
  81. package/dist/services/subagent-template/index.d.mts +1 -1
  82. package/dist/services/subagent-template/schemas.d.mts +1 -1
  83. package/dist/{transition-BB138WkK.d.mts → transition-DFA_ckdP.d.mts} +1 -1
  84. package/dist/{types-CR23FzmK.d.mts → types-DkfDRSTr.d.mts} +48 -48
  85. package/dist/{view-builder-qIGQrZfs.d.mts → view-builder-CYW_9n4A.d.mts} +1 -1
  86. package/dist/{worker-DPTYFyNP.mjs → worker-B4nD_Erm.mjs} +1 -1
  87. package/dist/{workflow-BomH9DBB.mjs → workflow-H8hsEikC.mjs} +1 -1
  88. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  89. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  90. package/dist/workflow-engine/index.d.mts +4 -4
  91. package/dist/workflow-engine/index.mjs +1 -1
  92. package/dist/workflow-engine/package.d.mts +1 -1
  93. package/dist/workflow-engine/package.mjs +1 -1
  94. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  95. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  96. package/dist/workflow-engine/testing/index.d.mts +1 -1
  97. package/dist/workflow-engine/testing/index.mjs +1 -1
  98. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  99. package/dist/workflow-engine/testing/sqlite.mjs +32 -32
  100. package/dist/{workflow-worker-BW3CE0YG.mjs → workflow-worker-CmIkKnpF.mjs} +2 -2
  101. package/package.json +1 -1
  102. package/dist/execution-attempt-repository-Djg3qDRv.mjs +0 -1
  103. package/dist/schemas-C3kyQWGf.mjs +0 -1
@@ -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-BxTM9lY0.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-LryUXslm.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-BhOMZWZa2.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-BxTM9lY0.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-BDAfOYSw2.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-LryUXslm.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-DQP5P2_0.mjs";
4
4
  import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-Bf2MgOni.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-DYHxzwok2.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-BhOMZWZa2.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-BDAfOYSw2.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -1 +1 @@
1
- import{A as e,B as t,D as n,M as r,l as i}from"./schemas-C3kyQWGf.mjs";import{z as a}from"zod";import{createBusNamespace as o}from"@makaio/framework/core";const s=r.extend({ref:i,affordance:e}),c=a.discriminatedUnion(`status`,[a.object({status:a.literal(`ok`),view:t,builderVersion:a.number().int().positive(),sourceRevision:a.string().min(1)}),a.object({status:a.literal(`artifact-not-found`),view:a.null()}),a.object({status:a.literal(`not-rendered`),view:a.null()})]),l={"surfaceBinding.register":{request:n,response:a.object({registered:a.boolean()})},"surfaceBinding.list":{request:a.object({id:a.string().min(1).optional(),provider:a.string().min(1).optional(),namespace:a.string().min(1).optional()}),response:a.object({bindings:a.array(n)})},"surfaceBinding.changed":a.object({id:a.string().min(1),provider:a.string().min(1)}),"ref.changed":a.object({artifactId:a.string().min(1),provider:a.string().min(1),externalId:a.string().min(1),operation:a.enum([`upserted`,`deleted`]),origin:a.enum([`factory`,`external`]).optional()}),"capability.resolved":a.object({provider:a.string().min(1),surface:a.string().min(1),capabilities:a.record(a.string().min(1),a.boolean()),degraded:a.boolean()}),"artifact.view.resolve":{request:s,response:c}},u=o(`materialization`,l),d=u.subjects;function f(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}export{l as a,u as i,s as n,d as o,c as r,f as t};
1
+ import{N as e,O as t,V as n,j as r,l as i}from"./schemas-CNkUEbIr.mjs";import{z as a}from"zod";import{createBusNamespace as o}from"@makaio/framework/core";const s=e.extend({ref:i,affordance:r}),c=a.discriminatedUnion(`status`,[a.object({status:a.literal(`ok`),view:n,builderVersion:a.number().int().positive(),sourceRevision:a.string().min(1)}),a.object({status:a.literal(`artifact-not-found`),view:a.null()}),a.object({status:a.literal(`not-rendered`),view:a.null()})]),l={"surfaceBinding.register":{request:t,response:a.object({registered:a.boolean()})},"surfaceBinding.list":{request:a.object({id:a.string().min(1).optional(),provider:a.string().min(1).optional(),namespace:a.string().min(1).optional()}),response:a.object({bindings:a.array(t)})},"surfaceBinding.changed":a.object({id:a.string().min(1),provider:a.string().min(1)}),"ref.changed":a.object({artifactId:a.string().min(1),provider:a.string().min(1),externalId:a.string().min(1),operation:a.enum([`upserted`,`deleted`]),origin:a.enum([`factory`,`external`]).optional()}),"capability.resolved":a.object({provider:a.string().min(1),surface:a.string().min(1),capabilities:a.record(a.string().min(1),a.boolean()),degraded:a.boolean()}),"artifact.view.resolve":{request:s,response:c}},u=o(`materialization`,l),d=u.subjects;function f(e){return{id:e.id,toRegistration:()=>({id:e.id,provider:e.provider,namespace:e.namespace,target:structuredClone(e.target),appliesTo:[...e.appliesTo],...e.valueMapping===void 0?{}:{valueMapping:{...e.valueMapping}},...e.description===void 0?{}:{description:e.description},...e.params===void 0?{}:{params:structuredClone(e.params)}})}}export{l as a,u as i,s as n,d as o,c as r,f as t};
@@ -15,8 +15,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
15
15
  config: _$zod.ZodNullable<_$zod.ZodObject<{
16
16
  description: _$zod.ZodOptional<_$zod.ZodString>;
17
17
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
18
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
19
18
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
19
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
20
20
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
21
21
  label: _$zod.ZodString;
22
22
  url: _$zod.ZodString;
@@ -40,8 +40,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
40
40
  configs: _$zod.ZodArray<_$zod.ZodObject<{
41
41
  description: _$zod.ZodOptional<_$zod.ZodString>;
42
42
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
43
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
44
43
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
44
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
45
45
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
46
46
  label: _$zod.ZodString;
47
47
  url: _$zod.ZodString;
@@ -1651,8 +1651,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
1651
1651
  config: _$zod.ZodObject<{
1652
1652
  description: _$zod.ZodOptional<_$zod.ZodString>;
1653
1653
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1654
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
1655
1654
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1655
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
1656
1656
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1657
1657
  label: _$zod.ZodString;
1658
1658
  url: _$zod.ZodString;
@@ -1876,8 +1876,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1876
1876
  config: _$zod.ZodNullable<_$zod.ZodObject<{
1877
1877
  description: _$zod.ZodOptional<_$zod.ZodString>;
1878
1878
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1879
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
1880
1879
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1880
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
1881
1881
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1882
1882
  label: _$zod.ZodString;
1883
1883
  url: _$zod.ZodString;
@@ -1901,8 +1901,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1901
1901
  configs: _$zod.ZodArray<_$zod.ZodObject<{
1902
1902
  description: _$zod.ZodOptional<_$zod.ZodString>;
1903
1903
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1904
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
1905
1904
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1905
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
1906
1906
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1907
1907
  label: _$zod.ZodString;
1908
1908
  url: _$zod.ZodString;
@@ -3512,8 +3512,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
3512
3512
  config: _$zod.ZodObject<{
3513
3513
  description: _$zod.ZodOptional<_$zod.ZodString>;
3514
3514
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
3515
- clientId: _$zod.ZodOptional<_$zod.ZodString>;
3516
3515
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
3516
+ clientId: _$zod.ZodOptional<_$zod.ZodString>;
3517
3517
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
3518
3518
  label: _$zod.ZodString;
3519
3519
  url: _$zod.ZodString;
@@ -47,8 +47,8 @@ declare const AdapterRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"a
47
47
  teardownCompleted: _$zod.ZodObject<{
48
48
  evidence: _$zod.ZodEnum<{
49
49
  unknown: "unknown";
50
- exited: "exited";
51
50
  closed: "closed";
51
+ exited: "exited";
52
52
  released: "released";
53
53
  detached: "detached";
54
54
  }>;
@@ -100,8 +100,8 @@ declare const AdapterRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
100
100
  teardownCompleted: _$zod.ZodObject<{
101
101
  evidence: _$zod.ZodEnum<{
102
102
  unknown: "unknown";
103
- exited: "exited";
104
103
  closed: "closed";
104
+ exited: "exited";
105
105
  released: "released";
106
106
  detached: "detached";
107
107
  }>;
@@ -550,9 +550,9 @@ declare const SessionEventStorageNamespace$1: {
550
550
  subagent: "subagent";
551
551
  compress: "compress";
552
552
  branch: "branch";
553
+ aside: "aside";
553
554
  rewrite: "rewrite";
554
555
  coordinator: "coordinator";
555
- aside: "aside";
556
556
  }>;
557
557
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
558
558
  }, _$zod_v4_core0.$strip>;
@@ -585,8 +585,8 @@ declare const SessionEventStorageNamespace$1: {
585
585
  type: _$zod.ZodLiteral<"locality.degraded">;
586
586
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
587
587
  intent: _$zod.ZodEnum<{
588
- fork: "fork";
589
588
  resume: "resume";
589
+ fork: "fork";
590
590
  }>;
591
591
  verdictKind: _$zod.ZodLiteral<"degrade">;
592
592
  reason: _$zod.ZodEnum<{
@@ -611,8 +611,8 @@ declare const SessionEventStorageNamespace$1: {
611
611
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
612
612
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
613
613
  intent: _$zod.ZodEnum<{
614
- fork: "fork";
615
614
  resume: "resume";
615
+ fork: "fork";
616
616
  }>;
617
617
  verdictKind: _$zod.ZodLiteral<"foreign">;
618
618
  foreignMachineId: _$zod.ZodString;
@@ -932,9 +932,9 @@ declare const SessionEventStorageNamespace$1: {
932
932
  subagent: "subagent";
933
933
  compress: "compress";
934
934
  branch: "branch";
935
+ aside: "aside";
935
936
  rewrite: "rewrite";
936
937
  coordinator: "coordinator";
937
- aside: "aside";
938
938
  }>;
939
939
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
940
940
  }, _$zod_v4_core0.$strip>;
@@ -967,8 +967,8 @@ declare const SessionEventStorageNamespace$1: {
967
967
  type: _$zod.ZodLiteral<"locality.degraded">;
968
968
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
969
969
  intent: _$zod.ZodEnum<{
970
- fork: "fork";
971
970
  resume: "resume";
971
+ fork: "fork";
972
972
  }>;
973
973
  verdictKind: _$zod.ZodLiteral<"degrade">;
974
974
  reason: _$zod.ZodEnum<{
@@ -993,8 +993,8 @@ declare const SessionEventStorageNamespace$1: {
993
993
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
994
994
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
995
995
  intent: _$zod.ZodEnum<{
996
- fork: "fork";
997
996
  resume: "resume";
997
+ fork: "fork";
998
998
  }>;
999
999
  verdictKind: _$zod.ZodLiteral<"foreign">;
1000
1000
  foreignMachineId: _$zod.ZodString;
@@ -1304,9 +1304,9 @@ declare const SessionEventStorageNamespace$1: {
1304
1304
  subagent: "subagent";
1305
1305
  compress: "compress";
1306
1306
  branch: "branch";
1307
+ aside: "aside";
1307
1308
  rewrite: "rewrite";
1308
1309
  coordinator: "coordinator";
1309
- aside: "aside";
1310
1310
  }>;
1311
1311
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1312
1312
  }, _$zod_v4_core0.$strip>;
@@ -1339,8 +1339,8 @@ declare const SessionEventStorageNamespace$1: {
1339
1339
  type: _$zod.ZodLiteral<"locality.degraded">;
1340
1340
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1341
1341
  intent: _$zod.ZodEnum<{
1342
- fork: "fork";
1343
1342
  resume: "resume";
1343
+ fork: "fork";
1344
1344
  }>;
1345
1345
  verdictKind: _$zod.ZodLiteral<"degrade">;
1346
1346
  reason: _$zod.ZodEnum<{
@@ -1365,8 +1365,8 @@ declare const SessionEventStorageNamespace$1: {
1365
1365
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1366
1366
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1367
1367
  intent: _$zod.ZodEnum<{
1368
- fork: "fork";
1369
1368
  resume: "resume";
1369
+ fork: "fork";
1370
1370
  }>;
1371
1371
  verdictKind: _$zod.ZodLiteral<"foreign">;
1372
1372
  foreignMachineId: _$zod.ZodString;
@@ -1684,9 +1684,9 @@ declare const SessionEventStorageNamespace$1: {
1684
1684
  subagent: "subagent";
1685
1685
  compress: "compress";
1686
1686
  branch: "branch";
1687
+ aside: "aside";
1687
1688
  rewrite: "rewrite";
1688
1689
  coordinator: "coordinator";
1689
- aside: "aside";
1690
1690
  }>;
1691
1691
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
1692
1692
  }, _$zod_v4_core0.$strip>;
@@ -1719,8 +1719,8 @@ declare const SessionEventStorageNamespace$1: {
1719
1719
  type: _$zod.ZodLiteral<"locality.degraded">;
1720
1720
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1721
1721
  intent: _$zod.ZodEnum<{
1722
- fork: "fork";
1723
1722
  resume: "resume";
1723
+ fork: "fork";
1724
1724
  }>;
1725
1725
  verdictKind: _$zod.ZodLiteral<"degrade">;
1726
1726
  reason: _$zod.ZodEnum<{
@@ -1745,8 +1745,8 @@ declare const SessionEventStorageNamespace$1: {
1745
1745
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1746
1746
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1747
1747
  intent: _$zod.ZodEnum<{
1748
- fork: "fork";
1749
1748
  resume: "resume";
1749
+ fork: "fork";
1750
1750
  }>;
1751
1751
  verdictKind: _$zod.ZodLiteral<"foreign">;
1752
1752
  foreignMachineId: _$zod.ZodString;
@@ -2052,9 +2052,9 @@ declare const SessionEventStorageNamespace$1: {
2052
2052
  subagent: "subagent";
2053
2053
  compress: "compress";
2054
2054
  branch: "branch";
2055
+ aside: "aside";
2055
2056
  rewrite: "rewrite";
2056
2057
  coordinator: "coordinator";
2057
- aside: "aside";
2058
2058
  }>;
2059
2059
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2060
2060
  }, _$zod_v4_core0.$strip>;
@@ -2087,8 +2087,8 @@ declare const SessionEventStorageNamespace$1: {
2087
2087
  type: _$zod.ZodLiteral<"locality.degraded">;
2088
2088
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2089
2089
  intent: _$zod.ZodEnum<{
2090
- fork: "fork";
2091
2090
  resume: "resume";
2091
+ fork: "fork";
2092
2092
  }>;
2093
2093
  verdictKind: _$zod.ZodLiteral<"degrade">;
2094
2094
  reason: _$zod.ZodEnum<{
@@ -2113,8 +2113,8 @@ declare const SessionEventStorageNamespace$1: {
2113
2113
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2114
2114
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2115
2115
  intent: _$zod.ZodEnum<{
2116
- fork: "fork";
2117
2116
  resume: "resume";
2117
+ fork: "fork";
2118
2118
  }>;
2119
2119
  verdictKind: _$zod.ZodLiteral<"foreign">;
2120
2120
  foreignMachineId: _$zod.ZodString;
@@ -2434,9 +2434,9 @@ declare const SessionEventStorageNamespace$1: {
2434
2434
  subagent: "subagent";
2435
2435
  compress: "compress";
2436
2436
  branch: "branch";
2437
+ aside: "aside";
2437
2438
  rewrite: "rewrite";
2438
2439
  coordinator: "coordinator";
2439
- aside: "aside";
2440
2440
  }>;
2441
2441
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2442
2442
  }, _$zod_v4_core0.$strip>;
@@ -2469,8 +2469,8 @@ declare const SessionEventStorageNamespace$1: {
2469
2469
  type: _$zod.ZodLiteral<"locality.degraded">;
2470
2470
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2471
2471
  intent: _$zod.ZodEnum<{
2472
- fork: "fork";
2473
2472
  resume: "resume";
2473
+ fork: "fork";
2474
2474
  }>;
2475
2475
  verdictKind: _$zod.ZodLiteral<"degrade">;
2476
2476
  reason: _$zod.ZodEnum<{
@@ -2495,8 +2495,8 @@ declare const SessionEventStorageNamespace$1: {
2495
2495
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2496
2496
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2497
2497
  intent: _$zod.ZodEnum<{
2498
- fork: "fork";
2499
2498
  resume: "resume";
2499
+ fork: "fork";
2500
2500
  }>;
2501
2501
  verdictKind: _$zod.ZodLiteral<"foreign">;
2502
2502
  foreignMachineId: _$zod.ZodString;
@@ -2806,9 +2806,9 @@ declare const SessionEventStorageNamespace$1: {
2806
2806
  subagent: "subagent";
2807
2807
  compress: "compress";
2808
2808
  branch: "branch";
2809
+ aside: "aside";
2809
2810
  rewrite: "rewrite";
2810
2811
  coordinator: "coordinator";
2811
- aside: "aside";
2812
2812
  }>;
2813
2813
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
2814
2814
  }, _$zod_v4_core0.$strip>;
@@ -2841,8 +2841,8 @@ declare const SessionEventStorageNamespace$1: {
2841
2841
  type: _$zod.ZodLiteral<"locality.degraded">;
2842
2842
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2843
2843
  intent: _$zod.ZodEnum<{
2844
- fork: "fork";
2845
2844
  resume: "resume";
2845
+ fork: "fork";
2846
2846
  }>;
2847
2847
  verdictKind: _$zod.ZodLiteral<"degrade">;
2848
2848
  reason: _$zod.ZodEnum<{
@@ -2867,8 +2867,8 @@ declare const SessionEventStorageNamespace$1: {
2867
2867
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2868
2868
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2869
2869
  intent: _$zod.ZodEnum<{
2870
- fork: "fork";
2871
2870
  resume: "resume";
2871
+ fork: "fork";
2872
2872
  }>;
2873
2873
  verdictKind: _$zod.ZodLiteral<"foreign">;
2874
2874
  foreignMachineId: _$zod.ZodString;
@@ -3186,9 +3186,9 @@ declare const SessionEventStorageNamespace$1: {
3186
3186
  subagent: "subagent";
3187
3187
  compress: "compress";
3188
3188
  branch: "branch";
3189
+ aside: "aside";
3189
3190
  rewrite: "rewrite";
3190
3191
  coordinator: "coordinator";
3191
- aside: "aside";
3192
3192
  }>;
3193
3193
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
3194
3194
  }, _$zod_v4_core0.$strip>;
@@ -3221,8 +3221,8 @@ declare const SessionEventStorageNamespace$1: {
3221
3221
  type: _$zod.ZodLiteral<"locality.degraded">;
3222
3222
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3223
3223
  intent: _$zod.ZodEnum<{
3224
- fork: "fork";
3225
3224
  resume: "resume";
3225
+ fork: "fork";
3226
3226
  }>;
3227
3227
  verdictKind: _$zod.ZodLiteral<"degrade">;
3228
3228
  reason: _$zod.ZodEnum<{
@@ -3247,8 +3247,8 @@ declare const SessionEventStorageNamespace$1: {
3247
3247
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3248
3248
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3249
3249
  intent: _$zod.ZodEnum<{
3250
- fork: "fork";
3251
3250
  resume: "resume";
3251
+ fork: "fork";
3252
3252
  }>;
3253
3253
  verdictKind: _$zod.ZodLiteral<"foreign">;
3254
3254
  foreignMachineId: _$zod.ZodString;
@@ -3506,7 +3506,7 @@ declare const SessionEventStorageNamespace$1: {
3506
3506
  payload: {
3507
3507
  childSessionId: string;
3508
3508
  parentSessionId: string;
3509
- kind: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
3509
+ kind: "fork" | "subagent" | "compress" | "branch" | "aside" | "rewrite" | "coordinator";
3510
3510
  forkPointMessageId?: string | undefined;
3511
3511
  };
3512
3512
  } | {
@@ -3537,14 +3537,14 @@ declare const SessionEventStorageNamespace$1: {
3537
3537
  timestamp: number;
3538
3538
  type: "locality.degraded";
3539
3539
  payload: {
3540
- intent: "fork" | "resume";
3540
+ intent: "resume" | "fork";
3541
3541
  verdictKind: "degrade";
3542
3542
  reason: "adapter-unsupported" | "adapter-mismatch" | "no-adapter-session" | "missing-machine-id" | "machine-mismatch" | "cwd-mismatch" | "transforms-present" | "compression-present" | "connector-swap" | "mid-history-unsupported" | "hybrid-imported-orchestrated" | "native-attempt-failed" | "agent-already-started" | "fork-point-unresolvable" | "adapter-session-moved";
3543
3543
  agentId?: string | undefined;
3544
3544
  adapterId?: string | undefined;
3545
3545
  turnId?: string | undefined;
3546
3546
  } | {
3547
- intent: "fork" | "resume";
3547
+ intent: "resume" | "fork";
3548
3548
  verdictKind: "foreign";
3549
3549
  foreignMachineId: string;
3550
3550
  agentId?: string | undefined;
@@ -67,8 +67,8 @@ declare const ExecutionTargetNamespace: _$_makaio_core0.BusNamespaceDefinition<"
67
67
  name: _$zod.ZodString;
68
68
  image: _$zod.ZodOptional<_$zod.ZodString>;
69
69
  enabled: _$zod.ZodBoolean;
70
- scope: _$zod.ZodString;
71
70
  busUrl: _$zod.ZodOptional<_$zod.ZodString>;
71
+ scope: _$zod.ZodString;
72
72
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
73
73
  type: _$zod.ZodLiteral<"container-isolated">;
74
74
  id: _$zod.ZodString;
@@ -338,8 +338,8 @@ declare const ExecutionTargetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
338
338
  name: _$zod.ZodString;
339
339
  image: _$zod.ZodOptional<_$zod.ZodString>;
340
340
  enabled: _$zod.ZodBoolean;
341
- scope: _$zod.ZodString;
342
341
  busUrl: _$zod.ZodOptional<_$zod.ZodString>;
342
+ scope: _$zod.ZodString;
343
343
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
344
344
  type: _$zod.ZodLiteral<"container-isolated">;
345
345
  id: _$zod.ZodString;