@makaio/framework 1.0.0-dev-1788811230746 → 1.0.0-dev-1788832451167

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 (103) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{artifact-Btbuib48.mjs → artifact-ClvHqL3w.mjs} +1 -1
  3. package/dist/bus/index.mjs +1 -1
  4. package/dist/{context-resolution-C2VBZhaR.d.mts → context-resolution-BrtoXnez.d.mts} +99 -20
  5. package/dist/contracts/adapter/index.d.mts +1 -1
  6. package/dist/contracts/artifact/index.d.mts +3 -3
  7. package/dist/contracts/artifact/index.mjs +1 -1
  8. package/dist/contracts/capabilities/index.d.mts +1 -1
  9. package/dist/contracts/client/index.d.mts +1 -1
  10. package/dist/contracts/extension/index.d.mts +2 -2
  11. package/dist/contracts/index.d.mts +64 -64
  12. package/dist/contracts/index.mjs +1 -1
  13. package/dist/contracts/materialization/index.d.mts +2 -2
  14. package/dist/contracts/materialization/index.mjs +1 -1
  15. package/dist/contracts/session/index.d.mts +2 -2
  16. package/dist/contracts/worker/index.d.mts +1 -1
  17. package/dist/contracts/worker/index.mjs +1 -1
  18. package/dist/contracts/workflow/index.d.mts +2 -2
  19. package/dist/contracts/workflow/index.mjs +1 -1
  20. package/dist/{execution-attempt-repository-OryBjQQI.d.mts → execution-attempt-repository-CgB7uiYD.d.mts} +12 -1
  21. package/dist/execution-attempt-repository-D0cCU7dI.mjs +1 -0
  22. package/dist/{index-CXH1Bk0W.d.mts → index-BADuMxcP.d.mts} +134 -134
  23. package/dist/{index-BhOMZWZa2.d.mts → index-BDAfOYSw2.d.mts} +24 -24
  24. package/dist/{index-CAYbui7g.d.mts → index-BakMNLkB.d.mts} +110 -22
  25. package/dist/{index-CnGHGFMC.d.mts → index-Bsr4rZl0.d.mts} +4 -4
  26. package/dist/{index-DEpAI8CY.d.mts → index-BvgLFm-U.d.mts} +1 -1
  27. package/dist/{index-9PUmCySn.d.mts → index-BxOFB25y.d.mts} +5 -4
  28. package/dist/{index-BTCodvXA.d.mts → index-C1PfDEIV.d.mts} +50 -50
  29. package/dist/{index-C-cnB1Te.d.mts → index-CGJgZGqN.d.mts} +8 -8
  30. package/dist/{index-B6Kr3cxD2.d.mts → index-CiKzWCW02.d.mts} +30 -6
  31. package/dist/{index-DsjUnKyr.d.mts → index-DZXpKlyB.d.mts} +19 -19
  32. package/dist/{index-DrO6QLwf2.d.mts → index-DZnb56vt2.d.mts} +1 -1
  33. package/dist/{index-BDDavX2S.d.mts → index-LOh6AEqx.d.mts} +9 -9
  34. package/dist/{index-BxTM9lY0.d.mts → index-LryUXslm.d.mts} +1 -1
  35. package/dist/{index-CgqEyk9R.d.mts → index-rygpcDBV.d.mts} +1 -1
  36. package/dist/{index-Df9L5wwp.d.mts → index-vXmPEZ5O.d.mts} +388 -88
  37. package/dist/kernel/extension/index.d.mts +1 -1
  38. package/dist/kernel/index.d.mts +2 -2
  39. package/dist/kernel/observability/index.d.mts +1 -1
  40. package/dist/{materialization-lVd9_-jr.mjs → materialization-B_LA9pfy.mjs} +1 -1
  41. package/dist/{namespace-BkOvOAU5.d.mts → namespace-BMG3RCdr.d.mts} +6 -6
  42. package/dist/{namespace-2qvc6E2Y.d.mts → namespace-BoyqQiW9.d.mts} +2 -2
  43. package/dist/{namespace-CirognbA.d.mts → namespace-BymM0nl_.d.mts} +27 -27
  44. package/dist/{namespace-DAINF1II.d.mts → namespace-DdqVQSyc.d.mts} +2 -2
  45. package/dist/{namespace-DokogwAZ.d.mts → namespace-DlrX8feY.d.mts} +45 -45
  46. package/dist/{namespace-CxXNlHpn.d.mts → namespace-Dw5H_KCF.d.mts} +4 -4
  47. package/dist/{package-DEYXB80d.mjs → package-CzKoZ1k0.mjs} +1 -1
  48. package/dist/{package-eOEt1w6u.d.mts → package-DkpF17X_.d.mts} +14 -6
  49. package/dist/package.json +1 -1
  50. package/dist/runtime-node/index.d.mts +1 -1
  51. package/dist/runtime-node/index.mjs +1 -1
  52. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  53. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  54. package/dist/{schema-zSyY22Ck.d.mts → schema-C9PauHXt.d.mts} +2 -2
  55. package/dist/{schemas-DuJs6Iqj.d.mts → schemas-B2UbGJpJ.d.mts} +10 -10
  56. package/dist/{schemas-Dn1JDTPw.d.mts → schemas-BDZFd3Wb.d.mts} +2 -2
  57. package/dist/{schemas-DqnA42bw.d.mts → schemas-CBpjAhut.d.mts} +4 -4
  58. package/dist/schemas-CNkUEbIr.mjs +1 -0
  59. package/dist/{schemas-D0_kfoDf.d.mts → schemas-Wqo3_F6-.d.mts} +1 -1
  60. package/dist/services/adapter-runtime/index.d.mts +3 -3
  61. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  62. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  63. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  64. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  65. package/dist/services/context-rules/index.d.mts +3 -3
  66. package/dist/services/execution-target/index.d.mts +2 -2
  67. package/dist/services/execution-target/namespace.d.mts +1 -1
  68. package/dist/services/execution-target/schemas.d.mts +1 -1
  69. package/dist/services/filesystem/namespace.d.mts +6 -6
  70. package/dist/services/filesystem/schemas.d.mts +3 -3
  71. package/dist/services/index.d.mts +30 -30
  72. package/dist/services/index.mjs +1 -1
  73. package/dist/services/provider-context/index.d.mts +1 -1
  74. package/dist/services/session/handlers/index.d.mts +1 -1
  75. package/dist/services/session/index.d.mts +7 -7
  76. package/dist/services/session/messages/namespace.d.mts +1 -1
  77. package/dist/services/session/session-events/namespace.d.mts +1 -1
  78. package/dist/services/session/storage/namespace.d.mts +1 -1
  79. package/dist/services/session/storage/schema.d.mts +1 -1
  80. package/dist/services/settings/namespace.d.mts +10 -10
  81. package/dist/services/subagent-template/index.d.mts +1 -1
  82. package/dist/services/subagent-template/schemas.d.mts +1 -1
  83. package/dist/{transition-BB138WkK.d.mts → transition-DFA_ckdP.d.mts} +1 -1
  84. package/dist/{types-CR23FzmK.d.mts → types-DkfDRSTr.d.mts} +48 -48
  85. package/dist/{view-builder-qIGQrZfs.d.mts → view-builder-CYW_9n4A.d.mts} +1 -1
  86. package/dist/{worker-DPTYFyNP.mjs → worker-B4nD_Erm.mjs} +1 -1
  87. package/dist/{workflow-BomH9DBB.mjs → workflow-H8hsEikC.mjs} +1 -1
  88. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  89. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  90. package/dist/workflow-engine/index.d.mts +4 -4
  91. package/dist/workflow-engine/index.mjs +1 -1
  92. package/dist/workflow-engine/package.d.mts +1 -1
  93. package/dist/workflow-engine/package.mjs +1 -1
  94. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  95. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  96. package/dist/workflow-engine/testing/index.d.mts +1 -1
  97. package/dist/workflow-engine/testing/index.mjs +1 -1
  98. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  99. package/dist/workflow-engine/testing/sqlite.mjs +32 -32
  100. package/dist/{workflow-worker-BW3CE0YG.mjs → workflow-worker-CmIkKnpF.mjs} +2 -2
  101. package/package.json +1 -1
  102. package/dist/execution-attempt-repository-Djg3qDRv.mjs +0 -1
  103. package/dist/schemas-C3kyQWGf.mjs +0 -1
