@makaio/framework 1.0.0-dev-1781996773251 → 1.0.0-dev-1781999985054

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 (83) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/adapters/config/index.d.mts +1 -1
  4. package/dist/adapters/index.d.mts +2 -2
  5. package/dist/adapters/index.mjs +1 -1
  6. package/dist/adapters/stream-session/index.d.mts +15 -5
  7. package/dist/adapters/stream-session/index.mjs +1 -1
  8. package/dist/contracts/adapter/index.d.mts +2 -2
  9. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  10. package/dist/contracts/artifact/index.d.mts +1 -1
  11. package/dist/contracts/client/index.d.mts +1 -1
  12. package/dist/contracts/config/index.d.mts +12 -12
  13. package/dist/contracts/extension/index.d.mts +3 -3
  14. package/dist/contracts/facet/index.d.mts +1 -1
  15. package/dist/contracts/harness/index.d.mts +1 -1
  16. package/dist/contracts/index.d.mts +28 -28
  17. package/dist/contracts/materialization/index.d.mts +3 -3
  18. package/dist/contracts/provider/index.d.mts +1 -1
  19. package/dist/contracts/session/index.d.mts +2 -2
  20. package/dist/contracts/shared/index.d.mts +1 -1
  21. package/dist/contracts/variant/index.d.mts +1 -1
  22. package/dist/contracts/workflow/index.d.mts +2 -2
  23. package/dist/{definition-0EXM1tyu.d.mts → definition-D_3U4OLJ.d.mts} +1 -1
  24. package/dist/{index-DHUARU-6.d.mts → index-BWnf3pYm.d.mts} +6 -6
  25. package/dist/{index-DImePakw.d.mts → index-B_FtZ3Gn.d.mts} +20 -20
  26. package/dist/{index-DDehaguq.d.mts → index-C096hXsS.d.mts} +47 -47
  27. package/dist/{index-BfsvUD9j.d.mts → index-C2K2Tdo9.d.mts} +61 -61
  28. package/dist/{index-Cx1Bm6WD.d.mts → index-CRmApyqn.d.mts} +4 -4
  29. package/dist/{index-BAQ6QBcU.d.mts → index-CXZ1a_DD.d.mts} +32 -32
  30. package/dist/{index-WOoVeAEf.d.mts → index-D2WJ0Zpt.d.mts} +9 -9
  31. package/dist/{index-Dch9gi4S.d.mts → index-DM8PTbfm.d.mts} +1 -1
  32. package/dist/{index-CUSOL0X_.d.mts → index-DdBRlm7m.d.mts} +6 -6
  33. package/dist/{index-DvLCzle5.d.mts → index-DnZJ4j-7.d.mts} +24 -24
  34. package/dist/{index-4eP9DRL_.d.mts → index-Mi_UJoUV.d.mts} +4 -4
  35. package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
  36. package/dist/{index-CqCe7Phc.d.mts → index-mU2lnU7O.d.mts} +6 -6
  37. package/dist/{index-DnLf0YKC.d.mts → index-q8nLr74m.d.mts} +6 -6
  38. package/dist/{index-DOIbPMcj.d.mts → index-vUhaDyDa.d.mts} +1 -1
  39. package/dist/{index-CYHWOXUm.d.mts → index-vs_GRZcb.d.mts} +2 -2
  40. package/dist/{index-CuILCdip.d.mts → index-xyXYG5WO.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-Do_rmLFb.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
  45. package/dist/{namespace-CfvtDD_U.d.mts → namespace-BLOld9Wa.d.mts} +2 -2
  46. package/dist/{namespace-B95uYmZB.d.mts → namespace-C6iVTunW.d.mts} +52 -52
  47. package/dist/{namespace-UaiY5v62.d.mts → namespace-CJkAriut.d.mts} +22 -22
  48. package/dist/{namespace-Bm77p82L.d.mts → namespace-DSsdxeKi.d.mts} +9 -9
  49. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-DXWpFdQH2.d.mts} +2 -2
  50. package/dist/package.json +1 -1
  51. package/dist/{schema-CKTzwiif.d.mts → schema-B3sB8_cB.d.mts} +1 -1
  52. package/dist/{schemas-CoFCV42v.d.mts → schemas-CgX7mPkv.d.mts} +2 -2
  53. package/dist/{schemas-CDGld_OC.d.mts → schemas-CscdPqCt.d.mts} +3 -3
  54. package/dist/{schemas-DDaP5WkH.d.mts → schemas-DXjyGVpx.d.mts} +3 -3
  55. package/dist/{schemas-CwgS7KoL2.d.mts → schemas-DhSdafzl2.d.mts} +9 -9
  56. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  57. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  58. package/dist/services/agent-runtime/index.d.mts +2 -2
  59. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  60. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  61. package/dist/services/context-rules/index.d.mts +3 -3
  62. package/dist/services/execution-target/index.d.mts +1 -1
  63. package/dist/services/filesystem/namespace.d.mts +6 -6
  64. package/dist/services/filesystem/schemas.d.mts +3 -3
  65. package/dist/services/harness/index.d.mts +3 -3
  66. package/dist/services/index.d.mts +49 -49
  67. package/dist/services/session/index.d.mts +4 -4
  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/settings/namespace.d.mts +6 -6
  72. package/dist/services/subagent-template/index.d.mts +2 -2
  73. package/dist/services/subagent-template/namespace.d.mts +1 -1
  74. package/dist/services/subagent-template/schemas.d.mts +1 -1
  75. package/dist/services/tray-menu/index.d.mts +2 -2
  76. package/dist/services/tray-menu/namespace.d.mts +1 -1
  77. package/dist/services/tray-menu/schemas.d.mts +1 -1
  78. package/dist/{session-lineage-Cht4jbvV.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
  79. package/dist/{transition-BBElJqQ8.d.mts → transition-ByWf06n-.d.mts} +1 -1
  80. package/dist/{types-B49V7vZJ.d.mts → types-BNgCREUh.d.mts} +13 -13
  81. package/dist/{types-BrTJEhR-.d.mts → types-BXCLseKt.d.mts} +7 -0
  82. package/dist/workflow-engine/index.d.mts +63 -63
  83. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { i as JsonValue$1 } from "./json-value-DtIkQN7g.mjs";
2
- import { s as MessageBlock$1 } from "./index-CaerrEDH.mjs";
2
+ import { s as MessageBlock$1 } from "./index-NkNbYFud.mjs";
3
3
  import * as _$zod from "zod";
4
4
  import { z } from "zod";
5
5
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -163,9 +163,9 @@ declare const MakaioSessionSchema: z.ZodObject<{
163
163
  }, z.core.$strip>>;
164
164
  status: z.ZodEnum<{
165
165
  closed: "closed";
166
+ discovered: "discovered";
166
167
  active: "active";
167
168
  archived: "archived";
168
- discovered: "discovered";
169
169
  }>;
170
170
  leadAgentId: z.ZodOptional<z.ZodString>;
171
171
  parentSessionId: z.ZodOptional<z.ZodString>;
@@ -289,9 +289,9 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
289
289
  }, z.core.$strip>>;
