@makaio/framework 1.0.0-dev-1781397017668 → 1.0.0-dev-1781442380278

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 (93) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{adapter-D_p5kKxi.mjs → adapter-BH1X0THX.mjs} +1 -1
  3. package/dist/adapters/index.d.mts +1 -1
  4. package/dist/bus/index.d.mts +20 -20
  5. package/dist/bus/index.mjs +1 -1
  6. package/dist/contracts/adapter/index.d.mts +1 -1
  7. package/dist/contracts/adapter/index.mjs +1 -1
  8. package/dist/contracts/artifact/index.d.mts +1 -1
  9. package/dist/contracts/canonical-model/index.d.mts +1 -1
  10. package/dist/contracts/config/index.d.mts +6 -6
  11. package/dist/contracts/extension/index.d.mts +2 -2
  12. package/dist/contracts/facet/index.d.mts +1 -1
  13. package/dist/contracts/harness/index.d.mts +1 -1
  14. package/dist/contracts/index.d.mts +188 -183
  15. package/dist/contracts/index.mjs +1 -1
  16. package/dist/contracts/materialization/index.d.mts +3 -3
  17. package/dist/contracts/provider/index.d.mts +1 -1
  18. package/dist/contracts/session/index.d.mts +2 -2
  19. package/dist/contracts/session/index.mjs +1 -1
  20. package/dist/contracts/variant/index.d.mts +1 -1
  21. package/dist/{definition-CPc6oKaF.d.mts → definition-CZcVOhXZ.d.mts} +1 -1
  22. package/dist/handlers-Cpy9Q8ho.mjs +41 -0
  23. package/dist/{index-C24PcW2r.d.mts → index-B1PgTu7q.d.mts} +8 -8
  24. package/dist/{index-CEdOq5Om.d.mts → index-BDnI2oqX.d.mts} +1 -1
  25. package/dist/{index-QvciMc7_.d.mts → index-BF84QInS.d.mts} +875 -361
  26. package/dist/{index-DfNIhEm_.d.mts → index-BVMF3kRv.d.mts} +16 -16
  27. package/dist/{index-CszoKxxO.d.mts → index-Cj3XCjXZ.d.mts} +342 -342
  28. package/dist/{index-BLqtL-_a.d.mts → index-DHVoVh-j.d.mts} +7 -7
  29. package/dist/{index-WKF5BHsw.d.mts → index-DUI1W-zN.d.mts} +8 -8
  30. package/dist/{index-B99Prx5a.d.mts → index-DUsm-DeE.d.mts} +100 -100
  31. package/dist/{index-B92SK0rO.d.mts → index-DigeEyrf.d.mts} +19 -16
  32. package/dist/{index-GuspCNLR.d.mts → index-DyqZej9j.d.mts} +8 -8
  33. package/dist/{index-DBgv39-Q.d.mts → index-HiAth5G0.d.mts} +52 -52
  34. package/dist/{index-NyKdb8kT.d.mts → index-LrZlZUvQ.d.mts} +16 -16
  35. package/dist/{index-BM_y78ZA2.d.mts → index-cN4DkU5Y2.d.mts} +9 -9
  36. package/dist/{index-C0TEY7RE.d.mts → index-oUqyVvsD.d.mts} +1 -1
  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/{namespace-DbvQ4HYc.d.mts → namespace-BXuuv8L9.d.mts} +152 -152
  41. package/dist/{namespace-CN2TfSCY.d.mts → namespace-Ba1gUpUu.d.mts} +4 -4
  42. package/dist/{namespace-D_ZXa76m.d.mts → namespace-CWgNi8Gv.d.mts} +26 -26
  43. package/dist/{namespace-BAJTZXWc.d.mts → namespace-DM3TSh_y.d.mts} +38 -38
  44. package/dist/{namespace-C_kaVySz.d.mts → namespace-Q-z7Lr2f.d.mts} +8 -8
  45. package/dist/{package-Bn665ylV.mjs → package-DMoFY63f.mjs} +1 -1
  46. package/dist/package.json +1 -1
  47. package/dist/primitive-runtime-DWbV7f_r.mjs +1 -0
  48. package/dist/{schema-msWs4YhT.d.mts → schema-BKdn_bdY.d.mts} +2 -2
  49. package/dist/{schemas-DMl7IKG-.d.mts → schemas-BbFAwUpf.d.mts} +5 -5
  50. package/dist/{schemas-xoTn8JZb.d.mts → schemas-CyEdMtnQ.d.mts} +152 -152
  51. package/dist/schemas-CzvG8xq7.mjs +1 -0
  52. package/dist/{schemas-DRZJK6hW2.d.mts → schemas-DvjQHkmw2.d.mts} +6 -6
  53. package/dist/{schemas-CN9hprME.d.mts → schemas-IDGAJ_zv.d.mts} +6 -6
  54. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  55. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  56. package/dist/services/agent-runtime/index.d.mts +2 -2
  57. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  58. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  59. package/dist/services/context-rules/index.d.mts +3 -3
  60. package/dist/services/filesystem/namespace.d.mts +12 -12
  61. package/dist/services/filesystem/schemas.d.mts +6 -6
  62. package/dist/services/harness/index.d.mts +3 -3
  63. package/dist/services/index.d.mts +117 -117
  64. package/dist/services/index.mjs +1 -1
  65. package/dist/services/session/handlers/index.mjs +1 -1
  66. package/dist/services/session/index.d.mts +4 -4
  67. package/dist/services/session/index.mjs +1 -1
  68. package/dist/services/session/messages/namespace.d.mts +1 -1
  69. package/dist/services/session/storage/namespace.d.mts +1 -1
  70. package/dist/services/session/storage/schema.d.mts +1 -1
  71. package/dist/services/session/testing/index.mjs +1 -1
  72. package/dist/services/settings/namespace.d.mts +6 -6
  73. package/dist/services/subagent-template/index.d.mts +1 -1
  74. package/dist/services/subagent-template/schemas.d.mts +1 -1
  75. package/dist/services/tool-approval/index.mjs +1 -1
  76. package/dist/services/tools/index.mjs +1 -1
  77. package/dist/services/tray-menu/index.d.mts +2 -2
  78. package/dist/services/tray-menu/namespace.d.mts +1 -1
  79. package/dist/services/tray-menu/schemas.d.mts +1 -1
  80. package/dist/session-ZAJrcudH.mjs +39 -0
  81. package/dist/{session-bKk-XeaY.mjs → session-owtKCoUX.mjs} +1 -1
  82. package/dist/{tool-approval-service-C2xXBtdJ.mjs → tool-approval-service-B_28RhuK.mjs} +1 -1
  83. package/dist/{tools-DEUzCPBB.mjs → tools-BpzJterj.mjs} +1 -1
  84. package/dist/{types-4LKM7ZfA.d.mts → types-Bo2-N1YR.d.mts} +887 -357
  85. package/dist/workflow-engine/index.d.mts +34 -34
  86. package/dist/workflow-engine/index.mjs +1 -1
  87. package/dist/workflow-engine/package.mjs +1 -1
  88. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  89. package/package.json +1 -1
  90. package/dist/handlers-CTrL8wmC.mjs +0 -41
  91. package/dist/primitive-runtime-C2yw4-F8.mjs +0 -1
  92. package/dist/schemas-CiMm2zrE.mjs +0 -1
  93. package/dist/session-Me3XO-l9.mjs +0 -39
