@makaio/framework 1.0.0-dev-1785347612784 → 1.0.0-dev-1785409369816

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 (74) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +20 -20
  3. package/dist/adapters/index.d.mts +18 -12
  4. package/dist/adapters/index.mjs +1 -1
  5. package/dist/bus/index.d.mts +21 -21
  6. package/dist/{context-resolution-DmlreWPC.d.mts → context-resolution-DdyhpH4L.d.mts} +7 -7
  7. package/dist/contracts/adapter/index.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +2 -2
  9. package/dist/contracts/canonical-model/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 +3 -3
  13. package/dist/contracts/facet/index.d.mts +1 -1
  14. package/dist/contracts/harness/index.d.mts +1 -1
  15. package/dist/contracts/index.d.mts +174 -174
  16. package/dist/contracts/materialization/index.d.mts +3 -3
  17. package/dist/contracts/session/index.d.mts +2 -2
  18. package/dist/contracts/variant/index.d.mts +1 -1
  19. package/dist/contracts/worker-node/index.d.mts +1 -1
  20. package/dist/contracts/workflow/index.d.mts +2 -2
  21. package/dist/git/index.d.mts +1 -1
  22. package/dist/{hook-responses-aQrArNz9.d.mts → hook-responses-Dh1PWXqJ.d.mts} +3 -3
  23. package/dist/{index-DRrF9k9-.d.mts → index-4VfqCjl2.d.mts} +48 -48
  24. package/dist/{index-BTRknOXo.d.mts → index-B9UW_vPM.d.mts} +455 -455
  25. package/dist/{index-DvlFDSVv.d.mts → index-BNMnIe-j.d.mts} +63 -63
  26. package/dist/{index-Da7WJLiz.d.mts → index-BVlXneHH.d.mts} +105 -105
  27. package/dist/{index-BHw_bB_8.d.mts → index-BskPjMet.d.mts} +8 -8
  28. package/dist/{index-Dtrd2wRg2.d.mts → index-CLvQsL6s2.d.mts} +4 -4
  29. package/dist/{index-F1KbFchC.d.mts → index-CMgLxw14.d.mts} +40 -40
  30. package/dist/{index-fmR2JNgJ.d.mts → index-CnMu8BQl.d.mts} +4 -4
  31. package/dist/{index-Bc_JPASG.d.mts → index-D5Nb7IEP.d.mts} +6 -6
  32. package/dist/{index-SwA1lwRe.d.mts → index-DCZ8BX9S.d.mts} +389 -389
  33. package/dist/{index-CVLeQeHw.d.mts → index-DSBT83c0.d.mts} +1 -1
  34. package/dist/{index-Bl_Zcd3Q.d.mts → index-DXN_L5D6.d.mts} +11 -11
  35. package/dist/{index-XZyMxxnU.d.mts → index-D_ODXsBv.d.mts} +4 -4
  36. package/dist/{index-DIy9rArB.d.mts → index-DlsHL9Jg.d.mts} +16 -16
  37. package/dist/{index-wuOy_w7v.d.mts → index-brqfk9JQ.d.mts} +9 -9
  38. package/dist/{index-DGc25kcM.d.mts → index-cqLS1eFV.d.mts} +25 -25
  39. package/dist/kernel/extension/index.d.mts +1 -1
  40. package/dist/kernel/index.d.mts +2 -2
  41. package/dist/kernel/observability/index.d.mts +1 -1
  42. package/dist/{namespace-oz76ijOO2.d.mts → namespace-CjjFvrIA2.d.mts} +29 -29
  43. package/dist/{namespace-ZwLlJNOH.d.mts → namespace-CupOzbRv.d.mts} +154 -154
  44. package/dist/{namespace-CKOzDbvJ.d.mts → namespace-TseEI3Pu.d.mts} +36 -36
  45. package/dist/{namespace-BlHURT7i.d.mts → namespace-g_mbIZq_.d.mts} +42 -42
  46. package/dist/node/transports/index.mjs +2 -2
  47. package/dist/package.json +1 -1
  48. package/dist/runtime-node/workflow-execution-bus-access.d.mts +118 -0
  49. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -0
  50. package/dist/{schema-dz2TC5TT.d.mts → schema-DKUb4rkr.d.mts} +2 -2
  51. package/dist/{schemas-Cf68SmbJ.d.mts → schemas-DnYiAvfz.d.mts} +154 -154
  52. package/dist/{schemas-BQS3txU4.d.mts → schemas-DrVg4aQQ.d.mts} +8 -8
  53. package/dist/services/agent-runtime/index.d.mts +2 -2
  54. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  55. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  56. package/dist/services/context-rules/index.d.mts +3 -3
  57. package/dist/services/harness/index.d.mts +3 -3
  58. package/dist/services/index.d.mts +92 -92
  59. package/dist/services/session/index.d.mts +5 -5
  60. package/dist/services/session/messages/namespace.d.mts +1 -1
  61. package/dist/services/session/session-events/namespace.d.mts +1 -1
  62. package/dist/services/session/storage/namespace.d.mts +1 -1
  63. package/dist/services/session/storage/schema.d.mts +1 -1
  64. package/dist/services/session-editor/index.d.mts +1 -1
  65. package/dist/services/settings/namespace.d.mts +8 -8
  66. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  67. package/dist/services/subagent-template/index.d.mts +1 -1
  68. package/dist/services/subagent-template/schemas.d.mts +1 -1
  69. package/dist/{transition-cjK90Dyn.d.mts → transition-Du3MQzJV.d.mts} +1 -1
  70. package/dist/{types-DHmPneIO.d.mts → types-D7_kevBK.d.mts} +1 -1
  71. package/dist/{types-BVHxx-H0.d.mts → types-Dzrwa1GY.d.mts} +313 -313
  72. package/dist/{view-builder-DHwbHGY6.d.mts → view-builder-DeFd-k7C.d.mts} +1 -1
  73. package/dist/workflow-engine/index.d.mts +47 -47
  74. package/package.json +5 -1
