@makaio/framework 1.0.0-dev-1790165411632 → 1.0.0-dev-1790248497521

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 (98) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +24 -24
  3. package/dist/artifact-DF2UJsjP.mjs +1 -0
  4. package/dist/bridge/pty-bridge.cjs +222 -0
  5. package/dist/bus/index.d.mts +20 -20
  6. package/dist/bus/index.mjs +1 -1
  7. package/dist/bus-DgpPEPoM.mjs +9 -0
  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 +3 -3
  11. package/dist/contracts/artifact/index.mjs +1 -1
  12. package/dist/contracts/canonical-model/index.d.mts +1 -1
  13. package/dist/contracts/capabilities/index.d.mts +1 -1
  14. package/dist/contracts/client/index.d.mts +1 -1
  15. package/dist/contracts/extension/index.d.mts +3 -3
  16. package/dist/contracts/index.d.mts +162 -162
  17. package/dist/contracts/index.mjs +1 -1
  18. package/dist/contracts/materialization/index.d.mts +3 -3
  19. package/dist/contracts/materialization/index.mjs +1 -1
  20. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  21. package/dist/contracts/reaction/index.d.mts +1 -1
  22. package/dist/contracts/reaction/index.mjs +1 -1
  23. package/dist/contracts/session/index.d.mts +2 -2
  24. package/dist/contracts/shared/index.d.mts +1 -1
  25. package/dist/contracts/variant/index.d.mts +1 -1
  26. package/dist/contracts/worker/index.d.mts +1 -1
  27. package/dist/contracts/worker/index.mjs +1 -1
  28. package/dist/contracts/workflow/index.d.mts +2 -2
  29. package/dist/contracts/workflow/index.mjs +1 -1
  30. package/dist/framework-packages-mquh5_Yw.mjs +1 -0
  31. package/dist/{index-C9Dz8UoK2.d.mts → index-2YW8DTb62.d.mts} +6 -6
  32. package/dist/{index-B7KgjUmJ2.d.mts → index-6UlianLY2.d.mts} +4 -4
  33. package/dist/{index-BRF5X-EZ.d.mts → index-BRXETFym.d.mts} +9 -1
  34. package/dist/{index-BDTcg6tu.d.mts → index-BV3nQpdO.d.mts} +100 -100
  35. package/dist/{index-B1uHTa1l.d.mts → index-BZQ3OviE.d.mts} +1 -1
  36. package/dist/{index-z_wA9LhQ.d.mts → index-Bon00c4i.d.mts} +38 -1
  37. package/dist/{index-DyzmUD1S.d.mts → index-BrMihjbI.d.mts} +19 -19
  38. package/dist/{index-BVG-RaIu.d.mts → index-C4VB63lu.d.mts} +76 -76
  39. package/dist/{index-DRSeELQh.d.mts → index-CEX9qfLa.d.mts} +1 -1
  40. package/dist/{index-QYdQSOnc2.d.mts → index-CydQ1dLS2.d.mts} +6 -6
  41. package/dist/{index-CI5ss_XH.d.mts → index-D5Lw1UsO.d.mts} +339 -339
  42. package/dist/{index-BUxs65tf.d.mts → index-DDCixELI.d.mts} +1 -1
  43. package/dist/{index-8hJCLlAE.d.mts → index-DJLRXASA.d.mts} +11 -11
  44. package/dist/{index-CmTVBNCe.d.mts → index-Dcwee5Cl.d.mts} +372 -296
  45. package/dist/{index-CDuEmakt2.d.mts → index-LCumcYK12.d.mts} +378 -378
  46. package/dist/{index-qtH2O8j_.d.mts → index-QgSmUedN.d.mts} +6 -6
  47. package/dist/{index-BnNNfBck.d.mts → index-rkN_9bde.d.mts} +12 -12
  48. package/dist/kernel/extension/index.d.mts +2 -2
  49. package/dist/kernel/index.d.mts +2 -2
  50. package/dist/kernel/observability/index.d.mts +1 -1
  51. package/dist/{materialization-iFhpbs1s.mjs → materialization-CIrHHspa.mjs} +4 -1
  52. package/dist/{namespace-Bz0ZDWhE.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
  53. package/dist/{namespace-BhpzgnH3.d.mts → namespace-C5tKjqgb.d.mts} +1 -1
  54. package/dist/{namespace-CNX4llM5.d.mts → namespace-D8oTiLLo.d.mts} +12 -12
  55. package/dist/{namespace-B0__88KU.d.mts → namespace-HLrZerLd.d.mts} +154 -154
  56. package/dist/{namespace-BaUgxONS.d.mts → namespace-KomML5ti.d.mts} +2 -2
  57. package/dist/{package-jjugnMVh.d.mts → package-BswWlFSn.d.mts} +1 -1
  58. package/dist/package.json +1 -1
  59. package/dist/reaction-DVa5lwm5.mjs +1 -0
  60. package/dist/{schemas-DFamD1UF.d.mts → schemas-BOT1HUv6.d.mts} +154 -154
  61. package/dist/{schemas-KyQQPGjX.d.mts → schemas-CrOeGZHg.d.mts} +11 -11
  62. package/dist/{schemas-D9pXu76T.d.mts → schemas-__oTCzF6.d.mts} +8 -8
  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/agent-runtime/index.d.mts +2 -2
  66. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  67. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  68. package/dist/services/context-rules/index.d.mts +3 -3
  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 +137 -100
  72. package/dist/services/index.mjs +1 -1
  73. package/dist/services/provider-context/index.d.mts +1 -1
  74. package/dist/services/session/index.d.mts +3 -3
  75. package/dist/services/session/messages/namespace.d.mts +1 -1
  76. package/dist/services/session/session-events/namespace.d.mts +1 -1
  77. package/dist/services/settings/namespace.d.mts +8 -8
  78. package/dist/services/subagent-template/index.d.mts +2 -2
  79. package/dist/services/subagent-template/namespace.d.mts +1 -1
  80. package/dist/services/subagent-template/schemas.d.mts +1 -1
  81. package/dist/services/tools/index.mjs +1 -1
  82. package/dist/services/workflow-transitions/index.mjs +1 -1
  83. package/dist/{session-lineage-CmP7L5g2.d.mts → session-lineage-BQ9NWlt6.d.mts} +1 -1
  84. package/dist/{tools-ByDy0ueE.mjs → tools-K3DWA4Jr.mjs} +1 -1
  85. package/dist/{transition-CAtcgdUp.d.mts → transition-CSN6QoMp.d.mts} +1 -1
  86. package/dist/{types-BbqmHOM-.d.mts → types-BP_P1izV.d.mts} +350 -350
  87. package/dist/{view-builder-6YQFmKD6.d.mts → view-builder-2cR7vI7R.d.mts} +1 -1
  88. package/dist/{worker-B72n8bse.mjs → worker-YKEWHrx5.mjs} +1 -1
  89. package/dist/{workflow-D-X3rPsl.mjs → workflow-01evBylF.mjs} +1 -1
  90. package/dist/workflow-engine/index.d.mts +33 -33
  91. package/dist/workflow-engine/package.d.mts +1 -1
  92. package/dist/{workflow-transitions-UOXY-VZa.mjs → workflow-transitions-C2BLDE5N.mjs} +1 -1
  93. package/package.json +1 -1
  94. package/dist/artifact-CKz9YQPu.mjs +0 -1
  95. package/dist/bus-D4DBDaoS.mjs +0 -9
  96. package/dist/framework-packages-C2tvdFmP.mjs +0 -1
  97. package/dist/reaction-C8WbJqLk.mjs +0 -1
  98. package/dist/{schemas-CuOZoC08.d.mts → schemas-CU2NE5Lg.d.mts} +8 -8
@@ -1,10 +1,10 @@
1
1
  import { $ as IngestCompletedTurnResult, $n as runExclusiveStart, $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, An as FreshWithHistoryRecoveryPlan, At as SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, B as importCursorsDual, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dn as buildPlannedRecoveryContext, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Fn as recoveryPlanResumeTarget, Ft as registerMemoryAgentStorage, G as ObservedSessionIngestionPolicyInput, Gn as ISessionOrchestrator, Gt as assembleForkContext, H as OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, In as StartReservationRequest, It as registerDrizzleSessionStorage, J as ObservedSessionIngestionService, Jn as assessClaimOwner, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, K as registerObservedSessionIngestionPolicyProvider, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Ln as reserveStartFor, Lt as registerMemorySessionStorage, M as SelectTurn, Mn as RecoveryPlan, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nn as planAgentRecovery, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, P as turnsDual, Pn as recoveryPlanRequiresHistory, Pt as registerDrizzleAgentStorage, Q as IngestCompletedTurnParams, Qn as peekInFlightStart, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, S as messageRoutingDual, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, U as ObservedSessionIngestionPolicyDecision, Un as TurnContextEnricher, Ut as createSessionExtensionContext, V as IObservedSessionIngestionPolicyProvider, Vn as extractTextContent, Vt as AgentStorageSubjects, W as ObservedSessionIngestionPolicyImportStatus, Wn as AdapterRegistry, Wt as SessionBridge, X as isTrackingStub, Xn as enqueueAgentSettle, Xt as SelectionRefusalContext, Y as isPolicyDiscoveredObservedSession, Yn as mintClaimToken, Yt as NamedSelectionInstance, Z as LogImportTriggerSubjects, Zn as InFlightStart, Zt as describeHalfNamedInstanceRefusal, _ as MakaioSessionConfig, _n as LeadTransition, _t as SessionPreviewMaps, a as resolveSessionResumeIdentity, an as registerResumeHandler, at as SessionUserMessageSentPayload, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, ct as emitSessionUserMessageSent, d as toSessionLineage, dn as resolveSelectionOwnedInstance, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, er as registerAdapterSessionMovementObserver, et as IngestTurnMessage, f as registerSessionDiscoveredHandler, fn as startLeadAgent, ft as InsertSessionEvent, g as MakaioSession, gn as LeadStartResult, gt as getSessionAncestorChain, h as registerParentResolver, hn as LeadStartRequest, ht as sessionEventsDual, i as SessionResumeIdentity, in as registerGetStatusCountsHandler, ir as MakaioSessionServiceOptions, it as SessionTurnStartedPayload, j as InsertTurn, jn as NativeResumeRecoveryPlan, jt as ownershipClaimTransactionLock, k as registerMemoryMessageStorage, kn as FRESH_WITH_HISTORY_RECOVERY_PLAN, kt as OwnershipClaimKey, l as ContextAssemblyResult, ln as SessionContextWindowState, lt as registerSessionLifecycleEventWriters, m as registerCompressLineageResolver, mn as LeadStartDispatchRequest, mt as sessionEvents, n as NativeLocalityIntent, nn as resetBuiltInActionsRegistration, nr as registerSessionOwnershipAuthority, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, ot as appendSessionLifecycleEvent, p as registerSpawningToolCallResolver, pn as LeadStartDispatch, pt as SelectSessionEvent, q as unregisterObservedSessionIngestionPolicyProvider, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, r as evaluateNativeLocality, rn as actionRegistry, rr as MakaioSessionService, rt as SessionLifecycleEventArgs, s as buildSessionContext, sn as AgentContextState, st as emitSessionTurnStarted, t as NativeLocalityInput, tn as registerBuiltInActions, tr as SessionOwnershipAuthorityDeps, tt as ingestCompletedTurn, u as kindToBranchKind, un as SelectionInstanceContext, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vn as buildTurnInitiator, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wn as ensureAgentModel, wt as fetchMessageCountsBySession, x as messageRouting, xn as VerifiedAgents, xt as SearchFilters, y as InsertMessageRouting, yn as AgentRecoveryOutcome, yt as mapAgentsBySession, z as importCursors, zn as getOrCreateSession, zt as createSessionStorageMemoryState } from "../../index-D5BLD2Pw.mjs";
2
2
  import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, S as resolveOwnedAdapterInstance, T as TurnConfig, _ as OwnedAdapterInstanceTarget, a as InFlightStartResolution, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, i as refuseTotalDeferral, k as TurnResult, l as registerForkHandler, m as SessionStartFailureCode, n as routeToAgents, o as StartResolution, p as SessionStartError, r as admitFreshStartTargets, s as resolveInFlightStarts, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities, y as resolveAnnouncedAdapterInstance } from "../../index-CLwnkYRD.mjs";