@@ -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
- global: "global";
21
20
  managed: "managed";
21
+ global: "global";
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
- global: "global";
43
42
  managed: "managed";
43
+ global: "global";
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
- global: "global";
53
52
  managed: "managed";
53
+ global: "global";
54
54
  }>;
55
55
  version: z.ZodNullable<z.ZodString>;
56
56
  }, z.core.$strip>;
@@ -506,9 +506,9 @@ declare const ClientSchemas: {
506
506
  cwd: z.ZodOptional<z.ZodString>;
507
507
  machineId: z.ZodOptional<z.ZodString>;
508
508
  startMode: z.ZodOptional<z.ZodEnum<{
509
- fork: "fork";
510
- resume: "resume";
511
509
  fresh: "fresh";
510
+ resume: "resume";
511
+ fork: "fork";
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
- global: "global";
702
701
  managed: "managed";
702
+ global: "global";
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
- global: "global";
712
711
  managed: "managed";
712
+ global: "global";
713
713
  }>;
714
714
  version: z.ZodNullable<z.ZodString>;
715
715
  }, z.core.$strip>;
@@ -1486,9 +1486,9 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1486
1486
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1487
1487
  /** Zod schema for the client-reported session start mode. */
1488
1488
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1489
- fork: "fork";
1490
- resume: "resume";
1491
1489
  fresh: "fresh";
