@makaio/framework 1.0.0-dev-1790165101280 → 1.0.0-dev-1790175294701

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 (96) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/bridge/pty-bridge.cjs +222 -0
  3. package/dist/bus/index.d.mts +1 -1
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/{bus-D4DBDaoS.mjs → bus-30AlabEz.mjs} +1 -1
  6. package/dist/contracts/adapter/index.d.mts +2 -2
  7. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +2 -2
  9. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  10. package/dist/contracts/capabilities/index.d.mts +1 -1
  11. package/dist/contracts/client/index.d.mts +2 -2
  12. package/dist/contracts/extension/index.d.mts +4 -4
  13. package/dist/contracts/harness/index.d.mts +1 -1
  14. package/dist/contracts/index.d.mts +86 -86
  15. package/dist/contracts/index.mjs +1 -1
  16. package/dist/contracts/materialization/index.d.mts +2 -2
  17. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  18. package/dist/contracts/reaction/index.d.mts +1 -1
  19. package/dist/contracts/reaction/index.mjs +1 -1
  20. package/dist/contracts/session/index.d.mts +2 -2
  21. package/dist/contracts/skill/index.d.mts +1 -1
  22. package/dist/contracts/worker/index.d.mts +1 -1
  23. package/dist/contracts/workflow/index.d.mts +2 -2
  24. package/dist/{contribution-kpR61mnG.d.mts → contribution-DTb65rRN.d.mts} +1 -1
  25. package/dist/{extension-context-CmhBCbbq.d.mts → extension-context-DH84KOm9.d.mts} +3 -3
  26. package/dist/framework-packages-mquh5_Yw.mjs +1 -0
  27. package/dist/{hook-responses-C3nUIm-6.d.mts → hook-responses-OETFKaAL.d.mts} +1 -1
  28. package/dist/{index-C9Dz8UoK2.d.mts → index-2YW8DTb62.d.mts} +6 -6
  29. package/dist/{index-04uTOEVU.d.mts → index-7pt_bh4z.d.mts} +6 -6
  30. package/dist/{index-D5Lw1UsO.d.mts → index-B1iXL1pW.d.mts} +8 -8
  31. package/dist/{index-CRjWqvy02.d.mts → index-BMr77str2.d.mts} +8 -8
  32. package/dist/{index-xad0YUyF.d.mts → index-BRXETFym.d.mts} +10 -2
  33. package/dist/{index-8HtSFrzb.d.mts → index-BVN64wQx.d.mts} +16 -16
  34. package/dist/{index-D5BLD2Pw.d.mts → index-BgkQiruC.d.mts} +7 -7
  35. package/dist/{index-J6C4thLY.d.mts → index-Bgz81LHZ.d.mts} +1 -1
  36. package/dist/{index-ul45YFff.d.mts → index-BusmMFMN.d.mts} +4 -4
  37. package/dist/{index-BM53WQaQ.d.mts → index-CVRQS5jk.d.mts} +1 -1
  38. package/dist/{index-CFMaXW-s.d.mts → index-Cu8k2ZGe.d.mts} +42 -42
  39. package/dist/{index-BYwt4CNf.d.mts → index-D8V1DhrY.d.mts} +79 -79
  40. package/dist/{index-LCumcYK12.d.mts → index-DIEnLLhi2.d.mts} +37 -37
  41. package/dist/{index-DVo_rb2w2.d.mts → index-DPsQ_cFG2.d.mts} +11 -11
  42. package/dist/{index-BTLbhl35.d.mts → index-DWKSiTxX.d.mts} +27 -27
  43. package/dist/{index-CLwnkYRD.d.mts → index-DxtUM-qd.d.mts} +1 -1
  44. package/dist/{index-CpGWwlRN.d.mts → index-Mk478DlF.d.mts} +8 -8
  45. package/dist/{index-CkE9MwNX.d.mts → index-oE2q0pTG.d.mts} +1 -1
  46. package/dist/{index-aAo9ugCm.d.mts → index-wGlFWRXg.d.mts} +4 -4
  47. package/dist/kernel/extension/index.d.mts +2 -2
  48. package/dist/kernel/index.d.mts +2 -2
  49. package/dist/kernel/observability/index.d.mts +1 -1
  50. package/dist/{namespace-C5tKjqgb.d.mts → namespace-B9iQN3FQ.d.mts} +4 -4
  51. package/dist/{namespace-BEi98VfQ.d.mts → namespace-Bz0ZDWhE.d.mts} +18 -18
  52. package/dist/{namespace-B1FBjHfn.d.mts → namespace-C1-ZAKEG.d.mts} +6 -6
  53. package/dist/{namespace-D6W4Erwp.d.mts → namespace-DAzOxaux.d.mts} +2 -2
  54. package/dist/{namespace-CHSwZhH7.d.mts → namespace-h7gq_v5U.d.mts} +2 -2
  55. package/dist/package.json +1 -1
  56. package/dist/reaction-DVa5lwm5.mjs +1 -0
  57. package/dist/{schemas-BXkSHQaF.d.mts → schemas-BTJvvq9Y.d.mts} +2 -2
  58. package/dist/{schemas-Cb9OJ9va.d.mts → schemas-CBDNnyz4.d.mts} +1 -1
  59. package/dist/{schemas-Bv7ecHxV.d.mts → schemas-Dec5VtBU.d.mts} +8 -8
  60. package/dist/{schemas-BzSB9u68.d.mts → schemas-Dyp3rHZ7.d.mts} +4 -4
  61. package/dist/services/adapter-runtime/index.d.mts +3 -3
  62. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  63. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  64. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  65. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  66. package/dist/services/context-rules/index.d.mts +3 -3
  67. package/dist/services/execution-target/index.d.mts +2 -2
  68. package/dist/services/execution-target/namespace.d.mts +1 -1
  69. package/dist/services/execution-target/schemas.d.mts +1 -1
  70. package/dist/services/filesystem/namespace.d.mts +12 -12
  71. package/dist/services/filesystem/schemas.d.mts +6 -6
  72. package/dist/services/harness/index.d.mts +3 -3
  73. package/dist/services/index.d.mts +64 -31
  74. package/dist/services/index.mjs +1 -1
  75. package/dist/services/provider-context/index.d.mts +1 -1
  76. package/dist/services/session/handlers/index.d.mts +1 -1
  77. package/dist/services/session/index.d.mts +5 -5
  78. package/dist/services/session/messages/namespace.d.mts +1 -1
  79. package/dist/services/session/session-events/namespace.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +8 -8
  81. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  82. package/dist/services/subagent-template/index.d.mts +1 -1
  83. package/dist/services/subagent-template/schemas.d.mts +1 -1
  84. package/dist/services/tools/index.mjs +1 -1
  85. package/dist/services/workflow-transitions/index.mjs +1 -1
  86. package/dist/{session-lineage-CmP7L5g2.d.mts → session-lineage-BQ9NWlt6.d.mts} +1 -1
  87. package/dist/{tools-ByDy0ueE.mjs → tools-K3DWA4Jr.mjs} +1 -1
  88. package/dist/{transition-B0qsutdE.d.mts → transition-CSN6QoMp.d.mts} +1 -1
  89. package/dist/{types-BP_P1izV.d.mts → types-DTpwvvY9.d.mts} +15 -15
  90. package/dist/{view-builder-nKz9DKfE.d.mts → view-builder-cjQZJmTY.d.mts} +7 -7
  91. package/dist/workflow-engine/index.d.mts +16 -16
  92. package/dist/{workflow-transitions-UOXY-VZa.mjs → workflow-transitions-C2BLDE5N.mjs} +1 -1
  93. package/package.json +1 -1
  94. package/dist/framework-packages-C2tvdFmP.mjs +0 -1
  95. package/dist/reaction-C8WbJqLk.mjs +0 -1
  96. package/dist/{schemas-rliUGyrt.d.mts → schemas-CU2NE5Lg.d.mts} +1 -1