@@ -1,3 +1,3 @@
1
- import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-DfNIhEm_.mjs";
2
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-D_ZXa76m.mjs";
1
+ import { S as ProviderConfigFileRecordSchema, _ as BindingRecord, a as CanonicalProviderConfigPatchSchema, b as EffectiveAdapterSchema, c as CreateCanonicalProviderConfigInputSchema, d as ProviderConfigFileSet, f as AdapterFileConfig, g as AdapterSubsystemSchemas, h as AdapterReadinessSchema, i as CanonicalProviderConfigPatch, l as AdapterFileConfigSet, m as AdapterReadiness, n as CanonicalProviderConfigCredentialRefsPayload, o as CreateCanonicalProviderConfigInput, p as AdapterFileConfigSchema, r as CanonicalProviderConfigCredentialRefsSchema, s as CreateCanonicalProviderConfigInputPayload, t as CanonicalProviderConfigCredentialRefs, u as IAdapterConfigRepository, v as BindingRecordSchema, x as ProviderConfigFileRecord, y as EffectiveAdapter } from "../../index-BVMF3kRv.mjs";
2
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-CWgNi8Gv.mjs";
3
3
  export { AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigCredentialRefs, CanonicalProviderConfigCredentialRefsPayload, CanonicalProviderConfigCredentialRefsSchema, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet };
