@makaio/framework 1.0.0-dev-1789238522058 → 1.0.0-dev-1789609124644

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 (77) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.mjs +1 -1
  3. package/dist/bus/index.mjs +1 -1
  4. package/dist/bus-BQ64i3DN.mjs +9 -0
  5. package/dist/client-Bg3_IdaF.mjs +1 -0
  6. package/dist/contracts/adapter/index.d.mts +2 -2
  7. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  8. package/dist/contracts/artifact/index.d.mts +2 -2
  9. package/dist/contracts/automation-trigger/index.d.mts +1 -1
  10. package/dist/contracts/capabilities/index.d.mts +1 -1
  11. package/dist/contracts/client/index.d.mts +3 -3
  12. package/dist/contracts/client/index.mjs +1 -1
  13. package/dist/contracts/extension/index.d.mts +4 -4
  14. package/dist/contracts/index.d.mts +34 -34
  15. package/dist/contracts/index.mjs +1 -1
  16. package/dist/contracts/materialization/index.d.mts +2 -2
  17. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  18. package/dist/contracts/reaction/index.d.mts +1 -1
  19. package/dist/contracts/session/index.d.mts +2 -2
  20. package/dist/contracts/worker/index.d.mts +1 -1
  21. package/dist/contracts/workflow/index.d.mts +2 -2
  22. package/dist/{contribution-ZhnuhOfc.d.mts → contribution-DDbHzCPF.d.mts} +1 -1
  23. package/dist/{extension-context-CBzrM1F0.d.mts → extension-context-BH31eOMv.d.mts} +3 -3
  24. package/dist/{hook-responses-C1fnL4N2.d.mts → hook-responses-Dq16X3Cb.d.mts} +1 -1
  25. package/dist/{index-Du4wUv9q.d.mts → index-7CVumCjj.d.mts} +6 -6
  26. package/dist/{index-DO-OFkMA.d.mts → index-B-u0Tu8X.d.mts} +30 -30
  27. package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
  28. package/dist/{index-DGsmGacL.d.mts → index-Bg3WVL8n.d.mts} +8 -8
  29. package/dist/{index-CAuJ4nsk.d.mts → index-Bh57xARQ.d.mts} +24 -24
  30. package/dist/{index-f5W_Zqj72.d.mts → index-C87P0WpY2.d.mts} +1 -1
  31. package/dist/{index-BRIHyYnt.d.mts → index-CRZ1jrxp.d.mts} +243 -14
  32. package/dist/{index-DKuobpsN2.d.mts → index-CXpgL3gz2.d.mts} +4 -4
  33. package/dist/{index-BDSMRw8q.d.mts → index-C_kOkO3E.d.mts} +3 -3
  34. package/dist/{index-CCe0cTiI.d.mts → index-ClKwF6LE.d.mts} +79 -79
  35. package/dist/{index-D29N22wH.d.mts → index-D_j_T3nS.d.mts} +1 -1
  36. package/dist/{index-CzUUoexw.d.mts → index-HJkz7i4E.d.mts} +70 -1
  37. package/dist/{index-RiTM6SGs2.d.mts → index-iVisrVdC2.d.mts} +5 -5
  38. package/dist/{index-BJds6o8j2.d.mts → index-mTaFX2HH2.d.mts} +28 -28
  39. package/dist/{index-CWlvL7GB.d.mts → index-nkix3hP7.d.mts} +6 -6
  40. package/dist/{index-T-aAKybB.d.mts → index-xsaaa85T.d.mts} +8 -8
  41. package/dist/kernel/extension/index.d.mts +1 -1
  42. package/dist/kernel/index.d.mts +2 -2
  43. package/dist/kernel/observability/index.d.mts +1 -1
  44. package/dist/{namespace-LSHmxtMn.d.mts → namespace-BEbQb19g.d.mts} +6 -6
  45. package/dist/{namespace-CPGTaFqO.d.mts → namespace-Phxf0Lep.d.mts} +2 -2
  46. package/dist/package.json +1 -1
  47. package/dist/runtime-node/index.d.mts +2 -2
  48. package/dist/runtime-node/index.mjs +22 -22
  49. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  50. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  51. package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
  52. package/dist/{schemas-DnY1EYUr.d.mts → schemas-CaYEFzK_.d.mts} +2 -2
  53. package/dist/services/adapter-runtime/index.d.mts +3 -3
  54. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  55. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  56. package/dist/services/context-rules/index.d.mts +3 -3
  57. package/dist/services/execution-target/index.d.mts +1 -1
  58. package/dist/services/filesystem/namespace.d.mts +6 -6
  59. package/dist/services/filesystem/schemas.d.mts +3 -3
  60. package/dist/services/index.d.mts +16 -16
  61. package/dist/services/session/index.d.mts +2 -2
  62. package/dist/services/session/messages/namespace.d.mts +1 -1
  63. package/dist/services/settings/namespace.d.mts +2 -2
  64. package/dist/services/subagent-template/index.d.mts +1 -1
  65. package/dist/services/subagent-template/schemas.d.mts +1 -1
  66. package/dist/{session-lineage-BQimcKsh.d.mts → session-lineage-C3myyt5x.d.mts} +1 -1
  67. package/dist/{transition-Rp5wD763.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
  68. package/dist/{types-CJrhRe5f.d.mts → types-DhbllltK.d.mts} +3 -3
  69. package/dist/{view-builder-CIDqBcRz.d.mts → view-builder-CHUTXJDl.d.mts} +2 -2
  70. package/dist/workflow-engine/index.d.mts +32 -32
  71. package/dist/workflow-worker-ChrMIcKm.mjs +2 -0
  72. package/package.json +1 -1
  73. package/dist/bus-DlTN167w.mjs +0 -9
  74. package/dist/client-CgtNXGXg.mjs +0 -1
  75. package/dist/workflow-worker-COM5U2Rv.mjs +0 -2
  76. package/dist/{index-CCH0Dnty2.d.mts → index-Htfr-K5U2.d.mts} +6 -6
  77. package/dist/{schemas-CRobhM7q.d.mts → schemas-JjyFxrC0.d.mts} +1 -1
@@ -1,4 +1,4 @@
1
- import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget, ot as ArtifactRef$1, p as ArtifactRelation, rt as ArtifactUniquenessRule, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-CRobhM7q.mjs";
1
+ import { C as ArtifactScope, K as ArtifactKindRegistration$1, V as ArtifactCategory, X as ArtifactLifecycleState, _ as ArtifactRelationTarget, ot as ArtifactRef$1, p as ArtifactRelation, rt as ArtifactUniquenessRule, s as ArtifactObservation$1, t as ArtifactActor, x as ArtifactRevision$1, y as ArtifactRepresentations } from "./schemas-JjyFxrC0.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value-Ymw2f8i_.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1169,8 +1169,8 @@ declare const ArtifactSchemas$1: {
1169
1169
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1170
1170
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1171
1171
  local: "local";
1172
- artifact: "artifact";
1173
1172
  evidence: "evidence";
1173
+ artifact: "artifact";
1174
1174
  entity: "entity";
1175
1175
  }>>>;
