@makaio/framework 1.0.0-dev-1790598955306 → 1.0.0-dev-1790614475240

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 (52) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/contracts/capabilities/index.d.mts +1 -1
  3. package/dist/contracts/client/index.d.mts +1 -1
  4. package/dist/contracts/extension/index.d.mts +1 -1
  5. package/dist/contracts/index.d.mts +9 -9
  6. package/dist/contracts/materialization/index.d.mts +2 -2
  7. package/dist/contracts/worker/index.d.mts +1 -1
  8. package/dist/{framework-packages-CLrOCDDK.mjs → framework-packages-D2fycy02.mjs} +1 -1
  9. package/dist/{index-CpaWzUE5.d.mts → index-1mY0aNe3.d.mts} +1 -1
  10. package/dist/{index-CXroIgOA.d.mts → index-3G70bNLs.d.mts} +1 -1
  11. package/dist/{index-oE2q0pTG.d.mts → index-B1uHTa1l.d.mts} +1 -1
  12. package/dist/{index-CPOJqxrf2.d.mts → index-BYMgvz_a2.d.mts} +3 -3
  13. package/dist/{index-CGM0-mt2.d.mts → index-C-tLT_IE.d.mts} +34 -34
  14. package/dist/{index-xqiInEhj.d.mts → index-DmV9ybgT.d.mts} +24 -2
  15. package/dist/{index-D9hIDsPr.d.mts → index-DyWD9bfP.d.mts} +46 -2
  16. package/dist/{index-CZIFCrMc.d.mts → index-_CsKmUOy.d.mts} +14 -9
  17. package/dist/{namespace-C1-ZAKEG.d.mts → namespace-CNX4llM5.d.mts} +6 -6
  18. package/dist/package.json +1 -1
  19. package/dist/runtime-node/index.d.mts +1 -1
  20. package/dist/runtime-node/index.mjs +22 -22
  21. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  22. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  23. package/dist/{schemas-CjFPsYeV.d.mts → schemas-BjhhkGN_.d.mts} +4 -4
  24. package/dist/{schemas-Dyp3rHZ7.d.mts → schemas-D9pXu76T.d.mts} +4 -4
  25. package/dist/{schemas-DPtj1sPC2.d.mts → schemas-RwAlAMbq2.d.mts} +7 -7
  26. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  27. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  28. package/dist/services/index.d.mts +35 -16
  29. package/dist/services/index.mjs +1 -1
  30. package/dist/services/preferences/index.d.mts +2 -2
  31. package/dist/services/preferences/schemas.d.mts +1 -1
  32. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  33. package/dist/services/provider-context/index.d.mts +1 -1
  34. package/dist/services/session/index.d.mts +1 -1
  35. package/dist/services/tool-approval/index.d.mts +1 -1
  36. package/dist/services/tool-approval/index.mjs +1 -1
  37. package/dist/services/tools/index.mjs +1 -1
  38. package/dist/services/workflow-transitions/index.mjs +1 -1
  39. package/dist/{storage-namespace-CwwiV3kt.d.mts → storage-namespace-NHTWAjaX.d.mts} +10 -10
  40. package/dist/tool-approval-service-BCN4W8eS.mjs +1 -0
  41. package/dist/tools/index.d.mts +13 -1
  42. package/dist/tools/index.mjs +1 -1
  43. package/dist/{tools-nkqlVAQ1.mjs → tools-BCL_dtHe.mjs} +1 -1
  44. package/dist/ui-kernel/index.d.mts +4 -4
  45. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  46. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  47. package/dist/{view-builder-Nffvg8MI.d.mts → view-builder-tgwZ1ucc.d.mts} +1 -1
  48. package/dist/{workflow-transitions-DEaRIZDU.mjs → workflow-transitions-7d9lGi08.mjs} +1 -1
  49. package/dist/workflow-worker-BCLy_g_a.mjs +3 -0
  50. package/package.json +1 -1
  51. package/dist/tool-approval-service-BRyBObcL.mjs +0 -1
  52. package/dist/workflow-worker-DXCXb3g-.mjs +0 -3
@@ -11,7 +11,7 @@ import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEv
11
11
  import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-DDCixELI.mjs";
12
12
  import { l as FacetNamespaceDefinition } from "./index-Bmb7jPIe2.mjs";
