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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +24 -24
  3. package/dist/adapters/index.d.mts +18 -12
  4. package/dist/adapters/index.mjs +1 -1
  5. package/dist/bus/index.d.mts +2 -2
  6. package/dist/clients/index.d.mts +5 -5
  7. package/dist/{context-resolution-DNRkyQto.d.mts → context-resolution-DdyhpH4L.d.mts} +3 -3
  8. package/dist/contracts/adapter/index.d.mts +1 -1
  9. package/dist/contracts/artifact/index.d.mts +2 -2
  10. package/dist/contracts/canonical-model/index.d.mts +1 -1
  11. package/dist/contracts/capabilities/index.d.mts +1 -1
  12. package/dist/contracts/client/index.d.mts +1 -1
  13. package/dist/contracts/extension/index.d.mts +3 -3
  14. package/dist/contracts/harness/index.d.mts +1 -1
  15. package/dist/contracts/index.d.mts +36 -36
  16. package/dist/contracts/materialization/index.d.mts +2 -2
  17. package/dist/contracts/session/index.d.mts +2 -2
  18. package/dist/contracts/shared/index.d.mts +1 -1
  19. package/dist/contracts/variant/index.d.mts +1 -1
  20. package/dist/contracts/worker-node/index.d.mts +1 -1
  21. package/dist/contracts/workflow/index.d.mts +2 -2
  22. package/dist/{index-CmFbzuiW.d.mts → index-4VfqCjl2.d.mts} +48 -48
  23. package/dist/{index-sFsAqeK1.d.mts → index-B9UW_vPM.d.mts} +70 -70
  24. package/dist/{index-DF9ffhVe.d.mts → index-BNMnIe-j.d.mts} +52 -52
  25. package/dist/{index-CMJZ2Z8m.d.mts → index-BVlXneHH.d.mts} +10 -10
  26. package/dist/{index-BfLulUMy2.d.mts → index-CLvQsL6s2.d.mts} +2 -2
  27. package/dist/{index-fmR2JNgJ.d.mts → index-CnMu8BQl.d.mts} +4 -4
  28. package/dist/{index-DqkjRTr7.d.mts → index-D5Nb7IEP.d.mts} +5 -5
  29. package/dist/{index-HsTxm-R3.d.mts → index-DCZ8BX9S.d.mts} +54 -54
  30. package/dist/{index-Hk9mpC3o.d.mts → index-DXN_L5D6.d.mts} +8 -8
  31. package/dist/{index-XZyMxxnU.d.mts → index-D_ODXsBv.d.mts} +4 -4
  32. package/dist/{index-BbF2gRwd.d.mts → index-DlsHL9Jg.d.mts} +26 -26
  33. package/dist/{index-CUvNKYkV.d.mts → index-DnG-QFpG.d.mts} +1 -1
  34. package/dist/{index-B-xrJCwa.d.mts → index-cqLS1eFV.d.mts} +79 -79
  35. package/dist/{namespace-D-WH2uYV2.d.mts → namespace-CjjFvrIA2.d.mts} +21 -21
  36. package/dist/{namespace-Dkod-w11.d.mts → namespace-CupOzbRv.d.mts} +20 -20
  37. package/dist/{namespace-BXvD9t0I.d.mts → namespace-TseEI3Pu.d.mts} +9 -9
  38. package/dist/package.json +1 -1
  39. package/dist/{schemas-DuIlOWR3.d.mts → schemas-DnYiAvfz.d.mts} +20 -20
  40. package/dist/{schemas-B5eUUi6u.d.mts → schemas-DrVg4aQQ.d.mts} +2 -2
  41. package/dist/services/agent-runtime/index.d.mts +2 -2
  42. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  43. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  44. package/dist/services/context-rules/index.d.mts +3 -3
  45. package/dist/services/filesystem/namespace.d.mts +6 -6
  46. package/dist/services/filesystem/schemas.d.mts +3 -3
  47. package/dist/services/git/namespace.d.mts +2 -2
  48. package/dist/services/git/schemas.d.mts +1 -1
  49. package/dist/services/harness/index.d.mts +3 -3
  50. package/dist/services/index.d.mts +22 -22
  51. package/dist/services/session/index.d.mts +3 -3
  52. package/dist/services/session/messages/namespace.d.mts +1 -1
  53. package/dist/services/session/session-events/namespace.d.mts +1 -1
  54. package/dist/services/session-editor/index.d.mts +1 -1
  55. package/dist/services/settings/namespace.d.mts +2 -2
  56. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  57. package/dist/services/subagent-template/index.d.mts +1 -1
  58. package/dist/services/subagent-template/schemas.d.mts +1 -1
  59. package/dist/{transition-DwqL8W9V.d.mts → transition-Du3MQzJV.d.mts} +1 -1
  60. package/dist/{types-DHmPneIO.d.mts → types-D7_kevBK.d.mts} +1 -1
  61. package/dist/{types-DR60yv6W.d.mts → types-Dzrwa1GY.d.mts} +40 -40
  62. package/dist/{view-builder-qp51cMWh.d.mts → view-builder-DeFd-k7C.d.mts} +1 -1
  63. package/dist/workflow-engine/index.d.mts +47 -47
  64. package/package.json +1 -1