@@ -1,4 +1,4 @@
1
- import { x as ArtifactRevision$1 } from "./schemas-rliUGyrt.mjs";
1
+ import { x as ArtifactRevision$1 } from "./schemas-CU2NE5Lg.mjs";
2
2
  import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
3
3
  import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-DWhjp0db.mjs";
4
4
  import { z } from "zod";
@@ -145,10 +145,10 @@ type WorkflowSourceLocation = z.infer<typeof WorkflowSourceLocationSchema>;
145
145
  * - `sequence` — ordered list of child nodes (the structural container)
146
146
  */
147
147
  declare const WorkflowNodeTypeSchema: z.ZodEnum<{
148
+ sequence: "sequence";
148
149
  station: "station";
149
150
  "delegate-agent": "delegate-agent";
150
151
  "delegate-role": "delegate-role";
151
- sequence: "sequence";
152
152
  parallel: "parallel";
153
153
  gate: "gate";
154
154
  iterate: "iterate";
@@ -872,10 +872,10 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
872
872
  frameId: z.ZodString;
873
873
  nodeId: z.ZodString;
874
874
  nodeType: z.ZodEnum<{
875
+ sequence: "sequence";
875
876
  station: "station";
876
877
  "delegate-agent": "delegate-agent";
877
878
  "delegate-role": "delegate-role";
878
- sequence: "sequence";
879
879
  parallel: "parallel";
880
880
  gate: "gate";
881
881
  iterate: "iterate";
@@ -965,8 +965,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
965
965
  harnessId: z.ZodOptional<z.ZodString>;
966
966
  systemPrompt: z.ZodOptional<z.ZodString>;
967
967
  contextMode: z.ZodOptional<z.ZodEnum<{
968
- fresh: "fresh";
969
968
  fork: "fork";
969
+ fresh: "fresh";
970
970
  }>>;
971
971
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
972
972
  state: z.ZodLiteral<"resolved">;
@@ -1076,8 +1076,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
1076
1076
  harnessId: z.ZodOptional<z.ZodString>;
1077
1077
  systemPrompt: z.ZodOptional<z.ZodString>;
1078
1078
  contextMode: z.ZodOptional<z.ZodEnum<{
1079
- fresh: "fresh";
1080
1079
  fork: "fork";
1080
+ fresh: "fresh";
1081
1081
  }>>;
1082
1082
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1083
1083
  state: z.ZodLiteral<"resolved">;
@@ -4122,10 +4122,10 @@ declare const WorkflowSchemas: {
4122
4122
  frameId: z.ZodString;
4123
4123
  nodeId: z.ZodString;
4124
4124
  nodeType: z.ZodEnum<{
4125
+ sequence: "sequence";
4125
4126
  station: "station";
4126
4127
  "delegate-agent": "delegate-agent";
4127
4128
  "delegate-role": "delegate-role";
4128
- sequence: "sequence";
4129
4129
  parallel: "parallel";
4130
4130
  gate: "gate";
4131
4131
  iterate: "iterate";
@@ -4327,8 +4327,8 @@ declare const WorkflowSchemas: {
4327
4327
  harnessId: z.ZodOptional<z.ZodString>;
4328
4328
  systemPrompt: z.ZodOptional<z.ZodString>;
4329
4329
  contextMode: z.ZodOptional<z.ZodEnum<{
4330
- fresh: "fresh";
4331
4330
  fork: "fork";
4331
+ fresh: "fresh";
4332
4332
  }>>;
4333
4333
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4334
4334
  state: z.ZodLiteral<"resolved">;
@@ -4438,8 +4438,8 @@ declare const WorkflowSchemas: {
4438
4438
  harnessId: z.ZodOptional<z.ZodString>;
4439
4439
  systemPrompt: z.ZodOptional<z.ZodString>;
4440
4440
  contextMode: z.ZodOptional<z.ZodEnum<{
4441
- fresh: "fresh";
4442
4441
  fork: "fork";
4442
+ fresh: "fresh";
4443
4443
  }>>;
4444
4444
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4445
4445
  state: z.ZodLiteral<"resolved">;
@@ -4943,10 +4943,10 @@ declare const WorkflowSchemas: {
4943
4943
  frameId: z.ZodString;
4944
4944
  nodeId: z.ZodString;
4945
4945
  nodeType: z.ZodEnum<{
4946
+ sequence: "sequence";
4946
4947
  station: "station";
4947
4948
  "delegate-agent": "delegate-agent";
4948
4949
  "delegate-role": "delegate-role";
4949
- sequence: "sequence";
4950
4950
  parallel: "parallel";
4951
4951
  gate: "gate";
4952
4952
  iterate: "iterate";
@@ -5105,10 +5105,10 @@ declare const WorkflowSchemas: {
5105
5105
  frameId: z.ZodString;
5106
5106
  nodeId: z.ZodString;
5107
5107
  nodeType: z.ZodEnum<{
5108
+ sequence: "sequence";
5108
5109
  station: "station";
5109
5110
  "delegate-agent": "delegate-agent";
5110
5111
  "delegate-role": "delegate-role";
5111
- sequence: "sequence";
5112
5112
  parallel: "parallel";
5113
5113
  gate: "gate";
5114
5114
  iterate: "iterate";
@@ -7099,10 +7099,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7099
7099
  frameId: z.ZodString;
7100
7100
  nodeId: z.ZodString;
7101
7101
  nodeType: z.ZodEnum<{
7102
+ sequence: "sequence";
7102
7103
  station: "station";
7103
7104
  "delegate-agent": "delegate-agent";
7104
7105
  "delegate-role": "delegate-role";
7105
- sequence: "sequence";
7106
7106
  parallel: "parallel";
7107
7107
  gate: "gate";
7108
7108
  iterate: "iterate";
@@ -7304,8 +7304,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7304
7304
  harnessId: z.ZodOptional<z.ZodString>;
7305
7305
  systemPrompt: z.ZodOptional<z.ZodString>;
7306
7306
  contextMode: z.ZodOptional<z.ZodEnum<{
7307
- fresh: "fresh";
7308
7307
  fork: "fork";
7308
+ fresh: "fresh";
7309
7309
  }>>;
7310
7310
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7311
7311
  state: z.ZodLiteral<"resolved">;
@@ -7415,8 +7415,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7415
7415
  harnessId: z.ZodOptional<z.ZodString>;
7416
7416
  systemPrompt: z.ZodOptional<z.ZodString>;
7417
7417
  contextMode: z.ZodOptional<z.ZodEnum<{
7418
- fresh: "fresh";
7419
7418
  fork: "fork";
7419
+ fresh: "fresh";
7420
7420
  }>>;
7421
7421
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7422
7422
  state: z.ZodLiteral<"resolved">;
@@ -7920,10 +7920,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7920
7920
  frameId: z.ZodString;
7921
7921
  nodeId: z.ZodString;
7922
7922
  nodeType: z.ZodEnum<{
7923
+ sequence: "sequence";
7923
7924
  station: "station";
7924
7925
  "delegate-agent": "delegate-agent";
7925
7926
  "delegate-role": "delegate-role";
7926
- sequence: "sequence";
7927
7927
  parallel: "parallel";
7928
7928
  gate: "gate";
7929
7929
  iterate: "iterate";
@@ -8082,10 +8082,10 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
8082
8082
  frameId: z.ZodString;
8083
8083
  nodeId: z.ZodString;
8084
8084
  nodeType: z.ZodEnum<{
8085
+ sequence: "sequence";
8085
8086
  station: "station";
8086
8087
  "delegate-agent": "delegate-agent";
8087
8088
  "delegate-role": "delegate-role";
8088
- sequence: "sequence";
8089
8089
  parallel: "parallel";
8090
8090
  gate: "gate";
8091
8091
  iterate: "iterate";
@@ -10076,10 +10076,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10076
10076
  frameId: z.ZodString;
10077
10077
  nodeId: z.ZodString;
10078
10078
  nodeType: z.ZodEnum<{
10079
+ sequence: "sequence";
10079
10080
  station: "station";
10080
10081
  "delegate-agent": "delegate-agent";
10081
10082
  "delegate-role": "delegate-role";
10082
- sequence: "sequence";
10083
10083
  parallel: "parallel";
10084
10084
  gate: "gate";
10085
10085
  iterate: "iterate";
@@ -10281,8 +10281,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10281
10281
  harnessId: z.ZodOptional<z.ZodString>;
10282
10282
  systemPrompt: z.ZodOptional<z.ZodString>;
10283
10283
  contextMode: z.ZodOptional<z.ZodEnum<{
10284
- fresh: "fresh";
10285
10284
  fork: "fork";
10285
+ fresh: "fresh";
10286
10286
  }>>;
10287
10287
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10288
10288
  state: z.ZodLiteral<"resolved">;
@@ -10392,8 +10392,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10392
10392
  harnessId: z.ZodOptional<z.ZodString>;
10393
10393
  systemPrompt: z.ZodOptional<z.ZodString>;
10394
10394
  contextMode: z.ZodOptional<z.ZodEnum<{
10395
- fresh: "fresh";
10396
10395
  fork: "fork";
10396
+ fresh: "fresh";
10397
10397
  }>>;
10398
10398
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10399
10399
  state: z.ZodLiteral<"resolved">;
@@ -10897,10 +10897,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10897
10897
  frameId: z.ZodString;
10898
10898
  nodeId: z.ZodString;
10899
10899
  nodeType: z.ZodEnum<{
10900
+ sequence: "sequence";
10900
10901
  station: "station";
10901
10902
  "delegate-agent": "delegate-agent";
10902
10903
  "delegate-role": "delegate-role";
10903
- sequence: "sequence";
10904
10904
  parallel: "parallel";
10905
10905
  gate: "gate";
10906
10906
  iterate: "iterate";
@@ -11059,10 +11059,10 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
11059
11059
  frameId: z.ZodString;
11060
11060
  nodeId: z.ZodString;
11061
11061
  nodeType: z.ZodEnum<{
11062
+ sequence: "sequence";
11062
11063
  station: "station";
11063
11064
  "delegate-agent": "delegate-agent";
11064
11065
  "delegate-role": "delegate-role";
11065
- sequence: "sequence";
11066
11066
  parallel: "parallel";
11067
11067
  gate: "gate";
11068
11068
  iterate: "iterate";
@@ -11828,8 +11828,8 @@ declare const ExecutionAttemptControlReportSchema$1: z.ZodObject<{
11828
11828
  }, z.core.$strict>;
11829
11829
  /** Correlation refusals do not invalidate the durable Attempt-wide Cancel. */
11830
11830
  declare const ExecutionAttemptControlRefusalReasonSchema: z.ZodEnum<{
11831
- "not-found": "not-found";
11832
11831
  conflict: "conflict";
11832
+ "not-found": "not-found";
11833
11833
  "stale-generation": "stale-generation";
11834
11834
  "cancel-mismatch": "cancel-mismatch";
11835
11835
  "operation-mismatch": "operation-mismatch";
@@ -11842,8 +11842,8 @@ declare const ExecutionAttemptControlReportResponseSchema: z.ZodDiscriminatedUni
11842
11842
  }, z.core.$strict>, z.ZodObject<{
11843
11843
  decision: z.ZodLiteral<"refused">;
11844
11844
  reason: z.ZodEnum<{
11845
- "not-found": "not-found";
11846
11845
  conflict: "conflict";
11846
+ "not-found": "not-found";
11847
11847
  "stale-generation": "stale-generation";
11848
11848
  "cancel-mismatch": "cancel-mismatch";
11849
11849
  "operation-mismatch": "operation-mismatch";
@@ -12716,10 +12716,10 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
12716
12716
  frameId: z.ZodString;
12717
12717
  nodeId: z.ZodString;
12718
12718
  nodeType: z.ZodEnum<{
12719
+ sequence: "sequence";
12719
12720
  station: "station";
12720
12721
  "delegate-agent": "delegate-agent";
12721
12722
  "delegate-role": "delegate-role";
12722
- sequence: "sequence";
12723
12723
  parallel: "parallel";
12724
12724
  gate: "gate";
12725
12725
  iterate: "iterate";
@@ -13264,8 +13264,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
13264
13264
  * - fresh: Start with clean context
13265
13265
  */
13266
13266
  declare const ContextModeSchema$1: z.ZodEnum<{
13267
- fresh: "fresh";
13268
13267
  fork: "fork";
13268
+ fresh: "fresh";
13269
13269
  }>;
13270
13270
  type ContextMode = z.infer<typeof ContextModeSchema$1>;
13271
13271
  /**
@@ -13400,8 +13400,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
13400
13400
  "extra-high": "extra-high";
13401
13401
  }>>;
13402
13402
  contextMode: z.ZodDefault<z.ZodEnum<{
13403
- fresh: "fresh";
13404
13403
  fork: "fork";
13404
+ fresh: "fresh";
13405
13405
  }>>;
13406
13406
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13407
13407
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -13570,8 +13570,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
13570
13570
  "extra-high": "extra-high";
13571
13571
  }>>;
13572
13572
  contextMode: z.ZodDefault<z.ZodEnum<{
13573
- fresh: "fresh";
13574
13573
  fork: "fork";
13574
+ fresh: "fresh";
13575
13575
  }>>;
13576
13576
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
13577
13577
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -13612,8 +13612,8 @@ declare const AwaitSubagentResponseSchema: z.ZodObject<{
13612
13612
  completed: "completed";
13613
13613
  cancelled: "cancelled";
13614
13614
  failed: "failed";
13615
- timeout: "timeout";
13616
13615
  waiting_input: "waiting_input";
13616
+ timeout: "timeout";
13617
13617
  }>;
13618
13618
  result: z.ZodOptional<z.ZodString>;
13619
13619
  error: z.ZodOptional<z.ZodString>;
@@ -1,4 +1,4 @@
1
- import { r as ExecutionTarget } from "./schemas-BXkSHQaF.mjs";
1
+ import { r as ExecutionTarget } from "./schemas-BTJvvq9Y.mjs";
2
2
  import { IMakaioSession, MakaioSessionAgent, Message, MessageInput, MessageOutcome, ReasoningLevelMap, ResponseSchemaDescriptor, SessionContext, SessionOwnershipRecoveryGuard, TurnInitiator } from "@makaio/framework/contracts";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
 
@@ -1,17 +1,17 @@
1
- import { sr as AnyArtifactKindDefinition, vr as ArtifactLifecycleHookEvent, yr as ArtifactLifecycleHookRegistration$1 } from "./index-BYwt4CNf.mjs";
1
+ import { sr as AnyArtifactKindDefinition, vr as ArtifactLifecycleHookEvent, yr as ArtifactLifecycleHookRegistration$1 } from "./index-D8V1DhrY.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
3
3
  import { s as AdapterProviderAuth$1 } from "./adapter-binding-DF-j-XHg.mjs";
4
- import { a as ExtensionService$1, n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-CmhBCbbq.mjs";
5
- import { t as ExtensionAutomationTriggersContribution } from "./contribution-kpR61mnG.mjs";
6
- import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-B0qsutdE.mjs";
7
- import { k as ClientDefinition$1, m as ExtensionClientHookResponsesContribution, rt as VersionRange, tt as VersionLiteral$1 } from "./hook-responses-C3nUIm-6.mjs";
4
+ import { a as ExtensionService$1, n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-DH84KOm9.mjs";
5
+ import { t as ExtensionAutomationTriggersContribution } from "./contribution-DTb65rRN.mjs";
6
+ import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-CSN6QoMp.mjs";
7
+ import { k as ClientDefinition$1, m as ExtensionClientHookResponsesContribution, rt as VersionRange, tt as VersionLiteral$1 } from "./hook-responses-OETFKaAL.mjs";
8
8
  import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-D2SO1tX-.mjs";
9
9
  import { t as RequiredTimeoutConfig } from "./index-DOui-7u2.mjs";
10
- import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-BP_P1izV.mjs";
10
+ import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-DTpwvvY9.mjs";
11
11
  import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-DDCixELI.mjs";
12
12
  import { l as FacetNamespaceDefinition } from "./index-Csua5M_M2.mjs";
13
- import { t as ExtensionReactionsContribution } from "./index-xad0YUyF.mjs";
14
- import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-nKz9DKfE.mjs";
13
+ import { t as ExtensionReactionsContribution } from "./index-BRXETFym.mjs";
14
+ import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-cjQZJmTY.mjs";
15
15
  import { z } from "zod";
16
16
  import { MakaioBusLike, PayloadFilter, RegistrableBusNamespaceDefinition, SubjectSchema } from "@makaio/framework/core";
17
17
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -1,4 +1,4 @@
1
- import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-BzSB9u68.mjs";
1
+ import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-Dyp3rHZ7.mjs";
2
2
  import { ProviderContext, ResolvedProviderContext } from "@makaio/framework/contracts";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
 
@@ -146,7 +146,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
146
146
  enabled: z.ZodArray<z.ZodString>;
147
147
  disabled: z.ZodArray<z.ZodString>;
148
148
  }, z.core.$strip>;
149
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
150
149
  registryTools: z.ZodObject<{
151
150
  enabled: z.ZodArray<z.ZodString>;
152
151
  disabled: z.ZodArray<z.ZodString>;
@@ -176,6 +175,7 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
176
175
  "always-ask": "always-ask";
177
176
  "full-access": "full-access";
178
177
  }>>>;
178
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
179
179
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
180
180
  reject: "reject";
181
181
  "always-ask": "always-ask";
@@ -322,7 +322,6 @@ declare const HarnessSchemas: {
322
322
  enabled: z.ZodArray<z.ZodString>;
323
323
  disabled: z.ZodArray<z.ZodString>;
324
324
  }, z.core.$strip>;
325
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
326
325
  registryTools: z.ZodObject<{
327
326
  enabled: z.ZodArray<z.ZodString>;
328
327
  disabled: z.ZodArray<z.ZodString>;
@@ -352,6 +351,7 @@ declare const HarnessSchemas: {
352
351
  "always-ask": "always-ask";
353
352
  "full-access": "full-access";
354
353
  }>>>;
354
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
355
355
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
356
356
  reject: "reject";
357
357
  "always-ask": "always-ask";
@@ -765,7 +765,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
765
765
  enabled: z.ZodArray<z.ZodString>;
766
766
  disabled: z.ZodArray<z.ZodString>;
767
767
  }, z.core.$strip>;
768
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
769
768
  registryTools: z.ZodObject<{
770
769
  enabled: z.ZodArray<z.ZodString>;
771
770
  disabled: z.ZodArray<z.ZodString>;
@@ -795,6 +794,7 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
795
794
  "always-ask": "always-ask";
796
795
  "full-access": "full-access";
797
796
  }>>>;
797
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
798
798
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
799
799
  reject: "reject";
800
800
  "always-ask": "always-ask";
@@ -1208,7 +1208,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1208
1208
  enabled: z.ZodArray<z.ZodString>;
1209
1209
  disabled: z.ZodArray<z.ZodString>;
1210
1210
  }, z.core.$strip>;
1211
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1212
1211
  registryTools: z.ZodObject<{
1213
1212
  enabled: z.ZodArray<z.ZodString>;
1214
1213
  disabled: z.ZodArray<z.ZodString>;
@@ -1238,6 +1237,7 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1238
1237
  "always-ask": "always-ask";
1239
1238
  "full-access": "full-access";
1240
1239
  }>>>;
1240
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1241
1241
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
1242
1242
  reject: "reject";
1243
1243
  "always-ask": "always-ask";
@@ -1,3 +1,3 @@
1
- import { d as TransitionOutcome } from "../../index-8HtSFrzb.mjs";
2
- import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-J6C4thLY.mjs";
1
+ import { d as TransitionOutcome } from "../../index-BVN64wQx.mjs";
2
+ import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-Bgz81LHZ.mjs";
3
3
  export { ContributionProcessor, ExtensionConfigResolution, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionOperatorConfigError, ExtensionRuntimeSurface, InstalledExtensionCatalogSource, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, SetEnabledResult, TransitionOutcome, coalesceExtensionOverrides, filterEligibleExtensions, resolveInstalledExtensionRecord };
@@ -1,5 +1,5 @@
1
- import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-8HtSFrzb.mjs";
2
- import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-J6C4thLY.mjs";
1
+ import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-BVN64wQx.mjs";
2
+ import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-Bgz81LHZ.mjs";
3
3
  import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-1jI3f9ir.mjs";
4
4
  import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-62OoZLGr.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-_OD_Nz3m.mjs";
@@ -1,2 +1,2 @@
1
- import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-8HtSFrzb.mjs";
1
+ import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-BVN64wQx.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, InstalledExtensionCatalogEntry, InstalledExtensionCatalogEntrySchema, InstalledExtensionOrigin, InstalledExtensionOriginSchema, InstalledExtensionRecord, InstalledExtensionRecordSchema, ServiceInfo, ServiceInfoSchema, SetEnabledReason, SetEnabledReasonSchema, TransitionOutcome, TransitionOutcomeSchema };
@@ -335,8 +335,8 @@ declare const MessageStorageNamespace$1: {
335
335
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
336
336
  }, _$zod_v4_core0.$strip>], "type">>;
337
337
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
338
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
339
338
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
339
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
340
340
  timestamp: _$zod.ZodNumber;
341
341
  contentText: _$zod.ZodString;
342
342
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1120,8 +1120,8 @@ declare const MessageStorageNamespace$1: {
1120
1120
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
1121
1121
  }, _$zod_v4_core0.$strip>], "type">>;
1122
1122
  agentId: _$zod.ZodOptional<_$zod.ZodString>;
1123
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1124
1123
  turnId: _$zod.ZodNullable<_$zod.ZodString>;
1124
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1125
1125
  timestamp: _$zod.ZodNumber;
1126
1126
  contentText: _$zod.ZodString;
1127
1127
  adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2030,10 +2030,10 @@ declare const MessageStorageNamespace$1: {
2030
2030
  })[];
2031
2031
  messageId: string;
2032
2032
  agentId: never;
2033
- adapterSessionId: never;
2034
2033
  turnId: string | null;
2035
- limit: never;
2034
+ adapterSessionId: never;
2036
2035
  timestamp: number;
2036
+ limit: never;
2037
2037
  query: string;
2038
2038
  contentText: string;
2039
2039
  adapterMessageId: string;
@@ -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
- resume: "resume";
589
588
  fork: "fork";
589
+ resume: "resume";
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
- resume: "resume";
615
614
  fork: "fork";
615
+ resume: "resume";
616
616
  }>;
617
617
  verdictKind: _$zod.ZodLiteral<"foreign">;
618
618
  foreignMachineId: _$zod.ZodString;
@@ -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
- resume: "resume";
971
970
  fork: "fork";
971
+ resume: "resume";
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
- resume: "resume";
997
996
  fork: "fork";
997
+ resume: "resume";
998
998
  }>;
999
999
  verdictKind: _$zod.ZodLiteral<"foreign">;
1000
1000
  foreignMachineId: _$zod.ZodString;
@@ -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
- resume: "resume";
1343
1342
  fork: "fork";
1343
+ resume: "resume";
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
- resume: "resume";
1369
1368
  fork: "fork";
1369
+ resume: "resume";
1370
1370
  }>;
1371
1371
  verdictKind: _$zod.ZodLiteral<"foreign">;
1372
1372
  foreignMachineId: _$zod.ZodString;
@@ -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
- resume: "resume";
1723
1722
  fork: "fork";
1723
+ resume: "resume";
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
- resume: "resume";
1749
1748
  fork: "fork";
1749
+ resume: "resume";
1750
1750
  }>;
1751
1751
  verdictKind: _$zod.ZodLiteral<"foreign">;
1752
1752
  foreignMachineId: _$zod.ZodString;
@@ -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
- resume: "resume";
2091
2090
  fork: "fork";
2091
+ resume: "resume";
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
- resume: "resume";
2117
2116
  fork: "fork";
2117
+ resume: "resume";
2118
2118
  }>;
2119
2119
  verdictKind: _$zod.ZodLiteral<"foreign">;
2120
2120
  foreignMachineId: _$zod.ZodString;
@@ -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
- resume: "resume";
2473
2472
  fork: "fork";
2473
+ resume: "resume";
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
- resume: "resume";
2499
2498
  fork: "fork";
2499
+ resume: "resume";
2500
2500
  }>;
2501
2501
  verdictKind: _$zod.ZodLiteral<"foreign">;
2502
2502
  foreignMachineId: _$zod.ZodString;
@@ -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
- resume: "resume";
2845
2844
  fork: "fork";
2845
+ resume: "resume";
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
- resume: "resume";
2871
2870
  fork: "fork";
2871
+ resume: "resume";
2872
2872
  }>;
2873
2873
  verdictKind: _$zod.ZodLiteral<"foreign">;
2874
2874
  foreignMachineId: _$zod.ZodString;
@@ -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
- resume: "resume";
3225
3224
  fork: "fork";
3225
+ resume: "resume";
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
- resume: "resume";
3251
3250
  fork: "fork";
3251
+ resume: "resume";
3252
3252
  }>;
3253
3253
  verdictKind: _$zod.ZodLiteral<"foreign">;
3254
3254
  foreignMachineId: _$zod.ZodString;
@@ -3537,14 +3537,14 @@ declare const SessionEventStorageNamespace$1: {
3537
3537
  timestamp: number;
3538
3538
  type: "locality.degraded";
3539
3539
  payload: {
3540
- intent: "resume" | "fork";
3540
+ intent: "fork" | "resume";
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: "resume" | "fork";
3547
+ intent: "fork" | "resume";
3548
3548
  verdictKind: "foreign";
3549
3549
  foreignMachineId: string;
3550
3550
  agentId?: string | undefined;