1176
1176
  }, z.core.$strip>;
@@ -1194,8 +1194,8 @@ declare const ArtifactSchemas$1: {
1194
1194
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1195
1195
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1196
1196
  local: "local";
1197
- artifact: "artifact";
1198
1197
  evidence: "evidence";
1198
+ artifact: "artifact";
1199
1199
  entity: "entity";
1200
1200
  }>>>;
1201
1201
  }, z.core.$strip>>;
@@ -1252,6 +1252,17 @@ declare const ArtifactSchemas$1: {
1252
1252
  }, z.core.$strict>]>;
1253
1253
  excerpt: z.ZodOptional<z.ZodString>;
1254
1254
  }, z.core.$strict>]>>>;
1255
+ createdAt: z.ZodOptional<z.ZodNumber>;
1256
+ schemaVersion: z.ZodNumber;
1257
+ scope: z.ZodObject<{
1258
+ level: z.ZodString;
1259
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1260
+ }, z.core.$strip>;
1261
+ actor: z.ZodObject<{
1262
+ kind: z.ZodString;
1263
+ id: z.ZodString;
1264
+ displayName: z.ZodOptional<z.ZodString>;
1265
+ }, z.core.$strip>;
1255
1266
  relations: z.ZodArray<z.ZodObject<{
1256
1267
  type: z.ZodString;
1257
1268
  sourceLocalId: z.ZodOptional<z.ZodString>;
@@ -1281,17 +1292,6 @@ declare const ArtifactSchemas$1: {
1281
1292
  id: z.ZodString;
1282
1293
  }, z.core.$strict>], "refClass">>;
1283
1294
  }, z.core.$strip>>;
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>;
1295
1295
  confidence: z.ZodOptional<z.ZodObject<{
1296
1296
  level: z.ZodEnum<{
1297
1297
  inferred: "inferred";
@@ -1548,6 +1548,17 @@ declare const ArtifactSchemas$1: {
1548
1548
  }, z.core.$strict>]>;
1549
1549
  excerpt: z.ZodOptional<z.ZodString>;
1550
1550
  }, z.core.$strict>]>>>;
1551
+ createdAt: z.ZodOptional<z.ZodNumber>;
1552
+ schemaVersion: z.ZodNumber;
1553
+ scope: z.ZodObject<{
1554
+ level: z.ZodString;
1555
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1556
+ }, z.core.$strip>;
1557
+ actor: z.ZodObject<{
1558
+ kind: z.ZodString;
1559
+ id: z.ZodString;
1560
+ displayName: z.ZodOptional<z.ZodString>;
1561
+ }, z.core.$strip>;
1551
1562
  relations: z.ZodArray<z.ZodObject<{
1552
1563
  type: z.ZodString;
1553
1564
  sourceLocalId: z.ZodOptional<z.ZodString>;
@@ -1577,17 +1588,6 @@ declare const ArtifactSchemas$1: {
1577
1588
  id: z.ZodString;
1578
1589
  }, z.core.$strict>], "refClass">>;
1579
1590
  }, z.core.$strip>>;