@@ -179,8 +179,8 @@ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
179
179
  "exit-and-resume": "exit-and-resume";
180
180
  }>>;
181
181
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
182
- worker: "worker";
183
182
  authority: "authority";
183
+ worker: "worker";
184
184
  }>>;
185
185
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
186
186
  kind: z.ZodLiteral<"local-directory">;
@@ -427,8 +427,8 @@ declare const WorkerNodeSchemas: {
427
427
  "exit-and-resume": "exit-and-resume";
428
428
  }>>;
429
429
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
430
- worker: "worker";
431
430
  authority: "authority";
431
+ worker: "worker";
432
432
  }>>;
433
433
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
434
434
  kind: z.ZodLiteral<"local-directory">;
@@ -928,8 +928,8 @@ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worke
928
928
  "exit-and-resume": "exit-and-resume";
929
929
  }>>;
930
930
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
931
- worker: "worker";
932
931
  authority: "authority";
932
+ worker: "worker";
933
933
  }>>;
934
934
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
935
935
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -1344,8 +1344,8 @@ declare const WorkerNodeSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.
1344
1344
  "exit-and-resume": "exit-and-resume";
1345
1345
  }>>;
1346
1346
  terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1347
- worker: "worker";
1348
1347
  authority: "authority";
1348
+ worker: "worker";
1349
1349
  }>>;
1350
1350
  materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1351
1351
  kind: _$zod.ZodLiteral<"local-directory">;
@@ -89,9 +89,9 @@ declare const ClientSchemas: {
89
89
  baseConfigDir: z.ZodOptional<z.ZodString>;
90
90
  projectDir: z.ZodOptional<z.ZodString>;
91
91
  configInheritance: z.ZodOptional<z.ZodEnum<{
92
- "auth-only": "auth-only";
93
- full: "full";
94
92
  empty: "empty";
93
+ full: "full";
94
+ "auth-only": "auth-only";
95
95
  }>>;
96
96
  }, z.core.$strip>;