@@ -1,2 +1,2 @@
1
- import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-D_ZXa76m.mjs";
1
+ import { n as AdapterSubsystemSubjects, t as AdapterSubsystemNamespace } from "../../namespace-CWgNi8Gv.mjs";
2
2
  export { AdapterSubsystemNamespace, AdapterSubsystemSubjects };
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-xoTn8JZb.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-DbvQ4HYc.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CyEdMtnQ.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BXuuv8L9.mjs";
3
3
  export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-DbvQ4HYc.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-BXuuv8L9.mjs";
2
2
  export { AgentRuntimeNamespace, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-xoTn8JZb.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CyEdMtnQ.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
@@ -160,9 +160,9 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
160
160
  declare const ContextRuleChangedEventSchema: z.ZodObject<{
161
161
  ruleId: z.ZodString;
162
162
  changeType: z.ZodEnum<{
163
+ deleted: "deleted";
163
164
  created: "created";
164
165
  updated: "updated";
165
- deleted: "deleted";
166
166
  }>;
167
167
  previous: z.ZodNullable<z.ZodObject<{
168
168
  scope: z.ZodEnum<{
@@ -313,9 +313,9 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
313
313
  changed: _$zod.ZodObject<{
314
314
  ruleId: _$zod.ZodString;
315
315
  changeType: _$zod.ZodEnum<{
316
+ deleted: "deleted";
316
317
  created: "created";
317
318
  updated: "updated";
318
- deleted: "deleted";
319
319
  }>;
320
320
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
321
321
  scope: _$zod.ZodEnum<{
@@ -383,9 +383,9 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
383
383
  changed: _$zod.ZodObject<{
384
384
  ruleId: _$zod.ZodString;
385
385
  changeType: _$zod.ZodEnum<{
386
+ deleted: "deleted";
386
387
  created: "created";
387
388
  updated: "updated";
388
- deleted: "deleted";
389
389
  }>;
390
390
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
391
391
  scope: _$zod.ZodEnum<{
@@ -10,18 +10,18 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
10
10
  changed: _$zod.ZodObject<{
11
11
  path: _$zod.ZodString;
12
12
  kind: _$zod.ZodEnum<{
13
- create: "create";
14
- change: "change";
15
13
  delete: "delete";
14
+ change: "change";
15
+ create: "create";
16
16
  }>;
17
17
  }, _$zod_v4_core0.$strip>;
18
18
  batch: _$zod.ZodObject<{
19
19
  changes: _$zod.ZodArray<_$zod.ZodObject<{
20
20
  path: _$zod.ZodString;
21
21
  kind: _$zod.ZodEnum<{
22
- create: "create";
23
- change: "change";
24
22
  delete: "delete";
23
+ change: "change";
24
+ create: "create";
25
25
  }>;
26
26
  }, _$zod_v4_core0.$strip>>;
27
27
  }, _$zod_v4_core0.$strip>;
@@ -153,18 +153,18 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
153
153
  changed: _$zod.ZodObject<{
154
154
  path: _$zod.ZodString;
155
155
  kind: _$zod.ZodEnum<{
156
- create: "create";
157
- change: "change";
158
156
  delete: "delete";
157
+ change: "change";
158
+ create: "create";
159
159
  }>;
160
160
  }, _$zod_v4_core0.$strip>;
161
161
  batch: _$zod.ZodObject<{
162
162
  changes: _$zod.ZodArray<_$zod.ZodObject<{
163
163
  path: _$zod.ZodString;
164
164
  kind: _$zod.ZodEnum<{
165
- create: "create";
166
- change: "change";
167
165
  delete: "delete";
166
+ change: "change";
167
+ create: "create";
168
168
  }>;
169
169
  }, _$zod_v4_core0.$strip>>;
170
170
  }, _$zod_v4_core0.$strip>;
@@ -294,18 +294,18 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
294
294
  changed: _$zod.ZodObject<{
295
295
  path: _$zod.ZodString;
296
296
  kind: _$zod.ZodEnum<{
297
- create: "create";
298
- change: "change";
299
297
  delete: "delete";
298
+ change: "change";
299
+ create: "create";
300
300
  }>;
301
301
  }, _$zod_v4_core0.$strip>;
302
302
  batch: _$zod.ZodObject<{
303
303
  changes: _$zod.ZodArray<_$zod.ZodObject<{
304
304
  path: _$zod.ZodString;
305
305
  kind: _$zod.ZodEnum<{
306
- create: "create";
307
- change: "change";
308
306
  delete: "delete";
307
+ change: "change";
308
+ create: "create";
309
309
  }>;
310
310
  }, _$zod_v4_core0.$strip>>;
311
311
  }, _$zod_v4_core0.$strip>;
@@ -5,9 +5,9 @@ import { z } from "zod";
5
5
  * File change kind.
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
- create: "create";
9
- change: "change";
10
8
  delete: "delete";
9
+ change: "change";
10
+ create: "create";
11
11
  }>;
12
12
  type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
13
13
  /**
@@ -16,9 +16,9 @@ type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
16
16
  declare const FsChangedSchema: z.ZodObject<{
17
17
  path: z.ZodString;
18
18
  kind: z.ZodEnum<{
19
- create: "create";
20
- change: "change";
21
19
  delete: "delete";
20
+ change: "change";
21
+ create: "create";
22
22
  }>;
23
23
  }, z.core.$strip>;
24
24
  type FsChanged = z.infer<typeof FsChangedSchema>;
@@ -29,9 +29,9 @@ declare const FsBatchSchema: z.ZodObject<{
29
29
  changes: z.ZodArray<z.ZodObject<{
30
30
  path: z.ZodString;
31
31
  kind: z.ZodEnum<{
32
- create: "create";
33
- change: "change";
34
32
  delete: "delete";
33
+ change: "change";
34
+ create: "create";
35
35
  }>;
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;
@@ -14,8 +14,8 @@ declare const HarnessInputSchema: z.ZodObject<{
14
14
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
15
15
  name: z.ZodString;
16
16
  adapterName: z.ZodOptional<z.ZodString>;
17
- clientId: z.ZodOptional<z.ZodString>;
18
17
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
18
+ clientId: z.ZodOptional<z.ZodString>;
19
19
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
20
20
  "file.read": "file.read";
21
21
  "file.write": "file.write";
@@ -131,8 +131,8 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
131
131
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
132
132
  name: z.ZodString;
133
133
  adapterName: z.ZodOptional<z.ZodString>;
134
- clientId: z.ZodOptional<z.ZodString>;
135
134
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
135
+ clientId: z.ZodOptional<z.ZodString>;
136
136
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
137
137
  "file.read": "file.read";
138
138
  "file.write": "file.write";
@@ -738,8 +738,8 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
738
738
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
739
739
  name: z.ZodString;
740
740
  adapterName: z.ZodOptional<z.ZodString>;
741
- clientId: z.ZodOptional<z.ZodString>;
742
741
  credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
742
+ clientId: z.ZodOptional<z.ZodString>;
743
743
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
744
744
  "file.read": "file.read";
745
745
  "file.write": "file.write";