@@ -1,4 +1,4 @@
1
- import { q as ArtifactRevision$1 } from "./context-resolution-DmlreWPC.mjs";
1
+ import { q as ArtifactRevision$1 } from "./context-resolution-DdyhpH4L.mjs";
2
2
  import { i as JsonValue$1, t as JsonObjectContractSchema } from "./json-value-Brslhqbm.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -857,8 +857,8 @@ declare const ExecutionStatusSchema$1: z.ZodEnum<{
857
857
  completed: "completed";
858
858
  cancelled: "cancelled";
859
859
  failed: "failed";
860
- paused: "paused";
861
860
  running: "running";
861
+ paused: "paused";
862
862
  finalizing: "finalizing";
863
863
  }>;
864
864
  type ExecutionStatus = z.infer<typeof ExecutionStatusSchema$1>;
@@ -874,8 +874,8 @@ declare const WorkflowExecutionSchema$1: z.ZodObject<{
874
874
  completed: "completed";
875
875
  cancelled: "cancelled";
876
876
  failed: "failed";
877
- paused: "paused";
878
877
  running: "running";
878
+ paused: "paused";
879
879
  finalizing: "finalizing";
880
880
  }>;
881
881
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -933,8 +933,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
933
933
  cancelled: "cancelled";
934
934
  failed: "failed";
935
935
  running: "running";
936
- waiting: "waiting";
937
936
  skipped: "skipped";
937
+ waiting: "waiting";
938
938
  }>;
939
939
  attempt: z.ZodDefault<z.ZodNumber>;
940
940
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -949,8 +949,8 @@ type WorkflowFrameState$1 = z.infer<typeof WorkflowFrameStateSchema$1>;
949
949
  declare const WorkflowGateStatusSchema: z.ZodEnum<{
950
950
  cancelled: "cancelled";
951
951
  rejected: "rejected";
952
- waiting: "waiting";
953
952
  resumed: "resumed";
953
+ waiting: "waiting";
954
954
  "timed-out": "timed-out";
955
955
  }>;