13
13
  import { t as ExtensionReactionsContribution } from "./index-BRXETFym.mjs";
14
- import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-Nffvg8MI.mjs";
14
+ import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-tgwZ1ucc.mjs";
15
15
  import { z } from "zod";
16
16
  import { MakaioBusLike, PayloadFilter, RegistrableBusNamespaceDefinition, SubjectSchema } from "@makaio/framework/core";
17
17
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -1,4 +1,4 @@
1
- import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-Dyp3rHZ7.mjs";
1
+ import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-D9pXu76T.mjs";
2
2
  import { ProviderContext, ResolvedProviderContext } from "@makaio/framework/contracts";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
 
@@ -781,8 +781,8 @@ declare const WorkerSchemas$1: {
781
781
  }, z.core.$strict>;
782
782
  response: z.ZodObject<{
783
783
  decision: z.ZodEnum<{
784
- accepted: "accepted";
785
784
  fenced: "fenced";
785
+ accepted: "accepted";
786
786
  duplicate: "duplicate";
787
787
  conflict: "conflict";
788
788
  }>;
@@ -1386,8 +1386,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
1386
1386
  }, _$zod_v4_core0.$strict>;
1387
1387
  response: _$zod.ZodObject<{
1388
1388
  decision: _$zod.ZodEnum<{
1389
- accepted: "accepted";
1390
1389
  fenced: "fenced";
1390
+ accepted: "accepted";
1391
1391
  duplicate: "duplicate";
1392
1392
  conflict: "conflict";
1393
1393
  }>;
@@ -1898,8 +1898,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
1898
1898
  }, _$zod_v4_core0.$strict>;
1899
1899
  response: _$zod.ZodObject<{
1900
1900
  decision: _$zod.ZodEnum<{
1901
- accepted: "accepted";
1902
1901
  fenced: "fenced";
1902
+ accepted: "accepted";
1903
1903
  duplicate: "duplicate";
1904
1904
  conflict: "conflict";
1905
1905
  }>;
@@ -313,8 +313,8 @@ declare const VCSCheckRunSchema: z.ZodObject<{
313
313
  cancelled: "cancelled";
314
314
  failure: "failure";
315
315
  timed_out: "timed_out";
316
- skipped: "skipped";
317
316
  neutral: "neutral";
317
+ skipped: "skipped";
318
318
  action_required: "action_required";
319
319
  }>>;
320
320
  startedAt: z.ZodNullable<z.ZodString>;
@@ -569,8 +569,8 @@ declare const VCSSchemas: {
569
569
  cancelled: "cancelled";
570
570
  failure: "failure";
571
571
  timed_out: "timed_out";
572
- skipped: "skipped";
573
572
  neutral: "neutral";
573
+ skipped: "skipped";
574
574
  action_required: "action_required";
575
575
  }>>;
576
576
  startedAt: z.ZodNullable<z.ZodString>;
@@ -1131,8 +1131,8 @@ declare const VCSNamespace: _$_makaio_core0.BusNamespaceDefinition<"vcs", {
1131
1131
  cancelled: "cancelled";
1132
1132
  failure: "failure";
1133
1133
  timed_out: "timed_out";
1134
- skipped: "skipped";
1135
1134
  neutral: "neutral";
1135
+ skipped: "skipped";
1136
1136
  action_required: "action_required";
1137
1137
  }>>;
1138
1138
  startedAt: _$zod.ZodNullable<_$zod.ZodString>;
@@ -1424,8 +1424,8 @@ declare const VCSSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
1424
1424
  cancelled: "cancelled";
1425
1425
  failure: "failure";
1426
1426
  timed_out: "timed_out";
1427
- skipped: "skipped";
1428
1427
  neutral: "neutral";
1428
+ skipped: "skipped";
1429
1429
  action_required: "action_required";
1430
1430
  }>>;
1431
1431
  startedAt: _$zod.ZodNullable<_$zod.ZodString>;
@@ -1648,8 +1648,8 @@ declare function unregisterVCSProvider(bus: MakaioBusLike, providerId: string):
1648
1648
  * Lifecycle states for a review finding.
1649
1649
  */