1580
- createdAt: z.ZodOptional<z.ZodNumber>;
1581
- schemaVersion: z.ZodNumber;
1582
- scope: z.ZodObject<{
1583
- level: z.ZodString;
1584
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1585
- }, z.core.$strip>;
1586
- actor: z.ZodObject<{
1587
- kind: z.ZodString;
1588
- id: z.ZodString;
1589
- displayName: z.ZodOptional<z.ZodString>;
1590
- }, z.core.$strip>;
1591
1591
  confidence: z.ZodOptional<z.ZodObject<{
1592
1592
  level: z.ZodEnum<{
1593
1593
  inferred: "inferred";
@@ -1874,8 +1874,8 @@ declare const ArtifactSchemas$1: {
1874
1874
  error: z.ZodObject<{
1875
1875
  code: z.ZodEnum<{
1876
1876
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
1877
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
1878
1877
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
1878
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
1879
1879
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
1880
1880
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
1881
1881
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -3957,8 +3957,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3957
3957
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3958
3958
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3959
3959
  local: "local";
3960
- artifact: "artifact";
3961
3960
  evidence: "evidence";
3961
+ artifact: "artifact";
3962
3962
  entity: "entity";
3963
3963
  }>>>;
3964
3964
  }, z.core.$strip>;
@@ -3982,8 +3982,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
3982
3982
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
3983
3983
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3984
3984
  local: "local";
3985
- artifact: "artifact";
3986
3985
  evidence: "evidence";
3986
+ artifact: "artifact";
3987
3987
  entity: "entity";
3988
3988
  }>>>;
3989
3989
  }, z.core.$strip>>;
@@ -4040,6 +4040,17 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4040
4040
  }, z.core.$strict>]>;
4041
4041
  excerpt: z.ZodOptional<z.ZodString>;
4042
4042
  }, z.core.$strict>]>>>;
4043
+ createdAt: z.ZodOptional<z.ZodNumber>;
4044
+ schemaVersion: z.ZodNumber;
4045
+ scope: z.ZodObject<{
4046
+ level: z.ZodString;
4047
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4048
+ }, z.core.$strip>;
4049
+ actor: z.ZodObject<{
4050
+ kind: z.ZodString;
4051
+ id: z.ZodString;
4052
+ displayName: z.ZodOptional<z.ZodString>;
4053
+ }, z.core.$strip>;
4043
4054
  relations: z.ZodArray<z.ZodObject<{
4044
4055
  type: z.ZodString;
4045
4056
  sourceLocalId: z.ZodOptional<z.ZodString>;
@@ -4069,17 +4080,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4069
4080
  id: z.ZodString;
4070
4081
  }, z.core.$strict>], "refClass">>;
4071
4082
  }, z.core.$strip>>;
4072
- createdAt: z.ZodOptional<z.ZodNumber>;
4073
- schemaVersion: z.ZodNumber;
4074
- scope: z.ZodObject<{
4075
- level: z.ZodString;
4076
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4077
- }, z.core.$strip>;
4078
- actor: z.ZodObject<{
4079
- kind: z.ZodString;
4080
- id: z.ZodString;
4081
- displayName: z.ZodOptional<z.ZodString>;
4082
- }, z.core.$strip>;
4083
4083
  confidence: z.ZodOptional<z.ZodObject<{
4084
4084
  level: z.ZodEnum<{
4085
4085
  inferred: "inferred";
@@ -4336,6 +4336,17 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4336
4336
  }, z.core.$strict>]>;
4337
4337
  excerpt: z.ZodOptional<z.ZodString>;
4338
4338
  }, z.core.$strict>]>>>;
4339
+ createdAt: z.ZodOptional<z.ZodNumber>;
4340
+ schemaVersion: z.ZodNumber;
4341
+ scope: z.ZodObject<{
4342
+ level: z.ZodString;
4343
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4344
+ }, z.core.$strip>;
4345
+ actor: z.ZodObject<{
4346
+ kind: z.ZodString;
4347
+ id: z.ZodString;
4348
+ displayName: z.ZodOptional<z.ZodString>;
4349
+ }, z.core.$strip>;
4339
4350
  relations: z.ZodArray<z.ZodObject<{
4340
4351
  type: z.ZodString;
4341
4352
  sourceLocalId: z.ZodOptional<z.ZodString>;
@@ -4365,17 +4376,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4365
4376
  id: z.ZodString;
4366
4377
  }, z.core.$strict>], "refClass">>;
4367
4378
  }, z.core.$strip>>;
4368
- createdAt: z.ZodOptional<z.ZodNumber>;
4369
- schemaVersion: z.ZodNumber;
4370
- scope: z.ZodObject<{
4371
- level: z.ZodString;
4372
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4373
- }, z.core.$strip>;
4374
- actor: z.ZodObject<{
4375
- kind: z.ZodString;
4376
- id: z.ZodString;
4377
- displayName: z.ZodOptional<z.ZodString>;
4378
- }, z.core.$strip>;
4379
4379
  confidence: z.ZodOptional<z.ZodObject<{
4380
4380
  level: z.ZodEnum<{
4381
4381
  inferred: "inferred";
@@ -4662,8 +4662,8 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
4662
4662
  error: z.ZodObject<{
4663
4663
  code: z.ZodEnum<{
4664
4664
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
4665
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
4666
4665
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
4666
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
4667
4667
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
4668
4668
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
4669
4669
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -6767,8 +6767,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6767
6767
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6768
6768
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6769
6769
  local: "local";
6770
- artifact: "artifact";
6771
6770
  evidence: "evidence";
6771
+ artifact: "artifact";
6772
6772
  entity: "entity";
6773
6773
  }>>>;
6774
6774
  }, z.core.$strip>;
@@ -6792,8 +6792,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6792
6792
  targetKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
6793
6793
  targetRefClasses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6794
6794
  local: "local";
6795
- artifact: "artifact";
6796
6795
  evidence: "evidence";
6796
+ artifact: "artifact";
6797
6797
  entity: "entity";
6798
6798
  }>>>;
6799
6799
  }, z.core.$strip>>;