3
- import { l as resolveRuntimeProviderContext } from "../../index-B1uHTa1l.mjs";
3
+ import { l as resolveRuntimeProviderContext } from "../../index-BZQ3OviE.mjs";
4
4
  import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-6O0G1s65.mjs";
5
5
  import { _ as sessionsDual, c as adapterSessionClaims, d as agentsDual, g as sessions, l as adapterSessionClaimsDual, u as agents } from "../../schema-De6d0FWI.mjs";
6
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-Bz0ZDWhE.mjs";
6
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-BEi98VfQ.mjs";
7
7
  import { t as TurnStorageNamespace } from "../../namespace-Sd6qj6w22.mjs";
8
8
  import { n as TurnStorageSubjects } from "../../namespace-DbtfwD5Z.mjs";
9
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-BhpzgnH3.mjs";
9
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-C5tKjqgb.mjs";
10
10
  export { AdapterRegistry, AgentContextState, AgentRecoveryOutcome, AgentStorageNamespace, AgentStorageSubjects, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, EmbeddingIndexManager, EventTransform, FRESH_WITH_HISTORY_RECOVERY_PLAN, FallbackRuntimeOptions, FreshWithHistoryRecoveryPlan, IObservedSessionIngestionPolicyProvider, ISessionOrchestrator, InFlightStart, InFlightStartResolution, IngestCompletedTurnParams, IngestCompletedTurnResult, IngestTurnMessage, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, LeadStartDispatch, LeadStartDispatchRequest, LeadStartRequest, LeadStartResult, LeadTransition, LogImportTriggerSubjects, MachineScopedAdapterInstance, MakaioSession, MakaioSessionConfig, MakaioSessionService, MakaioSessionServiceOptions, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, NamedSelectionInstance, NativeLocalityInput, NativeLocalityIntent, NativeResumeRecoveryPlan, OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, ObservedSessionIngestionPolicyDecision, ObservedSessionIngestionPolicyImportStatus, ObservedSessionIngestionPolicyInput, ObservedSessionIngestionService, OwnedAdapterInstance, OwnedAdapterInstanceTarget, OwnershipClaimKey, RecoveryConfig, RecoveryPlan, SESSION_OWNERSHIP_CLAIM_LOCK_NAMESPACE, SearchFilters, SearchSessionRow, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SelectionInstanceContext, SelectionRefusalContext, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLifecycleEventArgs, SessionOrchestrator, SessionOwnershipAuthorityDeps, SessionPreviewMaps, SessionResumeIdentity, SessionStartError, SessionStartFailureCode, SessionStorageMemoryState, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, SessionTurnStartedPayload, SessionUserMessageSentPayload, StartReservationRequest, StartResolution, StartTurnOptions, Turn, TurnConfig, TurnContext, TurnContextEnricher, TurnPairStateChange, TurnPairTerminalOutcome, TurnResult, TurnStorageNamespace, TurnStorageSubjects, VerifiedAgents, actionRegistry, adapterSessionClaims, adapterSessionClaimsDual, admitFreshStartTargets, agents, agentsDual, appendSessionLifecycleEvent, assembleForkContext, assessClaimOwner, buildPlannedRecoveryContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createSessionExtensionContext, createSessionStorageMemoryState, describeHalfNamedInstanceRefusal, emitSessionTurnStarted, emitSessionUserMessageSent, enqueueAgentSettle, ensureAgentCwd, ensureAgentModel, evaluateNativeLocality, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, getSessionAncestorChain, importCursors, importCursorsDual, ingestCompletedTurn, isPolicyDiscoveredObservedSession, isTrackingStub, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messageRoutingDual, messages, mintClaimToken, normalizeSelectionString, normalizeToBlocks, ownershipClaimTransactionLock, parseForkTransforms, peekInFlightStart, pickFallbackRuntimeOptions, planAgentRecovery, recoverAgent, recoveryPlanRequiresHistory, recoveryPlanResumeTarget, refuseTotalDeferral, registerAbandonHandler, registerAdapterSessionMovementObserver, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionOwnershipStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionOwnershipStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerObservedSessionIngestionPolicyProvider, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSessionLifecycleEventWriters, registerSessionOwnershipAuthority, registerSpawningToolCallResolver, reserveStartFor, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveAnnouncedAdapterInstance, resolveExecutionTarget, resolveInFlightStarts, resolveModelCapabilities, resolveOwnedAdapterInstance, resolveRuntimeProviderContext, resolveSelectionOwnedInstance, resolveSessionResumeIdentity, resolveTargetAgents, routeToAgents, routeToAgentsCore, runExclusiveStart, sessionEvents, sessionEventsDual, sessions, sessionsDual, startLeadAgent, toSessionLineage, turns, turnsDual, unregisterObservedSessionIngestionPolicyProvider, verifyAndRecoverAgents };