956
956
  type WorkflowGateStatus = z.infer<typeof WorkflowGateStatusSchema>;
@@ -970,8 +970,8 @@ declare const WorkflowGateInstanceSchema$1: z.ZodObject<{
970
970
  status: z.ZodEnum<{
971
971
  cancelled: "cancelled";
972
972
  rejected: "rejected";
973
- waiting: "waiting";
974
973
  resumed: "resumed";
974
+ waiting: "waiting";
975
975
  "timed-out": "timed-out";
976
976
  }>;
977
977
  autoAction: z.ZodEnum<{
@@ -1007,8 +1007,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
1007
1007
  harnessId: z.ZodOptional<z.ZodString>;
1008
1008
  systemPrompt: z.ZodOptional<z.ZodString>;
1009
1009
  contextMode: z.ZodOptional<z.ZodEnum<{
1010
- fresh: "fresh";
1011
1010
  fork: "fork";
1011
+ fresh: "fresh";
1012
1012
  }>>;
1013
1013
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1014
1014
  state: z.ZodLiteral<"resolved">;
@@ -1118,8 +1118,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
1118
1118
  harnessId: z.ZodOptional<z.ZodString>;
1119
1119
  systemPrompt: z.ZodOptional<z.ZodString>;
1120
1120
  contextMode: z.ZodOptional<z.ZodEnum<{
1121
- fresh: "fresh";
1122
1121
  fork: "fork";
1122
+ fresh: "fresh";
1123
1123
  }>>;
1124
1124
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1125
1125
  state: z.ZodLiteral<"resolved">;
@@ -1270,8 +1270,8 @@ declare const ExecutionListQuerySchema$1: z.ZodObject<{
1270
1270
  completed: "completed";
1271
1271
  cancelled: "cancelled";
1272
1272
  failed: "failed";
1273
- paused: "paused";
1274
1273
  running: "running";
1274
+ paused: "paused";
1275
1275
  finalizing: "finalizing";
1276
1276
  }>>;
1277
1277
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -1321,8 +1321,8 @@ declare const GateInstanceListQuerySchema$1: z.ZodObject<{
1321
1321
  status: z.ZodOptional<z.ZodEnum<{
1322
1322
  cancelled: "cancelled";
1323
1323
  rejected: "rejected";
1324
- waiting: "waiting";
1325
1324
  resumed: "resumed";
1325
+ waiting: "waiting";
1326
1326
  "timed-out": "timed-out";
1327
1327
  }>>;
1328
1328
  limit: z.ZodDefault<z.ZodNumber>;
@@ -3632,8 +3632,8 @@ declare const WorkflowSchemas: {
3632
3632
  completed: "completed";
3633
3633
  cancelled: "cancelled";
3634
3634
  failed: "failed";
3635
- paused: "paused";
3636
3635
  running: "running";
3636
+ paused: "paused";
3637
3637
  finalizing: "finalizing";
3638
3638
  }>;
3639
3639
  }, z.core.$strip>;
@@ -3711,8 +3711,8 @@ declare const WorkflowSchemas: {
3711
3711
  completed: "completed";
3712
3712
  cancelled: "cancelled";
3713
3713
  failed: "failed";
3714
- paused: "paused";
3715
3714
  running: "running";
3715
+ paused: "paused";
3716
3716
  finalizing: "finalizing";
3717
3717
  }>;
3718
3718
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -3769,8 +3769,8 @@ declare const WorkflowSchemas: {
3769
3769
  completed: "completed";
3770
3770
  cancelled: "cancelled";
3771
3771
  failed: "failed";
3772
- paused: "paused";
3773
3772
  running: "running";
3773
+ paused: "paused";
3774
3774
  finalizing: "finalizing";
3775
3775
  }>>;
3776
3776
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -3793,8 +3793,8 @@ declare const WorkflowSchemas: {
3793
3793
  completed: "completed";
3794
3794
  cancelled: "cancelled";
3795
3795
  failed: "failed";
3796
- paused: "paused";
3797
3796
  running: "running";
3797
+ paused: "paused";
3798
3798
  finalizing: "finalizing";
3799
3799
  }>;
3800
3800
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -3850,8 +3850,8 @@ declare const WorkflowSchemas: {
3850
3850
  completed: "completed";
3851
3851
  cancelled: "cancelled";
3852
3852
  failed: "failed";
3853
- paused: "paused";
3854
3853
  running: "running";
3854
+ paused: "paused";
3855
3855
  finalizing: "finalizing";
3856
3856
  }>;
3857
3857
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -3935,8 +3935,8 @@ declare const WorkflowSchemas: {
3935
3935
  status: z.ZodOptional<z.ZodEnum<{
3936
3936
  cancelled: "cancelled";
3937
3937
  rejected: "rejected";
3938
- waiting: "waiting";
3939
3938
  resumed: "resumed";
3939
+ waiting: "waiting";
3940
3940
  "timed-out": "timed-out";
3941
3941
  }>>;
3942
3942
  limit: z.ZodDefault<z.ZodNumber>;
@@ -3951,8 +3951,8 @@ declare const WorkflowSchemas: {
3951
3951
  status: z.ZodEnum<{
3952
3952
  cancelled: "cancelled";
3953
3953
  rejected: "rejected";
3954
- waiting: "waiting";
3955
3954
  resumed: "resumed";
3955
+ waiting: "waiting";
3956
3956
  "timed-out": "timed-out";
3957
3957
  }>;
3958
3958
  autoAction: z.ZodEnum<{
@@ -4049,8 +4049,8 @@ declare const WorkflowSchemas: {
4049
4049
  cancelled: "cancelled";
4050
4050
  failed: "failed";
4051
4051
  running: "running";
4052
- waiting: "waiting";
4053
4052
  skipped: "skipped";
4053
+ waiting: "waiting";
4054
4054
  }>;
4055
4055
  attempt: z.ZodDefault<z.ZodNumber>;
4056
4056
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -4247,8 +4247,8 @@ declare const WorkflowSchemas: {
4247
4247
  harnessId: z.ZodOptional<z.ZodString>;
4248
4248
  systemPrompt: z.ZodOptional<z.ZodString>;
4249
4249
  contextMode: z.ZodOptional<z.ZodEnum<{
4250
- fresh: "fresh";
4251
4250
  fork: "fork";
4251
+ fresh: "fresh";
4252
4252
  }>>;
4253
4253
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4254
4254
  state: z.ZodLiteral<"resolved">;
@@ -4358,8 +4358,8 @@ declare const WorkflowSchemas: {
4358
4358
  harnessId: z.ZodOptional<z.ZodString>;
4359
4359
  systemPrompt: z.ZodOptional<z.ZodString>;
4360
4360
  contextMode: z.ZodOptional<z.ZodEnum<{
4361
- fresh: "fresh";
4362
4361
  fork: "fork";
4362
+ fresh: "fresh";
4363
4363
  }>>;
4364
4364
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4365
4365
  state: z.ZodLiteral<"resolved">;
@@ -4632,8 +4632,8 @@ declare const WorkflowSchemas: {
4632
4632
  "exit-and-resume": "exit-and-resume";
4633
4633
  }>>;
4634
4634
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
4635
- worker: "worker";
4636
4635
  authority: "authority";
4636
+ worker: "worker";
4637
4637
  }>>;
4638
4638
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4639
4639
  kind: z.ZodLiteral<"local-directory">;
@@ -5001,8 +5001,8 @@ declare const WorkflowSchemas: {
5001
5001
  completed: "completed";
5002
5002
  cancelled: "cancelled";
5003
5003
  failed: "failed";
5004
- paused: "paused";
5005
5004
  running: "running";
5005
+ paused: "paused";
5006
5006
  finalizing: "finalizing";
5007
5007
  }>;
5008
5008
  startedAt: z.ZodNumber;
@@ -5049,8 +5049,8 @@ declare const WorkflowSchemas: {
5049
5049
  cancelled: "cancelled";
5050
5050
  failed: "failed";
5051
5051
  running: "running";
5052
- waiting: "waiting";
5053
5052
  skipped: "skipped";
5053
+ waiting: "waiting";
5054
5054
  }>;
5055
5055
  attempt: z.ZodNumber;
5056
5056
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -5079,8 +5079,8 @@ declare const WorkflowSchemas: {
5079
5079
  completed: "completed";
5080
5080
  cancelled: "cancelled";
5081
5081
  failed: "failed";
5082
- paused: "paused";
5083
5082
  running: "running";
5083
+ paused: "paused";
5084
5084
  finalizing: "finalizing";
5085
5085
  }>>;
5086
5086
  limit: z.ZodOptional<z.ZodNumber>;
@@ -5096,8 +5096,8 @@ declare const WorkflowSchemas: {
5096
5096
  completed: "completed";
5097
5097
  cancelled: "cancelled";
5098
5098
  failed: "failed";
5099
- paused: "paused";
5100
5099
  running: "running";
5100
+ paused: "paused";
5101
5101
  finalizing: "finalizing";
5102
5102
  }>;
5103
5103
  startedAt: z.ZodNumber;
@@ -6452,8 +6452,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6452
6452
  completed: "completed";
6453
6453
  cancelled: "cancelled";
6454
6454
  failed: "failed";
6455
- paused: "paused";
6456
6455
  running: "running";
6456
+ paused: "paused";
6457
6457
  finalizing: "finalizing";
6458
6458
  }>;
6459
6459
  }, z.core.$strip>;
@@ -6531,8 +6531,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6531
6531
  completed: "completed";
6532
6532
  cancelled: "cancelled";
6533
6533
  failed: "failed";
6534
- paused: "paused";
6535
6534
  running: "running";
6535
+ paused: "paused";
6536
6536
  finalizing: "finalizing";
6537
6537
  }>;
6538
6538
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -6589,8 +6589,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6589
6589
  completed: "completed";
6590
6590
  cancelled: "cancelled";
6591
6591
  failed: "failed";
6592
- paused: "paused";
6593
6592
  running: "running";
6593
+ paused: "paused";
6594
6594
  finalizing: "finalizing";
6595
6595
  }>>;
6596
6596
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -6613,8 +6613,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6613
6613
  completed: "completed";
6614
6614
  cancelled: "cancelled";
6615
6615
  failed: "failed";
6616
- paused: "paused";
6617
6616
  running: "running";
6617
+ paused: "paused";
6618
6618
  finalizing: "finalizing";
6619
6619
  }>;
6620
6620
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -6670,8 +6670,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6670
6670
  completed: "completed";
6671
6671
  cancelled: "cancelled";
6672
6672
  failed: "failed";
6673
- paused: "paused";
6674
6673
  running: "running";
6674
+ paused: "paused";
6675
6675
  finalizing: "finalizing";
6676
6676
  }>;