@@ -6850,6 +6850,17 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6850
6850
  }, z.core.$strict>]>;
6851
6851
  excerpt: z.ZodOptional<z.ZodString>;
6852
6852
  }, z.core.$strict>]>>>;
6853
+ createdAt: z.ZodOptional<z.ZodNumber>;
6854
+ schemaVersion: z.ZodNumber;
6855
+ scope: z.ZodObject<{
6856
+ level: z.ZodString;
6857
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6858
+ }, z.core.$strip>;
6859
+ actor: z.ZodObject<{
6860
+ kind: z.ZodString;
6861
+ id: z.ZodString;
6862
+ displayName: z.ZodOptional<z.ZodString>;
6863
+ }, z.core.$strip>;
6853
6864
  relations: z.ZodArray<z.ZodObject<{
6854
6865
  type: z.ZodString;
6855
6866
  sourceLocalId: z.ZodOptional<z.ZodString>;
@@ -6879,17 +6890,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
6879
6890
  id: z.ZodString;
6880
6891
  }, z.core.$strict>], "refClass">>;
6881
6892
  }, z.core.$strip>>;
6882
- createdAt: z.ZodOptional<z.ZodNumber>;
6883
- schemaVersion: z.ZodNumber;
6884
- scope: z.ZodObject<{
6885
- level: z.ZodString;
6886
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6887
- }, z.core.$strip>;
6888
- actor: z.ZodObject<{
6889
- kind: z.ZodString;
6890
- id: z.ZodString;
6891
- displayName: z.ZodOptional<z.ZodString>;
6892
- }, z.core.$strip>;
6893
6893
  confidence: z.ZodOptional<z.ZodObject<{
6894
6894
  level: z.ZodEnum<{
6895
6895
  inferred: "inferred";
@@ -7146,6 +7146,17 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7146
7146
  }, z.core.$strict>]>;
7147
7147
  excerpt: z.ZodOptional<z.ZodString>;
7148
7148
  }, z.core.$strict>]>>>;
7149
+ createdAt: z.ZodOptional<z.ZodNumber>;
7150
+ schemaVersion: z.ZodNumber;
7151
+ scope: z.ZodObject<{
7152
+ level: z.ZodString;
7153
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7154
+ }, z.core.$strip>;
7155
+ actor: z.ZodObject<{
7156
+ kind: z.ZodString;
7157
+ id: z.ZodString;
7158
+ displayName: z.ZodOptional<z.ZodString>;
7159
+ }, z.core.$strip>;
7149
7160
  relations: z.ZodArray<z.ZodObject<{
7150
7161
  type: z.ZodString;
7151
7162
  sourceLocalId: z.ZodOptional<z.ZodString>;
@@ -7175,17 +7186,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7175
7186
  id: z.ZodString;
7176
7187
  }, z.core.$strict>], "refClass">>;
7177
7188
  }, z.core.$strip>>;