@@ -1,2 +1,2 @@
1
- import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-BhpzgnH3.mjs";
1
+ import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-C5tKjqgb.mjs";
2
2
  export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
@@ -1,2 +1,2 @@
1
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-Bz0ZDWhE.mjs";
1
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../../namespace-BEi98VfQ.mjs";
2
2
  export { SessionEventStorageNamespace, SessionEventStorageSubjects };
@@ -725,8 +725,8 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
725
725
  model: _$zod.ZodOptional<_$zod.ZodString>;
726
726
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
727
727
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
728
- fork: "fork";
729
728
  fresh: "fresh";
729
+ fork: "fork";
730
730
  }>>;
731
731
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
732
732
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -741,16 +741,16 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
741
741
  request: _$zod.ZodObject<{
742
742
  name: _$zod.ZodString;
743
743
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
744
- adapterName: _$zod.ZodString;
745
744
  model: _$zod.ZodOptional<_$zod.ZodString>;
746
745
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
747
746
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
748
747
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
749
748
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
750
749
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
750
+ adapterName: _$zod.ZodString;
751
751
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
752
- fork: "fork";
753
752
  fresh: "fresh";
753
+ fork: "fork";
754
754
  }>>;
755
755
  }, _$zod_v4_core0.$strip>;
756
756
  response: _$zod.ZodObject<{
@@ -766,8 +766,8 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
766
766
  model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
767
767
  systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
768
768
  contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
769
- fork: "fork";
770
769
  fresh: "fresh";
770
+ fork: "fork";
771
771
  }>>>;
