@makaio/framework 1.0.0-dev-1784706768858 → 1.0.0-dev-1784806252593

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 (51) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/clients/index.d.mts +5 -5
  3. package/dist/clients/index.mjs +1 -1
  4. package/dist/{context-resolution-DZSBOCKY.d.mts → context-resolution-B5IH2Z9v.d.mts} +6 -6
  5. package/dist/contracts/adapter/index.d.mts +2 -2
  6. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  7. package/dist/contracts/artifact/index.d.mts +2 -2
  8. package/dist/contracts/client/index.d.mts +2 -2
  9. package/dist/contracts/extension/index.d.mts +3 -3
  10. package/dist/contracts/index.d.mts +81 -81
  11. package/dist/contracts/materialization/index.d.mts +3 -3
  12. package/dist/contracts/session/index.d.mts +2 -2
  13. package/dist/contracts/variant/index.d.mts +1 -1
  14. package/dist/contracts/workflow/index.d.mts +2 -2
  15. package/dist/{hook-responses-mmqRa2Dq.d.mts → hook-responses-Dg8wDvRo.d.mts} +308 -21
  16. package/dist/{index-BDDbcWNI.d.mts → index-B6SBIKyk.d.mts} +3 -3
  17. package/dist/{index-BKeJ-Act.d.mts → index-BF-ZfYo4.d.mts} +7 -298
  18. package/dist/{index-t9fTvyq6.d.mts → index-BXgsQUhf.d.mts} +4 -4
  19. package/dist/{index-CHxWUmmA.d.mts → index-CYfiCzb-.d.mts} +1 -1
  20. package/dist/{index-BWvTZJxe.d.mts → index-D9Tk7hyM.d.mts} +25 -25
  21. package/dist/{index-CKccv4s2.d.mts → index-DSyyWwR2.d.mts} +24 -24
  22. package/dist/{index-CFqShlHD.d.mts → index-DeoKITib.d.mts} +79 -79
  23. package/dist/{index-C81hMexK.d.mts → index-Dfl1vniO.d.mts} +5 -5
  24. package/dist/{index-0Ju2i8gV.d.mts → index-g36yJDge.d.mts} +6 -6
  25. package/dist/{index-B_aBwkE-.d.mts → index-y5-qCuUL.d.mts} +36 -36
  26. package/dist/{index-DitLUuR5.d.mts → index-z9bcglqL.d.mts} +4 -4
  27. package/dist/kernel/extension/index.d.mts +1 -1
  28. package/dist/kernel/index.d.mts +2 -2
  29. package/dist/kernel/observability/index.d.mts +1 -1
  30. package/dist/{namespace-BWsPZGiq2.d.mts → namespace-DRHnU5Yi2.d.mts} +7 -7
  31. package/dist/package.json +1 -1
  32. package/dist/{schemas-oTIqxZN_.d.mts → schemas-1ahuxM83.d.mts} +10 -10
  33. package/dist/services/context-rules/index.d.mts +3 -3
  34. package/dist/services/execution-target/index.d.mts +1 -1
  35. package/dist/services/filesystem/namespace.d.mts +6 -6
  36. package/dist/services/filesystem/schemas.d.mts +3 -3
  37. package/dist/services/git/namespace.d.mts +2 -2
  38. package/dist/services/git/schemas.d.mts +1 -1
  39. package/dist/services/index.d.mts +13 -13
  40. package/dist/services/session/index.d.mts +1 -1
  41. package/dist/services/session/messages/namespace.d.mts +1 -1
  42. package/dist/services/settings/namespace.d.mts +10 -10
  43. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  44. package/dist/services/subagent-template/index.d.mts +1 -1
  45. package/dist/services/subagent-template/schemas.d.mts +1 -1
  46. package/dist/{session-lineage-Cte63dGx.d.mts → session-lineage-D4z26OtM.d.mts} +1 -1
  47. package/dist/{transition-BMYk_IVK.d.mts → transition-BuUKc2J1.d.mts} +1 -1
  48. package/dist/{types-CtSkJqzV.d.mts → types-D2KG8ewJ.d.mts} +1 -1
  49. package/dist/{view-builder-CpKzgyS2.d.mts → view-builder-BktOepKR.d.mts} +4 -4
  50. package/dist/workflow-engine/index.d.mts +46 -46
  51. package/package.json +1 -1
