@makaio/framework 1.0.0-dev-1787949057928 → 1.0.0-dev-1788511348215

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 (79) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/attempt-record-codec-dC9LSFUE.mjs +1 -0
  3. package/dist/authority-state-bootstrap-eitx6Ukn.mjs +1 -0
  4. package/dist/bus/index.mjs +1 -1
  5. package/dist/capabilities-DEvmD9VJ.mjs +1 -0
  6. package/dist/contracts/artifact/index.d.mts +1 -1
  7. package/dist/contracts/capabilities/index.d.mts +2 -2
  8. package/dist/contracts/capabilities/index.mjs +1 -1
  9. package/dist/contracts/client/index.d.mts +1 -1
  10. package/dist/contracts/extension/index.d.mts +2 -2
  11. package/dist/contracts/index.d.mts +12 -12
  12. package/dist/contracts/index.mjs +1 -1
  13. package/dist/contracts/worker/index.d.mts +2 -0
  14. package/dist/contracts/worker/index.mjs +1 -0
  15. package/dist/contracts/workflow/index.d.mts +1 -1
  16. package/dist/contracts/workflow/index.mjs +1 -1
  17. package/dist/{execution-attempt-repository-BJ2W6wwx.d.mts → execution-attempt-repository-DY4KTptE.d.mts} +359 -57
  18. package/dist/{index-8NdPPzUh2.d.mts → index-6trZYnUP2.d.mts} +12 -12
  19. package/dist/{index-CPi0UpRh.d.mts → index-B_8bA2JW.d.mts} +1 -1
  20. package/dist/{index-DfUpqwBa2.d.mts → index-BmilK-co2.d.mts} +53 -53
  21. package/dist/{index-CMekqu_D.d.mts → index-C6aSnO8m.d.mts} +42 -42
  22. package/dist/{index-BUwDmh1I.d.mts → index-CDud4NAm.d.mts} +10 -10
  23. package/dist/{index-CYjgoYeX.d.mts → index-DHH-93YD.d.mts} +1 -1
  24. package/dist/{index-B9io6JAL.d.mts → index-DI2lS7VT.d.mts} +1 -1
  25. package/dist/{index-cLB38AWX.d.mts → index-DNI6UF9h.d.mts} +60 -60
  26. package/dist/{index-NUByQvlg.d.mts → index-DXtQRehh.d.mts} +14 -14
  27. package/dist/{index-CVNbBtA-.d.mts → index-Wbd_syN2.d.mts} +112 -112
  28. package/dist/kernel/extension/index.d.mts +1 -1
  29. package/dist/kernel/index.d.mts +2 -2
  30. package/dist/kernel/observability/index.d.mts +1 -1
  31. package/dist/{namespace-C06lJSuj.d.mts → namespace-K23m4b0n.d.mts} +6 -6
  32. package/dist/package-Cgjpm9om.mjs +7 -0
  33. package/dist/{package-BNFTUFLB.d.mts → package-efR90JGe.d.mts} +59 -30
  34. package/dist/package.json +1 -1
  35. package/dist/runtime-node/index.d.mts +1 -1
  36. package/dist/runtime-node/index.mjs +1 -1
  37. package/dist/runtime-node/makaio-config.d.mts +2 -2
  38. package/dist/runtime-node/makaio-config.mjs +1 -1
  39. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  40. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  41. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  42. package/dist/{schemas-OWvBn7AH.d.mts → schemas-BCXvEWyF.d.mts} +4 -4
  43. package/dist/{schemas-BAv9RB9M.d.mts → schemas-D7EeKBDJ.d.mts} +3 -3
  44. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  45. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  46. package/dist/services/filesystem/namespace.d.mts +6 -6
  47. package/dist/services/filesystem/schemas.d.mts +3 -3
  48. package/dist/services/index.d.mts +9 -9
  49. package/dist/services/provider-context/index.d.mts +1 -1
  50. package/dist/services/session/index.d.mts +1 -1
  51. package/dist/services/settings/namespace.d.mts +2 -2
  52. package/dist/services/subagent-template/index.d.mts +1 -1
  53. package/dist/services/subagent-template/schemas.d.mts +1 -1
  54. package/dist/worker-CARV52hT.mjs +1 -0
  55. package/dist/worker-CLsRbzpk.mjs +1 -0
  56. package/dist/workflow-BomH9DBB.mjs +1 -0
  57. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  58. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  59. package/dist/workflow-engine/index.d.mts +178 -23
  60. package/dist/workflow-engine/index.mjs +1 -1
  61. package/dist/workflow-engine/package.d.mts +1 -1
  62. package/dist/workflow-engine/package.mjs +1 -1
  63. package/dist/workflow-engine/testing/index.d.mts +30 -9
  64. package/dist/workflow-engine/testing/index.mjs +1 -1
  65. package/dist/workflow-engine/testing/sqlite.d.mts +3 -2
  66. package/dist/workflow-engine/testing/sqlite.mjs +20 -20
  67. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  68. package/dist/workflow-worker-Dul-wcOR.mjs +1 -0
  69. package/package.json +4 -4
  70. package/dist/attempt-record-codec-BYfYkj4M.mjs +0 -1
  71. package/dist/authority-state-bootstrap-CLYus369.mjs +0 -1
  72. package/dist/capabilities-BUwuA7XX.mjs +0 -1
  73. package/dist/contracts/worker-node/index.d.mts +0 -2
  74. package/dist/contracts/worker-node/index.mjs +0 -1
  75. package/dist/package-B01gmu75.mjs +0 -7
  76. package/dist/worker-node-CjuQb9hl.mjs +0 -1
  77. package/dist/worker-node-Dtf9ilsR.mjs +0 -1
  78. package/dist/workflow-C4mck_NW.mjs +0 -1
  79. package/dist/workflow-worker-aNbdgqml.mjs +0 -1
@@ -1,6 +1,6 @@
1
1
  import { a as JsonObjectContractSchema } from "./json-value-DPqb-SJ8.mjs";
2
2
  import { o as ICapabilityProvider } from "./index-DQ8o3JGi.mjs";
3
- import { Qt as WorkerContributionManifest, ln as WorkflowWorkerConfig } from "./index-BUwDmh1I.mjs";
3
+ import { Qt as WorkerContributionManifest, ln as WorkflowWorkerConfig } from "./index-CDud4NAm.mjs";
4
4
  import * as _$zod from "zod";
5
5
  import { z } from "zod";
6
6
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -312,8 +312,8 @@ declare const VCSCheckRunSchema: z.ZodObject<{
312
312
  cancelled: "cancelled";
313
313
  failure: "failure";
314
314
  timed_out: "timed_out";
315
- neutral: "neutral";
316
315
  skipped: "skipped";
316
+ neutral: "neutral";
317
317
  action_required: "action_required";
318
318
  }>>;
319
319
  startedAt: z.ZodNullable<z.ZodString>;
@@ -568,8 +568,8 @@ declare const VCSSchemas: {
568
568
  cancelled: "cancelled";
569
569
  failure: "failure";
570
570
  timed_out: "timed_out";
571
- neutral: "neutral";
572
571
  skipped: "skipped";
572
+ neutral: "neutral";
573
573
  action_required: "action_required";
574
574
  }>>;
575
575
  startedAt: z.ZodNullable<z.ZodString>;
@@ -1130,8 +1130,8 @@ declare const VCSNamespace: _$_makaio_core0.BusNamespaceDefinition<"vcs", {
1130
1130
  cancelled: "cancelled";
1131
1131
  failure: "failure";
1132
1132
  timed_out: "timed_out";
1133
- neutral: "neutral";
1134
1133
  skipped: "skipped";
1134
+ neutral: "neutral";
1135
1135
  action_required: "action_required";
1136
1136
  }>>;
1137
1137
  startedAt: _$zod.ZodNullable<_$zod.ZodString>;
@@ -1423,8 +1423,8 @@ declare const VCSSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
1423
1423
  cancelled: "cancelled";
1424
1424
  failure: "failure";
1425
1425
  timed_out: "timed_out";
1426
- neutral: "neutral";
1427
1426
  skipped: "skipped";
1427
+ neutral: "neutral";
1428
1428
  action_required: "action_required";
1429
1429
  }>>;
1430
1430
  startedAt: _$zod.ZodNullable<_$zod.ZodString>;
@@ -1647,8 +1647,8 @@ declare function unregisterVCSProvider(bus: MakaioBusLike, providerId: string):
1647
1647
  * Lifecycle states for a review finding.
1648
1648
  */
