@makaio/framework 1.0.0-dev-1788936831433 → 1.0.0-dev-1788955549564

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 (105) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{account-identity-DCBpVurJ.mjs → account-identity-B0NsOILM.mjs} +1 -1
  3. package/dist/{adapter-D6IpEDIo.mjs → adapter-DYE_oWjj.mjs} +1 -1
  4. package/dist/artifact-nArLAotB.mjs +1 -0
  5. package/dist/{automation-trigger-D_xKqEoV.mjs → automation-trigger-CZfH94Fr.mjs} +1 -1
  6. package/dist/bus/index.mjs +1 -1
  7. package/dist/{canonical-model-DwuFQ02A.mjs → canonical-model-oFNty7hj.mjs} +1 -1
  8. package/dist/{client-CTqzLpVx.mjs → client-DJMzCHRm.mjs} +1 -1
  9. package/dist/{compression-3DauETKU.mjs → compression-nZhMDRTA.mjs} +1 -1
  10. package/dist/contracts/adapter/index.d.mts +2 -2
  11. package/dist/contracts/adapter/index.mjs +1 -1
  12. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  13. package/dist/contracts/artifact/index.d.mts +3 -3
  14. package/dist/contracts/artifact/index.mjs +1 -1
  15. package/dist/contracts/automation-trigger/index.mjs +1 -1
  16. package/dist/contracts/canonical-model/index.mjs +1 -1
  17. package/dist/contracts/capabilities/index.d.mts +1 -1
  18. package/dist/contracts/client/index.d.mts +1 -1
  19. package/dist/contracts/client/index.mjs +1 -1
  20. package/dist/contracts/config/index.mjs +1 -1
  21. package/dist/contracts/extension/index.d.mts +2 -2
  22. package/dist/contracts/index.d.mts +28 -28
  23. package/dist/contracts/index.mjs +1 -1
  24. package/dist/contracts/materialization/index.d.mts +1 -1
  25. package/dist/contracts/materialization/index.mjs +1 -1
  26. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  27. package/dist/contracts/reaction/index.mjs +1 -1
  28. package/dist/contracts/session/index.d.mts +2 -2
  29. package/dist/contracts/session/index.mjs +1 -1
  30. package/dist/contracts/shared/index.mjs +1 -1
  31. package/dist/contracts/worker/index.d.mts +1 -1
  32. package/dist/contracts/worker/index.mjs +1 -1
  33. package/dist/contracts/workflow/index.d.mts +2 -2
  34. package/dist/contracts/workflow/index.mjs +1 -1
  35. package/dist/{framework-packages-B3SQPHD7.mjs → framework-packages-25GUGzJ-.mjs} +1 -1
  36. package/dist/{index-CqSdF7rK.d.mts → index-99Gz8ezO.d.mts} +7 -7
  37. package/dist/{index-DlOp5nH0.d.mts → index-BAL1FiaJ.d.mts} +6 -6
  38. package/dist/{index-ZGtyv_3n2.d.mts → index-Bak5iKWv2.d.mts} +4 -4
  39. package/dist/{index-BQoiFDct.d.mts → index-C9J8wBLV.d.mts} +104 -68
  40. package/dist/{index-C83rKcaK2.d.mts → index-CVx7li6B2.d.mts} +24 -24
  41. package/dist/{index-CzSoEyWu.d.mts → index-ConotXyG.d.mts} +14 -14
  42. package/dist/{index-DDUi5U4Q.d.mts → index-CwJaE0fT.d.mts} +24 -24
  43. package/dist/{index-BwktKRHX.d.mts → index-CyB6POkH.d.mts} +1 -1
  44. package/dist/{index-DWU3yzQ-.d.mts → index-D2sbGoGS.d.mts} +1 -1
  45. package/dist/{index-BV1Btpfc.d.mts → index-DfJNJYPV.d.mts} +1 -1
  46. package/dist/{index-J7xYeLwB.d.mts → index-DzeUtJtE.d.mts} +8 -8
  47. package/dist/{index-B6Lsx8QD2.d.mts → index-OUtnmQ8t2.d.mts} +3 -3
  48. package/dist/{index-glwUNat3.d.mts → index-OXuby-ee.d.mts} +4 -4
  49. package/dist/{index-BypDPKtQ.d.mts → index-VbqrC9qf.d.mts} +34 -34
  50. package/dist/kernel/extension/index.d.mts +1 -1
  51. package/dist/kernel/index.d.mts +2 -2
  52. package/dist/kernel/observability/index.d.mts +1 -1
  53. package/dist/{materialization-CDemi12q.mjs → materialization-BQuh_gaE.mjs} +1 -1
  54. package/dist/{namespace-BXkDQ9nn.d.mts → namespace-Cb0XKb4v.d.mts} +2 -2
  55. package/dist/{namespace-DCmkW_25.d.mts → namespace-DiTFR4Zt.d.mts} +2 -2
  56. package/dist/{namespace-Cjh_Ogen.d.mts → namespace-c5XPzbf3.d.mts} +3 -3
  57. package/dist/package.json +1 -1
  58. package/dist/packages-Dhgmy_LJ.mjs +1 -0
  59. package/dist/{reaction-OQibmmDW.mjs → reaction-6e4v007b.mjs} +1 -1
  60. package/dist/{schemas-DfSirQM5.d.mts → schemas-BFwNBMIj.d.mts} +6 -6
  61. package/dist/{schemas-CSDiTBsU.mjs → schemas-BIU9Org_.mjs} +1 -1
  62. package/dist/{schemas-eA76OYo2.d.mts → schemas-BZabEyEV.d.mts} +1 -1
  63. package/dist/{schemas-B4gxLiTq.d.mts → schemas-Di_kpQ0C.d.mts} +2 -1
  64. package/dist/schemas-FiFC_DI6.mjs +1 -0
  65. package/dist/{schemas-Bg2fBMPN.d.mts → schemas-I9dZtAkj.d.mts} +2 -2
  66. package/dist/{schemas-BUK9I-Oz.mjs → schemas-abY5VbS4.mjs} +1 -1
  67. package/dist/services/adapter-runtime/index.d.mts +3 -3
  68. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  69. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  70. package/dist/services/context-rules/index.d.mts +3 -3
  71. package/dist/services/execution-target/index.d.mts +3 -3
  72. package/dist/services/execution-target/namespace.d.mts +1 -1
  73. package/dist/services/execution-target/schemas.d.mts +1 -1
  74. package/dist/services/filesystem/namespace.d.mts +6 -6
  75. package/dist/services/filesystem/schemas.d.mts +3 -3
  76. package/dist/services/git/namespace.d.mts +2 -2
  77. package/dist/services/git/schemas.d.mts +1 -1
  78. package/dist/services/index.d.mts +22 -22
  79. package/dist/services/index.mjs +1 -1
  80. package/dist/services/materialization/index.mjs +1 -1
  81. package/dist/services/session/handlers/index.d.mts +1 -1
  82. package/dist/services/session/index.d.mts +3 -3
  83. package/dist/services/session/messages/namespace.d.mts +1 -1
  84. package/dist/services/settings/namespace.d.mts +6 -6
  85. package/dist/services/subagent-template/index.d.mts +1 -1
  86. package/dist/services/subagent-template/schemas.d.mts +1 -1
  87. package/dist/services/tools/index.mjs +1 -1
  88. package/dist/services/workflow-transitions/index.mjs +1 -1
  89. package/dist/{session-CQAuApxe.mjs → session-A-h_Dwcs.mjs} +1 -1
  90. package/dist/{session-lineage-Bwb98OUz.d.mts → session-lineage-BzlpfLgC.d.mts} +1 -1
  91. package/dist/{shared-BYP7z9xy.mjs → shared-BZf2zoxL.mjs} +1 -1
  92. package/dist/{tools-2INrWlnS.mjs → tools-oQPsY7v2.mjs} +1 -1
  93. package/dist/{transition-DXfTmVSx.d.mts → transition-BeWq5nKg.d.mts} +1 -1
  94. package/dist/{types-B4u8kNdt.d.mts → types-CIEJ91wm.d.mts} +3 -3
  95. package/dist/{view-builder-DU_WTiuk.d.mts → view-builder-BwGugMWz.d.mts} +1 -1
  96. package/dist/{worker-Bn0x5MSH.mjs → worker-Csadr_du.mjs} +1 -1
  97. package/dist/{workflow-B6C3Pf66.mjs → workflow-Cb2Pj1h3.mjs} +1 -1
  98. package/dist/workflow-engine/index.d.mts +40 -40
  99. package/dist/{workflow-transitions-BbhM_zPm.mjs → workflow-transitions-BI7PbrXv.mjs} +1 -1
  100. package/package.json +1 -1
  101. package/dist/artifact-DtmJR46g.mjs +0 -1
  102. package/dist/packages-7CsXP86g.mjs +0 -1
  103. package/dist/schemas-BahXrOYa.mjs +0 -1
  104. package/dist/{index-CBnCXp1R2.d.mts → index-Dmwnhnio2.d.mts} +6 -6
  105. /package/dist/{zod-json-schema-B9TYYq3e.mjs → zod-json-schema-B1mZz7S4.mjs} +0 -0