@@ -5,9 +5,9 @@ import { z } from "zod";
5
5
  * File change kind.
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
- change: "change";
9
8
  delete: "delete";
10
9
  create: "create";
10
+ change: "change";
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
- change: "change";
20
19
  delete: "delete";
21
20
  create: "create";
21
+ change: "change";
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
- change: "change";
33
32
  delete: "delete";
34
33
  create: "create";
34
+ change: "change";
35
35
  }>;
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;
@@ -321,8 +321,8 @@ declare const GitNamespace: _$_makaio_core0.BusNamespaceDefinition<"git", {
321
321
  path: _$zod.ZodString;
322
322
  branch: _$zod.ZodString;
323
323
  event: _$zod.ZodEnum<{
324
- added: "added";
325
324
  removed: "removed";
325
+ added: "added";
326
326
  }>;
327
327
  timestamp: _$zod.ZodString;
328
328
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -899,8 +899,8 @@ declare const GitSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
899
899
  path: _$zod.ZodString;
900
900
  branch: _$zod.ZodString;
901
901
  event: _$zod.ZodEnum<{
902
- added: "added";
903
902
  removed: "removed";
903
+ added: "added";
904
904
  }>;
905
905
  timestamp: _$zod.ZodString;
906
906
  }, _$zod_v4_core0.$strip>; /** Add a repo to watch */
@@ -420,8 +420,8 @@ declare const GitWorktreeEventSchema: z.ZodObject<{
420
420
  path: z.ZodString;
421
421
  branch: z.ZodString;
422
422
  event: z.ZodEnum<{
423
- added: "added";
424
423
  removed: "removed";
424
+ added: "added";
425
425
  }>;
426
426
  timestamp: z.ZodString;
427
427
  }, z.core.$strip>;
@@ -12,7 +12,7 @@ import { n as CompressionSubjects, t as CompressionNamespace } from "../namespac
12
12
  import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-DkFvBdIY.mjs";
13
13
  import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-ChF2z4RB.mjs";
14
14
  import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-Bd49QmzS.mjs";