6677
6677
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -6755,8 +6755,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6755
6755
  status: z.ZodOptional<z.ZodEnum<{
6756
6756
  cancelled: "cancelled";
6757
6757
  rejected: "rejected";
6758
- waiting: "waiting";
6759
6758
  resumed: "resumed";
6759
+ waiting: "waiting";
6760
6760
  "timed-out": "timed-out";
6761
6761
  }>>;
6762
6762
  limit: z.ZodDefault<z.ZodNumber>;
@@ -6771,8 +6771,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6771
6771
  status: z.ZodEnum<{
6772
6772
  cancelled: "cancelled";
6773
6773
  rejected: "rejected";
6774
- waiting: "waiting";
6775
6774
  resumed: "resumed";
6775
+ waiting: "waiting";
6776
6776
  "timed-out": "timed-out";
6777
6777
  }>;
6778
6778
  autoAction: z.ZodEnum<{
@@ -6869,8 +6869,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
6869
6869
  cancelled: "cancelled";
6870
6870
  failed: "failed";
6871
6871
  running: "running";
6872
- waiting: "waiting";
6873
6872
  skipped: "skipped";
6873
+ waiting: "waiting";
6874
6874
  }>;
6875
6875
  attempt: z.ZodDefault<z.ZodNumber>;
6876
6876
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -7067,8 +7067,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7067
7067
  harnessId: z.ZodOptional<z.ZodString>;