1490
+ resume: "resume";
1491
+ fork: "fork";
1492
1492
  clear: "clear";
1493
1493
  compact: "compact";
1494
1494
  }>;
@@ -1505,9 +1505,9 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1505
1505
  cwd: z.ZodOptional<z.ZodString>;
1506
1506
  machineId: z.ZodOptional<z.ZodString>;
1507
1507
  startMode: z.ZodOptional<z.ZodEnum<{
1508
- fork: "fork";
1509
- resume: "resume";
1510
1508
  fresh: "fresh";
1509
+ resume: "resume";
1510
+ fork: "fork";
1511
1511
  clear: "clear";
1512
1512
  compact: "compact";
1513
1513
  }>>;
@@ -2076,9 +2076,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2076
2076
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2077
2077
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2078
2078
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2079
- fork: "fork";
2080
- resume: "resume";
2081
2079
  fresh: "fresh";
2080
+ resume: "resume";
2081
+ fork: "fork";
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
- global: "global";
2272
2271
  managed: "managed";
2272
+ global: "global";
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
- global: "global";
2282
2281
  managed: "managed";
2282
+ global: "global";
2283
2283
  }>;
2284
2284
  version: _$zod.ZodNullable<_$zod.ZodString>;
2285
2285
  }, _$zod_v4_core0.$strip>;
@@ -2716,9 +2716,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2716
2716
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2717
2717
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2718
2718
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2719
- fork: "fork";
2720
- resume: "resume";
2721
2719
  fresh: "fresh";
2720
+ resume: "resume";
2721
+ fork: "fork";
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
- global: "global";
2912
2911
  managed: "managed";
2912
+ global: "global";
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
- global: "global";
2922
2921
  managed: "managed";
2922
+ global: "global";
2923
2923
  }>;
2924
2924
  version: _$zod.ZodNullable<_$zod.ZodString>;
2925
2925
  }, _$zod_v4_core0.$strip>;
@@ -1,4 +1,4 @@
1
- import { f as ResolveLiveIdentityResponse, o as ResolveIdRequest, u as ResolveLiveIdentityRequest } from "./schemas-D0_kfoDf.mjs";
1
+ import { f as ResolveLiveIdentityResponse, o as ResolveIdRequest, u as ResolveLiveIdentityRequest } from "./schemas-Wqo3_F6-.mjs";
2
2
  import { IMakaioBus } from "@makaio/framework/bus";
3
3
 
4
4
  //#region services/core/src/adapter-runtime/identity.d.ts
@@ -1,4 +1,4 @@
1
- import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-CgqEyk9R.mjs";
1
+ import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-rygpcDBV.mjs";
2
2
  import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-DxHeL0pF.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -3003,7 +3003,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
3003
3003
  tableName: "sessions";
3004
3004
  dataType: "string";
3005
3005
  columnType: "SQLiteText";
3006
- data: "closed" | "discovered" | "active" | "archived";
3006
+ data: "closed" | "discovered" | "archived" | "active";
3007
3007
  driverParam: string;
3008
3008
  notNull: true;
3009
3009
  hasDefault: false;