15
- import { B as SpawnRequestSchema, C as ContainerIsolatedSpawnRequest, D as ContainerRuntime, E as ContainerLocalSpawnRequestSchema, F as ContainerStopped, G as StatusResponse, H as SpawnResponseSchema, I as ContainerStoppedSchema, J as StopRequestSchema, K as StatusResponseSchema, M as ContainerStartedSchema, N as ContainerState, O as ContainerRuntimeSchema, P as ContainerStateSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as StatusRequest, V as SpawnResponse, W as StatusRequestSchema, X as StopResponseSchema, Y as StopResponse, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, j as ContainerStarted, n as ContainerSpawnSubjects, q as StopRequest, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as SpawnRequest } from "../index-0Ju2i8gV.mjs";
15
+ import { B as SpawnRequestSchema, C as ContainerIsolatedSpawnRequest, D as ContainerRuntime, E as ContainerLocalSpawnRequestSchema, F as ContainerStopped, G as StatusResponse, H as SpawnResponseSchema, I as ContainerStoppedSchema, J as StopRequestSchema, K as StatusResponseSchema, M as ContainerStartedSchema, N as ContainerState, O as ContainerRuntimeSchema, P as ContainerStateSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as StatusRequest, V as SpawnResponse, W as StatusRequestSchema, X as StopResponseSchema, Y as StopResponse, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, j as ContainerStarted, n as ContainerSpawnSubjects, q as StopRequest, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as SpawnRequest } from "../index-g36yJDge.mjs";
16
16
  import { $t as RecoveryConfig, A as SelectTurn, At as registerMemorySessionStorage, Bt as normalizeSelectionString, C as MessageRoutingSubjects, Ct as fetchPreviewBySession, D as registerMemoryMessageStorage, Dt as registerDrizzleAgentStorage, E as messages, Et as registerFtsSearchHandler, F as EmbeddingIndexManager, Ft as SessionBridge, Gt as actionRegistry, Ht as registerListActionsHandler, I as registerDrizzleImportCursorStorage, It as assembleForkContext, Jt as ContextWindowTracker, Kt as registerGetStatusCountsHandler, L as importCursors, Lt as FallbackRuntimeOptions, M as turnsDual, Mt as AgentStorageSubjects, N as registerMemoryTurnStorage, Nt as SessionExtensionContextImpl, O as registerDrizzleMessageStorage, Ot as registerMemoryAgentStorage, P as registerDrizzleTurnStorage, Pt as createSessionExtensionContext, Qt as buildTurnInitiator, R as importCursorsDual, Rt as pickFallbackRuntimeOptions, S as MessageRoutingNamespace, St as fetchMessageCountsBySession, T as SelectMessage, Tt as parseForkTransforms, Ut as registerBuiltInActions, Vt as resolveAdapterNameById, Wt as resetBuiltInActionsRegistration, Xt as ContextWindowTrackerConfig, Yt as AgentContextState, Zt as SessionContextWindowState, _ as InsertMessageRouting, _n as SessionOrchestrator, _t as mapAgentsBySession, a as buildSessionContext, an as buildRecoveryContext, b as messageRoutingDual, bt as SearchSessionRow, c as kindToBranchKind, cn as resolveModelCapabilities, ct as registerDrizzleSessionEventStorage, d as registerSpawningToolCallResolver, dn as resolveTargetAgents, dt as SelectSessionEvent, en as buildRecoveryContextWithPipeline, et as EventTransform, f as registerCompressLineageResolver, fn as extractTextContent, ft as sessionEvents, g as StartTurnOptions, gn as ISessionOrchestrator, gt as fetchSessionPreviewMaps, h as MakaioSessionConfig, hn as AdapterRegistry, ht as SessionPreviewMaps, i as getFullConversation, in as verifyAndRecoverAgents, j as turns, jt as AgentStorageNamespace, k as InsertTurn, kt as registerDrizzleSessionStorage, ln as findTurnByAgent, lt as registerMemorySessionEventStorage, m as MakaioSession, mn as TurnContextEnricher, nn as ensureAgentModel, o as BuildContextOptions, on as resolveAdapterId, p as registerParentResolver, pn as normalizeToBlocks, pt as sessionEventsDual, qt as registerResumeHandler, rn as recoverAgent, s as ContextAssemblyResult, sn as resolveExecutionTarget, tn as ensureAgentCwd, un as getOrCreateSession, ut as InsertSessionEvent, v as SelectMessageRouting, vn as registerCoreSessionServiceHandlers, vt as mapToSession, w as InsertMessage, wt as mapRowToSession, x as registerDrizzleMessageRoutingStorage, xt as fetchAgentsBySession, y as messageRouting, yn as MakaioSessionService, yt as SearchFilters, zt as CONNECTOR_SWAP_DEFAULT_PIPELINE } from "../index-D73PTKXG2.mjs";
17
17
  import { a as registerCompressHandler, c as SessionTurnManager, d as TurnContext, f as TurnPairStateChange, i as registerForkHandler, l as Turn, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnPairTerminalOutcome, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnConfig } from "../index-8fJ6dkzR.mjs";
18
18
  import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-BhXCCgJV2.mjs";
@@ -21,7 +21,7 @@ import { a as agents, s as sessions } from "../schema-CfMsufSb.mjs";
21
21
  import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-Db_PFX3v.mjs";
22
22
  import { t as TurnStorageNamespace } from "../namespace-BsF9IxJ9.mjs";
23
23
  import { n as TurnStorageSubjects } from "../namespace-lWlqWTKu.mjs";
24
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-BWsPZGiq2.mjs";
24
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-DRHnU5Yi2.mjs";
25
25
  import { y as ArtifactSchemaRegistry } from "../packages-DeIgn0Hn.mjs";
26
26
  import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-Brdc35b-.mjs";
27
27
  import { t as ToolApprovalService } from "../index-Ci3_i-WC2.mjs";
@@ -32,7 +32,7 @@ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModel
32
32
  import { a as InternalPendingRequest, c as SubagentServiceToken, d as SubagentFailureFinalizationError, f as SubagentFailureFinalizationErrorCode, i as InputResolver, l as createSubagentServicePackage, n as TrackOptions, o as SpawnOptions, p as SubagentService, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as subagentServicePackage } from "../index-BsBvs0aK.mjs";