7068
7068
  systemPrompt: z.ZodOptional<z.ZodString>;
7069
7069
  contextMode: z.ZodOptional<z.ZodEnum<{
7070
- fresh: "fresh";
7071
7070
  fork: "fork";
7071
+ fresh: "fresh";
7072
7072
  }>>;
7073
7073
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7074
7074
  state: z.ZodLiteral<"resolved">;
@@ -7178,8 +7178,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7178
7178
  harnessId: z.ZodOptional<z.ZodString>;
7179
7179
  systemPrompt: z.ZodOptional<z.ZodString>;
7180
7180
  contextMode: z.ZodOptional<z.ZodEnum<{
7181
- fresh: "fresh";
7182
7181
  fork: "fork";
7182
+ fresh: "fresh";
7183
7183
  }>>;
7184
7184
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7185
7185
  state: z.ZodLiteral<"resolved">;
@@ -7452,8 +7452,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7452
7452
  "exit-and-resume": "exit-and-resume";
7453
7453
  }>>;
7454
7454
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
7455
- worker: "worker";
7456
7455
  authority: "authority";
7456
+ worker: "worker";
7457
7457
  }>>;
7458
7458
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7459
7459
  kind: z.ZodLiteral<"local-directory">;
@@ -7821,8 +7821,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7821
7821
  completed: "completed";