772
772
  allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
773
773
  disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
@@ -816,8 +816,8 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
816
816
  model: _$zod.ZodOptional<_$zod.ZodString>;
817
817
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
818
818
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
819
- fork: "fork";
820
819
  fresh: "fresh";
820
+ fork: "fork";
821
821
  }>>;
822
822
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
823
823
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -832,16 +832,16 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
832
832
  request: _$zod.ZodObject<{
833
833
  name: _$zod.ZodString;
834
834
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
835
- adapterName: _$zod.ZodString;
836
835
  model: _$zod.ZodOptional<_$zod.ZodString>;
837
836
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
838
837
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
839
838
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
840
839
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
841
840
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
841
+ adapterName: _$zod.ZodString;
842
842
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
843
- fork: "fork";
844
843
  fresh: "fresh";
844
+ fork: "fork";
845
845
  }>>;
846
846
  }, _$zod_v4_core0.$strip>;
847
847
  response: _$zod.ZodObject<{
@@ -857,8 +857,8 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
857
857
  model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
858
858
  systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
859
859
  contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
860
- fork: "fork";
861
860
  fresh: "fresh";
861
+ fork: "fork";
862
862
  }>>>;
863
863
  allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
864
864
  disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
@@ -1,3 +1,3 @@
1
- import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-KyQQPGjX.mjs";
2
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-BaUgxONS.mjs";
1
+ import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-CrOeGZHg.mjs";
2
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-KomML5ti.mjs";
3
3
  export { type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -1,2 +1,2 @@
1
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-BaUgxONS.mjs";
1
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-KomML5ti.mjs";
2
2
  export { SubagentTemplateKernelNamespace, SubagentTemplateSubjects };
@@ -1,2 +1,2 @@
1
- import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-KyQQPGjX.mjs";
1
+ import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-CrOeGZHg.mjs";
2
2
  export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -1 +1 @@
1
- import{j as e}from"../../framework-packages-C2tvdFmP.mjs";import{n as t,r as n,t as r}from"../../tools-ByDy0ueE.mjs";export{r as FILE_ACCESS_RULES_KEY,e as ToolRegistry,n as createToolContributionProcessor,t as extractToolFilePath};
1
+ import{j as e}from"../../framework-packages-mquh5_Yw.mjs";import{n as t,r as n,t as r}from"../../tools-K3DWA4Jr.mjs";export{r as FILE_ACCESS_RULES_KEY,e as ToolRegistry,n as createToolContributionProcessor,t as extractToolFilePath};
@@ -1 +1 @@
1
- import{D as e,E as t,O as n,k as r}from"../../framework-packages-C2tvdFmP.mjs";import{t as i}from"../../workflow-transitions-UOXY-VZa.mjs";export{n as TransitionActionRegistry,t as TransitionPipelineService,e as TransitionRuleRegistry,r as WORKFLOW_START_ACTION_TYPE,i as createTransitionContributionProcessor};
1
+ import{D as e,E as t,O as n,k as r}from"../../framework-packages-mquh5_Yw.mjs";import{t as i}from"../../workflow-transitions-C2BLDE5N.mjs";export{n as TransitionActionRegistry,t as TransitionPipelineService,e as TransitionRuleRegistry,r as WORKFLOW_START_ACTION_TYPE,i as createTransitionContributionProcessor};
@@ -14,8 +14,8 @@ declare const COMPRESS_SESSION_LINEAGE_KIND: "compress";
14
14
  /** Discriminates the relationship of a session to its parent. */
15
15
  declare const SessionLineageKindSchema: z.ZodEnum<{
16
16
  fork: "fork";
17
- subagent: "subagent";
18
17
  root: "root";
18
+ subagent: "subagent";
19
19
  compress: "compress";
20
20
  }>;
21
21
  type SessionLineageKind = z.infer<typeof SessionLineageKindSchema>;
@@ -1 +1 @@
1
- import{l as e}from"./framework-packages-C2tvdFmP.mjs";import{FILE_ACCESS_RULES_KEY as t,extractToolFilePath as n}from"@makaio/framework/tools";function r(){let t=new Map;return{filter:e=>!!e.tools?.createToolsets,async processActivated(n,r,i){let a=i.getService(e);if(!a)throw Error(`ToolRegistry is not available. Ensure toolRegistryPackage is included in the composition root.`);let o=r.tools.createToolsets(i),s=[];try{for(let e of o)await a.register(e),s.push(()=>a.deregister(e.metadata.name))}catch(e){for(let e=s.length-1;e>=0;--e)try{await s[e]()}catch(e){console.error(`[ToolContributionProcessor] Rollback error for "${n}":`,e)}throw e}t.set(n,s)},async processStopped(e){let n=t.get(e);if(n){for(let t=n.length-1;t>=0;--t)try{await n[t]()}catch(t){console.error(`[ToolContributionProcessor] Deregister error for "${e}":`,t)}t.delete(e)}}}}export{n,r,t};
1
+ import{l as e}from"./framework-packages-mquh5_Yw.mjs";import{FILE_ACCESS_RULES_KEY as t,extractToolFilePath as n}from"@makaio/framework/tools";function r(){let t=new Map;return{filter:e=>!!e.tools?.createToolsets,async processActivated(n,r,i){let a=i.getService(e);if(!a)throw Error(`ToolRegistry is not available. Ensure toolRegistryPackage is included in the composition root.`);let o=r.tools.createToolsets(i),s=[];try{for(let e of o)await a.register(e),s.push(()=>a.deregister(e.metadata.name))}catch(e){for(let e=s.length-1;e>=0;--e)try{await s[e]()}catch(e){console.error(`[ToolContributionProcessor] Rollback error for "${n}":`,e)}throw e}t.set(n,s)},async processStopped(e){let n=t.get(e);if(n){for(let t=n.length-1;t>=0;--t)try{await n[t]()}catch(t){console.error(`[ToolContributionProcessor] Deregister error for "${e}":`,t)}t.delete(e)}}}}export{n,r,t};
@@ -1,4 +1,4 @@
1
- import { x as ArtifactRevision$1 } from "./schemas-CuOZoC08.mjs";
1
+ import { x as ArtifactRevision$1 } from "./schemas-CU2NE5Lg.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";