1650
1650
  declare const FindingStatusSchema: z.ZodEnum<{
1651
- open: "open";
1652
1651
  verified: "verified";
1652
+ open: "open";
1653
1653
  addressed: "addressed";
1654
1654
  dismissed: "dismissed";
1655
1655
  deferred: "deferred";
@@ -1733,8 +1733,8 @@ declare const ReviewFindingSchema: z.ZodObject<{
1733
1733
  newCode: z.ZodString;
1734
1734
  }, z.core.$strip>>;
1735
1735
  status: z.ZodEnum<{
1736
- open: "open";
1737
1736
  verified: "verified";
1737
+ open: "open";
1738
1738
  addressed: "addressed";
1739
1739
  dismissed: "dismissed";
1740
1740
  deferred: "deferred";
@@ -1911,8 +1911,8 @@ declare const ReviewSchemas: {
1911
1911
  newCode: z.ZodString;
1912
1912
  }, z.core.$strip>>;
1913
1913
  status: z.ZodEnum<{
1914
- open: "open";
1915
1914
  verified: "verified";
1915
+ open: "open";
1916
1916
  addressed: "addressed";
1917
1917
  dismissed: "dismissed";
1918
1918
  deferred: "deferred";
@@ -1943,8 +1943,8 @@ declare const ReviewSchemas: {
1943
1943
  headSha: z.ZodOptional<z.ZodString>;
1944
1944
  }, z.core.$strip>;
1945
1945
  status: z.ZodOptional<z.ZodEnum<{
1946
- open: "open";
1947
1946
  verified: "verified";
1947
+ open: "open";
1948
1948
  addressed: "addressed";
1949
1949
  dismissed: "dismissed";
1950
1950
  deferred: "deferred";
@@ -1986,8 +1986,8 @@ declare const ReviewSchemas: {
1986
1986
  newCode: z.ZodString;
1987
1987
  }, z.core.$strip>>;
1988
1988
  status: z.ZodEnum<{
1989
- open: "open";
1990
1989
  verified: "verified";
1990
+ open: "open";
1991
1991
  addressed: "addressed";
1992
1992
  dismissed: "dismissed";
1993
1993
  deferred: "deferred";
@@ -2048,8 +2048,8 @@ declare const ReviewSchemas: {
2048
2048
  }>;
2049
2049
  id: z.ZodString;
2050
2050
  status: z.ZodEnum<{
2051
- open: "open";
2052
2051
  verified: "verified";
2052
+ open: "open";
2053
2053
  addressed: "addressed";
2054
2054
  dismissed: "dismissed";
2055
2055
  deferred: "deferred";
@@ -2113,8 +2113,8 @@ declare const ReviewSchemas: {
2113
2113
  newCode: z.ZodString;
2114
2114
  }, z.core.$strip>>;
2115
2115
  status: z.ZodEnum<{
2116
- open: "open";
2117
2116
  verified: "verified";
2117
+ open: "open";
2118
2118
  addressed: "addressed";
2119
2119
  dismissed: "dismissed";
2120
2120
  deferred: "deferred";
@@ -2144,8 +2144,8 @@ declare const ReviewSchemas: {
2144
2144
  headSha: z.ZodOptional<z.ZodString>;
2145
2145
  }, z.core.$strip>;
2146
2146
  status: z.ZodEnum<{
2147
- open: "open";
2148
2147
  verified: "verified";
2148
+ open: "open";
2149
2149
  addressed: "addressed";
2150
2150
  dismissed: "dismissed";
2151
2151
  deferred: "deferred";
@@ -2190,8 +2190,8 @@ declare const ReviewSchemas: {
2190
2190
  newCode: z.ZodString;
2191
2191
  }, z.core.$strip>>;
2192
2192
  status: z.ZodEnum<{
2193
- open: "open";
2194
2193
  verified: "verified";
2194
+ open: "open";
2195
2195
  addressed: "addressed";
2196
2196
  dismissed: "dismissed";
2197
2197
  deferred: "deferred";
@@ -2247,8 +2247,8 @@ declare const ReviewSchemas: {
2247
2247
  newCode: z.ZodString;
2248
2248
  }, z.core.$strip>>;
2249
2249
  status: z.ZodEnum<{
2250
- open: "open";
2251
2250
  verified: "verified";
2251
+ open: "open";
2252
2252
  addressed: "addressed";
2253
2253
  dismissed: "dismissed";
2254
2254
  deferred: "deferred";
@@ -2262,8 +2262,8 @@ declare const ReviewSchemas: {
2262
2262
  rawCommentId: z.ZodNullable<z.ZodNumber>;
2263
2263
  }, z.core.$strip>;
2264
2264
  previousStatus: z.ZodEnum<{
2265
- open: "open";
2266
2265
  verified: "verified";
2266
+ open: "open";
2267
2267
  addressed: "addressed";
2268
2268
  dismissed: "dismissed";
2269
2269
  deferred: "deferred";
@@ -2607,8 +2607,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2607
2607
  newCode: _$zod.ZodString;
2608
2608
  }, _$zod_v4_core0.$strip>>;
2609
2609
  status: _$zod.ZodEnum<{
2610
- open: "open";
2611
2610
  verified: "verified";
2611
+ open: "open";
2612
2612
  addressed: "addressed";
2613
2613
  dismissed: "dismissed";
2614
2614
  deferred: "deferred";
@@ -2634,8 +2634,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2634
2634
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
2635
2635
  }, _$zod_v4_core0.$strip>;
2636
2636
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2637
- open: "open";
2638
2637
  verified: "verified";
2638
+ open: "open";
2639
2639
  addressed: "addressed";
2640
2640
  dismissed: "dismissed";
2641
2641
  deferred: "deferred";
@@ -2677,8 +2677,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2677
2677
  newCode: _$zod.ZodString;
2678
2678
  }, _$zod_v4_core0.$strip>>;
2679
2679
  status: _$zod.ZodEnum<{
2680
- open: "open";
2681
2680
  verified: "verified";
2681
+ open: "open";
2682
2682
  addressed: "addressed";
2683
2683
  dismissed: "dismissed";
2684
2684
  deferred: "deferred";
@@ -2725,8 +2725,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2725
2725
  }>;
2726
2726
  id: _$zod.ZodString;
2727
2727
  status: _$zod.ZodEnum<{
2728
- open: "open";
2729
2728
  verified: "verified";
2729
+ open: "open";
2730
2730
  addressed: "addressed";
2731
2731
  dismissed: "dismissed";
2732
2732
  deferred: "deferred";
@@ -2790,8 +2790,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2790
2790
  newCode: _$zod.ZodString;
2791
2791
  }, _$zod_v4_core0.$strip>>;
2792
2792
  status: _$zod.ZodEnum<{
2793
- open: "open";
2794
2793
  verified: "verified";
2794
+ open: "open";
2795
2795
  addressed: "addressed";
2796
2796
  dismissed: "dismissed";
2797
2797
  deferred: "deferred";
@@ -2816,8 +2816,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2816
2816
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
2817
2817
  }, _$zod_v4_core0.$strip>;
2818
2818
  status: _$zod.ZodEnum<{
2819
- open: "open";
2820
2819
  verified: "verified";
2820
+ open: "open";
2821
2821
  addressed: "addressed";
2822
2822
  dismissed: "dismissed";
2823
2823
  deferred: "deferred";
@@ -2862,8 +2862,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2862
2862
  newCode: _$zod.ZodString;
2863
2863
  }, _$zod_v4_core0.$strip>>;
2864
2864
  status: _$zod.ZodEnum<{
2865
- open: "open";
2866
2865
  verified: "verified";
2866
+ open: "open";
2867
2867
  addressed: "addressed";
2868
2868
  dismissed: "dismissed";
2869
2869
  deferred: "deferred";
@@ -2914,8 +2914,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2914
2914
  newCode: _$zod.ZodString;
2915
2915
  }, _$zod_v4_core0.$strip>>;
2916
2916
  status: _$zod.ZodEnum<{
2917
- open: "open";
2918
2917
  verified: "verified";
2918
+ open: "open";
2919
2919
  addressed: "addressed";
2920
2920
  dismissed: "dismissed";
2921
2921
  deferred: "deferred";
@@ -2929,8 +2929,8 @@ declare const ReviewNamespace: _$_makaio_core0.BusNamespaceDefinition<"review",
2929
2929
  rawCommentId: _$zod.ZodNullable<_$zod.ZodNumber>;
2930
2930
  }, _$zod_v4_core0.$strip>;
2931
2931
  previousStatus: _$zod.ZodEnum<{
2932
- open: "open";
2933
2932
  verified: "verified";
2933
+ open: "open";
2934
2934
  addressed: "addressed";
2935
2935
  dismissed: "dismissed";
2936
2936
  deferred: "deferred";
@@ -3059,8 +3059,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3059
3059
  newCode: _$zod.ZodString;
3060
3060
  }, _$zod_v4_core0.$strip>>;
3061
3061
  status: _$zod.ZodEnum<{
3062
- open: "open";
3063
3062
  verified: "verified";
3063
+ open: "open";
3064
3064
  addressed: "addressed";
3065
3065
  dismissed: "dismissed";
3066
3066
  deferred: "deferred";
@@ -3086,8 +3086,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3086
3086
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
3087
3087
  }, _$zod_v4_core0.$strip>;
3088
3088
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
3089
- open: "open";
3090
3089
  verified: "verified";
3090
+ open: "open";
3091
3091
  addressed: "addressed";
3092
3092
  dismissed: "dismissed";
3093
3093
  deferred: "deferred";
@@ -3129,8 +3129,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3129
3129
  newCode: _$zod.ZodString;
3130
3130
  }, _$zod_v4_core0.$strip>>;
3131
3131
  status: _$zod.ZodEnum<{
3132
- open: "open";
3133
3132
  verified: "verified";
3133
+ open: "open";
3134
3134
  addressed: "addressed";
3135
3135
  dismissed: "dismissed";
3136
3136
  deferred: "deferred";
@@ -3177,8 +3177,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3177
3177
  }>;
3178
3178
  id: _$zod.ZodString;
3179
3179
  status: _$zod.ZodEnum<{
3180
- open: "open";
3181
3180
  verified: "verified";
3181
+ open: "open";
3182
3182
  addressed: "addressed";
3183
3183
  dismissed: "dismissed";
3184
3184
  deferred: "deferred";
@@ -3242,8 +3242,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3242
3242
  newCode: _$zod.ZodString;
3243
3243
  }, _$zod_v4_core0.$strip>>;
3244
3244
  status: _$zod.ZodEnum<{
3245
- open: "open";
3246
3245
  verified: "verified";
3246
+ open: "open";
3247
3247
  addressed: "addressed";
3248
3248
  dismissed: "dismissed";
3249
3249
  deferred: "deferred";
@@ -3268,8 +3268,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3268
3268
  headSha: _$zod.ZodOptional<_$zod.ZodString>;
3269
3269
  }, _$zod_v4_core0.$strip>;
3270
3270
  status: _$zod.ZodEnum<{
3271
- open: "open";
3272
3271
  verified: "verified";
3272
+ open: "open";
3273
3273
  addressed: "addressed";
3274
3274
  dismissed: "dismissed";
3275
3275
  deferred: "deferred";
@@ -3314,8 +3314,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3314
3314
  newCode: _$zod.ZodString;
3315
3315
  }, _$zod_v4_core0.$strip>>;
3316
3316
  status: _$zod.ZodEnum<{
3317
- open: "open";
3318
3317
  verified: "verified";
3318
+ open: "open";
3319
3319
  addressed: "addressed";
3320
3320
  dismissed: "dismissed";
3321
3321
  deferred: "deferred";
@@ -3366,8 +3366,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3366
3366
  newCode: _$zod.ZodString;
3367
3367
  }, _$zod_v4_core0.$strip>>;
3368
3368
  status: _$zod.ZodEnum<{
3369
- open: "open";
3370
3369
  verified: "verified";
3370
+ open: "open";
3371
3371
  addressed: "addressed";
3372
3372
  dismissed: "dismissed";
3373
3373
  deferred: "deferred";
@@ -3381,8 +3381,8 @@ declare const ReviewSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3381
3381
  rawCommentId: _$zod.ZodNullable<_$zod.ZodNumber>;
3382
3382
  }, _$zod_v4_core0.$strip>;
3383
3383
  previousStatus: _$zod.ZodEnum<{
3384
- open: "open";
3385
3384
  verified: "verified";
3385
+ open: "open";
3386
3386
  addressed: "addressed";
3387
3387
  dismissed: "dismissed";
3388
3388
  deferred: "deferred";
@@ -6797,8 +6797,8 @@ type OutcomeAckDecision = 'accepted' | 'duplicate' | 'conflict' | 'fenced';
6797
6797
  * Zod schema for outcome ACK decisions.
6798
6798
  */
6799
6799
  declare const OutcomeAckDecisionSchema: z.ZodEnum<{
6800
- accepted: "accepted";
6801
6800
  fenced: "fenced";
6801
+ accepted: "accepted";
6802
6802
  duplicate: "duplicate";
6803
6803
  conflict: "conflict";
6804
6804
  }>;
@@ -56,7 +56,29 @@ declare class ToolApprovalService extends BaseService {
56
56
  */
57
57
  private dispatchAlwaysAskApproval;
58
58
  /**
59
- * Evaluate `.makaioignore` file access rules before policy cascade handling.
59
+ * Evaluate `.makaioignore` file access rules and the directory allowlist before policy
60
+ * cascade handling.
61
+ *
62
+ * The rules are tested against both the lexical and the canonical (symlink-resolved)
63
+ * target, so an in-tree symlink cannot alias a denied path such as `.git/config`. A
64
+ * target that cannot be canonicalized safely (dangling symlink, non-`ENOENT` error) is
65
+ * denied; a missing file canonicalizes through its nearest existing ancestor, so a Write
66
+ * of a new file stays possible. A symlinked cwd itself is not covered: the rules are
67
+ * cwd-relative, so a canonical spelling outside the lexical cwd is not matched (same
68
+ * limit as `createPathValidator` in the filesystem extension).
69
+ *
70
+ * A raw path argument with a `..` segment (split on `/` and `\`) is denied outright:
71
+ * `path.resolve` collapses `..` before symlinks are followed, so `link/../config` with
72
+ * `link -> .git/subdir` would be checked as `<cwd>/config` while the OS opens
73
+ * `<cwd>/.git/config`. This also denies harmless spellings such as `src/../README.md`.
74
+ *
75
+ * The allowlist is `agent.allowedDirectories`, else the profile's. A target whose
76
+ * canonical path lies outside every entry is denied, so an empty list denies every
77
+ * native file-tool call with a path, matching the runtime contract and the filesystem
78
+ * extension's path validator. An absent list (`undefined`) adds no containment. An
79
+ * agent with a `profileId` but no own list gets `[]` when the profile RPC is unhandled
80
+ * or fails, so such a host denies all native file-tool calls with a path; hosts without
81
+ * a profile service set the agent's `allowedDirectories` or leave `profileId` unset.
60
82
  * @param payload - Incoming tool approval payload
61
83
  * @param context - CWD and directory constraints for rule evaluation
62
84
  * @returns Deny message when access should be blocked, otherwise undefined
@@ -116,4 +138,4 @@ declare class ToolApprovalService extends BaseService {
116
138
  private resolveHarnessPolicy;
117
139
  }
118
140
  //#endregion
119
- export { ToolApprovalService as t };
141
+ export { ToolApprovalServiceOptions as n, ToolApprovalService as t };
@@ -5,7 +5,8 @@ import { BusTransport, IFilteredBus, IMakaioBus, SubjectTelemetryProjectorRegist
5
5
  import { DispatchingAuth, HmacAuth, TransportAuth } from "@makaio/framework/node/transports";
6
6
  import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
7
7
  import { StorageEngine } from "@makaio/framework/storage/drizzle";
8
- import { Toolset } from "@makaio/framework/tools";
8
+ import { FileAccessRuleProvider, Toolset } from "@makaio/framework/tools";
9
+ import { FrameworkFileAccessOptions } from "@makaio/framework/services";
9
10
  import { IAdapterConfigRepository } from "@makaio/framework/services/adapter-subsystem";
10
11
  import { PostInstallHandler, StrategyDependencies } from "@makaio/framework/clients";
11
12
  import { DatabaseClient } from "@makaio/framework/storage/drizzle/client";
@@ -356,9 +357,11 @@ type RuntimeOwnershipPackageView = Pick<KernelMakaioExtension, 'name' | 'display
356
357
  * `runtimeOwnership.sessionOrchestrator`, and boot fails if more than one
357
358
  * loaded extension declares that ownership.
358
359
  * @param loadedExtensionPackages - Descriptor-loaded executable extension packages.
360
+ * @param fileAccessOptions - Host file-access rule provider bound into the tool
361
+ * registry and tool approval packages; without one the static core set is used.
359
362
  * @returns Framework core packages for this boot.
360
363
  */
361
- declare function selectFrameworkCorePackages(loadedExtensionPackages: ReadonlyArray<RuntimeOwnershipPackageView> | true): ReadonlyArray<KernelMakaioExtension>;
364
+ declare function selectFrameworkCorePackages(loadedExtensionPackages: ReadonlyArray<RuntimeOwnershipPackageView> | true, fileAccessOptions?: FrameworkFileAccessOptions): ReadonlyArray<KernelMakaioExtension>;
362
365
  //#endregion
363
366
  //#region runtimes/node/src/initialize-node-database.d.ts
364
367
  /**
@@ -1111,6 +1114,47 @@ interface CoreBootOptions {
1111
1114
  * `MachineIdentity` shape.
1112
1115
  */
1113
1116
  readonly machineIdentity?: PersistedMachineIdentity;
1117
+ /**
1118
+ * Host-provided file-access rule provider (`.makaioignore` hierarchy plus
1119
+ * built-in deny list), for example `createMakaioIgnoreProvider()` from
1120
+ * `@makaio/extension-filesystem`.
1121
+ *
1122
+ * When provided, boot binds it into the framework tool registry, which
1123
+ * injects the resolved rules into every tool execution context, and into the
1124
+ * tool approval service, which denies file tool calls whose path argument
1125
+ * names a restricted path (lexical or symlink-resolved) before any approval
1126
+ * policy applies. When omitted, neither enforces file-access rules.
1127
+ *
1128
+ * Scope:
1129
+ * - The patterns apply inside the agent's working directory. With a provider
1130
+ * configured, the approval service also denies native file-tool calls
1131
+ * outside the agent's `allowedDirectories` (else the profile's); an empty
1132
+ * list denies every native file-tool call with a path. Without
1133
+ * `allowedDirectories` (`undefined`), paths outside the working directory
1134
+ * are not restricted by this check. An agent with a `profileId` but no own
1135
+ * list gets an empty list when the profile RPC is unhandled or fails, so a
1136
+ * host without a profile service denies all native file tools for such
1137
+ * agents unless it sets the agent's `allowedDirectories`.
1138
+ * - A path argument with a `..` segment is denied, because resolving it
1139
+ * before following symlinks could alias a restricted path; harmless
1140
+ * spellings such as `src/../README.md` are denied too.
1141
+ * - `Glob` and `Grep` are checked on their supplied search root only. Without
1142
+ * a `path` argument they get no file-access check, and files reached
1143
+ * recursively are not filtered by the patterns; filtering descendants needs
1144
+ * OS-level isolation (Cyberport FACT-272).
1145
+ * - A symlinked working directory itself is not resolved: the patterns match
1146
+ * cwd-relative spellings only.
1147
+ * - Only file tools with a path argument are inspected. Shell commands and
1148
+ * other tools without a path argument are not.
1149
+ * - A known file-tool call from an agent without a working directory is
1150
+ * denied (fail-closed), because the rules cannot be resolved without one.
1151
+ * - Boot fails when an extension overrides the framework tool registry or
1152
+ * tool approval package while a provider is configured, since the
1153
+ * override would drop the provider.
1154
+ * - Workflow-worker tool registries are not covered: they run in separate
1155
+ * threads or processes and do not receive this provider.
1156
+ */
1157
+ readonly fileAccessRuleProvider?: FileAccessRuleProvider;
1114
1158
  /**
1115
1159
  * Host launcher command embedded into client wiring installed from warning actions.
1116
1160
  *
@@ -17,8 +17,8 @@ declare const ClientExecutionContextSchema: z.ZodObject<{
17
17
  env: z.ZodRecord<z.ZodString, z.ZodString>;
18
18
  configDir: z.ZodNullable<z.ZodString>;
19
19
  source: z.ZodEnum<{
20
- managed: "managed";
21
20
  global: "global";
21
+ managed: "managed";
22
22
  }>;
23
23
  version: z.ZodNullable<z.ZodString>;
24
24
  }, z.core.$strip>;
@@ -39,8 +39,8 @@ declare const ClientResolveBinarySchema: {
39
39
  sessionId: z.ZodOptional<z.ZodString>;
40
40
  projectDir: z.ZodOptional<z.ZodString>;
41
41
  preferSource: z.ZodOptional<z.ZodEnum<{
42
- managed: "managed";
43
42
  global: "global";
43
+ managed: "managed";
44
44
  }>>;
45
45
  harnessId: z.ZodOptional<z.ZodString>;
46
46
  }, z.core.$strip>;
@@ -49,8 +49,8 @@ declare const ClientResolveBinarySchema: {
49
49
  env: z.ZodRecord<z.ZodString, z.ZodString>;
50
50
  configDir: z.ZodNullable<z.ZodString>;
51
51
  source: z.ZodEnum<{
52
- managed: "managed";
53
52
  global: "global";
53
+ managed: "managed";
54
54
  }>;
55
55
  version: z.ZodNullable<z.ZodString>;
56
56
  }, z.core.$strip>;
@@ -788,8 +788,8 @@ declare const ClientSchemas: {
788
788
  sessionId: z.ZodOptional<z.ZodString>;
789
789
  projectDir: z.ZodOptional<z.ZodString>;
790
790
  preferSource: z.ZodOptional<z.ZodEnum<{
791
- managed: "managed";
792
791
  global: "global";
792
+ managed: "managed";
793
793
  }>>;
794
794
  harnessId: z.ZodOptional<z.ZodString>;
795
795
  }, z.core.$strip>;
@@ -798,8 +798,8 @@ declare const ClientSchemas: {
798
798
  env: z.ZodRecord<z.ZodString, z.ZodString>;
799
799
  configDir: z.ZodNullable<z.ZodString>;
800
800
  source: z.ZodEnum<{
801
- managed: "managed";
802
801
  global: "global";
802
+ managed: "managed";
803
803
  }>;
804
804
  version: z.ZodNullable<z.ZodString>;
805
805
  }, z.core.$strip>;
@@ -1636,6 +1636,11 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1636
1636
  * Maps 1:1 to the Claude Code SDK `SessionStartHookInput.source` union:
1637
1637
  * `'startup'` → `'fresh'`, `'resume'` → `'resume'` or `'fork'` (after
1638
1638
  * transcript sniff), `'clear'` → `'clear'`, `'compact'` → `'compact'`.
1639
+ *
1640
+ * Codex CLI `0.158.0` `SessionStart.source`: `'startup'` → `'fresh'`,
1641
+ * `'resume'` → `'resume'`, `'clear'` → `'clear'`, `'compact'` → `'compact'`,
1642
+ * `'fork'` → `'fork'` with the parent recovered from the rollout file, or
1643
+ * `'fresh'` when the parent cannot be recovered.
1639
1644
  */
1640
1645
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1641
1646
  /** Zod schema for the client-reported session start mode. */
@@ -2682,8 +2687,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2682
2687
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2683
2688
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2684
2689
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2685
- managed: "managed";
2686
2690
  global: "global";
2691
+ managed: "managed";
2687
2692
  }>>;
2688
2693
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2689
2694
  }, _$zod_v4_core0.$strip>;
@@ -2692,8 +2697,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2692
2697
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2693
2698
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2694
2699
  source: _$zod.ZodEnum<{
2695
- managed: "managed";
2696
2700
  global: "global";
2701
+ managed: "managed";
2697
2702
  }>;
2698
2703
  version: _$zod.ZodNullable<_$zod.ZodString>;
2699
2704
  }, _$zod_v4_core0.$strip>;
@@ -3412,8 +3417,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3412
3417
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
3413
3418
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
3414
3419
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
3415
- managed: "managed";
3416
3420
  global: "global";
3421
+ managed: "managed";
3417
3422
  }>>;
3418
3423
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
3419
3424
  }, _$zod_v4_core0.$strip>;
@@ -3422,8 +3427,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
3422
3427
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
3423
3428
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
3424
3429
  source: _$zod.ZodEnum<{
3425
- managed: "managed";
3426
3430
  global: "global";
3431
+ managed: "managed";
3427
3432
  }>;
3428
3433
  version: _$zod.ZodNullable<_$zod.ZodString>;
3429
3434
  }, _$zod_v4_core0.$strip>;