@@ -3117,7 +3117,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
3117
3117
  tableName: "sessions";
3118
3118
  dataType: "string";
3119
3119
  columnType: "SQLiteText";
3120
- data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
3120
+ data: "fork" | "subagent" | "compress" | "branch" | "aside" | "rewrite" | "coordinator";
3121
3121
  driverParam: string;
3122
3122
  notNull: false;
3123
3123
  hasDefault: false;
@@ -6596,8 +6596,8 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
6596
6596
  agentId: z.ZodString;
6597
6597
  status: z.ZodEnum<{
6598
6598
  completed: "completed";
6599
- acknowledged: "acknowledged";
6600
6599
  sent: "sent";
6600
+ acknowledged: "acknowledged";
6601
6601
  }>;
6602
6602
  timestamp: z.ZodNumber;
6603
6603
  error: z.ZodOptional<z.ZodString>;
@@ -6622,8 +6622,8 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
6622
6622
  agentId: z.ZodString;
6623
6623
  status: z.ZodEnum<{
6624
6624
  completed: "completed";
6625
- acknowledged: "acknowledged";
6626
6625
  sent: "sent";
6626
+ acknowledged: "acknowledged";
6627
6627
  }>;
6628
6628
  timestamp: z.ZodNumber;
6629
6629
  error: z.ZodOptional<z.ZodString>;
@@ -6710,7 +6710,7 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
6710
6710
  tableName: "message_routing";
6711
6711
  dataType: "string";
6712
6712
  columnType: "SQLiteText";
6713
- data: "completed" | "acknowledged" | "sent";
6713
+ data: "completed" | "sent" | "acknowledged";
6714
6714
  driverParam: string;
6715
6715
  notNull: true;
6716
6716
  hasDefault: false;
@@ -6781,8 +6781,8 @@ declare const MessageRoutingSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
6781
6781
  agentId: z.ZodString;
6782
6782
  status: z.ZodEnum<{
6783
6783
  completed: "completed";
6784
- acknowledged: "acknowledged";
6785
6784
  sent: "sent";
6785
+ acknowledged: "acknowledged";
6786
6786
  }>;
6787
6787
  timestamp: z.ZodNumber;
6788
6788
  error: z.ZodOptional<z.ZodString>;
@@ -6807,8 +6807,8 @@ declare const MessageRoutingSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
6807
6807
  agentId: z.ZodString;
6808
6808
  status: z.ZodEnum<{
6809
6809
  completed: "completed";
6810
- acknowledged: "acknowledged";
6811
6810
  sent: "sent";
6811
+ acknowledged: "acknowledged";
6812
6812
  }>;
6813
6813
  timestamp: z.ZodNumber;
6814
6814
  error: z.ZodOptional<z.ZodString>;
@@ -6952,7 +6952,7 @@ declare const messageRouting: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<
6952
6952
  tableName: "message_routing";
6953
6953
  dataType: "string";
6954
6954
  columnType: "SQLiteText";
6955
- data: "completed" | "acknowledged" | "sent";
6955
+ data: "completed" | "sent" | "acknowledged";
6956
6956
  driverParam: string;
6957
6957
  notNull: true;
6958
6958
  hasDefault: false;
@@ -1,5 +1,5 @@
1
1
  import { i as CliContribution } from "./types-BnPJa-C_.mjs";
2
- import { c as ExtensionInfo } from "./index-BhOMZWZa2.mjs";
2
+ import { c as ExtensionInfo } from "./index-BDAfOYSw2.mjs";
3
3
  import { r as WindowRegistry } from "./window-registry-DQP5P2_0.mjs";
4
4
  import { IMakaioBus } from "@makaio/framework/bus";
5
5
  import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
@@ -1,4 +1,4 @@
1
- import { r as ExecutionTarget } from "./schemas-Dn1JDTPw.mjs";
1
+ import { r as ExecutionTarget } from "./schemas-BDZFd3Wb.mjs";
2
2
  import { IMakaioBus } from "@makaio/framework/bus";
3
3
  import { IMakaioSession, MakaioSessionAgent, Message, MessageInput, MessageOutcome, ReasoningLevelMap, ResponseSchemaDescriptor, SessionContext, SessionOwnershipRecoveryGuard, TurnInitiator } from "@makaio/framework/contracts";
4
4