290
290
  status: z.ZodEnum<{
291
291
  closed: "closed";
292
+ discovered: "discovered";
292
293
  active: "active";
293
294
  archived: "archived";
294
- discovered: "discovered";
295
295
  }>;
296
296
  leadAgentId: z.ZodOptional<z.ZodString>;
297
297
  parentSessionId: z.ZodOptional<z.ZodString>;
@@ -489,9 +489,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
489
489
  }, z.core.$strip>>;
490
490
  status: z.ZodEnum<{
491
491
  closed: "closed";
492
+ discovered: "discovered";
492
493
  active: "active";
493
494
  archived: "archived";
494
- discovered: "discovered";
495
495
  }>;
496
496
  leadAgentId: z.ZodOptional<z.ZodString>;
497
497
  parentSessionId: z.ZodOptional<z.ZodString>;
@@ -5296,9 +5296,9 @@ declare const SessionSchemas: {
5296
5296
  }, _$zod_v4_core0.$strip>>;
5297
5297
  status: _$zod.ZodEnum<{
5298
5298
  closed: "closed";
5299
+ discovered: "discovered";
5299
5300
  active: "active";
5300
5301
  archived: "archived";
5301
- discovered: "discovered";
5302
5302
  }>;
5303
5303
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
5304
5304
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5878,9 +5878,9 @@ declare const SessionSchemas: {
5878
5878
  }, _$zod_v4_core0.$strip>>;
5879
5879
  status: _$zod.ZodEnum<{
5880
5880
  closed: "closed";
5881
+ discovered: "discovered";
5881
5882
  active: "active";
5882
5883
  archived: "archived";
5883
- discovered: "discovered";
5884
5884
  }>;