33
33
  import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-BKKpQC4X2.mjs";
34
34
  import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-9N9R61pI.mjs";
35
- 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-oTIqxZN_.mjs";
35
+ 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-1ahuxM83.mjs";
36
36
  import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-BeV7LST-.mjs";
37
37
  import * as _$zod from "zod";
38
38
  import { z } from "zod";
@@ -4307,8 +4307,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4307
4307
  changed: _$zod.ZodObject<{
4308
4308
  ruleId: _$zod.ZodString;
4309
4309
  changeType: _$zod.ZodEnum<{
4310
- updated: "updated";
4311
4310
  created: "created";
4311
+ updated: "updated";
4312
4312
  deleted: "deleted";
4313
4313
  }>;
4314
4314
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
@@ -4567,8 +4567,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4567
4567
  }, _$zod_v4_core0.$strip>;
4568
4568
  response: _$zod.ZodObject<{
4569
4569
  state: _$zod.ZodEnum<{
4570
- running: "running";
4571
4570
  created: "created";
4571
+ running: "running";
4572
4572
  stopped: "stopped";
4573
4573
  destroyed: "destroyed";
4574
4574
  }>;
@@ -4915,8 +4915,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4915
4915
  id: _$zod.ZodString;
4916
4916
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
4917
4917
  enabled: _$zod.ZodBoolean;
4918
- scope: _$zod.ZodString;
4919
4918
  extensionName: _$zod.ZodString;
4919
+ scope: _$zod.ZodString;
4920
4920
  }, _$zod_v4_core0.$strip>;
4921
4921
  }, _$zod_v4_core0.$strip>;
4922
4922
  response: _$zod.ZodObject<{
@@ -4963,18 +4963,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4963
4963
  changed: _$zod.ZodObject<{
4964
4964
  path: _$zod.ZodString;
4965
4965
  kind: _$zod.ZodEnum<{
4966
- change: "change";
4967
4966
  delete: "delete";
4968
4967
  create: "create";
4968
+ change: "change";
4969
4969
  }>;
4970
4970
  }, _$zod_v4_core0.$strip>;
4971
4971
  batch: _$zod.ZodObject<{
4972
4972
  changes: _$zod.ZodArray<_$zod.ZodObject<{
4973
4973
  path: _$zod.ZodString;
4974
4974
  kind: _$zod.ZodEnum<{
4975
- change: "change";
4976
4975
  delete: "delete";
4977
4976
  create: "create";
4977
+ change: "change";
4978
4978
  }>;
4979
4979
  }, _$zod_v4_core0.$strip>>;
4980
4980
  }, _$zod_v4_core0.$strip>;
@@ -7550,17 +7550,17 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7550
7550
  request: _$zod.ZodObject<{
7551
7551
  name: _$zod.ZodString;
7552
7552
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
7553
- adapterName: _$zod.ZodString;
7554
7553
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
7555
7554
  model: _$zod.ZodOptional<_$zod.ZodString>;
7555
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
7556
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7557
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7558
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7556
7559
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
7557
7560
  fork: "fork";
7558
7561
  fresh: "fresh";
7559
7562
  }>>;
7560
- disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7561
- allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7562
- systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
7563
- allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7563
+ adapterName: _$zod.ZodString;
7564
7564
  }, _$zod_v4_core0.$strip>;