1649
1649
  declare const FindingStatusSchema: z.ZodEnum<{
1650
- open: "open";
1651
1650
  verified: "verified";
1651
+ open: "open";
1652
1652
  addressed: "addressed";
1653
1653
  dismissed: "dismissed";
1654
1654
  deferred: "deferred";
@@ -1732,8 +1732,8 @@ declare const ReviewFindingSchema: z.ZodObject<{
1732
1732
  newCode: z.ZodString;
1733
1733
  }, z.core.$strip>>;
1734
1734
  status: z.ZodEnum<{
1735
- open: "open";
1736
1735
  verified: "verified";
1736
+ open: "open";
1737
1737
  addressed: "addressed";
1738
1738
  dismissed: "dismissed";
1739
1739
  deferred: "deferred";
@@ -1910,8 +1910,8 @@ declare const ReviewSchemas: {
1910
1910
  newCode: z.ZodString;
1911
1911
  }, z.core.$strip>>;
1912
1912
  status: z.ZodEnum<{
1913
- open: "open";
1914
1913
  verified: "verified";
1914
+ open: "open";
1915
1915
  addressed: "addressed";
1916
1916
  dismissed: "dismissed";
1917
1917
  deferred: "deferred";
@@ -1942,8 +1942,8 @@ declare const ReviewSchemas: {
1942
1942
  headSha: z.ZodOptional<z.ZodString>;
1943
1943
  }, z.core.$strip>;
1944
1944
  status: z.ZodOptional<z.ZodEnum<{
1945
- open: "open";
1946
1945
  verified: "verified";
1946
+ open: "open";
1947
1947
  addressed: "addressed";
1948
1948
  dismissed: "dismissed";
1949
1949
  deferred: "deferred";
@@ -1985,8 +1985,8 @@ declare const ReviewSchemas: {
1985
1985
  newCode: z.ZodString;
1986
1986
  }, z.core.$strip>>;
1987
1987
  status: z.ZodEnum<{
1988
- open: "open";
1989
1988
  verified: "verified";
1989
+ open: "open";
1990
1990
  addressed: "addressed";
1991
1991
  dismissed: "dismissed";
1992
1992
  deferred: "deferred";
@@ -2047,8 +2047,8 @@ declare const ReviewSchemas: {
2047
2047
  }>;
2048
2048
  id: z.ZodString;
2049
2049
  status: z.ZodEnum<{
2050
- open: "open";
2051
2050
  verified: "verified";
2051
+ open: "open";
2052
2052
  addressed: "addressed";
2053
2053
  dismissed: "dismissed";
2054
2054
  deferred: "deferred";
@@ -2112,8 +2112,8 @@ declare const ReviewSchemas: {
2112
2112
  newCode: z.ZodString;
2113
2113
  }, z.core.$strip>>;
2114
2114
  status: z.ZodEnum<{
2115
- open: "open";
2116
2115
  verified: "verified";
2116
+ open: "open";
2117
2117
  addressed: "addressed";
2118
2118
  dismissed: "dismissed";
2119
2119
  deferred: "deferred";
@@ -2143,8 +2143,8 @@ declare const ReviewSchemas: {
2143
2143
  headSha: z.ZodOptional<z.ZodString>;
2144
2144
  }, z.core.$strip>;
2145
2145
  status: z.ZodEnum<{
2146
- open: "open";
2147
2146
  verified: "verified";
2147
+ open: "open";
2148
2148
  addressed: "addressed";
2149
2149
  dismissed: "dismissed";
2150
2150
  deferred: "deferred";
@@ -2189,8 +2189,8 @@ declare const ReviewSchemas: {
2189
2189
  newCode: z.ZodString;
2190
2190
  }, z.core.$strip>>;
2191
2191
  status: z.ZodEnum<{
2192
- open: "open";
2193
2192
  verified: "verified";
2193
+ open: "open";
2194
2194
  addressed: "addressed";
2195
2195
  dismissed: "dismissed";
2196
2196
  deferred: "deferred";
@@ -2246,8 +2246,8 @@ declare const ReviewSchemas: {
2246
2246
  newCode: z.ZodString;
2247
2247
  }, z.core.$strip>>;
2248
2248
  status: z.ZodEnum<{
2249
- open: "open";
2250
2249
  verified: "verified";
2250
+ open: "open";
2251
2251
  addressed: "addressed";
2252
2252
  dismissed: "dismissed";
2253
2253
  deferred: "deferred";
@@ -2261,8 +2261,8 @@ declare const ReviewSchemas: {
2261
2261
  rawCommentId: z.ZodNullable<z.ZodNumber>;
2262
2262
  }, z.core.$strip>;
2263
2263
  previousStatus: z.ZodEnum<{
2264
- open: "open";
2265
2264
  verified: "verified";
2265
+ open: "open";
2266
2266
  addressed: "addressed";
2267
2267
  dismissed: "dismissed";
2268
2268
  deferred: "deferred";
@@ -2606,8 +2606,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2606
2606
  newCode: _$zod.ZodString;
2607
2607
  }, _$zod_v4_core0.$strip>>;
2608
2608
  status: _$zod.ZodEnum<{
2609
- open: "open";
2610
2609
  verified: "verified";
2610
+ open: "open";
2611
2611
  addressed: "addressed";
2612
2612
  dismissed: "dismissed";
2613
2613
  deferred: "deferred";
@@ -2633,8 +2633,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2633
2633
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
2634
2634
  }, _$zod_v4_core0.$strip>;
2635
2635
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2636
- open: "open";
2637
2636
  verified: "verified";
2637
+ open: "open";
2638
2638
  addressed: "addressed";
2639
2639
  dismissed: "dismissed";
2640
2640
  deferred: "deferred";
@@ -2676,8 +2676,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2676
2676
  newCode: _$zod.ZodString;
2677
2677
  }, _$zod_v4_core0.$strip>>;
2678
2678
  status: _$zod.ZodEnum<{
2679
- open: "open";
2680
2679
  verified: "verified";
2680
+ open: "open";
2681
2681
  addressed: "addressed";
2682
2682
  dismissed: "dismissed";
2683
2683
  deferred: "deferred";
@@ -2724,8 +2724,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2724
2724
  }>;
2725
2725
  id: _$zod.ZodString;
2726
2726
  status: _$zod.ZodEnum<{
2727
- open: "open";
2728
2727
  verified: "verified";
2728
+ open: "open";
2729
2729
  addressed: "addressed";
2730
2730
  dismissed: "dismissed";
2731
2731
  deferred: "deferred";
@@ -2789,8 +2789,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2789
2789
  newCode: _$zod.ZodString;
2790
2790
  }, _$zod_v4_core0.$strip>>;
2791
2791
  status: _$zod.ZodEnum<{
2792
- open: "open";
2793
2792
  verified: "verified";
2793
+ open: "open";
2794
2794
  addressed: "addressed";
2795
2795
  dismissed: "dismissed";
2796
2796
  deferred: "deferred";
@@ -2815,8 +2815,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2815
2815
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
2816
2816
  }, _$zod_v4_core0.$strip>;
2817
2817
  status: _$zod.ZodEnum<{
2818
- open: "open";
2819
2818
  verified: "verified";
2819
+ open: "open";
2820
2820
  addressed: "addressed";
2821
2821
  dismissed: "dismissed";
2822
2822
  deferred: "deferred";
@@ -2861,8 +2861,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2861
2861
  newCode: _$zod.ZodString;
2862
2862
  }, _$zod_v4_core0.$strip>>;
2863
2863
  status: _$zod.ZodEnum<{
2864
- open: "open";
2865
2864
  verified: "verified";
2865
+ open: "open";
2866
2866
  addressed: "addressed";
2867
2867
  dismissed: "dismissed";
2868
2868
  deferred: "deferred";
@@ -2913,8 +2913,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2913
2913
  newCode: _$zod.ZodString;
2914
2914
  }, _$zod_v4_core0.$strip>>;
2915
2915
  status: _$zod.ZodEnum<{
2916
- open: "open";
2917
2916
  verified: "verified";
2917
+ open: "open";
2918
2918
  addressed: "addressed";
2919
2919
  dismissed: "dismissed";
2920
2920
  deferred: "deferred";
@@ -2928,8 +2928,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2928
2928
  rawCommentId: _$zod.ZodNullable<_$zod.ZodNumber>;
2929
2929
  }, _$zod_v4_core0.$strip>;
2930
2930
  previousStatus: _$zod.ZodEnum<{
2931
- open: "open";
2932
2931
  verified: "verified";
2932
+ open: "open";
2933
2933
  addressed: "addressed";
2934
2934
  dismissed: "dismissed";
2935
2935
  deferred: "deferred";
@@ -3058,8 +3058,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3058
3058
  newCode: _$zod.ZodString;
3059
3059
  }, _$zod_v4_core0.$strip>>;
3060
3060
  status: _$zod.ZodEnum<{
3061
- open: "open";
3062
3061
  verified: "verified";
3062
+ open: "open";
3063
3063
  addressed: "addressed";
3064
3064
  dismissed: "dismissed";
3065
3065
  deferred: "deferred";
@@ -3085,8 +3085,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3085
3085
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
3086
3086
  }, _$zod_v4_core0.$strip>;
3087
3087
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
3088
- open: "open";
3089
3088
  verified: "verified";
3089
+ open: "open";
3090
3090
  addressed: "addressed";
3091
3091
  dismissed: "dismissed";
3092
3092
  deferred: "deferred";
@@ -3128,8 +3128,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3128
3128
  newCode: _$zod.ZodString;
3129
3129
  }, _$zod_v4_core0.$strip>>;
3130
3130
  status: _$zod.ZodEnum<{
3131
- open: "open";
3132
3131
  verified: "verified";
3132
+ open: "open";
3133
3133
  addressed: "addressed";
3134
3134
  dismissed: "dismissed";
3135
3135
  deferred: "deferred";
@@ -3176,8 +3176,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3176
3176
  }>;
3177
3177
  id: _$zod.ZodString;
3178
3178
  status: _$zod.ZodEnum<{
3179
- open: "open";
3180
3179
  verified: "verified";
3180
+ open: "open";
3181
3181
  addressed: "addressed";
3182
3182
  dismissed: "dismissed";
3183
3183
  deferred: "deferred";
@@ -3241,8 +3241,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3241
3241
  newCode: _$zod.ZodString;
3242
3242
  }, _$zod_v4_core0.$strip>>;
3243
3243
  status: _$zod.ZodEnum<{
3244
- open: "open";
3245
3244
  verified: "verified";
3245
+ open: "open";
3246
3246
  addressed: "addressed";
3247
3247
  dismissed: "dismissed";
3248
3248
  deferred: "deferred";
@@ -3267,8 +3267,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3267
3267
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
3268
3268
  }, _$zod_v4_core0.$strip>;
3269
3269
  status: _$zod.ZodEnum<{
3270
- open: "open";
3271
3270
  verified: "verified";
3271
+ open: "open";
3272
3272
  addressed: "addressed";
3273
3273
  dismissed: "dismissed";
3274
3274
  deferred: "deferred";
@@ -3313,8 +3313,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3313
3313
  newCode: _$zod.ZodString;
3314
3314
  }, _$zod_v4_core0.$strip>>;
3315
3315
  status: _$zod.ZodEnum<{
3316
- open: "open";
3317
3316
  verified: "verified";
3317
+ open: "open";
3318
3318
  addressed: "addressed";
3319
3319
  dismissed: "dismissed";
3320
3320
  deferred: "deferred";
@@ -3365,8 +3365,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3365
3365
  newCode: _$zod.ZodString;
3366
3366
  }, _$zod_v4_core0.$strip>>;
3367
3367
  status: _$zod.ZodEnum<{
3368
- open: "open";
3369
3368
  verified: "verified";
3369
+ open: "open";
3370
3370
  addressed: "addressed";
3371
3371
  dismissed: "dismissed";
3372
3372
  deferred: "deferred";
@@ -3380,8 +3380,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3380
3380
  rawCommentId: _$zod.ZodNullable<_$zod.ZodNumber>;
3381
3381
  }, _$zod_v4_core0.$strip>;
3382
3382
  previousStatus: _$zod.ZodEnum<{
3383
- open: "open";
3384
3383
  verified: "verified";
3384
+ open: "open";
3385
3385
  addressed: "addressed";
3386
3386
  dismissed: "dismissed";
3387
3387
  deferred: "deferred";
@@ -3732,8 +3732,8 @@ type VoiceStatusState = z.infer<typeof VoiceStatusStateSchema>;
3732
3732
  */
3733
3733
  declare const VoicePipelineLegSchema: z.ZodObject<{
3734
3734
  runtime: z.ZodEnum<{
3735
- client: "client";
3736
3735
  server: "server";
3736
+ client: "client";
3737
3737
  }>;
3738
3738
  providerId: z.ZodString;
3739
3739
  providerName: z.ZodString;
@@ -3752,16 +3752,16 @@ type VoicePipelineLegSchemaType = VoicePipelineLeg;
3752
3752
  declare const VoicePipelineStrategySchema: z.ZodObject<{
3753
3753
  stt: z.ZodObject<{
3754
3754
  runtime: z.ZodEnum<{
3755
- client: "client";
3756
3755
  server: "server";
3756
+ client: "client";
3757
3757
  }>;
3758
3758
  providerId: z.ZodString;
3759
3759
  providerName: z.ZodString;
3760
3760
  }, z.core.$strip>;
3761
3761
  tts: z.ZodObject<{
3762
3762
  runtime: z.ZodEnum<{
3763
- client: "client";
3764
3763
  server: "server";
3764
+ client: "client";
3765
3765
  }>;
3766
3766
  providerId: z.ZodString;
3767
3767
  providerName: z.ZodString;
@@ -3810,16 +3810,16 @@ declare const VoiceSchemas: {
3810
3810
  strategy: z.ZodObject<{
3811
3811
  stt: z.ZodObject<{
3812
3812
  runtime: z.ZodEnum<{
3813
- client: "client";
3814
3813
  server: "server";
3814
+ client: "client";
3815
3815
  }>;
3816
3816
  providerId: z.ZodString;
3817
3817
  providerName: z.ZodString;
3818
3818
  }, z.core.$strip>;
3819
3819
  tts: z.ZodObject<{
3820
3820
  runtime: z.ZodEnum<{
3821
- client: "client";
3822
3821
  server: "server";
3822
+ client: "client";
3823
3823
  }>;
3824
3824
  providerId: z.ZodString;
3825
3825
  providerName: z.ZodString;
@@ -3832,16 +3832,16 @@ declare const VoiceSchemas: {
3832
3832
  strategy: z.ZodObject<{
3833
3833
  stt: z.ZodObject<{
3834
3834
  runtime: z.ZodEnum<{
3835
- client: "client";
3836
3835
  server: "server";
3836
+ client: "client";
3837
3837
  }>;
3838
3838
  providerId: z.ZodString;
3839
3839
  providerName: z.ZodString;
3840
3840
  }, z.core.$strip>;
3841
3841
  tts: z.ZodObject<{
3842
3842
  runtime: z.ZodEnum<{
3843
- client: "client";
3844
3843
  server: "server";
3844
+ client: "client";
3845
3845
  }>;
3846
3846
  providerId: z.ZodString;
3847
3847
  providerName: z.ZodString;
@@ -3942,16 +3942,16 @@ declare const VoiceNamespace: _$_makaio_core0.BusNamespaceDefinition<"voice", {
3942
3942
  strategy: _$zod.ZodObject<{
3943
3943
  stt: _$zod.ZodObject<{
3944
3944
  runtime: _$zod.ZodEnum<{
3945
- client: "client";
3946
3945
  server: "server";
3946
+ client: "client";
3947
3947
  }>;
3948
3948
  providerId: _$zod.ZodString;
3949
3949
  providerName: _$zod.ZodString;
3950
3950
  }, _$zod_v4_core0.$strip>;
3951
3951
  tts: _$zod.ZodObject<{
3952
3952
  runtime: _$zod.ZodEnum<{
3953
- client: "client";
3954
3953
  server: "server";
3954
+ client: "client";
3955
3955
  }>;
3956
3956
  providerId: _$zod.ZodString;
3957
3957
  providerName: _$zod.ZodString;
@@ -3964,16 +3964,16 @@ declare const VoiceNamespace: _$_makaio_core0.BusNamespaceDefinition<"voice", {
3964
3964
  strategy: _$zod.ZodObject<{
3965
3965
  stt: _$zod.ZodObject<{
3966
3966
  runtime: _$zod.ZodEnum<{
3967
- client: "client";
3968
3967
  server: "server";
3968
+ client: "client";
3969
3969
  }>;
3970
3970
  providerId: _$zod.ZodString;
3971
3971
  providerName: _$zod.ZodString;
3972
3972
  }, _$zod_v4_core0.$strip>;
3973
3973
  tts: _$zod.ZodObject<{
3974
3974
  runtime: _$zod.ZodEnum<{
3975
- client: "client";
3976
3975
  server: "server";
3976
+ client: "client";
3977
3977
  }>;
3978
3978
  providerId: _$zod.ZodString;
3979
3979
  providerName: _$zod.ZodString;
@@ -4028,16 +4028,16 @@ declare const VoiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
4028
4028
  strategy: _$zod.ZodObject<{
4029
4029
  stt: _$zod.ZodObject<{
4030
4030
  runtime: _$zod.ZodEnum<{
4031
- client: "client";
4032
4031
  server: "server";
4032
+ client: "client";
4033
4033
  }>;
4034
4034
  providerId: _$zod.ZodString;
4035
4035
  providerName: _$zod.ZodString;
4036
4036
  }, _$zod_v4_core0.$strip>;
4037
4037
  tts: _$zod.ZodObject<{
4038
4038
  runtime: _$zod.ZodEnum<{
4039
- client: "client";
4040
4039
  server: "server";
4040
+ client: "client";
4041
4041
  }>;
4042
4042
  providerId: _$zod.ZodString;
4043
4043
  providerName: _$zod.ZodString;
@@ -4050,16 +4050,16 @@ declare const VoiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
4050
4050
  strategy: _$zod.ZodObject<{
4051
4051
  stt: _$zod.ZodObject<{
4052
4052
  runtime: _$zod.ZodEnum<{
4053
- client: "client";
4054
4053
  server: "server";
4054
+ client: "client";
4055
4055
  }>;
4056
4056
  providerId: _$zod.ZodString;
4057
4057
  providerName: _$zod.ZodString;
4058
4058
  }, _$zod_v4_core0.$strip>;
4059
4059
  tts: _$zod.ZodObject<{
4060
4060
  runtime: _$zod.ZodEnum<{
4061
- client: "client";
4062
4061
  server: "server";
4062
+ client: "client";
4063
4063
  }>;
4064
4064
  providerId: _$zod.ZodString;
4065
4065
  providerName: _$zod.ZodString;
@@ -5989,15 +5989,15 @@ declare const VCSPRSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
5989
5989
  }, _$zod_v4_core0.$strip>;
5990
5990
  }>, "vcs:pr">;
5991
5991
  //#endregion
5992
- //#region core/contracts/src/capabilities/worker-node/types.d.ts
5993
- /** Capability identifier used for WorkerNode providers. */
5994
- declare const WORKER_NODE_CAPABILITY_ID: "worker-node";
5992
+ //#region core/contracts/src/capabilities/worker/types.d.ts
5993
+ /** Capability identifier used for Worker providers. */
5994
+ declare const WORKER_CAPABILITY_ID: "worker";
5995
5995
  /**
5996
5996
  * Provider identifier reserved for the runtime-node built-in thin workflow provider.
5997
5997
  *
5998
- * The previous Piscina WorkerNode export name is intentionally not preserved as
5998
+ * The previous Piscina Worker export name is intentionally not preserved as
5999
5999
  * an alias: this pre-release API must keep thin local orchestration distinct
6000
- * from self-contained WorkerNode providers.
6000
+ * from self-contained Worker providers.
6001
6001
  */
6002
6002
  declare const BUILT_IN_THIN_WORKFLOW_PROVIDER_ID: "makaio.runtime-node.piscina-local";
6003
6003
  /**
@@ -6115,7 +6115,7 @@ declare const AMBIGUOUS_ALLOCATION_MATCH_CODE: "ambiguous-allocation-match";
6115
6115
  *
6116
6116
  * This is the only situation in which a provider can positively prove that no
6117
6117
  * allocation exists for an attempt, so it is also the only code that may
6118
- * accompany a {@link WorkerNodeConfirmedAbsentOutcome}.
6118
+ * accompany a {@link WorkerConfirmedAbsentOutcome}.
6119
6119
  */
6120
6120
  declare const PRE_REQUEST_REJECTION_CODE: "pre-request-rejection";
6121
6121
  /**
@@ -6129,7 +6129,7 @@ declare const ALLOCATION_STATES: readonly ["unknown", "provisioning", "ready", "
6129
6129
  * Zod schema for provider allocation lifecycle states.
6130
6130
  *
6131
6131
  * These states describe the infrastructure-level lifecycle of a provider
6132
- * allocation as reported by {@link IWorkerNodeRecoveryCapability.inspect}.
6132
+ * allocation as reported by {@link IWorkerRecoveryCapability.inspect}.
6133
6133
  * They are infrastructure evidence, never canonical workflow truth:
6134
6134
  *
6135
6135
  * - `unknown`: the provider cannot determine the current state.
@@ -6287,12 +6287,12 @@ declare const WorkerContributionRefSchema: z.ZodObject<{
6287
6287
  /** Exact contribution identity reference for a worker-local extension package. */
6288
6288
  type WorkerContributionRef = z.infer<typeof WorkerContributionRefSchema>;
6289
6289
  /**
6290
- * Zod schema for the capabilities advertised by a WorkerNode provider.
6290
+ * Zod schema for the capabilities advertised by a Worker provider.
6291
6291
  *
6292
6292
  * `customCapabilities` is an open list so hosts can declare environment-
6293
6293
  * specific tags (e.g. `'workflow.bus-events'`) without modifying the contract.
6294
6294
  */
6295
- declare const WorkerNodeCapabilitiesSchema: z.ZodObject<{
6295
+ declare const WorkerCapabilitiesSchema: z.ZodObject<{
6296
6296
  maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
6297
6297
  persistentStorage: z.ZodBoolean;
6298
6298
  customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -6308,11 +6308,11 @@ declare const WorkerNodeCapabilitiesSchema: z.ZodObject<{
6308
6308
  }>>>;
6309
6309
  }, z.core.$strip>;
6310
6310
  /** Raw provider capability input accepted before schema defaults are applied. */
6311
- type WorkerNodeCapabilitiesInput = z.input<typeof WorkerNodeCapabilitiesSchema>;
6311
+ type WorkerCapabilitiesInput = z.input<typeof WorkerCapabilitiesSchema>;
6312
6312
  /** Provider capabilities advertised after schema defaults have been applied. */
6313
- type WorkerNodeCapabilities = z.output<typeof WorkerNodeCapabilitiesSchema>;
6313
+ type WorkerCapabilities = z.output<typeof WorkerCapabilitiesSchema>;
6314
6314
  /** Provider capabilities after schema defaults have been applied. */
6315
- type NormalizedWorkerNodeCapabilities = WorkerNodeCapabilities;
6315
+ type NormalizedWorkerCapabilities = WorkerCapabilities;
6316
6316
  /**
6317
6317
  * Zod schema for the resource requirements a workflow dispatch can express
6318
6318
  * during pool/provider selection.
@@ -6320,7 +6320,7 @@ type NormalizedWorkerNodeCapabilities = WorkerNodeCapabilities;
6320
6320
  * All fields are optional: omitted requirements impose no constraint on
6321
6321
  * provider selection.
6322
6322
  */
6323
- declare const WorkerNodeRequirementsSchema: z.ZodObject<{
6323
+ declare const WorkerRequirementsSchema: z.ZodObject<{
6324
6324
  maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
6325
6325
  persistentStorage: z.ZodOptional<z.ZodBoolean>;
6326
6326
  customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -6330,18 +6330,18 @@ declare const WorkerNodeRequirementsSchema: z.ZodObject<{
6330
6330
  "workspace-snapshot": "workspace-snapshot";
6331
6331
  }>>>;
6332
6332
  }, z.core.$strip>;
6333
- /** Resource requirements that constrain WorkerNode provider selection. */
6334
- type WorkerNodeRequirements = z.input<typeof WorkerNodeRequirementsSchema>;
6333
+ /** Resource requirements that constrain Worker provider selection. */
6334
+ type WorkerRequirements = z.input<typeof WorkerRequirementsSchema>;
6335
6335
  /** Resource requirements after schema defaults have been applied. */
6336
- type NormalizedWorkerNodeRequirements = z.output<typeof WorkerNodeRequirementsSchema>;
6336
+ type NormalizedWorkerRequirements = z.output<typeof WorkerRequirementsSchema>;
6337
6337
  /**
6338
- * Request handed to a WorkerNode provider after pool dispatch has selected it.
6338
+ * Request handed to a Worker provider after pool dispatch has selected it.
6339
6339
  *
6340
6340
  * The Authority creates `executionAttemptId` before dispatch. Providers and
6341
6341
  * pools never generate it. Pool identity and resource allocation details live
6342
6342
  * in the host-owned dispatch layer above this contract.
6343
6343
  */
6344
- interface WorkerNodeProvisionRequest {
6344
+ interface WorkerProvisionRequest {
6345
6345
  /** Unique workflow execution identifier. */
6346
6346
  readonly executionId: string;
6347
6347
  /** Authority-created attempt identifier for this dispatch. */
@@ -6385,7 +6385,7 @@ interface WorkerNodeProvisionRequest {
6385
6385
  * explanation could not cross that boundary would leave the consumer unable to
6386
6386
  * record why the allocation ended.
6387
6387
  */
6388
- interface WorkerNodeInfrastructureConclusion {
6388
+ interface WorkerInfrastructureConclusion {
6389
6389
  /**
6390
6390
  * Bounded, durable, non-secret evidence describing the terminal allocation.
6391
6391
  *
@@ -6397,9 +6397,9 @@ interface WorkerNodeInfrastructureConclusion {
6397
6397
  readonly evidence: BoundedRecoveryEvidence;
6398
6398
  }
6399
6399
  /**
6400
- * In-process handle for a provisioned WorkerNode allocation.
6400
+ * In-process handle for a provisioned Worker allocation.
6401
6401
  *
6402
- * Returned as part of the {@link IWorkerNodeProvider.provision} result and
6402
+ * Returned as part of the {@link IWorkerProvider.provision} result and
6403
6403
  * held by the caller until the allocation is no longer needed.
6404
6404
  *
6405
6405
  * The handle controls allocation infrastructure only. It does NOT expose a
@@ -6408,7 +6408,7 @@ interface WorkerNodeInfrastructureConclusion {
6408
6408
  * submitted and acknowledged through the Authority's `control.outcome.submit`
6409
6409
  * bus subject.
6410
6410
  */
6411
- interface WorkerNodeHandle {
6411
+ interface WorkerHandle {
6412
6412
  /** Authority-created attempt identifier for this allocation. */
6413
6413
  readonly executionAttemptId: string;
6414
6414
  /**
@@ -6447,7 +6447,7 @@ interface WorkerNodeHandle {
6447
6447
  * @param observer - Callback invoked at most once for a terminal conclusion.
6448
6448
  * @returns Cleanup function that stops observing the provider signal.
6449
6449
  */
6450
- observeInfrastructureConclusion?(observer: (conclusion: WorkerNodeInfrastructureConclusion) => void): () => void;
6450
+ observeInfrastructureConclusion?(observer: (conclusion: WorkerInfrastructureConclusion) => void): () => void;
6451
6451
  /**
6452
6452
  * Observe a refined allocation reference for this allocation.
6453
6453
  *
@@ -6468,10 +6468,10 @@ interface WorkerNodeHandle {
6468
6468
  /**
6469
6469
  * Ordered constant array of every allocation lifetime a provider may declare.
6470
6470
  *
6471
- * Source of truth for {@link WorkerNodeAllocationLifetimeSchema} and the
6472
- * {@link WorkerNodeAllocationLifetime} union.
6471
+ * Source of truth for {@link WorkerAllocationLifetimeSchema} and the
6472
+ * {@link WorkerAllocationLifetime} union.
6473
6473
  */
6474
- declare const WORKER_NODE_ALLOCATION_LIFETIMES: readonly ["provisioner-process-bound", "provider-managed"];
6474
+ declare const WORKER_ALLOCATION_LIFETIMES: readonly ["provisioner-process-bound", "provider-managed"];
6475
6475
  /**
6476
6476
  * Zod schema for the lifetime of allocations created by a provider.
6477
6477
  *
@@ -6481,7 +6481,7 @@ declare const WORKER_NODE_ALLOCATION_LIFETIMES: readonly ["provisioner-process-b
6481
6481
  * and survives the loss of the provisioning process, so it must be
6482
6482
  * rediscovered and converged rather than assumed gone.
6483
6483
  */
6484
- declare const WorkerNodeAllocationLifetimeSchema: z.ZodEnum<{
6484
+ declare const WorkerAllocationLifetimeSchema: z.ZodEnum<{
6485
6485
  "provisioner-process-bound": "provisioner-process-bound";
6486
6486
  "provider-managed": "provider-managed";
6487
6487
  }>;
@@ -6492,30 +6492,30 @@ declare const WorkerNodeAllocationLifetimeSchema: z.ZodEnum<{
6492
6492
  * not placement capability data, it is never matched against dispatch
6493
6493
  * requirements, and it has no default: every provider states it explicitly.
6494
6494
  */
6495
- type WorkerNodeAllocationLifetime = z.infer<typeof WorkerNodeAllocationLifetimeSchema>;
6495
+ type WorkerAllocationLifetime = z.infer<typeof WorkerAllocationLifetimeSchema>;
6496
6496
  /**
6497
6497
  * Outcome of a provision attempt that created a provider allocation.
6498
6498
  */
6499
- interface WorkerNodeAllocatedOutcome {
6499
+ interface WorkerAllocatedOutcome {
6500
6500
  /** Discriminant for an accepted allocation. */
6501
6501
  readonly kind: 'allocated';
6502
6502
  /** Versioned, JSON-safe, non-secret allocation reference. */
6503
6503
  readonly allocationRef: ProviderAllocationRef;
6504
6504
  /** Infrastructure-only handle for the provisioned allocation. */
6505
- readonly handle: WorkerNodeHandle;
6505
+ readonly handle: WorkerHandle;
6506
6506
  }
6507
6507
  /**
6508
6508
  * Outcome of a provision attempt the provider positively knows created
6509
6509
  * nothing.
6510
6510
  */
6511
- interface WorkerNodeConfirmedAbsentOutcome {
6511
+ interface WorkerConfirmedAbsentOutcome {
6512
6512
  /** Discriminant for a provider-confirmed absence of any allocation. */
6513
6513
  readonly kind: 'confirmed-absent';
6514
6514
  /** Bounded, durable, non-secret evidence supporting the absence claim. */
6515
6515
  readonly evidence: BoundedRecoveryEvidence;
6516
6516
  }
6517
6517
  /**
6518
- * Outcome returned by {@link IWorkerNodeProvider.provision}.
6518
+ * Outcome returned by {@link IWorkerProvider.provision}.
6519
6519
  *
6520
6520
  * Only these two results are conclusions. `confirmed-absent` is a positive
6521
6521
  * claim a provider may make only when it knows no allocation can exist —
@@ -6527,19 +6527,19 @@ interface WorkerNodeConfirmedAbsentOutcome {
6527
6527
  * establish absence. Cancellation is rethrown rather than reported as an
6528
6528
  * outcome.
6529
6529
  */
6530
- type WorkerNodeProvisionOutcome = WorkerNodeAllocatedOutcome | WorkerNodeConfirmedAbsentOutcome;
6530
+ type WorkerProvisionOutcome = WorkerAllocatedOutcome | WorkerConfirmedAbsentOutcome;
6531
6531
  /**
6532
- * Capability provider that can provision one-shot workflow execution nodes.
6532
+ * Capability provider that can provision one-shot Worker allocations for workflow execution.
6533
6533
  *
6534
6534
  * Implementations must extend {@link ICapabilityProvider} and declare the
6535
6535
  * execution `environment` tag used to match dispatch requirements, plus the
6536
- * {@link WorkerNodeAllocationLifetime} of the allocations they create.
6536
+ * {@link WorkerAllocationLifetime} of the allocations they create.
6537
6537
  *
6538
6538
  * Provisioning accepts a cancellation signal from its first async operation.
6539
6539
  * The returned handle controls allocation lifecycle only; readiness and
6540
6540
  * outcomes travel through the bus.
6541
6541
  */
6542
- interface IWorkerNodeProvider extends ICapabilityProvider {
6542
+ interface IWorkerProvider extends ICapabilityProvider {
6543
6543
  /** Environment tag advertised to dispatch selectors (e.g. `'piscina'`, `'process'`). */
6544
6544
  readonly environment: string;
6545
6545
  /**
@@ -6548,11 +6548,11 @@ interface IWorkerNodeProvider extends ICapabilityProvider {
6548
6548
  * Declared directly on the provider because it governs how a lost
6549
6549
  * provisioner is converged, not where a workflow may be placed.
6550
6550
  */
6551
- readonly allocationLifetime: WorkerNodeAllocationLifetime;
6551
+ readonly allocationLifetime: WorkerAllocationLifetime;
6552
6552
  /** Capabilities supported by this provider instance after schema defaults are applied. */
6553
- readonly baseCapabilities: WorkerNodeCapabilities;
6553
+ readonly baseCapabilities: WorkerCapabilities;
6554
6554
  /**
6555
- * Provision a new isolated execution node for the given request.
6555
+ * Provision a new isolated Worker for the given request.
6556
6556
  *
6557
6557
  * Resolves once the provider has reached a conclusion: either an accepted
6558
6558
  * allocation with a validated reference and infrastructure-only handle, or
@@ -6562,7 +6562,7 @@ interface IWorkerNodeProvider extends ICapabilityProvider {
6562
6562
  * @param signal - AbortSignal for cooperative cancellation of the provision operation.
6563
6563
  * @returns Allocated reference and handle, or confirmed absence with bounded evidence.
6564
6564
  */
6565
- provision(request: WorkerNodeProvisionRequest, signal: AbortSignal): Promise<WorkerNodeProvisionOutcome>;
6565
+ provision(request: WorkerProvisionRequest, signal: AbortSignal): Promise<WorkerProvisionOutcome>;
6566
6566
  }
6567
6567
  /**
6568
6568
  * Ordered constant array of every provisioning discovery result kind.
@@ -6634,7 +6634,7 @@ type ProvisioningDiscovery = z.infer<typeof ProvisioningDiscoverySchema>;
6634
6634
  * - `inspect` reports infrastructure evidence, never canonical workflow truth.
6635
6635
  * - `terminateAllocation` is idempotent; already absent is success.
6636
6636
  */
6637
- interface IWorkerNodeRecoveryCapability {
6637
+ interface IWorkerRecoveryCapability {
6638
6638
  /**
6639
6639
  * Search provider infrastructure for an allocation belonging to an attempt.
6640
6640
  *
@@ -6651,11 +6651,11 @@ interface IWorkerNodeRecoveryCapability {
6651
6651
  * @param signal - AbortSignal for cooperative cancellation of the discovery operation.
6652
6652
  * @returns Discovered allocation, proven absence, or retained uncertainty.
6653
6653
  */
6654
- discoverProvisioning(request: WorkerNodeProvisionRequest, signal: AbortSignal): Promise<ProvisioningDiscovery>;
6654
+ discoverProvisioning(request: WorkerProvisionRequest, signal: AbortSignal): Promise<ProvisioningDiscovery>;
6655
6655
  /**
6656
6656
  * Re-attach to an existing allocation for the same attempt.
6657
6657
  *
6658
- * Creates a fresh in-process {@link WorkerNodeHandle} without creating a
6658
+ * Creates a fresh in-process {@link WorkerHandle} without creating a
6659
6659
  * new provider resource. Used after an Authority restart to regain
6660
6660
  * infrastructure control of a still-running allocation.
6661
6661
  *
@@ -6667,7 +6667,7 @@ interface IWorkerNodeRecoveryCapability {
6667
6667
  * @param signal - AbortSignal for cooperative cancellation of the attach operation.
6668
6668
  * @returns Fresh infrastructure handle for the existing allocation.
6669
6669
  */
6670
- attach(allocationRef: ProviderAllocationRef, request: WorkerNodeProvisionRequest, signal: AbortSignal): Promise<WorkerNodeHandle>;
6670
+ attach(allocationRef: ProviderAllocationRef, request: WorkerProvisionRequest, signal: AbortSignal): Promise<WorkerHandle>;
6671
6671
  /**
6672
6672
  * Inspect the infrastructure state of an existing allocation.
6673
6673
  *
@@ -6680,7 +6680,7 @@ interface IWorkerNodeRecoveryCapability {
6680
6680
  * @param signal - AbortSignal for cooperative cancellation of the inspect operation.
6681
6681
  * @returns Infrastructure state and optional evidence for the allocation.
6682
6682
  */
6683
- inspect(allocationRef: ProviderAllocationRef, request: WorkerNodeProvisionRequest, signal: AbortSignal): Promise<AllocationInspection>;
6683
+ inspect(allocationRef: ProviderAllocationRef, request: WorkerProvisionRequest, signal: AbortSignal): Promise<AllocationInspection>;
6684
6684
  /**
6685
6685
  * Terminate a provider allocation by its reference.
6686
6686
  *
@@ -6691,22 +6691,22 @@ interface IWorkerNodeRecoveryCapability {
6691
6691
  * @param request - Freshly resolved provision request for the same attempt.
6692
6692
  * @param signal - AbortSignal for cooperative cancellation of the terminate operation.
6693
6693
  */
6694
- terminateAllocation(allocationRef: ProviderAllocationRef, request: WorkerNodeProvisionRequest, signal: AbortSignal): Promise<void>;
6694
+ terminateAllocation(allocationRef: ProviderAllocationRef, request: WorkerProvisionRequest, signal: AbortSignal): Promise<void>;
6695
6695
  }
6696
6696
  /**
6697
- * WorkerNode provider that supports allocation recovery.
6697
+ * Worker provider that supports allocation recovery.
6698
6698
  *
6699
- * Extends {@link IWorkerNodeProvider} with a required `recovery` property
6700
- * containing the coherent {@link IWorkerNodeRecoveryCapability}. Providers
6699
+ * Extends {@link IWorkerProvider} with a required `recovery` property
6700
+ * containing the coherent {@link IWorkerRecoveryCapability}. Providers
6701
6701
  * that advertise `supportsRecovery: true` in their capabilities must
6702
6702
  * implement this interface.
6703
6703
  *
6704
6704
  * The `recovery` property is required, not optional, so that omitting any
6705
6705
  * of the four recovery methods is a compile-time type error.
6706
6706
  */
6707
- interface IRecoverableWorkerNodeProvider extends IWorkerNodeProvider {
6707
+ interface IRecoverableWorkerProvider extends IWorkerProvider {
6708
6708
  /** Coherent recovery capability containing discovery, attach, inspect, and termination. */
6709
- readonly recovery: IWorkerNodeRecoveryCapability;
6709
+ readonly recovery: IWorkerRecoveryCapability;
6710
6710
  }
6711
6711
  /**
6712
6712
  * Durable ACK decisions returned by the Authority when a worker submits
@@ -6735,7 +6735,7 @@ declare const OutcomeAckDecisionSchema: z.ZodEnum<{
6735
6735
  * reference so callers can correlate the allocation with later lifecycle
6736
6736
  * and outcome events.
6737
6737
  */
6738
- interface WorkerNodeDispatchAck {
6738
+ interface WorkerDispatchAck {
6739
6739
  /** Authority-created attempt identifier for this allocation. */
6740
6740
  readonly executionAttemptId: string;
6741
6741
  /** Provider allocation reference persisted through the Authority. */
@@ -6757,15 +6757,15 @@ interface WorkerNodeDispatchAck {
6757
6757
  * @param signal - AbortSignal for cooperative cancellation.
6758
6758
  * @returns Allocation acknowledgment after provider provisioning succeeds.
6759
6759
  */
6760
- type WorkerNodeDispatch = (request: {
6760
+ type WorkerDispatch = (request: {
6761
6761
  readonly executionAttemptId: string;
6762
6762
  readonly config: WorkflowWorkerConfig;
6763
6763
  readonly manifest?: WorkerContributionManifest;
6764
- readonly requirements?: WorkerNodeRequirements;
6764
+ readonly requirements?: WorkerRequirements;
6765
6765
  readonly metadata?: z.infer<typeof JsonObjectContractSchema>;
6766
- }, signal: AbortSignal) => Promise<WorkerNodeDispatchAck>;
6766
+ }, signal: AbortSignal) => Promise<WorkerDispatchAck>;
6767
6767
  //#endregion
6768
- //#region core/contracts/src/capabilities/worker-node/allocation-ref-codec.d.ts
6768
+ //#region core/contracts/src/capabilities/worker/allocation-ref-codec.d.ts
6769
6769
  /**
6770
6770
  * Error thrown when a provider allocation reference fails codec validation.
6771
6771
  *
@@ -6819,7 +6819,7 @@ interface ProviderAllocationRefCodec<TProviderData extends Record<string, unknow
6819
6819
  */
6820
6820
  declare function createAllocationRefCodec<TProviderData extends Record<string, unknown>, TProviderDataInput>(providerId: string, providerDataSchema: z.ZodType<TProviderData, TProviderDataInput>): ProviderAllocationRefCodec<TProviderData, TProviderDataInput>;
6821
6821
  //#endregion
6822
- //#region core/contracts/src/capabilities/worker-node/bounded-evidence.d.ts
6822
+ //#region core/contracts/src/capabilities/worker/bounded-evidence.d.ts
6823
6823
  /**
6824
6824
  * Build bounded, durable, non-secret evidence attributed to one component.
6825
6825
  *
@@ -6840,21 +6840,21 @@ declare function createAllocationRefCodec<TProviderData extends Record<string, u
6840
6840
  */
6841
6841
  declare function boundedProviderEvidence(source: string, code: string | undefined, summary: string): BoundedRecoveryEvidence;
6842
6842
  //#endregion
6843
- //#region core/contracts/src/capabilities/worker-node/register.d.ts
6843
+ //#region core/contracts/src/capabilities/worker/register.d.ts
6844
6844
  /**
6845
- * Register a WorkerNode provider with the capability registry.
6845
+ * Register a Worker provider with the capability registry.
6846
6846
  * @param bus - Makaio bus instance.
6847
6847
  * @param provider - Provider instance to register.
6848
6848
  * @returns Promise that resolves after registration handlers have completed.
6849
6849
  */
6850
- declare function registerWorkerNodeProvider(bus: MakaioBusLike, provider: IWorkerNodeProvider): Promise<void>;
6850
+ declare function registerWorkerProvider(bus: MakaioBusLike, provider: IWorkerProvider): Promise<void>;
6851
6851
  /**
6852
- * Unregister a WorkerNode provider from the capability registry.
6852
+ * Unregister a Worker provider from the capability registry.
6853
6853
  * @param bus - Makaio bus instance.
6854
6854
  * @param providerId - Provider identifier to remove.
6855
6855
  * @returns Promise that resolves after unregistration handlers have completed.
6856
6856
  */
6857
- declare function unregisterWorkerNodeProvider(bus: MakaioBusLike, providerId: string): Promise<void>;
6857
+ declare function unregisterWorkerProvider(bus: MakaioBusLike, providerId: string): Promise<void>;
6858
6858
  //#endregion
6859
6859
  //#region core/contracts/src/capabilities/git-hooks/namespace.d.ts
6860
6860
  /**
@@ -7177,4 +7177,4 @@ declare function registerGitHookEventsProvider(bus: MakaioBusLike, provider: IGi
7177
7177
  */
7178
7178
  declare function unregisterGitHookEventsProvider(bus: MakaioBusLike, providerId: string): Promise<void>;
7179
7179
  //#endregion
7180
- export { ProviderAllocationRef as $, FindingOriginSchema as $n, VoicePipelineLegSchema as $t, AllocationInspection as A, VisionAnalysisResult as An, VCSCheckRun as Ar, ChecksSummary as At, IWorkerNodeRecoveryCapability as B, ReviewSubjects as Bn, registerServerProvider as Br, PullRequestTarget as Bt, unregisterWorkerNodeProvider as C, TTSMode as Cn, IVCSProvider as Cr, WorkerNodeRequirements as Ct, createAllocationRefCodec as D, IVisionProvider as Dn, VCSReviewCommentSchema as Dr, VCSPRSubjects as Dt, ProviderAllocationRefError as E, VisionSubjects as En, VCSReviewComment as Er, VCSPRNamespace as Et, BoundedRecoveryEvidence as F, registerReviewSource as Fn, VCSPullRequestSchema as Fr, LabelInfoSchema as Ft, NO_ALLOCATION_OBSERVED_CODE as G, ProcessCommentsParams as Gn, ServerAddress as Gr, ReviewerStateSchema as Gt, MATERIALIZATION_MODES as H, IReviewSource as Hn, HttpServerLike as Hr, ReadinessAssessment as Ht, BoundedRecoveryEvidenceSchema as I, registerReviewerProcessor as In, VCSReview as Ir, LabelSemantic as It, OutcomeAckDecision as J, ReviewRequestContext as Jn, registerAutoLaunchProvider as Jr, VCSPRSchemas as Jt, NormalizedWorkerNodeCapabilities as K, ProcessIssueCommentsParams as Kn, UpgradeHandler as Kr, ReviewsSummary as Kt, EXHAUSTIVE_SEARCH_UNAVAILABLE_CODE as L, unregisterReviewSource as Ln, VCSReviewSchema as Lr, LabelSemanticSchema as Lt, AllocationState as M, VisionSchemas as Mn, VCSPullRequest as Mr, FindingsSummary as Mt, AllocationStateSchema as N, REVIEWER_PROCESSOR_CAPABILITY_ID as Nn, VCSPullRequestDetail as Nr, FindingsSummarySchema as Nt, ALLOCATION_STATES as O, VisionAnalysisRequest as On, VCSCommitStatus as Or, CheckRunDetail as Ot, BUILT_IN_THIN_WORKFLOW_PROVIDER_ID as P, REVIEW_SOURCE_CAPABILITY_ID as Pn, VCSPullRequestDetailSchema as Pr, LabelInfo as Pt, PROVISIONING_DISCOVERY_KINDS as Q, FindingOrigin as Qn, STTResultSchema as Qt, IRecoverableWorkerNodeProvider as R, unregisterReviewerProcessor as Rn, VCSRepository as Rr, PullRequestState as Rt, registerWorkerNodeProvider as S, STT_MODE_LITERALS as Sn, CreatePROptions as Sr, WorkerNodeProvisionRequest as St, ProviderAllocationRefCodec as T, VisionNamespace as Tn, VCSSchemas as Tr, WorkspaceSnapshotMaterializationSchema as Tt, MaterializationMode as U, IReviewerProcessor as Un, IServerProvider as Ur, ReadinessAssessmentSchema as Ut, LocalDirectoryMaterializationSchema as V, FetchFindingsParams as Vn, unregisterServerProvider as Vr, PullRequestTargetSchema as Vt, MaterializationModeSchema as W, ProcessCliOutputParams as Wn, SERVER_CAPABILITY_ID as Wr, ReviewerState as Wt, PRE_REQUEST_REJECTION_CODE as X, ReviewTriggerParams as Xn, VoiceSubjects as Xt, OutcomeAckDecisionSchema as Y, ReviewSourceSnapshot as Yn, IAutoLaunchProvider as Yr, VoiceNamespace as Yt, PROVIDER_ALLOCATION_REF_VERSION as Z, ReviewTriggerResult as Zn, STTResult as Zt, GitHookRewritePair as _, TTSRequest as _n, unregisterVCSProvider as _r, WorkerNodeDispatch as _t, GitHookCoverageReason as a, VoiceSessionStartResponse as an, FindingTargetSchema as ar, WORKER_NODE_CAPABILITY_ID as at, GitHookNamespace as b, VoiceProviderPreference as bn, VCSNamespace as br, WorkerNodeInfrastructureConclusion as bt, GitHookCoverageRequestSchema as c, AudioChunk as cn, ReviewIssueComment as cr, WorkerMaterializationSpec as ct, GitHookCoveredOperation as d, ITTSProvider as dn, ReviewSourceRateLimit as dr, WorkerNodeAllocationLifetime as dt, VoicePipelineLegSchemaType as en, FindingSeverity as er, ProviderAllocationRefSchema as et, GitHookCoveredOperationSchema as f, IVocabularyProvider as fn, ReviewSourceRateLimitSchema as fr, WorkerNodeAllocationLifetimeSchema as ft, GitHookRewriteEventSchema as g, TTSProviderCapabilities as gn, registerVCSProvider as gr, WorkerNodeConfirmedAbsentOutcome as gt, GitHookRewriteEvent as h, STTRequest as hn, VCS_CAPABILITY_ID as hr, WorkerNodeCapabilitiesSchema as ht, IGitHookEventsProvider as i, VoiceSchemas as in, FindingTarget as ir, WORKER_NODE_ALLOCATION_LIFETIMES as it, AllocationInspectionSchema as j, VisionAnalysisResultSchema as jn, VCSCheckRunSchema as jr, ChecksSummarySchema as jt, AMBIGUOUS_ALLOCATION_MATCH_CODE as k, VisionAnalysisRequestSchema as kn, VCSCommitStatusSchema as kr, CheckRunDetailSchema as kt, GitHookCoverageResponse as l, ClientVoiceProviderDescriptor as ln, ReviewIssueCommentSchema as lr, WorkerMaterializationSpecSchema as lt, GitHookNativeMergeEventSchema as m, STTProviderCapabilities as mn, SuggestedChangeSchema as mr, WorkerNodeCapabilitiesInput as mt, registerGitHookEventsProvider as n, VoicePipelineStrategySchemaType as nn, FindingStatus as nr, ProvisioningDiscoverySchema as nt, GitHookCoverageReasonSchema as o, VoiceStatusState as on, ReviewFinding as or, WorkerContributionRef as ot, GitHookNativeMergeEvent as p, ProviderRuntime as pn, SuggestedChange as pr, WorkerNodeCapabilities as pt, NormalizedWorkerNodeRequirements as q, ProcessReviewBodyParams as qn, AUTO_LAUNCH_CAPABILITY_ID as qr, ReviewsSummarySchema as qt, unregisterGitHookEventsProvider as r, VoiceProviderPreferenceSchema as rn, FindingStatusSchema as rr, RECOVERY_EVIDENCE_LIMITS as rt, GitHookCoverageRequest as s, VoiceStatusStateSchema as sn, ReviewFindingSchema as sr, WorkerContributionRefSchema as st, GIT_HOOK_EVENTS_CAPABILITY_ID as t, VoicePipelineStrategySchema as tn, FindingSeveritySchema as tr, ProvisioningDiscovery as tt, GitHookCoverageResponseSchema as u, ISTTProvider as un, ReviewSchemas as ur, WorkerNodeAllocatedOutcome as ut, GitHookRewritePairSchema as v, VoicePipelineLeg as vn, VCSEvents as vr, WorkerNodeDispatchAck as vt, boundedProviderEvidence as w, TTS_MODE_LITERALS as wn, MergeOptions as wr, WorkerNodeRequirementsSchema as wt, GitHookSubjects as x, STTMode as xn, VCSSubjects as xr, WorkerNodeProvisionOutcome as xt, GitHookSchemas as y, VoicePipelineStrategy as yn, VCSEventsNamespace as yr, WorkerNodeHandle as yt, IWorkerNodeProvider as z, ReviewNamespace as zn, VCSRepositorySchema as zr, PullRequestStateSchema as zt };
7180
+ export { ProviderAllocationRef as $, FindingOriginSchema as $n, VoicePipelineLegSchema as $t, AllocationInspection as A, VisionAnalysisResult as An, VCSCheckRun as Ar, ChecksSummary as At, IWorkerRecoveryCapability as B, ReviewSubjects as Bn, registerServerProvider as Br, PullRequestTarget as Bt, unregisterWorkerProvider as C, TTSMode as Cn, IVCSProvider as Cr, WorkerRequirements as Ct, createAllocationRefCodec as D, IVisionProvider as Dn, VCSReviewCommentSchema as Dr, VCSPRSubjects as Dt, ProviderAllocationRefError as E, VisionSubjects as En, VCSReviewComment as Er, VCSPRNamespace as Et, BoundedRecoveryEvidence as F, registerReviewSource as Fn, VCSPullRequestSchema as Fr, LabelInfoSchema as Ft, NO_ALLOCATION_OBSERVED_CODE as G, ProcessCommentsParams as Gn, ServerAddress as Gr, ReviewerStateSchema as Gt, MATERIALIZATION_MODES as H, IReviewSource as Hn, HttpServerLike as Hr, ReadinessAssessment as Ht, BoundedRecoveryEvidenceSchema as I, registerReviewerProcessor as In, VCSReview as Ir, LabelSemantic as It, OutcomeAckDecision as J, ReviewRequestContext as Jn, registerAutoLaunchProvider as Jr, VCSPRSchemas as Jt, NormalizedWorkerCapabilities as K, ProcessIssueCommentsParams as Kn, UpgradeHandler as Kr, ReviewsSummary as Kt, EXHAUSTIVE_SEARCH_UNAVAILABLE_CODE as L, unregisterReviewSource as Ln, VCSReviewSchema as Lr, LabelSemanticSchema as Lt, AllocationState as M, VisionSchemas as Mn, VCSPullRequest as Mr, FindingsSummary as Mt, AllocationStateSchema as N, REVIEWER_PROCESSOR_CAPABILITY_ID as Nn, VCSPullRequestDetail as Nr, FindingsSummarySchema as Nt, ALLOCATION_STATES as O, VisionAnalysisRequest as On, VCSCommitStatus as Or, CheckRunDetail as Ot, BUILT_IN_THIN_WORKFLOW_PROVIDER_ID as P, REVIEW_SOURCE_CAPABILITY_ID as Pn, VCSPullRequestDetailSchema as Pr, LabelInfo as Pt, PROVISIONING_DISCOVERY_KINDS as Q, FindingOrigin as Qn, STTResultSchema as Qt, IRecoverableWorkerProvider as R, unregisterReviewerProcessor as Rn, VCSRepository as Rr, PullRequestState as Rt, registerWorkerProvider as S, STT_MODE_LITERALS as Sn, CreatePROptions as Sr, WorkerProvisionRequest as St, ProviderAllocationRefCodec as T, VisionNamespace as Tn, VCSSchemas as Tr, WorkspaceSnapshotMaterializationSchema as Tt, MaterializationMode as U, IReviewerProcessor as Un, IServerProvider as Ur, ReadinessAssessmentSchema as Ut, LocalDirectoryMaterializationSchema as V, FetchFindingsParams as Vn, unregisterServerProvider as Vr, PullRequestTargetSchema as Vt, MaterializationModeSchema as W, ProcessCliOutputParams as Wn, SERVER_CAPABILITY_ID as Wr, ReviewerState as Wt, PRE_REQUEST_REJECTION_CODE as X, ReviewTriggerParams as Xn, VoiceSubjects as Xt, OutcomeAckDecisionSchema as Y, ReviewSourceSnapshot as Yn, IAutoLaunchProvider as Yr, VoiceNamespace as Yt, PROVIDER_ALLOCATION_REF_VERSION as Z, ReviewTriggerResult as Zn, STTResult as Zt, GitHookRewritePair as _, TTSRequest as _n, unregisterVCSProvider as _r, WorkerHandle as _t, GitHookCoverageReason as a, VoiceSessionStartResponse as an, FindingTargetSchema as ar, WORKER_CAPABILITY_ID as at, GitHookNamespace as b, VoiceProviderPreference as bn, VCSNamespace as br, WorkerMaterializationSpecSchema as bt, GitHookCoverageRequestSchema as c, AudioChunk as cn, ReviewIssueComment as cr, WorkerAllocationLifetimeSchema as ct, GitHookCoveredOperation as d, ITTSProvider as dn, ReviewSourceRateLimit as dr, WorkerCapabilitiesSchema as dt, VoicePipelineLegSchemaType as en, FindingSeverity as er, ProviderAllocationRefSchema as et, GitHookCoveredOperationSchema as f, IVocabularyProvider as fn, ReviewSourceRateLimitSchema as fr, WorkerConfirmedAbsentOutcome as ft, GitHookRewriteEventSchema as g, TTSProviderCapabilities as gn, registerVCSProvider as gr, WorkerDispatchAck as gt, GitHookRewriteEvent as h, STTRequest as hn, VCS_CAPABILITY_ID as hr, WorkerDispatch as ht, IGitHookEventsProvider as i, VoiceSchemas as in, FindingTarget as ir, WORKER_ALLOCATION_LIFETIMES as it, AllocationInspectionSchema as j, VisionAnalysisResultSchema as jn, VCSCheckRunSchema as jr, ChecksSummarySchema as jt, AMBIGUOUS_ALLOCATION_MATCH_CODE as k, VisionAnalysisRequestSchema as kn, VCSCommitStatusSchema as kr, CheckRunDetailSchema as kt, GitHookCoverageResponse as l, ClientVoiceProviderDescriptor as ln, ReviewIssueCommentSchema as lr, WorkerCapabilities as lt, GitHookNativeMergeEventSchema as m, STTProviderCapabilities as mn, SuggestedChangeSchema as mr, WorkerContributionRefSchema as mt, registerGitHookEventsProvider as n, VoicePipelineStrategySchemaType as nn, FindingStatus as nr, ProvisioningDiscoverySchema as nt, GitHookCoverageReasonSchema as o, VoiceStatusState as on, ReviewFinding as or, WorkerAllocatedOutcome as ot, GitHookNativeMergeEvent as p, ProviderRuntime as pn, SuggestedChange as pr, WorkerContributionRef as pt, NormalizedWorkerRequirements as q, ProcessReviewBodyParams as qn, AUTO_LAUNCH_CAPABILITY_ID as qr, ReviewsSummarySchema as qt, unregisterGitHookEventsProvider as r, VoiceProviderPreferenceSchema as rn, FindingStatusSchema as rr, RECOVERY_EVIDENCE_LIMITS as rt, GitHookCoverageRequest as s, VoiceStatusStateSchema as sn, ReviewFindingSchema as sr, WorkerAllocationLifetime as st, GIT_HOOK_EVENTS_CAPABILITY_ID as t, VoicePipelineStrategySchema as tn, FindingSeveritySchema as tr, ProvisioningDiscovery as tt, GitHookCoverageResponseSchema as u, ISTTProvider as un, ReviewSchemas as ur, WorkerCapabilitiesInput as ut, GitHookRewritePairSchema as v, VoicePipelineLeg as vn, VCSEvents as vr, WorkerInfrastructureConclusion as vt, boundedProviderEvidence as w, TTS_MODE_LITERALS as wn, MergeOptions as wr, WorkerRequirementsSchema as wt, GitHookSubjects as x, STTMode as xn, VCSSubjects as xr, WorkerProvisionOutcome as xt, GitHookSchemas as y, VoicePipelineStrategy as yn, VCSEventsNamespace as yr, WorkerMaterializationSpec as yt, IWorkerProvider as z, ReviewNamespace as zn, VCSRepositorySchema as zr, PullRequestStateSchema as zt };