5885
5885
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
5886
5886
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6500,8 +6500,8 @@ declare const SessionSchemas: {
6500
6500
  maxTokens: _$zod.ZodNumber;
6501
6501
  percentage: _$zod.ZodNumber;
6502
6502
  level: _$zod.ZodEnum<{
6503
- ok: "ok";
6504
6503
  warn: "warn";
6504
+ ok: "ok";
6505
6505
  critical: "critical";
6506
6506
  }>;
6507
6507
  lastUpdatedAt: _$zod.ZodNumber;
@@ -6836,9 +6836,9 @@ declare const SessionSchemas: {
6836
6836
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
6837
6837
  all: "all";
6838
6838
  closed: "closed";
6839
+ discovered: "discovered";
6839
6840
  active: "active";
6840
6841
  archived: "archived";
6841
- discovered: "discovered";
6842
6842
  }>>;
6843
6843
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
6844
6844
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -6884,9 +6884,9 @@ declare const SessionSchemas: {
6884
6884
  }, _$zod_v4_core0.$strip>>;
6885
6885
  status: _$zod.ZodEnum<{
6886
6886
  closed: "closed";
6887
+ discovered: "discovered";
6887
6888
  active: "active";
6888
6889
  archived: "archived";
6889
- discovered: "discovered";
6890
6890
  }>;
6891
6891
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6892
6892
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6975,9 +6975,9 @@ declare const SessionSchemas: {
6975
6975
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
6976
6976
  all: "all";
6977
6977
  closed: "closed";
6978
+ discovered: "discovered";
6978
6979
  active: "active";
6979
6980
  archived: "archived";
6980
- discovered: "discovered";
6981
6981
  }>>;
6982
6982
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
6983
6983
  }, _$zod_v4_core0.$strip>;
@@ -7020,9 +7020,9 @@ declare const SessionSchemas: {
7020
7020
  }, _$zod_v4_core0.$strip>>;
7021
7021
  status: _$zod.ZodEnum<{
7022
7022
  closed: "closed";
7023
+ discovered: "discovered";
7023
7024
  active: "active";
7024
7025
  archived: "archived";
7025
- discovered: "discovered";
7026
7026
  }>;
7027
7027
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
7028
7028
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -7147,9 +7147,9 @@ declare const SessionSchemas: {
7147
7147
  }, _$zod_v4_core0.$strip>>;
7148
7148
  status: _$zod.ZodEnum<{
7149
7149
  closed: "closed";
7150
+ discovered: "discovered";
7150
7151
  active: "active";
7151
7152
  archived: "archived";
7152
- discovered: "discovered";
7153
7153
  }>;
7154
7154
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
7155
7155
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -7386,9 +7386,9 @@ declare const SessionSchemas: {
7386
7386
  }, _$zod_v4_core0.$strip>>;
7387
7387
  status: _$zod.ZodEnum<{
7388
7388
  closed: "closed";
7389
+ discovered: "discovered";
7389
7390
  active: "active";
7390
7391
  archived: "archived";
7391
- discovered: "discovered";
7392
7392
  }>;
7393
7393
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
7394
7394
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -739,6 +739,8 @@ declare abstract class AIAgentConnector<TBus extends ScopedBus<string> = ScopedB
739
739
  interface ConfigFactoryInput<TBus extends ScopedBus<string> = ScopedBus<string>> {
740
740
  /** Scoped bus for adapter-specific events */
741
741
  bus: TBus;
742
+ /** Global bus for cross-namespace runtime requests */
743
+ globalBus?: IMakaioBus;
742
744
  /** Unique agent identifier (required - generated by AIAgent) */
743
745
  agentId: string;
744
746
  /** Adapter instance identifier (required - provided by AIAgent from adapter) */
@@ -847,6 +849,10 @@ interface AgentRuntimeInput {
847
849
  env?: Record<string, string>;
848
850
  /** Reasoning effort for supporting adapters */
849
851
  reasoningEffort?: AIReasoningLevel$1;
852
+ /** Allowed tool names. Empty array disables all adapter-visible tools. */
853
+ allowedTools?: string[];
854
+ /** Disallowed tool names. Takes precedence over allowedTools. */
855
+ disallowedTools?: string[];
850
856
  }
851
857
  /**
852
858
  * Runtime options as RESOLVED config - model/cwd required (after configFactory applies defaults).
@@ -864,6 +870,7 @@ type AgentContext = Required<AgentIdentity>;
864
870
  type ExecutionContext = AgentContext;
865
871
  interface MinimalAgentConnectorConfig<TBus extends ScopedBus<string> = ScopedBus<string>> {
866
872
  bus: TBus;
873
+ globalBus?: IMakaioBus;
867
874
  }
868
875
  /**
869
876
  * Base configuration for AI agent connector instances.