7822
7822
  cancelled: "cancelled";
7823
7823
  failed: "failed";
7824
- paused: "paused";
7825
7824
  running: "running";
7825
+ paused: "paused";
7826
7826
  finalizing: "finalizing";
7827
7827
  }>;
7828
7828
  startedAt: z.ZodNumber;
@@ -7869,8 +7869,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7869
7869
  cancelled: "cancelled";
7870
7870
  failed: "failed";
7871
7871
  running: "running";
7872
- waiting: "waiting";
7873
7872
  skipped: "skipped";
7873
+ waiting: "waiting";
7874
7874
  }>;
7875
7875
  attempt: z.ZodNumber;
7876
7876
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -7899,8 +7899,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7899
7899
  completed: "completed";
7900
7900
  cancelled: "cancelled";
7901
7901
  failed: "failed";
7902
- paused: "paused";
7903
7902
  running: "running";
7903
+ paused: "paused";
7904
7904
  finalizing: "finalizing";
7905
7905
  }>>;
7906
7906
  limit: z.ZodOptional<z.ZodNumber>;
@@ -7916,8 +7916,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
7916
7916
  completed: "completed";
7917
7917
  cancelled: "cancelled";
7918
7918
  failed: "failed";
7919
- paused: "paused";
7920
7919
  running: "running";
7920
+ paused: "paused";
7921
7921
  finalizing: "finalizing";
7922
7922
  }>;
7923
7923
  startedAt: z.ZodNumber;
@@ -9272,8 +9272,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9272
9272
  completed: "completed";
9273
9273
  cancelled: "cancelled";
9274
9274
  failed: "failed";
9275
- paused: "paused";
9276
9275
  running: "running";
9276
+ paused: "paused";
9277
9277
  finalizing: "finalizing";
9278
9278
  }>;
9279
9279
  }, z.core.$strip>;
@@ -9351,8 +9351,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9351
9351
  completed: "completed";
9352
9352
  cancelled: "cancelled";
9353
9353
  failed: "failed";
9354
- paused: "paused";
9355
9354
  running: "running";
9355
+ paused: "paused";
9356
9356
  finalizing: "finalizing";
9357
9357
  }>;
9358
9358
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -9409,8 +9409,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9409
9409
  completed: "completed";
9410
9410
  cancelled: "cancelled";
9411
9411
  failed: "failed";
9412
- paused: "paused";
9413
9412
  running: "running";
9413
+ paused: "paused";
9414
9414
  finalizing: "finalizing";
9415
9415
  }>>;
9416
9416
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -9433,8 +9433,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9433
9433
  completed: "completed";