@@ -1,10 +1,14 @@
1
- import { C as ArtifactScope, G as ArtifactKindRegistration$1, _ as ArtifactRelationTarget, p as ArtifactRelation, s as ArtifactObservation$1, t as ArtifactActor, tt as ArtifactRef$1, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-B4gxLiTq.mjs";
1
+ import { C as ArtifactScope, G as ArtifactKindRegistration$1, _ as ArtifactRelationTarget, p as ArtifactRelation, s as ArtifactObservation$1, t as ArtifactActor, tt as ArtifactRef$1, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-Di_kpQ0C.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";
5
5
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
6
6
 
7
7
  //#region core/contracts/src/artifact/evidence.d.ts
8
+ /** JSON Schema annotation identifying values with canonical evidence semantics. */
9
+ declare const ARTIFACT_VALUE_TYPE_KEYWORD = "x-makaio-value-type";
10
+ /** Versioned semantic identity serialized on every {@link EvidenceValueSchema} use. */
11
+ declare const EVIDENCE_VALUE_TYPE = "evidence/v1";
8
12
  /**
9
13
  * A direct, immutable evidence pointer attached to an artifact revision.
10
14
  *
@@ -59,6 +63,32 @@ declare const EvidenceValueSchema: z.ZodUnion<readonly [z.ZodObject<{
59
63
  /** Direct, immutable evidence pointer attached to an artifact revision. */
60
64
  type EvidenceValue = z.infer<typeof EvidenceValueSchema>;
61
65
  //#endregion
66
+ //#region core/contracts/src/artifact/evidence-occurrences.d.ts
67
+ /** One schema-declared evidence value and its location in an Artifact revision. */
68
+ interface EvidenceOccurrence {
69
+ readonly evidence: EvidenceValue;
70
+ readonly dataPath: string;
71
+ }
72
+ interface EvidenceOccurrenceExtractionOptions {
73
+ /** Evaluate a branch at its pointer within the original root schema. */
74
+ readonly matchesSchema: (rootSchema: Record<string, unknown>, schemaPointer: string, value: unknown) => boolean;
75
+ }
76
+ /**
77
+ * Discover canonical evidence values by following a Kind's serialized data schema.
78
+ *
79
+ * Only nodes carrying the shared EvidenceValue semantic annotation are emitted.
80
+ * Schema annotations such as examples and defaults, and evidence-shaped values in
81
+ * unmarked fields, are never inspected as evidence.
82
+ * Active `$dynamicRef`, local references within nested `$id` resources, and marked
83
+ * `unevaluatedProperties` / `unevaluatedItems` applicators fail visibly because this
84
+ * bounded walker cannot preserve their evaluation-scope semantics.
85
+ * @param dataSchema - Serialized Artifact Kind data schema.
86
+ * @param data - Kind-validated Artifact data.
87
+ * @param options - Host-owned JSON Schema branch evaluator.
88
+ * @returns Evidence values paired with revision-local JSON Pointer paths.
89
+ */
90
+ declare function extractEvidenceOccurrences(dataSchema: Record<string, unknown>, data: Record<string, unknown>, options: EvidenceOccurrenceExtractionOptions): EvidenceOccurrence[];
91
+ //#endregion
62
92
  //#region core/contracts/src/artifact/lifecycle-hooks.d.ts
63
93
  /**
64
94
  * Semantic lifecycle event names used to describe what happened to an artifact
@@ -883,8 +913,9 @@ declare const ArtifactSchemas$1: {
883
913
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
884
914
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
885
915
  local: "local";
886
- artifact: "artifact";
887
916
  evidence: "evidence";
917
+ artifact: "artifact";
918
+ entity: "entity";
888
919
  }>>>;
889
920
  }, z.core.$strip>;
890
921
  response: z.ZodObject<{
@@ -907,8 +938,9 @@ declare const ArtifactSchemas$1: {
907
938
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
908
939
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
909
940
  local: "local";
910
- artifact: "artifact";
911
941
  evidence: "evidence";
942
+ artifact: "artifact";
943
+ entity: "entity";
912
944
  }>>>;
913
945
  }, z.core.$strip>>;
914
946
  }, z.core.$strip>;
@@ -962,6 +994,16 @@ declare const ArtifactSchemas$1: {
962
994
  excerpt: z.ZodOptional<z.ZodString>;
963
995
  }, z.core.$strict>]>>>;
964
996
  createdAt: z.ZodOptional<z.ZodNumber>;
997
+ schemaVersion: z.ZodNumber;
998
+ scope: z.ZodObject<{
999
+ level: z.ZodString;
1000
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1001
+ }, z.core.$strip>;
1002
+ actor: z.ZodObject<{
1003
+ kind: z.ZodString;
1004
+ id: z.ZodString;
1005
+ displayName: z.ZodOptional<z.ZodString>;
1006
+ }, z.core.$strip>;
965
1007
  relations: z.ZodArray<z.ZodObject<{
966
1008
  type: z.ZodString;
967
1009
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -990,16 +1032,6 @@ declare const ArtifactSchemas$1: {
990
1032
  id: z.ZodString;
991
1033
  }, z.core.$strict>], "refClass">>;
992
1034
  }, z.core.$strip>>;
993
- schemaVersion: z.ZodNumber;
994
- scope: z.ZodObject<{
995
- level: z.ZodString;
996
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
997
- }, z.core.$strip>;
998
- actor: z.ZodObject<{
999
- kind: z.ZodString;
1000
- id: z.ZodString;
1001
- displayName: z.ZodOptional<z.ZodString>;
1002
- }, z.core.$strip>;
1003
1035
  confidence: z.ZodOptional<z.ZodObject<{
1004
1036
  level: z.ZodEnum<{
1005
1037
  inferred: "inferred";
@@ -1250,6 +1282,16 @@ declare const ArtifactSchemas$1: {
1250
1282
  excerpt: z.ZodOptional<z.ZodString>;
1251
1283
  }, z.core.$strict>]>>>;
1252
1284
  createdAt: z.ZodOptional<z.ZodNumber>;
1285
+ schemaVersion: z.ZodNumber;
1286
+ scope: z.ZodObject<{
1287
+ level: z.ZodString;
1288
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1289
+ }, z.core.$strip>;
1290
+ actor: z.ZodObject<{
1291
+ kind: z.ZodString;
1292
+ id: z.ZodString;
1293
+ displayName: z.ZodOptional<z.ZodString>;
1294
+ }, z.core.$strip>;
1253
1295
  relations: z.ZodArray<z.ZodObject<{
1254
1296
  type: z.ZodString;
1255
1297
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1278,16 +1320,6 @@ declare const ArtifactSchemas$1: {
1278
1320
  id: z.ZodString;
1279
1321
  }, z.core.$strict>], "refClass">>;
1280
1322
  }, z.core.$strip>>;
1281
- schemaVersion: z.ZodNumber;
1282
- scope: z.ZodObject<{
1283
- level: z.ZodString;
1284
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1285
- }, z.core.$strip>;
1286
- actor: z.ZodObject<{
1287
- kind: z.ZodString;
1288
- id: z.ZodString;
1289
- displayName: z.ZodOptional<z.ZodString>;
1290
- }, z.core.$strip>;
1291
1323
  confidence: z.ZodOptional<z.ZodObject<{
1292
1324
  level: z.ZodEnum<{
1293
1325
  inferred: "inferred";
@@ -2848,8 +2880,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2848
2880
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2849
2881
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2850
2882
  local: "local";
2851
- artifact: "artifact";
2852
2883
  evidence: "evidence";
2884
+ artifact: "artifact";
2885
+ entity: "entity";
2853
2886
  }>>>;
2854
2887
  }, z.core.$strip>;
2855
2888
  response: z.ZodObject<{
@@ -2872,8 +2905,9 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2872
2905
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2873
2906
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2874
2907
  local: "local";
2875
- artifact: "artifact";
2876
2908
  evidence: "evidence";
2909
+ artifact: "artifact";
2910
+ entity: "entity";
2877
2911
  }>>>;
2878
2912
  }, z.core.$strip>>;
2879
2913
  }, z.core.$strip>;
@@ -2927,6 +2961,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2927
2961
  excerpt: z.ZodOptional<z.ZodString>;
2928
2962
  }, z.core.$strict>]>>>;
2929
2963
  createdAt: z.ZodOptional<z.ZodNumber>;
2964
+ schemaVersion: z.ZodNumber;
2965
+ scope: z.ZodObject<{
2966
+ level: z.ZodString;
2967
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2968
+ }, z.core.$strip>;
2969
+ actor: z.ZodObject<{
2970
+ kind: z.ZodString;
2971
+ id: z.ZodString;
2972
+ displayName: z.ZodOptional<z.ZodString>;
2973
+ }, z.core.$strip>;
2930
2974
  relations: z.ZodArray<z.ZodObject<{
2931
2975
  type: z.ZodString;
2932
2976
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2955,16 +2999,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
2955
2999
  id: z.ZodString;
2956
3000
  }, z.core.$strict>], "refClass">>;
2957
3001
  }, z.core.$strip>>;
2958
- schemaVersion: z.ZodNumber;
2959
- scope: z.ZodObject<{
2960
- level: z.ZodString;
2961
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2962
- }, z.core.$strip>;
2963
- actor: z.ZodObject<{
2964
- kind: z.ZodString;
2965
- id: z.ZodString;
2966
- displayName: z.ZodOptional<z.ZodString>;
2967
- }, z.core.$strip>;
2968
3002
  confidence: z.ZodOptional<z.ZodObject<{
2969
3003
  level: z.ZodEnum<{
2970
3004
  inferred: "inferred";
@@ -3215,6 +3249,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3215
3249
  excerpt: z.ZodOptional<z.ZodString>;
3216
3250
  }, z.core.$strict>]>>>;
3217
3251
  createdAt: z.ZodOptional<z.ZodNumber>;
3252
+ schemaVersion: z.ZodNumber;
3253
+ scope: z.ZodObject<{
3254
+ level: z.ZodString;
3255
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3256
+ }, z.core.$strip>;
3257
+ actor: z.ZodObject<{
3258
+ kind: z.ZodString;
3259
+ id: z.ZodString;
3260
+ displayName: z.ZodOptional<z.ZodString>;
3261
+ }, z.core.$strip>;
3218
3262
  relations: z.ZodArray<z.ZodObject<{
3219
3263
  type: z.ZodString;
3220
3264
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -3243,16 +3287,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3243
3287
  id: z.ZodString;
3244
3288
  }, z.core.$strict>], "refClass">>;
3245
3289
  }, z.core.$strip>>;
3246
- schemaVersion: z.ZodNumber;
3247
- scope: z.ZodObject<{
3248
- level: z.ZodString;
3249
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3250
- }, z.core.$strip>;
3251
- actor: z.ZodObject<{
3252
- kind: z.ZodString;
3253
- id: z.ZodString;
3254
- displayName: z.ZodOptional<z.ZodString>;
3255
- }, z.core.$strip>;
3256
3290
  confidence: z.ZodOptional<z.ZodObject<{
3257
3291
  level: z.ZodEnum<{
3258
3292
  inferred: "inferred";
@@ -4827,8 +4861,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4827
4861
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4828
4862
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4829
4863
  local: "local";
4830
- artifact: "artifact";
4831
4864
  evidence: "evidence";
4865
+ artifact: "artifact";
4866
+ entity: "entity";
4832
4867
  }>>>;
4833
4868
  }, z.core.$strip>;
4834
4869
  response: z.ZodObject<{
@@ -4851,8 +4886,9 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4851
4886
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
4852
4887
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4853
4888
  local: "local";
4854
- artifact: "artifact";
4855
4889
  evidence: "evidence";
4890
+ artifact: "artifact";
4891
+ entity: "entity";
4856
4892
  }>>>;
4857
4893
  }, z.core.$strip>>;
4858
4894
  }, z.core.$strip>;
@@ -4906,6 +4942,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4906
4942
  excerpt: z.ZodOptional<z.ZodString>;
4907
4943
  }, z.core.$strict>]>>>;
4908
4944
  createdAt: z.ZodOptional<z.ZodNumber>;
4945
+ schemaVersion: z.ZodNumber;
4946
+ scope: z.ZodObject<{
4947
+ level: z.ZodString;
4948
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4949
+ }, z.core.$strip>;
4950
+ actor: z.ZodObject<{
4951
+ kind: z.ZodString;
4952
+ id: z.ZodString;
4953
+ displayName: z.ZodOptional<z.ZodString>;
4954
+ }, z.core.$strip>;
4909
4955
  relations: z.ZodArray<z.ZodObject<{
4910
4956
  type: z.ZodString;
4911
4957
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4934,16 +4980,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
4934
4980
  id: z.ZodString;
4935
4981
  }, z.core.$strict>], "refClass">>;
4936
4982
  }, z.core.$strip>>;
4937
- schemaVersion: z.ZodNumber;
4938
- scope: z.ZodObject<{
4939
- level: z.ZodString;
4940
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4941
- }, z.core.$strip>;
4942
- actor: z.ZodObject<{
4943
- kind: z.ZodString;
4944
- id: z.ZodString;
4945
- displayName: z.ZodOptional<z.ZodString>;
4946
- }, z.core.$strip>;
4947
4983
  confidence: z.ZodOptional<z.ZodObject<{
4948
4984
  level: z.ZodEnum<{
4949
4985
  inferred: "inferred";
@@ -5194,6 +5230,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
5194
5230
  excerpt: z.ZodOptional<z.ZodString>;
5195
5231
  }, z.core.$strict>]>>>;
5196
5232
  createdAt: z.ZodOptional<z.ZodNumber>;
5233
+ schemaVersion: z.ZodNumber;
5234
+ scope: z.ZodObject<{
5235
+ level: z.ZodString;
5236
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5237
+ }, z.core.$strip>;
5238
+ actor: z.ZodObject<{
5239
+ kind: z.ZodString;
5240
+ id: z.ZodString;
5241
+ displayName: z.ZodOptional<z.ZodString>;
5242
+ }, z.core.$strip>;
5197
5243
  relations: z.ZodArray<z.ZodObject<{
5198
5244
  type: z.ZodString;
5199
5245
  target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5222,16 +5268,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
5222
5268
  id: z.ZodString;
5223
5269
  }, z.core.$strict>], "refClass">>;
5224
5270
  }, z.core.$strip>>;
5225
- schemaVersion: z.ZodNumber;
5226
- scope: z.ZodObject<{
5227
- level: z.ZodString;
5228
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5229
- }, z.core.$strip>;
5230
- actor: z.ZodObject<{
5231
- kind: z.ZodString;
5232
- id: z.ZodString;
5233
- displayName: z.ZodOptional<z.ZodString>;
5234
- }, z.core.$strip>;
5235
5271
  confidence: z.ZodOptional<z.ZodObject<{
5236
5272
  level: z.ZodEnum<{
5237
5273
  inferred: "inferred";
@@ -6728,4 +6764,4 @@ type ArtifactKindChangedPayload = z.infer<(typeof ArtifactSchemas$1)['kind.chang
6728
6764
  */
6729
6765
  declare function readArtifactTitle(data: Record<string, unknown>, titlePath: string): string;
6730
6766
  //#endregion
6731
- export { AfterArtifactHookContext as $, ArtifactContextRootNode as A, ARTIFACT_CONTEXT_RENDER_HINTS as B, ArtifactReviseResponse as C, ArtifactSubjects$1 as D, ArtifactStatusChangedPayload as E, ArtifactContextRefEntrySchema as F, ArtifactContextRenderHintSchema as G, ArtifactContextRelationSelector as H, ArtifactContextUnresolvedReason as I, AnyArtifactKindDefinition as J, ArtifactContextSelector$1 as K, ArtifactContextUnresolvedReasonSchema as L, ResolvedArtifactContextNode as M, UnresolvedArtifactContextNode as N, hydrateArtifactContextTree as O, ArtifactContextRefEntry as P, defineArtifactKind as Q, ResolvedArtifactContextWire$1 as R, ArtifactReviseRequest as S, ArtifactSchemas$1 as T, ArtifactContextRelationSelectorSchema as U, ArtifactContextKnownRenderHint as V, ArtifactContextRenderHint as W, ArtifactKindDefinition as X, ArtifactDataOf as Y, ArtifactOf as Z, ArtifactRelationTypeRegisterResponse as _, ArtifactKindChangedPayload as a, ArtifactLifecycleHookEvent as at, ArtifactResolveRequest as b, ArtifactKindRegisterRequest as c, BeforeArtifactHookContext as ct, ArtifactObservationAddedPayload as d, EvidenceValue as dt, AfterArtifactHookRegistration as et, ArtifactQueryResponse as f, EvidenceValueSchema as ft, ArtifactRelationTypeRegisterRequest as g, ArtifactRelationTypeListResponse as h, ArtifactCreatedPayload as i, ArtifactLifecycleHookDefinition as it, ArtifactContextTree as j, ArtifactContextNode as k, ArtifactKindRegisterResponse as l, BeforeArtifactHookRegistration as lt, ArtifactRelationTypeListRequest as m, ArtifactCreateRequest as n, ArtifactDraftPatch as nt, ArtifactKindListRequest as o, ArtifactLifecycleHookRegistration$1 as ot, ArtifactRelationAddedPayload as p, ArtifactContextSelectorSchema as q, ArtifactCreateResponse as r, ArtifactHookFilter as rt, ArtifactKindListResponse as s, ArtifactLifecycleSemanticEvent as st, readArtifactTitle as t, ArtifactDraft as tt, ArtifactNamespace as u, defineArtifactLifecycleHooks as ut, ArtifactResolveContextRequest as v, ArtifactRevisedPayload as w, ArtifactResolveResponse as x, ArtifactResolveContextResponse as y, ResolvedArtifactContextWireSchema as z };
6767
+ export { AfterArtifactHookContext as $, ArtifactContextRootNode as A, ARTIFACT_CONTEXT_RENDER_HINTS as B, ArtifactReviseResponse as C, ArtifactSubjects$1 as D, ArtifactStatusChangedPayload as E, ArtifactContextRefEntrySchema as F, ArtifactContextRenderHintSchema as G, ArtifactContextRelationSelector as H, ArtifactContextUnresolvedReason as I, AnyArtifactKindDefinition as J, ArtifactContextSelector$1 as K, ArtifactContextUnresolvedReasonSchema as L, ResolvedArtifactContextNode as M, UnresolvedArtifactContextNode as N, hydrateArtifactContextTree as O, ArtifactContextRefEntry as P, defineArtifactKind as Q, ResolvedArtifactContextWire$1 as R, ArtifactReviseRequest as S, ArtifactSchemas$1 as T, ArtifactContextRelationSelectorSchema as U, ArtifactContextKnownRenderHint as V, ArtifactContextRenderHint as W, ArtifactKindDefinition as X, ArtifactDataOf as Y, ArtifactOf as Z, ArtifactRelationTypeRegisterResponse as _, EvidenceValueSchema as _t, ArtifactKindChangedPayload as a, ArtifactLifecycleHookEvent as at, ArtifactResolveRequest as b, ArtifactKindRegisterRequest as c, BeforeArtifactHookContext as ct, ArtifactObservationAddedPayload as d, EvidenceOccurrence as dt, AfterArtifactHookRegistration as et, ArtifactQueryResponse as f, EvidenceOccurrenceExtractionOptions as ft, ArtifactRelationTypeRegisterRequest as g, EvidenceValue as gt, ArtifactRelationTypeListResponse as h, EVIDENCE_VALUE_TYPE as ht, ArtifactCreatedPayload as i, ArtifactLifecycleHookDefinition as it, ArtifactContextTree as j, ArtifactContextNode as k, ArtifactKindRegisterResponse as l, BeforeArtifactHookRegistration as lt, ArtifactRelationTypeListRequest as m, ARTIFACT_VALUE_TYPE_KEYWORD as mt, ArtifactCreateRequest as n, ArtifactDraftPatch as nt, ArtifactKindListRequest as o, ArtifactLifecycleHookRegistration$1 as ot, ArtifactRelationAddedPayload as p, extractEvidenceOccurrences as pt, ArtifactContextSelectorSchema as q, ArtifactCreateResponse as r, ArtifactHookFilter as rt, ArtifactKindListResponse as s, ArtifactLifecycleSemanticEvent as st, readArtifactTitle as t, ArtifactDraft as tt, ArtifactNamespace as u, defineArtifactLifecycleHooks as ut, ArtifactResolveContextRequest as v, ArtifactRevisedPayload as w, ArtifactResolveResponse as x, ArtifactResolveContextResponse as y, ResolvedArtifactContextWireSchema as z };
@@ -18,10 +18,10 @@ import { ExtensionWarningEntry, ExtensionWarningEntrySchema } from "@makaio/fram
18
18
  * detail, not an externally observable state.
19
19
  */
20
20
  declare const ComponentStateSchema: z.ZodEnum<{
21
- failed: "failed";
22
21
  discovered: "discovered";
23
- skipped: "skipped";
22
+ failed: "failed";
24
23
  active: "active";
24
+ skipped: "skipped";
25
25
  stopped: "stopped";
26
26
  initializing: "initializing";
27
27
  }>;
@@ -47,10 +47,10 @@ declare const ComponentInfoSchema: z.ZodObject<{
47
47
  name: z.ZodString;
48
48
  displayName: z.ZodString;
49
49
  state: z.ZodEnum<{
50
- failed: "failed";
51
50
  discovered: "discovered";
52
- skipped: "skipped";
51
+ failed: "failed";
53
52
  active: "active";
53
+ skipped: "skipped";
54
54
  stopped: "stopped";
55
55
  initializing: "initializing";
56
56
  }>;
@@ -68,10 +68,10 @@ declare const ServiceInfoSchema: z.ZodObject<{
68
68
  name: z.ZodString;
69
69
  displayName: z.ZodString;
70
70
  state: z.ZodEnum<{
71
- failed: "failed";
72
71
  discovered: "discovered";
73
- skipped: "skipped";
72
+ failed: "failed";
74
73
  active: "active";
74
+ skipped: "skipped";
75
75
  stopped: "stopped";
76
76
  initializing: "initializing";
77
77
  }>;
@@ -90,10 +90,10 @@ declare const ExtensionInfoSchema: z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  displayName: z.ZodString;
92
92
  state: z.ZodEnum<{
93
- failed: "failed";
94
93
  discovered: "discovered";
95
- skipped: "skipped";
94
+ failed: "failed";
96
95
  active: "active";
96
+ skipped: "skipped";
97
97
  stopped: "stopped";
98
98
  initializing: "initializing";
99
99
  }>;
@@ -138,18 +138,18 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
138
138
  name: z.ZodString;
139
139
  displayName: z.ZodString;
140
140
  from: z.ZodEnum<{
141
- failed: "failed";
142
141
  discovered: "discovered";
143
- skipped: "skipped";
142
+ failed: "failed";
144
143
  active: "active";
144
+ skipped: "skipped";
145
145
  stopped: "stopped";
146
146
  initializing: "initializing";
147
147
  }>;
148
148
  to: z.ZodEnum<{
149
- failed: "failed";
150
149
  discovered: "discovered";
151
- skipped: "skipped";
150
+ failed: "failed";
152
151
  active: "active";
152
+ skipped: "skipped";
153
153
  stopped: "stopped";
154
154
  initializing: "initializing";
155
155
  }>;
@@ -181,10 +181,10 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
181
181
  name: z.ZodString;
182
182
  displayName: z.ZodString;
183
183
  state: z.ZodEnum<{
184
- failed: "failed";
185
184
  discovered: "discovered";
186
- skipped: "skipped";
185
+ failed: "failed";
187
186
  active: "active";
187
+ skipped: "skipped";
188
188
  stopped: "stopped";
189
189
  initializing: "initializing";
190
190
  }>;
@@ -219,10 +219,10 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
219
219
  name: z.ZodString;
220
220
  displayName: z.ZodString;
221
221
  state: z.ZodEnum<{
222
- failed: "failed";
223
222
  discovered: "discovered";
224
- skipped: "skipped";
223
+ failed: "failed";
225
224
  active: "active";
225
+ skipped: "skipped";
226
226
  stopped: "stopped";
227
227
  initializing: "initializing";
228
228
  }>;
@@ -641,18 +641,18 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
641
641
  name: z.ZodString;
642
642
  displayName: z.ZodString;
643
643
  from: z.ZodEnum<{
644
- failed: "failed";
645
644
  discovered: "discovered";
646
- skipped: "skipped";
645
+ failed: "failed";
647
646
  active: "active";
647
+ skipped: "skipped";
648
648
  stopped: "stopped";
649
649
  initializing: "initializing";
650
650
  }>;
651
651
  to: z.ZodEnum<{
652
- failed: "failed";
653
652
  discovered: "discovered";
654
- skipped: "skipped";
653
+ failed: "failed";
655
654
  active: "active";
655
+ skipped: "skipped";
656
656
  stopped: "stopped";
657
657
  initializing: "initializing";
658
658
  }>;
@@ -684,10 +684,10 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
684
684
  name: z.ZodString;
685
685
  displayName: z.ZodString;
686
686
  state: z.ZodEnum<{
687
- failed: "failed";
688
687
  discovered: "discovered";
689
- skipped: "skipped";
688
+ failed: "failed";
690
689
  active: "active";
690
+ skipped: "skipped";
691
691
  stopped: "stopped";
692
692
  initializing: "initializing";
693
693
  }>;
@@ -722,10 +722,10 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
722
722
  name: z.ZodString;
723
723
  displayName: z.ZodString;
724
724
  state: z.ZodEnum<{
725
- failed: "failed";
726
725
  discovered: "discovered";
727
- skipped: "skipped";
726
+ failed: "failed";
728
727
  active: "active";
728
+ skipped: "skipped";
729
729
  stopped: "stopped";
730
730
  initializing: "initializing";
731
731
  }>;
@@ -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>;
@@ -507,8 +507,8 @@ declare const ClientSchemas: {
507
507
  machineId: z.ZodOptional<z.ZodString>;
508
508
  startMode: z.ZodOptional<z.ZodEnum<{
509
509
  fork: "fork";
510
- fresh: "fresh";
511
510
  resume: "resume";
511
+ fresh: "fresh";
512
512
  clear: "clear";
513
513
  compact: "compact";
514
514
  }>>;
@@ -698,8 +698,8 @@ declare const ClientSchemas: {
698
698
  sessionId: z.ZodOptional<z.ZodString>;
699
699
  projectDir: z.ZodOptional<z.ZodString>;
700
700
  preferSource: z.ZodOptional<z.ZodEnum<{
701
- managed: "managed";
702
701
  global: "global";
702
+ managed: "managed";
703
703
  }>>;
704
704
  harnessId: z.ZodOptional<z.ZodString>;
705
705
  }, z.core.$strip>;
@@ -708,8 +708,8 @@ declare const ClientSchemas: {
708
708
  env: z.ZodRecord<z.ZodString, z.ZodString>;
709
709
  configDir: z.ZodNullable<z.ZodString>;
710
710
  source: z.ZodEnum<{
711
- managed: "managed";
712
711
  global: "global";
712
+ managed: "managed";
713
713
  }>;
714
714
  version: z.ZodNullable<z.ZodString>;
715
715
  }, z.core.$strip>;
@@ -1487,8 +1487,8 @@ declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "
1487
1487
  /** Zod schema for the client-reported session start mode. */
1488
1488
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1489
1489
  fork: "fork";
1490
- fresh: "fresh";
1491
1490
  resume: "resume";
1491
+ fresh: "fresh";
1492
1492
  clear: "clear";
1493
1493
  compact: "compact";
1494
1494
  }>;
@@ -1506,8 +1506,8 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1506
1506
  machineId: z.ZodOptional<z.ZodString>;
1507
1507
  startMode: z.ZodOptional<z.ZodEnum<{
1508
1508
  fork: "fork";
1509
- fresh: "fresh";
1510
1509
  resume: "resume";
1510
+ fresh: "fresh";
1511
1511
  clear: "clear";
1512
1512
  compact: "compact";
1513
1513
  }>>;
@@ -2077,8 +2077,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2077
2077
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2078
2078
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2079
2079
  fork: "fork";
2080
- fresh: "fresh";
2081
2080
  resume: "resume";
2081
+ fresh: "fresh";
2082
2082
  clear: "clear";
2083
2083
  compact: "compact";
2084
2084
  }>>;
@@ -2268,8 +2268,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2268
2268
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2269
2269
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2270
2270
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2271
- managed: "managed";
2272
2271
  global: "global";
2272
+ managed: "managed";
2273
2273
  }>>;
2274
2274
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2275
2275
  }, _$zod_v4_core0.$strip>;
@@ -2278,8 +2278,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2278
2278
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2279
2279
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2280
2280
  source: _$zod.ZodEnum<{
2281
- managed: "managed";
2282
2281
  global: "global";
2282
+ managed: "managed";
2283
2283
  }>;
2284
2284
  version: _$zod.ZodNullable<_$zod.ZodString>;
2285
2285
  }, _$zod_v4_core0.$strip>;
@@ -2717,8 +2717,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2717
2717
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2718
2718
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2719
2719
  fork: "fork";
2720
- fresh: "fresh";
2721
2720
  resume: "resume";
2721
+ fresh: "fresh";
2722
2722
  clear: "clear";
2723
2723
  compact: "compact";
2724
2724
  }>>;
@@ -2908,8 +2908,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2908
2908
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2909
2909
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2910
2910
  preferSource: _$zod.ZodOptional<_$zod.ZodEnum<{
2911
- managed: "managed";
2912
2911
  global: "global";
2912
+ managed: "managed";
2913
2913
  }>>;
2914
2914
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2915
2915
  }, _$zod_v4_core0.$strip>;
@@ -2918,8 +2918,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2918
2918
  env: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>;
2919
2919
  configDir: _$zod.ZodNullable<_$zod.ZodString>;
2920
2920
  source: _$zod.ZodEnum<{
2921
- managed: "managed";
2922
2921
  global: "global";
2922
+ managed: "managed";
2923
2923
  }>;
2924
2924
  version: _$zod.ZodNullable<_$zod.ZodString>;
2925
2925
  }, _$zod_v4_core0.$strip>;