@makaio/framework 1.0.0-dev-1788909333961 → 1.0.0-dev-1788914730846

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 (130) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/artifact-DtmJR46g.mjs +1 -0
  3. package/dist/authority-state-bootstrap-DnwkMieA.mjs +1 -0
  4. package/dist/bus/index.d.mts +20 -20
  5. package/dist/bus/index.mjs +1 -1
  6. package/dist/code-execution-B9wr0b972.mjs +1 -0
  7. package/dist/contracts/adapter/index.d.mts +2 -2
  8. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  9. package/dist/contracts/artifact/index.d.mts +3 -3
  10. package/dist/contracts/artifact/index.mjs +1 -1
  11. package/dist/contracts/canonical-model/index.d.mts +1 -1
  12. package/dist/contracts/capabilities/index.d.mts +1 -1
  13. package/dist/contracts/client/index.d.mts +1 -1
  14. package/dist/contracts/extension/index.d.mts +2 -2
  15. package/dist/contracts/extension/index.mjs +1 -1
  16. package/dist/contracts/index.d.mts +168 -168
  17. package/dist/contracts/index.mjs +1 -1
  18. package/dist/contracts/materialization/index.d.mts +2 -2
  19. package/dist/contracts/materialization/index.mjs +1 -1
  20. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  21. package/dist/contracts/session/index.d.mts +2 -2
  22. package/dist/contracts/worker/index.d.mts +1 -1
  23. package/dist/contracts/worker/index.mjs +1 -1
  24. package/dist/contracts/workflow/index.d.mts +2 -2
  25. package/dist/contracts/workflow/index.mjs +1 -1
  26. package/dist/{execution-attempt-repository-CF3cWsPo.d.mts → execution-attempt-repository-dE889kHj.d.mts} +60 -6
  27. package/dist/{extension-BgUSK5rv.mjs → extension-C1CwxkCN.mjs} +1 -1
  28. package/dist/framework-packages-B3SQPHD7.mjs +1 -0
  29. package/dist/{index-uv_WSQtw2.d.mts → index-Aomg_qFA2.d.mts} +159 -27
  30. package/dist/{index-CZuhTqsX2.d.mts → index-B_rFtKIO2.d.mts} +12 -12
  31. package/dist/{index-OP6Aw5jN.d.mts → index-BfXf_CcM.d.mts} +13 -15
  32. package/dist/{index-CpdRe5df.d.mts → index-C50sVXO7.d.mts} +767 -53
  33. package/dist/{index-DlKxbLC9.d.mts → index-CRQ2U0jE.d.mts} +7 -7
  34. package/dist/{index-B4Wg4W7d.d.mts → index-C_R6ifn9.d.mts} +100 -100
  35. package/dist/{index-B7VO0gQV.d.mts → index-CmAJx-cX.d.mts} +1 -1
  36. package/dist/{index-VAJBIJUb.d.mts → index-CtlurrJF.d.mts} +23 -23
  37. package/dist/{index-DFsJTTkS.d.mts → index-D3-21gUP.d.mts} +1 -1
  38. package/dist/{index-BO_ikAR-.d.mts → index-DRryNq7D.d.mts} +4 -4
  39. package/dist/{index-BeplDh91.d.mts → index-DfYMmJDZ.d.mts} +1974 -419
  40. package/dist/{index-VCtdvtEk.d.mts → index-DzeUtJtE.d.mts} +344 -344
  41. package/dist/{index-tDCBp28C.d.mts → index-KZ4YllPp.d.mts} +391 -391
  42. package/dist/{index-BALk4zcu.d.mts → index-ZEQDAT9K.d.mts} +1 -1
  43. package/dist/{index-U0Fe0baO.d.mts → index-jXU4dntl.d.mts} +6 -6
  44. package/dist/{index-b_LJnwCU2.d.mts → index-ksNVQHeY2.d.mts} +8 -8
  45. package/dist/{index-ByJ2NESC.d.mts → index-l9WK9El6.d.mts} +6 -6
  46. package/dist/kernel/extension/index.d.mts +1 -1
  47. package/dist/kernel/index.d.mts +2 -2
  48. package/dist/kernel/observability/index.d.mts +1 -1
  49. package/dist/{lib-Ql8RWYOd.mjs → lib-0MqNtDuH.mjs} +4 -4
  50. package/dist/{lib-B8hEa65D.mjs → lib-dlyJT26K.mjs} +1 -1
  51. package/dist/{materialization-CqOHTt92.mjs → materialization-CDemi12q.mjs} +1 -1
  52. package/dist/{namespace-DELzAyzb.d.mts → namespace-B_Gw6BMX.d.mts} +152 -152
  53. package/dist/{namespace-BlH5BeSq.d.mts → namespace-CePc0U4N.d.mts} +2 -2
  54. package/dist/{namespace-BocL2nn7.d.mts → namespace-CizM5GXh.d.mts} +6 -6
  55. package/dist/{namespace-DyeMWQKf.d.mts → namespace-D9ToNQPp.d.mts} +25 -25
  56. package/dist/{namespace-BVQ8Y2Yi.d.mts → namespace-DF9m7PLi.d.mts} +7 -7
  57. package/dist/{package-DnlJ4I1i.d.mts → package-BR0pO5BI.d.mts} +71 -9
  58. package/dist/package-DKfzsJVl.mjs +7 -0
  59. package/dist/package.json +1 -1
  60. package/dist/runtime-node/code-execution/index.d.mts +1 -1
  61. package/dist/runtime-node/code-execution/index.mjs +1 -1
  62. package/dist/runtime-node/index.d.mts +1 -1
  63. package/dist/runtime-node/index.mjs +1 -1
  64. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  65. package/dist/{schema-CJfSEZ8X.d.mts → schema-7GukLoee.d.mts} +1 -1
  66. package/dist/{schemas-B9yLU2jM.d.mts → schemas-6FlRULSc.d.mts} +212 -80
  67. package/dist/schemas-BahXrOYa.mjs +1 -0
  68. package/dist/{schemas-Djt6hIjz.d.mts → schemas-CKGHlsMd.d.mts} +1 -1
  69. package/dist/{schemas-mGJIRIZ5.d.mts → schemas-Cg2gAars.d.mts} +152 -152
  70. package/dist/{schemas-BfMFZ6J5.d.mts → schemas-CkOVC3ip.d.mts} +4 -4
  71. package/dist/{schemas-BBatvMde.d.mts → schemas-Df52igU4.d.mts} +4 -4
  72. package/dist/services/adapter-runtime/index.d.mts +3 -3
  73. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  74. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  75. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  76. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  77. package/dist/services/agent-runtime/index.d.mts +2 -2
  78. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  79. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  80. package/dist/services/context-rules/index.d.mts +3 -3
  81. package/dist/services/execution-target/index.d.mts +1 -1
  82. package/dist/services/filesystem/namespace.d.mts +6 -6
  83. package/dist/services/filesystem/schemas.d.mts +3 -3
  84. package/dist/services/git/namespace.d.mts +2 -2
  85. package/dist/services/git/schemas.d.mts +2 -2
  86. package/dist/services/index.d.mts +103 -103
  87. package/dist/services/index.mjs +1 -1
  88. package/dist/services/provider-context/index.d.mts +1 -1
  89. package/dist/services/session/index.d.mts +5 -5
  90. package/dist/services/session/messages/namespace.d.mts +1 -1
  91. package/dist/services/session/storage/namespace.d.mts +1 -1
  92. package/dist/services/session/storage/schema.d.mts +1 -1
  93. package/dist/services/settings/namespace.d.mts +4 -4
  94. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  95. package/dist/services/subagent-template/index.d.mts +1 -1
  96. package/dist/services/subagent-template/schemas.d.mts +1 -1
  97. package/dist/services/tools/index.mjs +1 -1
  98. package/dist/services/workflow-transitions/index.mjs +1 -1
  99. package/dist/{session-lineage-Bwb98OUz.d.mts → session-lineage-BtvnGkoC.d.mts} +1 -1
  100. package/dist/{tools-BkSFBqUz.mjs → tools-2INrWlnS.mjs} +1 -1
  101. package/dist/{transition-BbfxZ4U1.d.mts → transition-C1rMI1ue.d.mts} +1 -1
  102. package/dist/{types-CXwFtEIF.d.mts → types-DIHb_m2K.d.mts} +350 -350
  103. package/dist/{view-builder-CJtK5hgs.d.mts → view-builder-Dt9UEsPc.d.mts} +1 -1
  104. package/dist/{worker-VBlgozIo.mjs → worker-Bn0x5MSH.mjs} +1 -1
  105. package/dist/workflow-B6C3Pf66.mjs +1 -0
  106. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  107. package/dist/workflow-engine/index.d.mts +29 -27
  108. package/dist/workflow-engine/index.mjs +1 -1
  109. package/dist/workflow-engine/package.d.mts +1 -1
  110. package/dist/workflow-engine/package.mjs +1 -1
  111. package/dist/workflow-engine/provider-operation.d.mts +2 -2
  112. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  113. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  114. package/dist/workflow-engine/testing/index.d.mts +3 -1
  115. package/dist/workflow-engine/testing/index.mjs +1 -1
  116. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  117. package/dist/workflow-engine/testing/sqlite.mjs +13 -3
  118. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  119. package/dist/{workflow-transitions-Cuo6s9uv.mjs → workflow-transitions-BbhM_zPm.mjs} +1 -1
  120. package/dist/{workflow-worker-7AA-u1uC.mjs → workflow-worker-BSJ6F4P0.mjs} +1 -1
  121. package/package.json +1 -1
  122. package/dist/artifact-BjqkK0KX.mjs +0 -1
  123. package/dist/authority-state-bootstrap-8VGt4vD2.mjs +0 -1
  124. package/dist/code-execution-BsiB7ZeZ2.mjs +0 -1
  125. package/dist/framework-packages-CxWecyPW.mjs +0 -1
  126. package/dist/package-BwIbyojG.mjs +0 -7
  127. package/dist/schemas-0eCrrru1.mjs +0 -1
  128. package/dist/workflow-svpU9Cig.mjs +0 -1
  129. package/dist/{index-DrwT45ci2.d.mts → index-B04VAxlm2.d.mts} +6 -6
  130. /package/dist/{kind-registration-T--B1wiI.mjs → kind-registration-DggkrLkv.mjs} +0 -0