7565
7565
  response: _$zod.ZodObject<{
7566
7566
  id: _$zod.ZodString;
@@ -6,5 +6,5 @@ import { a as agents, c as sessionsDual, o as agentsDual, s as sessions } from "
6
6
  import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-Db_PFX3v.mjs";
7
7
  import { t as TurnStorageNamespace } from "../../namespace-BsF9IxJ9.mjs";
8
8
  import { n as TurnStorageSubjects } from "../../namespace-lWlqWTKu.mjs";
9
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-BWsPZGiq2.mjs";
9
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../../namespace-DRHnU5Yi2.mjs";
10
10
  export { AdapterRegistry, AgentContextState, AgentStorageNamespace, AgentStorageSubjects, BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, ContextAssemblyResult, ContextWindowTracker, ContextWindowTrackerConfig, EmbeddingIndexManager, EventTransform, FallbackRuntimeOptions, IObservedSessionIngestionPolicyProvider, ISessionOrchestrator, IngestCompletedTurnParams, IngestCompletedTurnResult, IngestTurnMessage, InsertMessage, InsertMessageRouting, InsertSessionEvent, InsertTurn, LogImportTriggerSubjects, MakaioSession, MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, NativeLocalityInput, NativeLocalityIntent, OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID, ObservedSessionIngestionPolicyDecision, ObservedSessionIngestionPolicyImportStatus, ObservedSessionIngestionPolicyInput, ObservedSessionIngestionService, RecoveryConfig, SearchFilters, SearchSessionRow, SelectMessage, SelectMessageRouting, SelectSessionEvent, SelectTurn, SessionBridge, SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionLifecycleEventArgs, SessionOrchestrator, SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionTurnManager, SessionTurnStartedPayload, SessionUserMessageSentPayload, StartTurnOptions, Turn, TurnConfig, TurnContext, TurnContextEnricher, TurnPairStateChange, TurnPairTerminalOutcome, TurnResult, TurnStorageNamespace, TurnStorageSubjects, actionRegistry, agents, agentsDual, appendSessionLifecycleEvent, assembleForkContext, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, createSessionExtensionContext, emitSessionTurnStarted, emitSessionUserMessageSent, ensureAgentCwd, ensureAgentModel, evaluateNativeLocality, extractTextContent, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, getFullConversation, getOrCreateSession, getSessionAncestorChain, importCursors, importCursorsDual, ingestCompletedTurn, isPolicyDiscoveredObservedSession, isTrackingStub, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerObservedSessionIngestionPolicyProvider, registerParentResolver, registerResumeHandler, registerSessionDiscoveredHandler, registerSessionLifecycleEventWriters, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveExecutionTarget, resolveModelCapabilities, resolveRuntimeProviderContext, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionEvents, sessionEventsDual, sessions, sessionsDual, 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-BWsPZGiq2.mjs";
1
+ import { i as MessageStorageSubjects, n as MessagePageCursorSchema, r as MessageStorageNamespace, t as MessagePageCursor } from "../../../namespace-DRHnU5Yi2.mjs";
2
2
  export { MessagePageCursor, MessagePageCursorSchema, MessageStorageNamespace, MessageStorageSubjects };
@@ -512,17 +512,17 @@ declare const SubagentTemplateSettingsNamespace: _$_makaio_core0.BusNamespaceDef
512
512
  request: _$zod.ZodObject<{
513
513
  name: _$zod.ZodString;
514
514
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
515
- adapterName: _$zod.ZodString;
516
515
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
517
516
  model: _$zod.ZodOptional<_$zod.ZodString>;
517
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
518
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
519
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
520
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
518
521
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
519
522
  fork: "fork";
520
523
  fresh: "fresh";
521
524
  }>>;
522
- disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
523
- allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
524
- systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
525
- allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
525
+ adapterName: _$zod.ZodString;
526
526
  }, _$zod_v4_core0.$strip>;
527
527
  response: _$zod.ZodObject<{
528
528
  id: _$zod.ZodString;
@@ -603,17 +603,17 @@ declare const SubagentTemplateSettingsSubjects: _$_makaio_core0.BusSubjects<_$_m
603
603
  request: _$zod.ZodObject<{
604
604
  name: _$zod.ZodString;
605
605
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
606
- adapterName: _$zod.ZodString;
607
606
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
608
607
  model: _$zod.ZodOptional<_$zod.ZodString>;
608
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
609
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
610
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
611
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
609
612
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
610
613
  fork: "fork";
611
614
  fresh: "fresh";
612
615
  }>>;
613
- disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
614
- allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
615
- systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
616
- allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
616
+ adapterName: _$zod.ZodString;
617
617
  }, _$zod_v4_core0.$strip>;
618
618
  response: _$zod.ZodObject<{
619
619
  id: _$zod.ZodString;
@@ -18,8 +18,8 @@ declare const ExtensionConfigInputSchema: z.ZodObject<{
18
18
  id: z.ZodString;
19
19
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
20
  enabled: z.ZodBoolean;
21
- scope: z.ZodString;
22
21
  extensionName: z.ZodString;
22
+ scope: z.ZodString;
23
23
  }, z.core.$strip>;
24
24
  /** Query schema for listing extension configs. */
25
25
  declare const ExtensionConfigListQuerySchema: z.ZodObject<{
@@ -63,8 +63,8 @@ declare const ExtensionConfigStorageNamespace: _$_makaio_storage_core0.StorageNa
63
63
  id: z.ZodString;
64
64
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
65
65
  enabled: z.ZodBoolean;
66
- scope: z.ZodString;
67
66
  extensionName: z.ZodString;
67
+ scope: z.ZodString;
68
68
  }, z.core.$strip>;
69
69
  }, z.core.$strip>;
70
70
  response: z.ZodObject<{
@@ -131,8 +131,8 @@ declare const ExtensionConfigStorageSubjects: _$_makaio_core0.BusSubjects<_$_mak
131
131
  id: z.ZodString;
132
132
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
133
133
  enabled: z.ZodBoolean;
134
- scope: z.ZodString;
135
134
  extensionName: z.ZodString;
135
+ scope: z.ZodString;
136
136
  }, z.core.$strip>;
137
137
  }, z.core.$strip>;