97
97
  response: z.ZodObject<{
@@ -258,8 +258,8 @@ declare const ClientSchemas: {
258
258
  clientRuntimeId: z.ZodString;
259
259
  clientId: z.ZodString;
260
260
  status: z.ZodEnum<{
261
- observed: "observed";
262
261
  started: "started";
262
+ observed: "observed";
263
263
  }>;
264
264
  source: z.ZodObject<{
265
265
  layer: z.ZodEnum<{
@@ -509,8 +509,8 @@ declare const ClientSchemas: {
509
509
  fork: "fork";
510
510
  resume: "resume";
511
511
  fresh: "fresh";
512
- clear: "clear";
513
512
  compact: "compact";
513
+ clear: "clear";
514
514
  }>>;
515
515
  parentAdapterSessionId: z.ZodOptional<z.ZodString>;
516
516
  }, z.core.$strip>;
@@ -648,8 +648,8 @@ declare const ClientSchemas: {
648
648
  "signed-binary-bucket": "signed-binary-bucket";
649
649
  }>;
650
650
  stage: z.ZodEnum<{
651
- resolving: "resolving";
652
651
  downloading: "downloading";
652
+ resolving: "resolving";
653
653
  verifying: "verifying";
654
654
  extracting: "extracting";
655
655
  installing: "installing";
@@ -1159,8 +1159,8 @@ type ClientSetActiveResponse = z.infer<typeof ClientSetActiveSchema.response>;
1159
1159
  * - `'activating'` — marking the installed version as active.
1160
1160
  */
1161
1161
  declare const InstallStageSchema: z.ZodEnum<{
1162
- resolving: "resolving";
1163
1162
  downloading: "downloading";
1163
+ resolving: "resolving";
1164
1164
  verifying: "verifying";
1165
1165
  extracting: "extracting";
1166
1166
  installing: "installing";
@@ -1183,8 +1183,8 @@ declare const ClientInstallProgressSchema: z.ZodObject<{
1183
1183
  "signed-binary-bucket": "signed-binary-bucket";
1184
1184
  }>;
1185
1185
  stage: z.ZodEnum<{
1186
- resolving: "resolving";
1187
1186
  downloading: "downloading";
1187
+ resolving: "resolving";
1188
1188
  verifying: "verifying";
1189
1189
  extracting: "extracting";
1190
1190
  installing: "installing";
@@ -1382,8 +1382,8 @@ declare const ClientRuntimeStartedSchema: z.ZodObject<{
1382
1382
  clientRuntimeId: z.ZodString;
1383
1383
  clientId: z.ZodString;
1384
1384
  status: z.ZodEnum<{
1385
- observed: "observed";
1386
1385
  started: "started";
1386
+ observed: "observed";
1387
1387
  }>;
1388
1388
  source: z.ZodObject<{
1389
1389
  layer: z.ZodEnum<{
@@ -1489,8 +1489,8 @@ declare const ClientSessionStartModeSchema: z.ZodEnum<{
1489
1489
  fork: "fork";
1490
1490
  resume: "resume";
1491
1491
  fresh: "fresh";
1492
- clear: "clear";
1493
1492
  compact: "compact";
1493
+ clear: "clear";
1494
1494
  }>;
1495
1495
  /** Client-reported session start mode discriminator. */
1496
1496
  type ClientSessionStartMode = z.infer<typeof ClientSessionStartModeSchema>;
@@ -1508,8 +1508,8 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1508
1508
  fork: "fork";
1509
1509
  resume: "resume";
1510
1510
  fresh: "fresh";
1511
- clear: "clear";
1512
1511
  compact: "compact";
1512
+ clear: "clear";
1513
1513
  }>>;
1514
1514
  parentAdapterSessionId: z.ZodOptional<z.ZodString>;
1515
1515
  }, z.core.$strip>;
@@ -1675,9 +1675,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1675
1675
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
1676
1676
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
1677
1677
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
1678
- "auth-only": "auth-only";
1679
- full: "full";
1680
1678
  empty: "empty";
1679
+ full: "full";
1680
+ "auth-only": "auth-only";
1681
1681
  }>>;
1682
1682
  }, _$zod_v4_core0.$strip>;
1683
1683
  response: _$zod.ZodObject<{
@@ -1844,8 +1844,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1844
1844
  clientRuntimeId: _$zod.ZodString;
1845
1845
  clientId: _$zod.ZodString;
1846
1846
  status: _$zod.ZodEnum<{
1847
- observed: "observed";
1848
1847
  started: "started";
1848
+ observed: "observed";
1849
1849
  }>;
1850
1850
  source: _$zod.ZodObject<{
1851
1851
  layer: _$zod.ZodEnum<{
@@ -2079,8 +2079,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2079
2079
  fork: "fork";
2080
2080
  resume: "resume";
2081
2081
  fresh: "fresh";
2082
- clear: "clear";
2083
2082
  compact: "compact";
2083
+ clear: "clear";
2084
2084
  }>>;
2085
2085
  parentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2086
2086
  }, _$zod_v4_core0.$strip>;
@@ -2218,8 +2218,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2218
2218
  "signed-binary-bucket": "signed-binary-bucket";
2219
2219
  }>;
2220
2220
  stage: _$zod.ZodEnum<{
2221
- resolving: "resolving";
2222
2221
  downloading: "downloading";
2222
+ resolving: "resolving";
2223
2223
  verifying: "verifying";
2224
2224
  extracting: "extracting";
2225
2225
  installing: "installing";
@@ -2315,9 +2315,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2315
2315
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
2316
2316
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2317
2317
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
2318
- "auth-only": "auth-only";
2319
- full: "full";
2320
2318
  empty: "empty";
2319
+ full: "full";
2320
+ "auth-only": "auth-only";
2321
2321
  }>>;
2322
2322
  }, _$zod_v4_core0.$strip>;
2323
2323
  response: _$zod.ZodObject<{
@@ -2484,8 +2484,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2484
2484
  clientRuntimeId: _$zod.ZodString;
2485
2485
  clientId: _$zod.ZodString;
2486
2486
  status: _$zod.ZodEnum<{
2487
- observed: "observed";
2488
2487
  started: "started";
2488
+ observed: "observed";
2489
2489
  }>;
2490
2490
  source: _$zod.ZodObject<{
2491
2491
  layer: _$zod.ZodEnum<{
@@ -2719,8 +2719,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2719
2719
  fork: "fork";
2720
2720
  resume: "resume";
2721
2721
  fresh: "fresh";
2722
- clear: "clear";
2723
2722
  compact: "compact";
2723
+ clear: "clear";
2724
2724
  }>>;
2725
2725
  parentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2726
2726
  }, _$zod_v4_core0.$strip>;
@@ -2858,8 +2858,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2858
2858
  "signed-binary-bucket": "signed-binary-bucket";
2859
2859
  }>;
2860
2860
  stage: _$zod.ZodEnum<{
2861
- resolving: "resolving";
2862
2861
  downloading: "downloading";
2862
+ resolving: "resolving";
2863
2863
  verifying: "verifying";
2864
2864
  extracting: "extracting";
2865
2865
  installing: "installing";
@@ -2978,9 +2978,9 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
2978
2978
  * Policy for materializing a session config directory from a base client config.
2979
2979
  */
2980
2980
  declare const SessionConfigInheritanceSchema: z.ZodEnum<{
2981
- "auth-only": "auth-only";
2982
- full: "full";
2983
2981
  empty: "empty";
2982
+ full: "full";
2983
+ "auth-only": "auth-only";
2984
2984
  }>;
2985
2985
  type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
2986
2986
  /**
@@ -3136,9 +3136,9 @@ declare const ClientSessionConfigSchemas: {
3136
3136
  baseConfigDir: z.ZodOptional<z.ZodString>;
3137
3137
  projectDir: z.ZodOptional<z.ZodString>;
3138
3138
  configInheritance: z.ZodOptional<z.ZodEnum<{
3139
- "auth-only": "auth-only";
3140
- full: "full";
3141
3139
  empty: "empty";
3140
+ full: "full";
3141
+ "auth-only": "auth-only";
3142
3142
  }>>;
3143
3143
  }, z.core.$strip>;
3144
3144
  response: z.ZodObject<{
@@ -3192,9 +3192,9 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
3192
3192
  win32: "win32";
3193
3193
  }>;
3194
3194
  configInheritance: z.ZodEnum<{
3195
- "auth-only": "auth-only";
3196
- full: "full";
3197
3195
  empty: "empty";
3196
+ full: "full";
3197
+ "auth-only": "auth-only";
3198
3198
  }>;
3199
3199
  }, z.core.$strip>;
3200
3200
  type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
@@ -41,9 +41,9 @@ declare const StructuredOutputValidationErrorSchema: z.ZodObject<{
41
41
  * - `enforced` – A structured-output enforcement handler produced conformant output.
42
42
  */
43
43
  declare const StructuredOutputValidationStatusSchema: z.ZodEnum<{
44
- failed: "failed";
45
44
  passed: "passed";
46
45
  enforced: "enforced";
46
+ failed: "failed";
47
47
  }>;
48
48
  /**
49
49
  * Full validation result emitted after a turn completes when a
@@ -1,4 +1,4 @@
1
- import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-DNRkyQto.mjs";
1
+ import { G as ArtifactRepresentations, L as ArtifactRef$1, U as ArtifactRelationTarget, Y as ArtifactScope, a as ResolvedArtifactContextWire$1, j as ArtifactObservation$1, k as ArtifactKindRegistration$1, l as ArtifactProjectionPolicy$1, q as ArtifactRevision$1, r as ArtifactContextUnresolvedReason, x as ArtifactActor, z as ArtifactRelation } from "./context-resolution-DdyhpH4L.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_core0 from "@makaio/framework/core";
4
4
  import { MakaioBusLike } from "@makaio/framework/core";
@@ -618,9 +618,9 @@ declare const ArtifactSchemas: {
618
618
  lifecycle: z.ZodOptional<z.ZodObject<{
619
619
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
620
620
  active: "active";
621
+ archived: "archived";
621
622
  fading: "fading";
622
623
  retired: "retired";
623
- archived: "archived";
624
624
  }>>;
625
625
  decayPolicy: z.ZodOptional<z.ZodString>;
626
626
  }, z.core.$strip>>;
@@ -629,8 +629,8 @@ declare const ArtifactSchemas: {
629
629
  projection: z.ZodOptional<z.ZodObject<{
630
630
  mode: z.ZodEnum<{
631
631
  none: "none";
632
- comment: "comment";
633
632
  surface: "surface";
633
+ comment: "comment";
634
634
  }>;
635
635
  defaultRole: z.ZodOptional<z.ZodEnum<{
636
636
  artifact: "artifact";
@@ -708,9 +708,9 @@ declare const ArtifactSchemas: {
708
708
  lifecycle: z.ZodOptional<z.ZodObject<{
709
709
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
710
710
  active: "active";
711
+ archived: "archived";
711
712
  fading: "fading";
712
713
  retired: "retired";
713
- archived: "archived";
714
714
  }>>;
715
715
  decayPolicy: z.ZodOptional<z.ZodString>;
716
716
  }, z.core.$strip>>;
@@ -719,8 +719,8 @@ declare const ArtifactSchemas: {
719
719
  projection: z.ZodOptional<z.ZodObject<{
720
720
  mode: z.ZodEnum<{
721
721
  none: "none";
722
- comment: "comment";
723
722
  surface: "surface";
723
+ comment: "comment";
724
724
  }>;
725
725
  defaultRole: z.ZodOptional<z.ZodEnum<{
726
726
  artifact: "artifact";
@@ -817,16 +817,7 @@ declare const ArtifactSchemas: {
817
817
  request: z.ZodObject<{
818
818
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
819
819
  kind: z.ZodString;
820
- scope: z.ZodObject<{
821
- level: z.ZodString;
822
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
823
- }, z.core.$strip>;
824
- schemaVersion: z.ZodString;
825
- actor: z.ZodObject<{
826
- kind: z.ZodString;
827
- id: z.ZodString;
828
- displayName: z.ZodOptional<z.ZodString>;
829
- }, z.core.$strip>;
820
+ createdAt: z.ZodOptional<z.ZodNumber>;
830
821
  relations: z.ZodArray<z.ZodObject<{
831
822
  type: z.ZodString;
832
823
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -851,6 +842,16 @@ declare const ArtifactSchemas: {
851
842
  locator: z.ZodOptional<z.ZodString>;
852
843
  }, z.core.$strip>], "refClass">>;
853
844
  }, z.core.$strip>>;
845
+ scope: z.ZodObject<{
846
+ level: z.ZodString;
847
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
848
+ }, z.core.$strip>;
849
+ schemaVersion: z.ZodString;
850
+ actor: z.ZodObject<{
851
+ kind: z.ZodString;
852
+ id: z.ZodString;
853
+ displayName: z.ZodOptional<z.ZodString>;
854
+ }, z.core.$strip>;
854
855
  confidence: z.ZodOptional<z.ZodObject<{
855
856
  level: z.ZodEnum<{
856
857
  inferred: "inferred";
@@ -896,7 +897,6 @@ declare const ArtifactSchemas: {
896
897
  summary: z.ZodOptional<z.ZodString>;
897
898
  plaintext: z.ZodOptional<z.ZodString>;
898
899
  }, z.core.$strip>>;
899
- createdAt: z.ZodOptional<z.ZodNumber>;
900
900
  }, z.core.$strip>;
901
901
  response: z.ZodObject<{
902
902
  artifact: z.ZodObject<{
@@ -999,16 +999,7 @@ declare const ArtifactSchemas: {
999
999
  revision: z.ZodObject<{
1000
1000
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1001
1001
  kind: z.ZodString;
1002
- scope: z.ZodObject<{
1003
- level: z.ZodString;
1004
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1005
- }, z.core.$strip>;
1006
- schemaVersion: z.ZodString;
1007
- actor: z.ZodObject<{
1008
- kind: z.ZodString;
1009
- id: z.ZodString;
1010
- displayName: z.ZodOptional<z.ZodString>;
1011
- }, z.core.$strip>;
1002
+ createdAt: z.ZodOptional<z.ZodNumber>;
1012
1003
  relations: z.ZodArray<z.ZodObject<{
1013
1004
  type: z.ZodString;
1014
1005
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1033,6 +1024,16 @@ declare const ArtifactSchemas: {
1033
1024
  locator: z.ZodOptional<z.ZodString>;
1034
1025
  }, z.core.$strip>], "refClass">>;
1035
1026
  }, z.core.$strip>>;
1027
+ scope: z.ZodObject<{
1028
+ level: z.ZodString;
1029
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1030
+ }, z.core.$strip>;
1031
+ schemaVersion: z.ZodString;
1032
+ actor: z.ZodObject<{
1033
+ kind: z.ZodString;
1034
+ id: z.ZodString;
1035
+ displayName: z.ZodOptional<z.ZodString>;
1036
+ }, z.core.$strip>;
1036
1037
  confidence: z.ZodOptional<z.ZodObject<{
1037
1038
  level: z.ZodEnum<{
1038
1039
  inferred: "inferred";
@@ -1078,7 +1079,6 @@ declare const ArtifactSchemas: {
1078
1079
  summary: z.ZodOptional<z.ZodString>;
1079
1080
  plaintext: z.ZodOptional<z.ZodString>;
1080
1081
  }, z.core.$strip>>;
1081
- createdAt: z.ZodOptional<z.ZodNumber>;
1082
1082
  }, z.core.$strip>;
1083
1083
  }, z.core.$strip>;
1084
1084
  response: z.ZodObject<{
@@ -2071,9 +2071,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2071
2071
  lifecycle: z.ZodOptional<z.ZodObject<{
2072
2072
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
2073
2073
  active: "active";
2074
+ archived: "archived";
2074
2075
  fading: "fading";
2075
2076
  retired: "retired";
2076
- archived: "archived";
2077
2077
  }>>;
2078
2078
  decayPolicy: z.ZodOptional<z.ZodString>;
2079
2079
  }, z.core.$strip>>;
@@ -2082,8 +2082,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2082
2082
  projection: z.ZodOptional<z.ZodObject<{
2083
2083
  mode: z.ZodEnum<{
2084
2084
  none: "none";
2085
- comment: "comment";
2086
2085
  surface: "surface";
2086
+ comment: "comment";
2087
2087
  }>;
2088
2088
  defaultRole: z.ZodOptional<z.ZodEnum<{
2089
2089
  artifact: "artifact";
@@ -2161,9 +2161,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2161
2161
  lifecycle: z.ZodOptional<z.ZodObject<{
2162
2162
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
2163
2163
  active: "active";
2164
+ archived: "archived";
2164
2165
  fading: "fading";
2165
2166
  retired: "retired";
2166
- archived: "archived";
2167
2167
  }>>;
2168
2168
  decayPolicy: z.ZodOptional<z.ZodString>;
2169
2169
  }, z.core.$strip>>;
@@ -2172,8 +2172,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2172
2172
  projection: z.ZodOptional<z.ZodObject<{
2173
2173
  mode: z.ZodEnum<{
2174
2174
  none: "none";
2175
- comment: "comment";
2176
2175
  surface: "surface";
2176
+ comment: "comment";
2177
2177
  }>;
2178
2178
  defaultRole: z.ZodOptional<z.ZodEnum<{
2179
2179
  artifact: "artifact";
@@ -2270,16 +2270,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2270
2270
  request: z.ZodObject<{
2271
2271
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2272
2272
  kind: z.ZodString;
2273
- scope: z.ZodObject<{
2274
- level: z.ZodString;
2275
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2276
- }, z.core.$strip>;
2277
- schemaVersion: z.ZodString;
2278
- actor: z.ZodObject<{
2279
- kind: z.ZodString;
2280
- id: z.ZodString;
2281
- displayName: z.ZodOptional<z.ZodString>;
2282
- }, z.core.$strip>;
2273
+ createdAt: z.ZodOptional<z.ZodNumber>;
2283
2274
  relations: z.ZodArray<z.ZodObject<{
2284
2275
  type: z.ZodString;
2285
2276
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2304,6 +2295,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2304
2295
  locator: z.ZodOptional<z.ZodString>;
2305
2296
  }, z.core.$strip>], "refClass">>;
2306
2297
  }, z.core.$strip>>;
2298
+ scope: z.ZodObject<{
2299
+ level: z.ZodString;
2300
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2301
+ }, z.core.$strip>;
2302
+ schemaVersion: z.ZodString;
2303
+ actor: z.ZodObject<{
2304
+ kind: z.ZodString;
2305
+ id: z.ZodString;
2306
+ displayName: z.ZodOptional<z.ZodString>;
2307
+ }, z.core.$strip>;
2307
2308
  confidence: z.ZodOptional<z.ZodObject<{
2308
2309
  level: z.ZodEnum<{
2309
2310
  inferred: "inferred";
@@ -2349,7 +2350,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2349
2350
  summary: z.ZodOptional<z.ZodString>;
2350
2351
  plaintext: z.ZodOptional<z.ZodString>;
2351
2352
  }, z.core.$strip>>;
2352
- createdAt: z.ZodOptional<z.ZodNumber>;
2353
2353
  }, z.core.$strip>;
2354
2354
  response: z.ZodObject<{
2355
2355
  artifact: z.ZodObject<{
@@ -2452,16 +2452,7 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2452
2452
  revision: z.ZodObject<{
2453
2453
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
2454
2454
  kind: z.ZodString;
2455
- scope: z.ZodObject<{
2456
- level: z.ZodString;
2457
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2458
- }, z.core.$strip>;
2459
- schemaVersion: z.ZodString;
2460
- actor: z.ZodObject<{
2461
- kind: z.ZodString;
2462
- id: z.ZodString;
2463
- displayName: z.ZodOptional<z.ZodString>;
2464
- }, z.core.$strip>;
2455
+ createdAt: z.ZodOptional<z.ZodNumber>;
2465
2456
  relations: z.ZodArray<z.ZodObject<{
2466
2457
  type: z.ZodString;
2467
2458
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2486,6 +2477,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2486
2477
  locator: z.ZodOptional<z.ZodString>;
2487
2478
  }, z.core.$strip>], "refClass">>;
2488
2479
  }, z.core.$strip>>;
2480
+ scope: z.ZodObject<{
2481
+ level: z.ZodString;
2482
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2483
+ }, z.core.$strip>;
2484
+ schemaVersion: z.ZodString;
2485
+ actor: z.ZodObject<{
2486
+ kind: z.ZodString;
2487
+ id: z.ZodString;
2488
+ displayName: z.ZodOptional<z.ZodString>;
2489
+ }, z.core.$strip>;
2489
2490
  confidence: z.ZodOptional<z.ZodObject<{
2490
2491
  level: z.ZodEnum<{
2491
2492
  inferred: "inferred";
@@ -2531,7 +2532,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2531
2532
  summary: z.ZodOptional<z.ZodString>;
2532
2533
  plaintext: z.ZodOptional<z.ZodString>;
2533
2534
  }, z.core.$strip>>;
2534
- createdAt: z.ZodOptional<z.ZodNumber>;
2535
2535
  }, z.core.$strip>;
2536
2536
  }, z.core.$strip>;
2537
2537
  response: z.ZodObject<{
@@ -3538,9 +3538,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3538
3538
  lifecycle: z.ZodOptional<z.ZodObject<{
3539
3539
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
3540
3540
  active: "active";
3541
+ archived: "archived";
3541
3542
  fading: "fading";
3542
3543
  retired: "retired";
3543
- archived: "archived";
3544
3544
  }>>;
3545
3545
  decayPolicy: z.ZodOptional<z.ZodString>;
3546
3546
  }, z.core.$strip>>;
@@ -3549,8 +3549,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3549
3549
  projection: z.ZodOptional<z.ZodObject<{
3550
3550
  mode: z.ZodEnum<{
3551
3551
  none: "none";
3552
- comment: "comment";
3553
3552
  surface: "surface";
3553
+ comment: "comment";
3554
3554
  }>;
3555
3555
  defaultRole: z.ZodOptional<z.ZodEnum<{
3556
3556
  artifact: "artifact";
@@ -3628,9 +3628,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3628
3628
  lifecycle: z.ZodOptional<z.ZodObject<{
3629
3629
  defaultRelevance: z.ZodOptional<z.ZodEnum<{
3630
3630
  active: "active";
3631
+ archived: "archived";
3631
3632
  fading: "fading";
3632
3633
  retired: "retired";
3633
- archived: "archived";
3634
3634
  }>>;
3635
3635
  decayPolicy: z.ZodOptional<z.ZodString>;
3636
3636
  }, z.core.$strip>>;
@@ -3639,8 +3639,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3639
3639
  projection: z.ZodOptional<z.ZodObject<{
3640
3640
  mode: z.ZodEnum<{
3641
3641
  none: "none";
3642
- comment: "comment";
3643
3642
  surface: "surface";
3643
+ comment: "comment";
3644
3644
  }>;
3645
3645
  defaultRole: z.ZodOptional<z.ZodEnum<{
3646
3646
  artifact: "artifact";
@@ -3737,16 +3737,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3737
3737
  request: z.ZodObject<{
3738
3738
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3739
3739
  kind: z.ZodString;
3740
- scope: z.ZodObject<{
3741
- level: z.ZodString;
3742
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3743
- }, z.core.$strip>;
3744
- schemaVersion: z.ZodString;
3745
- actor: z.ZodObject<{
3746
- kind: z.ZodString;
3747
- id: z.ZodString;
3748
- displayName: z.ZodOptional<z.ZodString>;
3749
- }, z.core.$strip>;
3740
+ createdAt: z.ZodOptional<z.ZodNumber>;
3750
3741
  relations: z.ZodArray<z.ZodObject<{
3751
3742
  type: z.ZodString;
3752
3743
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3771,6 +3762,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3771
3762
  locator: z.ZodOptional<z.ZodString>;
3772
3763
  }, z.core.$strip>], "refClass">>;
3773
3764
  }, z.core.$strip>>;
3765
+ scope: z.ZodObject<{
3766
+ level: z.ZodString;
3767
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3768
+ }, z.core.$strip>;
3769
+ schemaVersion: z.ZodString;
3770
+ actor: z.ZodObject<{
3771
+ kind: z.ZodString;
3772
+ id: z.ZodString;
3773
+ displayName: z.ZodOptional<z.ZodString>;
3774
+ }, z.core.$strip>;
3774
3775
  confidence: z.ZodOptional<z.ZodObject<{
3775
3776
  level: z.ZodEnum<{
3776
3777
  inferred: "inferred";
@@ -3816,7 +3817,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3816
3817
  summary: z.ZodOptional<z.ZodString>;
3817
3818
  plaintext: z.ZodOptional<z.ZodString>;
3818
3819
  }, z.core.$strip>>;
3819
- createdAt: z.ZodOptional<z.ZodNumber>;
3820
3820
  }, z.core.$strip>;
3821
3821
  response: z.ZodObject<{
3822
3822
  artifact: z.ZodObject<{
@@ -3919,16 +3919,7 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3919
3919
  revision: z.ZodObject<{
3920
3920
  data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
3921
3921
  kind: z.ZodString;
3922
- scope: z.ZodObject<{
3923
- level: z.ZodString;
3924
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3925
- }, z.core.$strip>;
3926
- schemaVersion: z.ZodString;
3927
- actor: z.ZodObject<{
3928
- kind: z.ZodString;
3929
- id: z.ZodString;
3930
- displayName: z.ZodOptional<z.ZodString>;
3931
- }, z.core.$strip>;
3922
+ createdAt: z.ZodOptional<z.ZodNumber>;
3932
3923
  relations: z.ZodArray<z.ZodObject<{
3933
3924
  type: z.ZodString;
3934
3925
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3953,6 +3944,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3953
3944
  locator: z.ZodOptional<z.ZodString>;
3954
3945
  }, z.core.$strip>], "refClass">>;
3955
3946
  }, z.core.$strip>>;
3947
+ scope: z.ZodObject<{
3948
+ level: z.ZodString;
3949
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3950
+ }, z.core.$strip>;
3951
+ schemaVersion: z.ZodString;
3952
+ actor: z.ZodObject<{
3953
+ kind: z.ZodString;
3954
+ id: z.ZodString;
3955
+ displayName: z.ZodOptional<z.ZodString>;
3956
+ }, z.core.$strip>;
3956
3957
  confidence: z.ZodOptional<z.ZodObject<{
3957
3958
  level: z.ZodEnum<{
3958
3959
  inferred: "inferred";
@@ -3998,7 +3999,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
3998
3999
  summary: z.ZodOptional<z.ZodString>;
3999
4000
  plaintext: z.ZodOptional<z.ZodString>;
4000
4001
  }, z.core.$strip>>;
4001
- createdAt: z.ZodOptional<z.ZodNumber>;
4002
4002
  }, z.core.$strip>;
4003
4003
  }, z.core.$strip>;
4004
4004
  response: z.ZodObject<{