@@ -88,7 +88,7 @@ declare const SessionStorageNamespace$1: {
88
88
  tableName: "sessions";
89
89
  dataType: "string";
90
90
  columnType: "SQLiteText";
91
- data: "closed" | "discovered" | "active" | "archived";
91
+ data: "closed" | "discovered" | "archived" | "active";
92
92
  driverParam: string;
93
93
  notNull: true;
94
94
  hasDefault: false;
@@ -1240,8 +1240,8 @@ declare const SessionStorageNamespace$1: {
1240
1240
  status: _$zod.ZodEnum<{
1241
1241
  closed: "closed";
1242
1242
  discovered: "discovered";
1243
- active: "active";
1244
1243
  archived: "archived";
1244
+ active: "active";
1245
1245
  }>;
1246
1246
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1247
1247
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1382,8 +1382,8 @@ declare const SessionStorageNamespace$1: {
1382
1382
  status: _$zod.ZodEnum<{
1383
1383
  closed: "closed";
1384
1384
  discovered: "discovered";
1385
- active: "active";
1386
1385
  archived: "archived";
1386
+ active: "active";
1387
1387
  }>;
1388
1388
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1389
1389
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1487,8 +1487,8 @@ declare const SessionStorageNamespace$1: {
1487
1487
  all: "all";
1488
1488
  closed: "closed";
1489
1489
  discovered: "discovered";
1490
- active: "active";
1491
1490
  archived: "archived";
1491
+ active: "active";
1492
1492
  }>>;
1493
1493
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1494
1494
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -1549,8 +1549,8 @@ declare const SessionStorageNamespace$1: {
1549
1549
  status: _$zod.ZodEnum<{
1550
1550
  closed: "closed";
1551
1551
  discovered: "discovered";
1552
- active: "active";
1553
1552
  archived: "archived";
1553
+ active: "active";
1554
1554
  }>;
1555
1555
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1556
1556
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1672,8 +1672,8 @@ declare const SessionStorageNamespace$1: {
1672
1672
  all: "all";
1673
1673
  closed: "closed";
1674
1674
  discovered: "discovered";
1675
- active: "active";
1676
1675
  archived: "archived";
1676
+ active: "active";
1677
1677
  }>>;
1678
1678
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
1679
1679
  }, _$zod_v4_core0.$strip>;
@@ -1731,8 +1731,8 @@ declare const SessionStorageNamespace$1: {
1731
1731
  status: _$zod.ZodEnum<{
1732
1732
  closed: "closed";
1733
1733
  discovered: "discovered";
1734
- active: "active";
1735
1734
  archived: "archived";
1735
+ active: "active";
1736
1736
  }>;
1737
1737
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1738
1738
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1828,14 +1828,14 @@ declare const SessionStorageNamespace$1: {
1828
1828
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1829
1829
  closed: "closed";
1830
1830
  discovered: "discovered";
1831
- active: "active";
1832
1831
  archived: "archived";
1832
+ active: "active";
1833
1833
  }>>;
1834
1834
  expectedStatus: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
1835
1835
  closed: "closed";
1836
1836
  discovered: "discovered";
1837
- active: "active";
1838
1837
  archived: "archived";
1838
+ active: "active";
1839
1839
  }>>>;
1840
1840
  parentSessionId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
1841
1841
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1955,8 +1955,8 @@ declare const SessionStorageNamespace$1: {
1955
1955
  status: _$zod.ZodEnum<{
1956
1956
  closed: "closed";
1957
1957
  discovered: "discovered";
1958
- active: "active";
1959
1958
  archived: "archived";
1959
+ active: "active";
1960
1960
  }>;
1961
1961
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1962
1962
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2247,8 +2247,8 @@ declare const SessionStorageNamespace$1: {
2247
2247
  status: _$zod.ZodEnum<{
2248
2248
  closed: "closed";
2249
2249
  discovered: "discovered";
2250
- active: "active";
2251
2250
  archived: "archived";
2251
+ active: "active";
2252
2252
  }>;
2253
2253
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2254
2254
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2396,8 +2396,8 @@ declare const SessionStorageNamespace$1: {
2396
2396
  status: _$zod.ZodEnum<{
2397
2397
  closed: "closed";
2398
2398
  discovered: "discovered";
2399
- active: "active";
2400
2399
  archived: "archived";
2400
+ active: "active";
2401
2401
  }>;
2402
2402
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2403
2403
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2566,8 +2566,8 @@ declare const SessionStorageNamespace$1: {
2566
2566
  status: _$zod.ZodEnum<{
2567
2567
  closed: "closed";
2568
2568
  discovered: "discovered";
2569
- active: "active";
2570
2569
  archived: "archived";
2570
+ active: "active";
2571
2571
  }>;
2572
2572
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2573
2573
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2708,8 +2708,8 @@ declare const SessionStorageNamespace$1: {
2708
2708
  status: _$zod.ZodEnum<{
2709
2709
  closed: "closed";
2710
2710
  discovered: "discovered";
2711
- active: "active";
2712
2711
  archived: "archived";
2712
+ active: "active";
2713
2713
  }>;
2714
2714
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2715
2715
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2813,8 +2813,8 @@ declare const SessionStorageNamespace$1: {
2813
2813
  all: "all";
2814
2814
  closed: "closed";
2815
2815
  discovered: "discovered";
2816
- active: "active";
2817
2816
  archived: "archived";
2817
+ active: "active";
2818
2818
  }>>;
2819
2819
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
2820
2820
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -2875,8 +2875,8 @@ declare const SessionStorageNamespace$1: {
2875
2875
  status: _$zod.ZodEnum<{
2876
2876
  closed: "closed";
2877
2877
  discovered: "discovered";
2878
- active: "active";
2879
2878
  archived: "archived";
2879
+ active: "active";
2880
2880
  }>;
2881
2881
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2882
2882
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2998,8 +2998,8 @@ declare const SessionStorageNamespace$1: {
2998
2998
  all: "all";
2999
2999
  closed: "closed";
3000
3000
  discovered: "discovered";
3001
- active: "active";
3002
3001
  archived: "archived";
3002
+ active: "active";
3003
3003
  }>>;
3004
3004
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
3005
3005
  }, _$zod_v4_core0.$strip>;
@@ -3057,8 +3057,8 @@ declare const SessionStorageNamespace$1: {
3057
3057
  status: _$zod.ZodEnum<{
3058
3058
  closed: "closed";
3059
3059
  discovered: "discovered";
3060
- active: "active";
3061
3060
  archived: "archived";
3061
+ active: "active";
3062
3062
  }>;
3063
3063
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3064
3064
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3154,14 +3154,14 @@ declare const SessionStorageNamespace$1: {
3154
3154
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
3155
3155
  closed: "closed";
3156
3156
  discovered: "discovered";
3157
- active: "active";
3158
3157
  archived: "archived";
3158
+ active: "active";
3159
3159
  }>>;
3160
3160
  expectedStatus: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
3161
3161
  closed: "closed";
3162
3162
  discovered: "discovered";
3163
- active: "active";
3164
3163
  archived: "archived";
3164
+ active: "active";
3165
3165
  }>>>;
3166
3166
  parentSessionId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
3167
3167
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3281,8 +3281,8 @@ declare const SessionStorageNamespace$1: {
3281
3281
  status: _$zod.ZodEnum<{
3282
3282
  closed: "closed";
3283
3283
  discovered: "discovered";
3284
- active: "active";
3285
3284
  archived: "archived";
3285
+ active: "active";
3286
3286
  }>;
3287
3287
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3288
3288
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3573,8 +3573,8 @@ declare const SessionStorageNamespace$1: {
3573
3573
  status: _$zod.ZodEnum<{
3574
3574
  closed: "closed";
3575
3575
  discovered: "discovered";
3576
- active: "active";
3577
3576
  archived: "archived";
3577
+ active: "active";
3578
3578
  }>;
3579
3579
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3580
3580
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3722,8 +3722,8 @@ declare const SessionStorageNamespace$1: {
3722
3722
  status: _$zod.ZodEnum<{
3723
3723
  closed: "closed";
3724
3724
  discovered: "discovered";
3725
- active: "active";
3726
3725
  archived: "archived";
3726
+ active: "active";
3727
3727
  }>;
3728
3728
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3729
3729
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3836,7 +3836,7 @@ declare const SessionStorageNamespace$1: {
3836
3836
  options?: _$_makaio_core0.NamespaceRegistrationOptions;
3837
3837
  defaultTransports?: _$_makaio_core0.TransportRoutingDefault;
3838
3838
  __filterPayload?: {
3839
- [x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | ("closed" | "discovered" | "active" | "archived")[] | {
3839
+ [x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | ("closed" | "discovered" | "archived" | "active")[] | {
3840
3840
  clientId: string;
3841
3841
  source: string;
3842
3842
  kind: string;
@@ -3875,7 +3875,7 @@ declare const SessionStorageNamespace$1: {
3875
3875
  clientId?: string | undefined;
3876
3876
  compressionMode?: "auto" | "manual" | "off" | undefined;
3877
3877
  }[];
3878
- status: "closed" | "discovered" | "active" | "archived";
3878
+ status: "closed" | "discovered" | "archived" | "active";
3879
3879
  leadAgentId?: string | undefined;
3880
3880
  parentSessionId?: string | undefined;
3881
3881
  contextInheritance?: "none" | "parent-history" | undefined;
@@ -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,17 +2030,17 @@ 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;
2037
- query: string;
2036
+ limit: never;
2038
2037
  contentText: string;
2039
2038
  adapterMessageId: string;
2040
- after: never;
2041
- order: never;
2042
2039
  emitEvent: never;
2040
+ after: never;
2043
2041
  includeAfter: never;
2042
+ order: never;
2043
+ query: string;
2044
2044
  } | undefined;
2045
2045
  };
2046
2046
  //#endregion
@@ -1,4 +1,4 @@
1
- import { A as OperationAdmissionDecision, At as AttemptSettlementRead, B as RecordInfrastructureFailureInput, C as ExecutionAttemptRepository, Ct as ProviderOperationOwnershipRecord, D as GetInstructionInput, Dt as RenewProviderOperationClaimInput, E as ExecutionOwnerId, Et as RecordProviderOperationUncertaintyInput, Ft as ReadAttemptSettlementInput, G as ReportOperationInput, H as RecordProvisioningAbsentInput, I as ProvisioningClaimDecision, J as RuntimeReadinessDecision, K as RuntimeOutcomeFence, L as ReadBootstrapStartStateInput, M as OperationReportDecision, Mt as EnsureExecutionAttemptDecision, N as OutcomeCodec, Nt as EnsureExecutionAttemptInput, O as InfrastructureFailureDecision, Ot as TakeOverProviderOperationInput, P as PendingAttemptAbandonmentDecision, R as RecordAllocationInput, Tt as ProvisioningAbsenceDecision, U as RecoverableAttemptRecord, V as RecordProvisionerIncarnationLostInput, W as RegisterRuntimeInput, Y as RuntimeRegistrationDecision, a as AllocationRefEvolutionDecision, b as ExecutionAttemptOutcomeDecision, bt as ProviderOperationCompletionDecision, dt as HandoffProviderOperationInput, f as CompleteOperationInput, h as DurableOutcome, ht as OpenProviderOperationRecord, i as AllocationRefEvolution, j as OperationCompletionDecision, k as MarkRuntimeReadyInput, mt as ListOpenProviderOperationsInput, n as AdmitOperationInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, r as AllocationRecordingDecision, s as AttemptControlState, u as BeginProvisioningInput, ut as CompleteProviderOperationInput, wt as ProvisionerIncarnationLossDecision, x as ExecutionAttemptRecord, xt as ProviderOperationMutationDecision, yt as ProviderOperationClaimDecision, z as RecordAllocationTerminatedInput } from "./execution-attempt-repository-CF3cWsPo.mjs";
1
+ import { A as MarkRuntimeReadyInput, At as RecordProviderOperationUncertaintyInput, B as RecordAllocationTerminatedInput, D as ExecutionOwnerId, Dt as ProviderOperationOwnershipRecord, F as PendingAttemptAbandonmentDecision, G as RegisterRuntimeInput, H as RecordProvisionerIncarnationLostInput, It as EnsureExecutionAttemptDecision, J as RuntimeOutcomeFence, K as ReportOperationInput, L as ProvisioningClaimDecision, Lt as EnsureExecutionAttemptInput, M as OperationCompletionDecision, Mt as TakeOverProviderOperationInput, N as OperationReportDecision, O as GetInstructionInput, Ot as ProvisionerIncarnationLossDecision, P as OutcomeCodec, Pt as AttemptSettlementRead, R as ReadBootstrapStartStateInput, S as ExecutionAttemptRecord, St as ProviderOperationCompletionDecision, Tt as ProviderOperationMutationDecision, U as RecordProvisioningAbsentInput, V as RecordInfrastructureFailureInput, W as RecoverableAttemptRecord, X as RuntimeReadinessDecision, Z as RuntimeRegistrationDecision, _t as OpenProviderOperationRecord, a as AllocationRefEvolutionDecision, f as CompleteOperationInput, ft as CompleteProviderOperationInput, gt as ListOpenProviderOperationsInput, h as DurableOutcome, i as AllocationRefEvolution, j as OperationAdmissionDecision, jt as RenewProviderOperationClaimInput, k as InfrastructureFailureDecision, kt as ProvisioningAbsenceDecision, n as AdmitOperationInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, pt as HandoffProviderOperationInput, q as RequestExecutionCancellationInput, r as AllocationRecordingDecision, s as AttemptControlState, u as BeginProvisioningInput, v as ExecutionAttemptCancellationIntent, w as ExecutionAttemptRepository, x as ExecutionAttemptOutcomeDecision, xt as ProviderOperationClaimDecision, z as RecordAllocationInput, zt as ReadAttemptSettlementInput } from "./execution-attempt-repository-dE889kHj.mjs";
2
2
  import { z } from "zod";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -186,6 +186,18 @@ declare class ExecutionAttemptAuthority<TOutcome> implements BootstrapStartAutho
186
186
  * @returns The stored assignment, or null for an owner mismatch or missing attempt.
187
187
  */
188
188
  getInstruction(input: GetInstructionInput): Promise<ExecutionAttemptInstruction | null>;
189
+ /**
190
+ * Commit cancellation intent before any best-effort control notification.
191
+ * @param input - Owner of existing attempts and optional cancellation reason.
192
+ * @returns Completion of the durable cancellation request write.
193
+ */
194
+ requestCancellation(input: RequestExecutionCancellationInput): Promise<void>;
195
+ /**
196
+ * Read cancellation intent for a controller adopting or retaining an allocation.
197
+ * @param executionAttemptId - Exact attempt whose control is held.
198
+ * @returns Durable request, which is not confirmation that cancellation completed.
199
+ */
200
+ readCancellation(executionAttemptId: string): Promise<ExecutionAttemptCancellationIntent | null>;
189
201
  /**
190
202
  * Accept successful Preparation without settling the attempt's outcome waiter.
191
203
  * @param input - Preparation result, operation correlation and trusted owner identity.
@@ -752,18 +764,18 @@ declare const WorkflowAttemptOutcomeSchema: z.ZodUnion<readonly [z.ZodDiscrimina
752
764
  relations: z.ZodArray<z.ZodObject<{
753
765
  type: z.ZodString;
754
766
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
755
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
767
+ refClass: z.ZodLiteral<"artifact">;
756
768
  kind: z.ZodString;
757
769
  id: z.ZodString;
758
770
  revision: z.ZodString;
759
- }, z.core.$strip>, z.ZodObject<{
771
+ }, z.core.$strict>, z.ZodObject<{
760
772
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
761
773
  artifact: z.ZodObject<{
762
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
774
+ refClass: z.ZodLiteral<"artifact">;
763
775
  kind: z.ZodString;
764
776
  id: z.ZodString;
765
777
  revision: z.ZodString;
766
- }, z.core.$strip>;
778
+ }, z.core.$strict>;
767
779
  localId: z.ZodString;
768
780
  }, z.core.$strip>, z.ZodObject<{
769
781
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -777,6 +789,50 @@ declare const WorkflowAttemptOutcomeSchema: z.ZodUnion<readonly [z.ZodDiscrimina
777
789
  id: z.ZodString;
778
790
  }, z.core.$strict>], "refClass">>;
779
791
  }, z.core.$strip>>;
792
+ evidence: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
793
+ source: z.ZodObject<{
794
+ kind: z.ZodLiteral<"git-file">;
795
+ repository: z.ZodString;
796
+ path: z.ZodString;
797
+ commit: z.ZodString;
798
+ }, z.core.$strict>;
799
+ location: z.ZodUnion<readonly [z.ZodObject<{
800
+ kind: z.ZodLiteral<"whole-source">;
801
+ }, z.core.$strict>, z.ZodObject<{
802
+ kind: z.ZodLiteral<"lines">;
803
+ startLine: z.ZodNumber;
804
+ lineCount: z.ZodNumber;
805
+ }, z.core.$strict>]>;
806
+ excerpt: z.ZodOptional<z.ZodString>;
807
+ }, z.core.$strict>, z.ZodObject<{
808
+ source: z.ZodObject<{
809
+ kind: z.ZodLiteral<"confluence-page">;
810
+ site: z.ZodString;
811
+ pageId: z.ZodString;
812
+ version: z.ZodNumber;
813
+ }, z.core.$strict>;
814
+ location: z.ZodObject<{
815
+ kind: z.ZodLiteral<"whole-source">;
816
+ }, z.core.$strict>;
817
+ excerpt: z.ZodOptional<z.ZodString>;
818
+ }, z.core.$strict>, z.ZodObject<{
819
+ source: z.ZodObject<{
820
+ kind: z.ZodLiteral<"artifact">;
821
+ reference: z.ZodObject<{
822
+ refClass: z.ZodLiteral<"artifact">;
823
+ kind: z.ZodString;
824
+ id: z.ZodString;
825
+ revision: z.ZodString;
826
+ }, z.core.$strict>;
827
+ }, z.core.$strict>;
828
+ location: z.ZodUnion<readonly [z.ZodObject<{
829
+ kind: z.ZodLiteral<"whole-source">;
830
+ }, z.core.$strict>, z.ZodObject<{
831
+ kind: z.ZodLiteral<"data-path">;
832
+ path: z.ZodString;
833
+ }, z.core.$strict>]>;
834
+ excerpt: z.ZodOptional<z.ZodString>;
835
+ }, z.core.$strict>]>>>;
780
836
  confidence: z.ZodOptional<z.ZodObject<{
781
837
  level: z.ZodEnum<{
782
838
  inferred: "inferred";
@@ -795,18 +851,18 @@ declare const WorkflowAttemptOutcomeSchema: z.ZodUnion<readonly [z.ZodDiscrimina
795
851
  timestamp: z.ZodNumber;
796
852
  detail: z.ZodOptional<z.ZodString>;
797
853
  evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
798
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
854
+ refClass: z.ZodLiteral<"artifact">;
799
855
  kind: z.ZodString;
800
856
  id: z.ZodString;
801
857
  revision: z.ZodString;
802
- }, z.core.$strip>, z.ZodObject<{
858
+ }, z.core.$strict>, z.ZodObject<{
803
859
  refClass: z.ZodDefault<z.ZodLiteral<"local">>;
804
860
  artifact: z.ZodObject<{
805
- refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
861
+ refClass: z.ZodLiteral<"artifact">;
806
862
  kind: z.ZodString;
807
863
  id: z.ZodString;
808
864
  revision: z.ZodString;
809
- }, z.core.$strip>;
865
+ }, z.core.$strict>;
810
866
  localId: z.ZodString;
811
867
  }, z.core.$strip>, z.ZodObject<{
812
868
  refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
@@ -1030,6 +1086,12 @@ declare class WorkflowExecutor extends BaseService {
1030
1086
  * @returns Finalizer dependency bundle.
1031
1087
  */
1032
1088
  private buildFinalizerDeps;
1089
+ /**
1090
+ * Deliver best-effort worker control only after owner-authorized intent commits.
1091
+ * @param executionId - Owner whose cancellation request was accepted.
1092
+ * @param reason - Optional cancellation explanation.
1093
+ */
1094
+ private notifyAttemptCancellation;
1033
1095
  /**
1034
1096
  * Build a {@link RunnerTaskDeps} bundle for delegating to
1035
1097
  * {@link buildExecutionTask} or {@link buildFileExecutionTask}.