9434
9434
  cancelled: "cancelled";
9435
9435
  failed: "failed";
9436
- paused: "paused";
9437
9436
  running: "running";
9437
+ paused: "paused";
9438
9438
  finalizing: "finalizing";
9439
9439
  }>;
9440
9440
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -9490,8 +9490,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9490
9490
  completed: "completed";
9491
9491
  cancelled: "cancelled";
9492
9492
  failed: "failed";
9493
- paused: "paused";
9494
9493
  running: "running";
9494
+ paused: "paused";
9495
9495
  finalizing: "finalizing";
9496
9496
  }>;
9497
9497
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
@@ -9575,8 +9575,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9575
9575
  status: z.ZodOptional<z.ZodEnum<{
9576
9576
  cancelled: "cancelled";
9577
9577
  rejected: "rejected";
9578
- waiting: "waiting";
9579
9578
  resumed: "resumed";
9579
+ waiting: "waiting";
9580
9580
  "timed-out": "timed-out";
9581
9581
  }>>;
9582
9582
  limit: z.ZodDefault<z.ZodNumber>;
@@ -9591,8 +9591,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9591
9591
  status: z.ZodEnum<{
9592
9592
  cancelled: "cancelled";
9593
9593
  rejected: "rejected";
9594
- waiting: "waiting";
9595
9594
  resumed: "resumed";
9595
+ waiting: "waiting";
9596
9596
  "timed-out": "timed-out";
9597
9597
  }>;
9598
9598
  autoAction: z.ZodEnum<{
@@ -9689,8 +9689,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9689
9689
  cancelled: "cancelled";
9690
9690
  failed: "failed";
9691
9691
  running: "running";
9692
- waiting: "waiting";
9693
9692
  skipped: "skipped";
9693
+ waiting: "waiting";
9694
9694
  }>;
9695
9695
  attempt: z.ZodDefault<z.ZodNumber>;
9696
9696
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -9887,8 +9887,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9887
9887
  harnessId: z.ZodOptional<z.ZodString>;
9888
9888
  systemPrompt: z.ZodOptional<z.ZodString>;
9889
9889
  contextMode: z.ZodOptional<z.ZodEnum<{
9890
- fresh: "fresh";
9891
9890
  fork: "fork";
9891
+ fresh: "fresh";
9892
9892
  }>>;
9893
9893
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9894
9894
  state: z.ZodLiteral<"resolved">;
@@ -9998,8 +9998,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
9998
9998
  harnessId: z.ZodOptional<z.ZodString>;
9999
9999
  systemPrompt: z.ZodOptional<z.ZodString>;
10000
10000
  contextMode: z.ZodOptional<z.ZodEnum<{
10001
- fresh: "fresh";
10002
10001
  fork: "fork";
10002
+ fresh: "fresh";
10003
10003
  }>>;
10004
10004
  providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10005
10005
  state: z.ZodLiteral<"resolved">;
@@ -10272,8 +10272,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10272
10272
  "exit-and-resume": "exit-and-resume";
10273
10273
  }>>;
10274
10274
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
10275
- worker: "worker";
10276
10275
  authority: "authority";
10276
+ worker: "worker";
10277
10277
  }>>;
10278
10278
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
10279
10279
  kind: z.ZodLiteral<"local-directory">;
@@ -10641,8 +10641,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10641
10641
  completed: "completed";
10642
10642
  cancelled: "cancelled";
10643
10643
  failed: "failed";
10644
- paused: "paused";
10645
10644
  running: "running";
10645
+ paused: "paused";
10646
10646
  finalizing: "finalizing";
10647
10647
  }>;
10648
10648
  startedAt: z.ZodNumber;
@@ -10689,8 +10689,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10689
10689
  cancelled: "cancelled";
10690
10690
  failed: "failed";
10691
10691
  running: "running";
10692
- waiting: "waiting";
10693
10692
  skipped: "skipped";
10693
+ waiting: "waiting";
10694
10694
  }>;
10695
10695
  attempt: z.ZodNumber;
10696
10696
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -10719,8 +10719,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10719
10719
  completed: "completed";