138
138
  response: z.ZodObject<{
@@ -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-oTIqxZN_.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-1ahuxM83.mjs";
2
2
  import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-BeV7LST-.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 { _ 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-oTIqxZN_.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-1ahuxM83.mjs";
2
2
  export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -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,4 +1,4 @@
1
- import { q as ArtifactRevision$1 } from "./context-resolution-DZSBOCKY.mjs";
1
+ import { q as ArtifactRevision$1 } from "./context-resolution-B5IH2Z9v.mjs";
2
2
  import { i as JsonValue$1 } from "./json-value-BwVdTylT.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -7518,8 +7518,8 @@ declare const SessionSchemas: {
7518
7518
  maxTokens: _$zod.ZodNumber;
7519
7519
  percentage: _$zod.ZodNumber;
7520
7520
  level: _$zod.ZodEnum<{
7521
- ok: "ok";
7522
7521
  warn: "warn";
7522
+ ok: "ok";
7523
7523
  critical: "critical";
7524
7524
  }>;
7525
7525
  lastUpdatedAt: _$zod.ZodNumber;
@@ -1,4 +1,4 @@
1
- import { _ as SurfaceBindingRegistration, a as ResolvedArtifactContextWire$1, q as ArtifactRevision$1, z as ArtifactRelation } from "./context-resolution-DZSBOCKY.mjs";
1
+ import { _ as SurfaceBindingRegistration, a as ResolvedArtifactContextWire$1, q as ArtifactRevision$1, z as ArtifactRelation } from "./context-resolution-B5IH2Z9v.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -69,8 +69,8 @@ declare function defineSurfaceBinding(options: DefineSurfaceBindingOptions): Sur
69
69
  */
70
70
  declare const ArtifactViewLevelSchema: z.ZodEnum<{
71
71
  link: "link";
72
- summary: "summary";
73
72
  full: "full";
73
+ summary: "summary";
74
74
  }>;
75
75
  /** Artifact view detail level. */
76
76
  type ArtifactViewLevel$1 = z.infer<typeof ArtifactViewLevelSchema>;
@@ -478,8 +478,8 @@ declare const ArtifactViewParamsSchema: z.ZodType<Record<string, unknown>, Recor
478
478
  declare const ArtifactViewRequestSchema: z.ZodObject<{
479
479
  level: z.ZodEnum<{
480
480
  link: "link";
481
- summary: "summary";
482
481
  full: "full";
482
+ summary: "summary";
483
483
  }>;
484
484
  params: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
485
485
  }, z.core.$strip>;
@@ -509,8 +509,8 @@ declare const ArtifactViewAffordanceDeclarationSchema: z.ZodDiscriminatedUnion<[
509
509
  hostRelation: z.ZodString;
510
510
  as: z.ZodOptional<z.ZodEnum<{
511
511
  link: "link";
512
- summary: "summary";
513
512
  full: "full";
513
+ summary: "summary";
514
514
  }>>;
515
515
  }, z.core.$strip>, z.ZodObject<{
516
516
  kind: z.ZodLiteral<"entry">;