7178
- createdAt: z.ZodOptional<z.ZodNumber>;
7179
- schemaVersion: z.ZodNumber;
7180
- scope: z.ZodObject<{
7181
- level: z.ZodString;
7182
- ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7183
- }, z.core.$strip>;
7184
- actor: z.ZodObject<{
7185
- kind: z.ZodString;
7186
- id: z.ZodString;
7187
- displayName: z.ZodOptional<z.ZodString>;
7188
- }, z.core.$strip>;
7189
7189
  confidence: z.ZodOptional<z.ZodObject<{
7190
7190
  level: z.ZodEnum<{
7191
7191
  inferred: "inferred";
@@ -7472,8 +7472,8 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
7472
7472
  error: z.ZodObject<{
7473
7473
  code: z.ZodEnum<{
7474
7474
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
7475
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
7476
7475
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
7476
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
7477
7477
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
7478
7478
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
7479
7479
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -9842,8 +9842,8 @@ declare const ArtifactPatchIssueSchema: z.ZodObject<{
9842
9842
  declare const ArtifactPatchErrorSchema: z.ZodObject<{
9843
9843
  code: z.ZodEnum<{
9844
9844
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
9845
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
9846
9845
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
9846
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
9847
9847
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
9848
9848
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
9849
9849
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -10029,8 +10029,8 @@ declare const ArtifactPatchFailureSchema: z.ZodObject<{
10029
10029
  error: z.ZodObject<{
10030
10030
  code: z.ZodEnum<{
10031
10031
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
10032
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10033
10032
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
10033
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10034
10034
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
10035
10035
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
10036
10036
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -10125,8 +10125,8 @@ declare const ArtifactPatchResponseSchema: z.ZodUnion<readonly [z.ZodDiscriminat
10125
10125
  error: z.ZodObject<{
10126
10126
  code: z.ZodEnum<{
10127
10127
  ARTIFACT_NOT_FOUND: "ARTIFACT_NOT_FOUND";
10128
- KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10129
10128
  BASE_REVISION_CONFLICT: "BASE_REVISION_CONFLICT";
10129
+ KIND_NOT_REGISTERED: "KIND_NOT_REGISTERED";
10130
10130
  SCHEMA_VERSION_MISMATCH: "SCHEMA_VERSION_MISMATCH";
10131
10131
  PATH_NOT_DECLARED: "PATH_NOT_DECLARED";
10132
10132
  PATH_NOT_RESOLVABLE: "PATH_NOT_RESOLVABLE";
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-QRSc2AUU.mjs";
2
- import { c as ExtensionInfo } from "./index-BJds6o8j2.mjs";
2
+ import { c as ExtensionInfo } from "./index-mTaFX2HH2.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-DeG37kt8.mjs";
4
4
  import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
5
5
  import { IMakaioBus } from "@makaio/framework/bus";
@@ -2565,12 +2565,81 @@ interface HeadlessWorkflowWorkerResult {
2565
2565
  * The authenticated control bus stays connected through the canonical outcome
2566
2566
  * acknowledgement. Workflow code acquisition and runtime composition happen
2567
2567
  * only inside the installed workflow adapter's admitted Invocation.
2568
+ *
2569
+ * Internally delegates to the workload-agnostic {@link runHeadlessWorker}
2570
+ * after building the workflow-specific adapter. Callers that do not need
2571
+ * workflow semantics should use `runHeadlessWorker` directly.
2568
2572
  * @param deps - Provider and installed workflow adapter dependencies.
2569
2573
  * @param signal - Cancellation signal from the process or caller.
2570
2574
  * @returns Canonical outcome and durable acknowledgement.
2571
2575
  */
2572
2576
  declare function runHeadlessWorkflowWorker(deps: HeadlessWorkflowWorkerDeps, signal: AbortSignal): Promise<HeadlessWorkflowWorkerResult>;
2573
2577
  //#endregion
2578
+ //#region runtimes/node/src/workflow-worker/headless-worker.d.ts
2579
+ /**
2580
+ * Injected dependencies for the generic headless worker harness.
2581
+ *
2582
+ * Unlike {@link HeadlessWorkflowWorkerDeps}, this type is workload-agnostic:
2583
+ * the caller supplies pre-built {@link InstalledWorkloadAdapter} instances
2584
+ * instead of workflow-specific `execute`, `materialize`, and
2585
+ * `loadContributions` callbacks.
2586
+ */
2587
+ interface HeadlessWorkerDeps {
2588
+ /** Unique execution identifier. */
2589
+ readonly executionId: string;
2590
+ /** Authority-created attempt identifier. */
2591
+ readonly executionAttemptId: string;
2592
+ /** Immutable absolute deadline created with the Attempt, shared by every bootstrap phase. */
2593
+ readonly bootstrapDeadlineAt: string;
2594
+ /** Explicit host-delivered environment; never inferred from ambient process state. */
2595
+ readonly workflowEnv: Readonly<Record<string, string>>;
2596
+ /** Private setup-process environment, supplied separately from workflowEnv and never persisted. */
2597
+ readonly setupEnv?: Readonly<NodeJS.ProcessEnv>;
2598
+ /** Claim execution-scoped bus credentials. */
2599
+ readonly bootstrap: HeadlessWorkerBootstrap;
2600
+ /** Establish the authenticated bus connection. */
2601
+ readonly connectBus: HeadlessWorkerBusConnector;
2602
+ /** Explicit project Workspace path; required only by an instruction requesting one. */
2603
+ readonly workspaceRoot?: string;
2604
+ /** Optional local Workspace Preparation installed by the hosting provider. */
2605
+ readonly preparation?: WorkloadInvocationPreparation;
2606
+ /** Pre-built workload adapters available in this Runtime. */
2607
+ readonly adapters: readonly InstalledWorkloadAdapter[];
2608
+ /**
2609
+ * Optional retry configuration for outcome submission.
2610
+ *
2611
+ * Controls exponential back-off parameters, overall deadline, and
2612
+ * maximum retry count. When omitted, sane defaults apply (7 retries,
2613
+ * 1 s base delay, 30 s cap, 2 min deadline).
2614
+ */
2615
+ readonly outcomeRetry?: OutcomeSubmitRetryConfig;
2616
+ }
2617
+ /**
2618
+ * Terminal result of a generic headless worker execution.
2619
+ *
2620
+ * This is an alias for the already-generic {@link WorkloadInvocationResult},
2621
+ * preserving technical failure, cancellation and opaque workload results
2622
+ * together with the Authority's durable acknowledgement.
2623
+ */
2624
+ type HeadlessWorkerResult = WorkloadInvocationResult;
2625
+ /**
2626
+ * Register one Runtime, then run optional Workspace Preparation and Invocation
2627
+ * for any workload kind.
2628
+ *
2629
+ * The authenticated control bus stays connected through the canonical outcome
2630
+ * acknowledgement. Workload-specific code acquisition and runtime composition
2631
+ * happen only inside the installed adapter's admitted Invocation.
2632
+ *
2633
+ * This is the workload-agnostic counterpart of
2634
+ * {@link runHeadlessWorkflowWorker}: callers supply pre-built adapters instead
2635
+ * of workflow-specific callbacks. The workflow runner is refactored to build
2636
+ * its adapter and delegate here.
2637
+ * @param deps - Provider and installed workload adapter dependencies.
2638
+ * @param signal - Cancellation signal from the process or caller.
2639
+ * @returns Canonical outcome and durable acknowledgement.
2640
+ */
2641
+ declare function runHeadlessWorker(deps: HeadlessWorkerDeps, signal: AbortSignal): Promise<HeadlessWorkerResult>;
2642
+ //#endregion
2574
2643
  //#region runtimes/node/src/workspace-preparation/git-source.d.ts
2575
2644
  /** Host-local access and execution budget, never part of the portable source instruction. */
2576
2645
  interface LocalGitSourceOptions {
@@ -2999,4 +3068,4 @@ interface InstalledAttemptControlEndpoint {
2999
3068
  */
3000
3069
  declare function installAttemptControlEndpoint(bus: IMakaioBus, identity: AttemptControlEndpointIdentity, deps?: AttemptControlEndpointDeps): Promise<InstalledAttemptControlEndpoint>;
3001
3070
  //#endregion
3002
- export { WorkflowRuntimeAuthorityConnector as $, materializeLocalDirectory as $t, createLocalGitWorkspacePreparation as A, prepareAdapterRuntime as An, createWorkerBusAuth as At, HeadlessWorkflowWorkerResult as B, ServerTransportProvider as Bt, admitWorkflowRunOperation as C, HonoRouteGraphOptions as Cn, createNodeWorkflowRunner as Ct, loadWorkflowModule as D, PrepareAdapterRuntimeInput as Dn, runWorkerBootstrapExchange as Dt, registerWorkerRuntime as E, ActivatedAdapterRuntimeIdentity as En, WorkerBootstrapExchangeOptions as Et, HeadlessWorkerContributionLoader as F, WorkflowRunResult$1 as Ft, WorkloadControlBinding as G, MaterializationError as Gt, runHeadlessWorkflowWorker as H, UpstreamTelemetryBootOptions as Ht, HeadlessWorkerExecutor as I, BootCoordinatorSetupContext as It, runWorkloadInvocation as J, assertContainedIn as Jt, WorkloadInvocationPreparation as K, ParsedSriIntegrity as Kt, HeadlessWorkerMaterializer as L, BootMakaioRuntimeOptions as Lt, HeadlessWorkerBootstrap as M, IWorkflowRunner$1 as Mt, HeadlessWorkerBootstrapCredentials as N, RuntimeLoadedWorkflow as Nt, loadWorkflowModules as O, PreparedAdapterRuntime as On, BootstrapDeadlineExceededError as Ot, HeadlessWorkerBusConnector as P, ThinWorkflowPiscinaRunnerOptions as Pt, IsolatedWorkflowRuntimeContext as Q, computeFileDigest as Qt, HeadlessWorkerPostCommitObserver as R, CoreBootOptions as Rt, RuntimeRegistrationRefusedError as S, HonoRouteGraph as Sn, NodeWorkflowRunnerPackageOptions as St, registerAndAdmitWorkflowRun as T, ActivateAdapterRuntimeIdentityInput as Tn, BootstrapExchangeResult as Tt, InstalledWorkloadAdapter as U, WorkflowRunnerBootOptions as Ut, MaterializedWorkspace as V, TransportReadyInfo as Vt, RunWorkloadInvocationOptions as W, LocalDirectoryMaterializerOptions as Wt, CreateIsolatedWorkflowRuntimeOptions as X, computeContributionPackageDigest as Xt, SetupProcessGroupObservation as Y, assertNoSymlinkEscape as Yt, IsolatedWorkflowRuntime as Z, computeDirectoryDigest as Zt, OperationDeliveryEndpointIdentity as _, resolveFrameworkSpecifier as _n, submitAttemptOutcomeWithAck as _t, InstalledAttemptControlEndpoint as a, DatabaseBootOptions as an, PiscinaThinWorkflowProviderOptions as at, RegisterAndAdmitWorkflowRunOptions as b, HttpContributionPhase as bn, WorkerRunnerOptions as bt, BootstrapStartRefusedError as c, initializeNodeDatabase as cn, createWorkflowLaunchResolver as ct, bootstrapWorkerRuntime as d, selectFrameworkCorePackages as dn, AuthorityRequestDeliveryError as dt, parseSriIntegrity as en, WorkflowRuntimeContributionLoader as et, AdmitWorkflowRunOperationOptions as f, ShutdownStep as fn, DELIVERED_DECISIONS as ft, OperationDeliveryEndpoint as g, NoopFrameworkModuleResolver as gn, OutcomeSubmitRetryConfig as gt, OperationAdmissionRefusedError as h, NodeFrameworkModuleResolver as hn, OutcomeSubmitPayload as ht, AttemptControlReportOptions as i, resolveWorkflowWorkerEntry as in, PiscinaThinWorkflowProvider as it, LocalGitSourceOptions as j, ThinWorkflowPiscinaRunner as jt, loadWorkflowFromConfig as k, activateAdapterRuntimeIdentity as kn, withWorkerBootstrapDeadline as kt, BootstrapWorkerRuntimeOptions as l, HostCapabilityDeclaration as ln, AttemptOutcomeDeliveryError as lt, DeliverableOperationKind as m, FrameworkModuleResolver as mn, OutcomeReconnect as mt, AttemptControlEndpointIdentity as n, WorkflowWorkerEntryMode as nn, InProcessWorkflowRunner as nt, installAttemptControlEndpoint as o, InitializeNodeDatabaseOptions as on, WorkflowAttemptInstructionReader as ot, AdmittedWorkflowRun as p, BridgeBrowserOptions as pn, OutcomeDeliveryError as pt, WorkloadInvocationResult as q, WorkspaceRootResolver as qt, AttemptControlLastReport as r, WorkflowWorkerEntryResolverOptions as rn, InProcessWorkflowRunnerOptions as rt, BootstrapRuntimeConnection as s, InitializeNodeDatabaseResult as sn, WorkflowLaunchResolver as st, AttemptControlEndpointDeps as t, verifyContribution as tn, createIsolatedWorkflowRuntime as tt, StartedWorkerRuntime as u, normalizeNodeHostCapabilities as un, AttemptOutcomeSubmitPayload as ut, OperationDeliveryHandler as v, HttpRouteGraphBuilder as vn, submitOutcomeWithAck as vt, installOperationDeliveryEndpoint as w, createHonoRouteGraph as wn, createNodeWorkflowRunnerPackageOptions as wt, RegisterWorkerRuntimeOptions as x, HttpRouteContribution as xn, CreateNodeWorkflowRunnerPackageOptionsParams as xt, OperationDeliveryHandlers as y, createHttpRouteGraphBuilder as yn, WorkerRunner as yt, HeadlessWorkflowWorkerDeps as z, MakaioRuntime as zt };
3071
+ export { CreateIsolatedWorkflowRuntimeOptions as $, computeContributionPackageDigest as $t, createLocalGitWorkspacePreparation as A, PrepareAdapterRuntimeInput as An, runWorkerBootstrapExchange as At, HeadlessWorkerMaterializer as B, BootMakaioRuntimeOptions as Bt, admitWorkflowRunOperation as C, HttpContributionPhase as Cn, WorkerRunnerOptions as Ct, loadWorkflowModule as D, createHonoRouteGraph as Dn, createNodeWorkflowRunnerPackageOptions as Dt, registerWorkerRuntime as E, HonoRouteGraphOptions as En, createNodeWorkflowRunner as Et, HeadlessWorkerBootstrap as F, IWorkflowRunner$1 as Ft, runHeadlessWorkflowWorker as G, UpstreamTelemetryBootOptions as Gt, HeadlessWorkflowWorkerDeps as H, MakaioRuntime as Ht, HeadlessWorkerBootstrapCredentials as I, RuntimeLoadedWorkflow as It, WorkloadControlBinding as J, MaterializationError as Jt, InstalledWorkloadAdapter as K, WorkflowRunnerBootOptions as Kt, HeadlessWorkerBusConnector as L, ThinWorkflowPiscinaRunnerOptions as Lt, HeadlessWorkerDeps as M, activateAdapterRuntimeIdentity as Mn, withWorkerBootstrapDeadline as Mt, HeadlessWorkerResult as N, prepareAdapterRuntime as Nn, createWorkerBusAuth as Nt, loadWorkflowModules as O, ActivateAdapterRuntimeIdentityInput as On, BootstrapExchangeResult as Ot, runHeadlessWorker as P, ThinWorkflowPiscinaRunner as Pt, SetupProcessGroupObservation as Q, assertNoSymlinkEscape as Qt, HeadlessWorkerContributionLoader as R, WorkflowRunResult$1 as Rt, RuntimeRegistrationRefusedError as S, createHttpRouteGraphBuilder as Sn, WorkerRunner as St, registerAndAdmitWorkflowRun as T, HonoRouteGraph as Tn, NodeWorkflowRunnerPackageOptions as Tt, HeadlessWorkflowWorkerResult as U, ServerTransportProvider as Ut, HeadlessWorkerPostCommitObserver as V, CoreBootOptions as Vt, MaterializedWorkspace as W, TransportReadyInfo as Wt, WorkloadInvocationResult as X, WorkspaceRootResolver as Xt, WorkloadInvocationPreparation as Y, ParsedSriIntegrity as Yt, runWorkloadInvocation as Z, assertContainedIn as Zt, OperationDeliveryEndpointIdentity as _, FrameworkModuleResolver as _n, OutcomeReconnect as _t, InstalledAttemptControlEndpoint as a, WorkflowWorkerEntryMode as an, InProcessWorkflowRunner as at, RegisterAndAdmitWorkflowRunOptions as b, resolveFrameworkSpecifier as bn, submitAttemptOutcomeWithAck as bt, BootstrapStartRefusedError as c, DatabaseBootOptions as cn, PiscinaThinWorkflowProviderOptions as ct, bootstrapWorkerRuntime as d, initializeNodeDatabase as dn, createWorkflowLaunchResolver as dt, computeDirectoryDigest as en, IsolatedWorkflowRuntime as et, AdmitWorkflowRunOperationOptions as f, HostCapabilityDeclaration as fn, AttemptOutcomeDeliveryError as ft, OperationDeliveryEndpoint as g, BridgeBrowserOptions as gn, OutcomeDeliveryError as gt, OperationAdmissionRefusedError as h, ShutdownStep as hn, DELIVERED_DECISIONS as ht, AttemptControlReportOptions as i, verifyContribution as in, createIsolatedWorkflowRuntime as it, LocalGitSourceOptions as j, PreparedAdapterRuntime as jn, BootstrapDeadlineExceededError as jt, loadWorkflowFromConfig as k, ActivatedAdapterRuntimeIdentity as kn, WorkerBootstrapExchangeOptions as kt, BootstrapWorkerRuntimeOptions as l, InitializeNodeDatabaseOptions as ln, WorkflowAttemptInstructionReader as lt, DeliverableOperationKind as m, selectFrameworkCorePackages as mn, AuthorityRequestDeliveryError as mt, AttemptControlEndpointIdentity as n, materializeLocalDirectory as nn, WorkflowRuntimeAuthorityConnector as nt, installAttemptControlEndpoint as o, WorkflowWorkerEntryResolverOptions as on, InProcessWorkflowRunnerOptions as ot, AdmittedWorkflowRun as p, normalizeNodeHostCapabilities as pn, AttemptOutcomeSubmitPayload as pt, RunWorkloadInvocationOptions as q, LocalDirectoryMaterializerOptions as qt, AttemptControlLastReport as r, parseSriIntegrity as rn, WorkflowRuntimeContributionLoader as rt, BootstrapRuntimeConnection as s, resolveWorkflowWorkerEntry as sn, PiscinaThinWorkflowProvider as st, AttemptControlEndpointDeps as t, computeFileDigest as tn, IsolatedWorkflowRuntimeContext as tt, StartedWorkerRuntime as u, InitializeNodeDatabaseResult as un, WorkflowLaunchResolver as ut, OperationDeliveryHandler as v, NodeFrameworkModuleResolver as vn, OutcomeSubmitPayload as vt, installOperationDeliveryEndpoint as w, HttpRouteContribution as wn, CreateNodeWorkflowRunnerPackageOptionsParams as wt, RegisterWorkerRuntimeOptions as x, HttpRouteGraphBuilder as xn, submitOutcomeWithAck as xt, OperationDeliveryHandlers as y, NoopFrameworkModuleResolver as yn, OutcomeSubmitRetryConfig as yt, HeadlessWorkerExecutor as z, BootCoordinatorSetupContext as zt };
@@ -1,4 +1,4 @@
1
- import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-CJrhRe5f.mjs";
1
+ import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-DhbllltK.mjs";
2
2
  import { o as Message$1 } from "./index-De_oh9M-2.mjs";
3
3
  import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-Cv0XiTXb.mjs";
4
4
  import * as _$zod from "zod";
@@ -4001,8 +4001,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
4001
4001
  maxTokens: _$zod.ZodNumber;
4002
4002
  percentage: _$zod.ZodNumber;
4003
4003
  level: _$zod.ZodEnum<{
4004
- ok: "ok";
4005
4004
  warn: "warn";
4005
+ ok: "ok";
4006
4006
  critical: "critical";
4007
4007
  }>;
4008
4008
  lastUpdatedAt: _$zod.ZodNumber;
@@ -9112,8 +9112,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
9112
9112
  maxTokens: _$zod.ZodNumber;
9113
9113
  percentage: _$zod.ZodNumber;
9114
9114
  level: _$zod.ZodEnum<{
9115
- ok: "ok";
9116
9115
  warn: "warn";
9116
+ ok: "ok";
9117
9117
  critical: "critical";
9118
9118
  }>;
9119
9119
  lastUpdatedAt: _$zod.ZodNumber;
@@ -11055,8 +11055,8 @@ declare const MessageStorageNamespace$1: ContractStorageNamespaceDefinition<"mes
11055
11055
  isError: z.ZodOptional<z.ZodBoolean>;
11056
11056
  }, z.core.$strip>], "type">>;
11057
11057
  agentId: z.ZodOptional<z.ZodString>;
11058
- adapterSessionId: z.ZodOptional<z.ZodString>;
11059
11058
  turnId: z.ZodNullable<z.ZodString>;
11059
+ adapterSessionId: z.ZodOptional<z.ZodString>;
11060
11060
  timestamp: z.ZodNumber;
11061
11061
  contentText: z.ZodString;
11062
11062
  adapterMessageId: z.ZodOptional<z.ZodString>;
@@ -11903,8 +11903,8 @@ declare const MessageStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
11903
11903
  isError: z.ZodOptional<z.ZodBoolean>;
11904
11904
  }, z.core.$strip>], "type">>;
11905
11905
  agentId: z.ZodOptional<z.ZodString>;
11906
- adapterSessionId: z.ZodOptional<z.ZodString>;
11907
11906
  turnId: z.ZodNullable<z.ZodString>;
11907
+ adapterSessionId: z.ZodOptional<z.ZodString>;
11908
11908
  timestamp: z.ZodNumber;
11909
11909
  contentText: z.ZodString;
11910
11910
  adapterMessageId: z.ZodOptional<z.ZodString>;