10720
10720
  cancelled: "cancelled";
10721
10721
  failed: "failed";
10722
- paused: "paused";
10723
10722
  running: "running";
10723
+ paused: "paused";
10724
10724
  finalizing: "finalizing";
10725
10725
  }>>;
10726
10726
  limit: z.ZodOptional<z.ZodNumber>;
@@ -10736,8 +10736,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
10736
10736
  completed: "completed";
10737
10737
  cancelled: "cancelled";
10738
10738
  failed: "failed";
10739
- paused: "paused";
10740
10739
  running: "running";
10740
+ paused: "paused";
10741
10741
  finalizing: "finalizing";
10742
10742
  }>;
10743
10743
  startedAt: z.ZodNumber;
@@ -11066,8 +11066,8 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
11066
11066
  "exit-and-resume": "exit-and-resume";
11067
11067
  }>>;
11068
11068
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
11069
- worker: "worker";
11070
11069
  authority: "authority";
11070
+ worker: "worker";
11071
11071
  }>>;
11072
11072
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11073
11073
  kind: z.ZodLiteral<"local-directory">;
@@ -11418,8 +11418,8 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
11418
11418
  "exit-and-resume": "exit-and-resume";
11419
11419
  }>>;
11420
11420
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
11421
- worker: "worker";
11422
11421
  authority: "authority";
11422
+ worker: "worker";
11423
11423
  }>>;
11424
11424
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11425
11425
  kind: z.ZodLiteral<"local-directory">;
@@ -11917,8 +11917,8 @@ declare const WorkLogExecutionSummarySchema: z.ZodObject<{
11917
11917
  completed: "completed";
11918
11918
  cancelled: "cancelled";
11919
11919
  failed: "failed";
11920
- paused: "paused";
11921
11920
  running: "running";
11921
+ paused: "paused";
11922
11922
  finalizing: "finalizing";
11923
11923
  }>;
11924
11924
  startedAt: z.ZodNumber;
@@ -11961,8 +11961,8 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
11961
11961
  cancelled: "cancelled";
11962
11962
  failed: "failed";
11963
11963
  running: "running";
11964
- waiting: "waiting";
11965
11964
  skipped: "skipped";
11965
+ waiting: "waiting";
11966
11966
  }>;
11967
11967
  attempt: z.ZodNumber;
11968
11968
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -12015,8 +12015,8 @@ declare const WorkLogGateEventSchema: z.ZodObject<{
12015
12015
  status: z.ZodEnum<{
12016
12016
  cancelled: "cancelled";
12017
12017
  rejected: "rejected";
12018
- waiting: "waiting";
12019
12018
  resumed: "resumed";
12019
+ waiting: "waiting";
12020
12020
  "timed-out": "timed-out";
12021
12021
  }>;
12022
12022
  prompt: z.ZodOptional<z.ZodString>;
@@ -12470,8 +12470,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
12470
12470
  * - fresh: Start with clean context
12471
12471
  */
12472
12472
  declare const ContextModeSchema$1: z.ZodEnum<{
12473
- fresh: "fresh";
12474
12473
  fork: "fork";
12474
+ fresh: "fresh";
12475
12475
  }>;
12476
12476
  type ContextMode = z.infer<typeof ContextModeSchema$1>;
12477
12477
  /**
@@ -12606,8 +12606,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
12606
12606
  "extra-high": "extra-high";
12607
12607
  }>>;
12608
12608
  contextMode: z.ZodDefault<z.ZodEnum<{
12609
- fresh: "fresh";
12610
12609
  fork: "fork";
12610
+ fresh: "fresh";
12611
12611
  }>>;
12612
12612
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
12613
12613
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -12776,8 +12776,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
12776
12776
  "extra-high": "extra-high";
12777
12777
  }>>;
12778
12778
  contextMode: z.ZodDefault<z.ZodEnum<{
12779
- fresh: "fresh";
12780
12779
  fork: "fork";
12780
+ fresh: "fresh";
12781
12781
  }>>;
12782
12782
  tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
12783
12783
  disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;