@makaio/framework 1.0.0-dev-1790760814648 → 1.0.0-dev-1790772200584

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 (47) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/contracts/artifact/index.d.mts +2 -2
  3. package/dist/contracts/capabilities/index.d.mts +1 -1
  4. package/dist/contracts/client/index.d.mts +1 -1
  5. package/dist/contracts/extension/index.d.mts +2 -2
  6. package/dist/contracts/harness/index.d.mts +1 -1
  7. package/dist/contracts/index.d.mts +13 -13
  8. package/dist/contracts/materialization/index.d.mts +2 -2
  9. package/dist/contracts/workflow/index.d.mts +2 -2
  10. package/dist/{fast-connection-Y4_AFwCD.mjs → fast-connection-CIZ6nL7o.mjs} +1 -1
  11. package/dist/inbound-hooks/fast-connection.d.mts +1 -1
  12. package/dist/inbound-hooks/fast-connection.mjs +1 -1
  13. package/dist/inbound-hooks/index.d.mts +1 -1
  14. package/dist/inbound-hooks/index.mjs +1 -1
  15. package/dist/{index-gOYLLgKk.d.mts → index-21Tx9_N1.d.mts} +12 -12
  16. package/dist/{index-MzTQNTb8.d.mts → index-BBrLhtLK.d.mts} +1 -1
  17. package/dist/{index-ClDAqLxW.d.mts → index-BPoX2Q9Z.d.mts} +13 -13
  18. package/dist/{index-D9Ome4qp.d.mts → index-CBzHX2vt.d.mts} +1 -1
  19. package/dist/{index-f9ok_Fxi.d.mts → index-CMmUS-p2.d.mts} +247 -247
  20. package/dist/{index-CfGPuR1W.d.mts → index-DeSmhDs9.d.mts} +1 -1
  21. package/dist/{index-BytbaguH.d.mts → index-DneUbrTU.d.mts} +4 -4
  22. package/dist/{index-Bl995t8Y.d.mts → index-DulipRwg.d.mts} +10 -10
  23. package/dist/{index-RiRTBXfr.d.mts → index-v1-To1jx.d.mts} +3 -3
  24. package/dist/{index-C0NhPcTU.d.mts → index-vARKBSt9.d.mts} +5 -5
  25. package/dist/kernel/extension/index.d.mts +2 -2
  26. package/dist/kernel/index.d.mts +2 -2
  27. package/dist/kernel/observability/index.d.mts +1 -1
  28. package/dist/{namespace-D_NJoYyN.d.mts → namespace-DK5qZpST.d.mts} +6 -6
  29. package/dist/node/transports/index.d.mts +12 -1
  30. package/dist/node/transports/index.mjs +2 -2
  31. package/dist/package.json +1 -1
  32. package/dist/{schemas-DyTbvDp-.d.mts → schemas-BKE3qw_w.d.mts} +1 -1
  33. package/dist/{schemas-yyNP39HU.d.mts → schemas-CtL2su-K.d.mts} +4 -4
  34. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  35. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  36. package/dist/services/context-rules/index.d.mts +3 -3
  37. package/dist/services/filesystem/namespace.d.mts +6 -6
  38. package/dist/services/filesystem/schemas.d.mts +3 -3
  39. package/dist/services/harness/index.d.mts +3 -3
  40. package/dist/services/index.d.mts +10 -10
  41. package/dist/services/provider-context/index.d.mts +1 -1
  42. package/dist/services/session/index.d.mts +1 -1
  43. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  44. package/dist/{transition-CzxHvafT.d.mts → transition-DNNBGMtx.d.mts} +1 -1
  45. package/dist/{view-builder-BLdSezFD.d.mts → view-builder-HU_v1Jg7.d.mts} +1 -1
  46. package/dist/workflow-engine/index.d.mts +15 -15
  47. package/package.json +1 -1
@@ -15,7 +15,6 @@ declare const HarnessInputSchema: z.ZodObject<{
15
15
  name: z.ZodString;
16
16
  clientId: z.ZodOptional<z.ZodString>;
17
17
  adapterName: z.ZodOptional<z.ZodString>;
18
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19
18
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
20
19
  "file.read": "file.read";
21
20
  "file.write": "file.write";
@@ -37,6 +36,7 @@ declare const HarnessInputSchema: z.ZodObject<{
37
36
  "always-ask": "always-ask";
38
37
  "full-access": "full-access";
39
38
  }>>>;
39
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
40
40
  approvalPolicy: z.ZodEnum<{
41
41
  reject: "reject";
42
42
  "always-ask": "always-ask";
@@ -132,7 +132,6 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
132
132
  name: z.ZodString;
133
133
  clientId: z.ZodOptional<z.ZodString>;
134
134
  adapterName: z.ZodOptional<z.ZodString>;
135
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
136
135
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
137
136
  "file.read": "file.read";
138
137
  "file.write": "file.write";
@@ -154,6 +153,7 @@ declare const HarnessStorageNamespace: _$_makaio_storage_core0.StorageNamespaceD
154
153
  "always-ask": "always-ask";
155
154
  "full-access": "full-access";
156
155
  }>>>;
156
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
157
157
  approvalPolicy: z.ZodEnum<{
158
158
  reject: "reject";
159
159
  "always-ask": "always-ask";
@@ -739,7 +739,6 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
739
739
  name: z.ZodString;
740
740
  clientId: z.ZodOptional<z.ZodString>;
741
741
  adapterName: z.ZodOptional<z.ZodString>;
742
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
743
742
  toolCapabilityMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodEnum<{
744
743
  "file.read": "file.read";
745
744
  "file.write": "file.write";
@@ -761,6 +760,7 @@ declare const HarnessStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
761
760
  "always-ask": "always-ask";
762
761
  "full-access": "full-access";
763
762
  }>>>;
763
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
764
764
  approvalPolicy: z.ZodEnum<{
765
765
  reject: "reject";
766
766
  "always-ask": "always-ask";
@@ -1,7 +1,7 @@
1
1
  import { _ as ResolveNameResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, l as ResolveIdResponseSchema, m as ResolveNameRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../schemas-DnwAE1ao.mjs";
2
2
  import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-D74MefGI.mjs";
3
3
  import { c as resolveDeterministicAdapterId, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../index-Di2-G_3M.mjs";
4
- import { p as BindingRecord } from "../schemas-yyNP39HU.mjs";
4
+ import { p as BindingRecord } from "../schemas-CtL2su-K.mjs";
5
5
  import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CUfqNSQj.mjs";
6
6
  import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-B6S7ZFyX.mjs";
7
7
  import { t as CapabilityService } from "../capability-service-BEVVEaTj.mjs";
@@ -17,7 +17,7 @@ import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../
17
17
  import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-D-rTv5WO.mjs";
18
18
  import { $t as resolveAdapterNameById, A as registerDrizzleMessageStorage, Bn as resolveTargetAgents, Bt as AgentStorageNamespace, C as registerDrizzleMessageRoutingStorage, Cn as ensureAgentCwd, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, En as verifyAndRecoverAgents, Et as mapRowToSession, F as registerMemoryTurnStorage, Ft as registerMemoryAgentStorage, Gn as ISessionOrchestrator, Gt as assembleForkContext, Hn as normalizeToBlocks, Ht as SessionExtensionContextImpl, I as registerDrizzleTurnStorage, It as registerDrizzleSessionStorage, Jt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Kn as SessionOrchestrator, Kt as FallbackRuntimeOptions, L as EmbeddingIndexManager, Lt as registerMemorySessionStorage, M as SelectTurn, Mt as registerDrizzleSessionOwnershipStorage, N as turns, Nt as registerMemorySessionOwnershipStorage, O as messages, On as buildRecoveryContext, Ot as registerFtsSearchHandler, Pt as registerDrizzleAgentStorage, Qt as normalizeSelectionString, R as registerDrizzleImportCursorStorage, Rn as findTurnByAgent, Rt as SessionStorageMemoryState, Sn as buildRecoveryContextWithPipeline, St as SearchSessionRow, T as MessageRoutingSubjects, Tn as recoverAgent, Tt as fetchPreviewBySession, Un as TurnContextEnricher, Ut as createSessionExtensionContext, Vn as extractTextContent, Vt as AgentStorageSubjects, Wn as AdapterRegistry, Wt as SessionBridge, _ as MakaioSessionConfig, _t as SessionPreviewMaps, an as registerResumeHandler, b as SelectMessageRouting, bn as RecoveryConfig, bt as mapToSession, c as BuildContextOptions, cn as ContextWindowTrackerConfig, dt as registerMemorySessionEventStorage, en as registerListActionsHandler, ft as InsertSessionEvent, g as MakaioSession, h as registerParentResolver, in as registerGetStatusCountsHandler, j as InsertTurn, k as registerMemoryMessageStorage, l as ContextAssemblyResult, ln as SessionContextWindowState, m as registerCompressLineageResolver, mt as sessionEvents, nn as resetBuiltInActionsRegistration, nt as EventTransform, o as getFullConversation, on as ContextWindowTracker, p as registerSpawningToolCallResolver, pt as SelectSessionEvent, qn as registerCoreSessionServiceHandlers, qt as pickFallbackRuntimeOptions, rn as actionRegistry, rr as MakaioSessionService, s as buildSessionContext, sn as AgentContextState, tn as registerBuiltInActions, u as kindToBranchKind, 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-HsD17NLG.mjs";
19
19
  import { C as SessionTurnManager, D as TurnPairStateChange, E as TurnContext, O as TurnPairTerminalOutcome, T as TurnConfig, b as resolveExecutionTarget, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, k as TurnResult, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as Turn, x as resolveModelCapabilities } from "../index-Bt6KIvVk.mjs";
20
- import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-MzTQNTb8.mjs";
20
+ import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-BBrLhtLK.mjs";
21
21
  import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-Dt7hJA-a.mjs";
22
22
  import { g as sessions, u as agents } from "../schema-C58MdqlI.mjs";
23
23
  import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-u4eoUCLp.mjs";
@@ -1132,13 +1132,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1132
1132
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1133
1133
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1134
1134
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1135
- settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1136
1135
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1137
1136
  label: _$zod.ZodString;
1138
1137
  url: _$zod.ZodString;
1139
1138
  }, _$zod_v4_core0.$strict>>>;
1140
1139
  instructions: _$zod.ZodOptional<_$zod.ZodString>;
1141
1140
  providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
1141
+ settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1142
1142
  name: _$zod.ZodString;
1143
1143
  enabled: _$zod.ZodBoolean;
1144
1144
  bindings: _$zod.ZodArray<_$zod.ZodObject<{
@@ -1157,13 +1157,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1157
1157
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1158
1158
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1159
1159
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1160
- settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1161
1160
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1162
1161
  label: _$zod.ZodString;
1163
1162
  url: _$zod.ZodString;
1164
1163
  }, _$zod_v4_core0.$strict>>>;
1165
1164
  instructions: _$zod.ZodOptional<_$zod.ZodString>;
1166
1165
  providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
1166
+ settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1167
1167
  name: _$zod.ZodString;
1168
1168
  enabled: _$zod.ZodBoolean;
1169
1169
  bindings: _$zod.ZodArray<_$zod.ZodObject<{
@@ -2768,13 +2768,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2768
2768
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
2769
2769
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
2770
2770
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
2771
- settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
2772
2771
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
2773
2772
  label: _$zod.ZodString;
2774
2773
  url: _$zod.ZodString;
2775
2774
  }, _$zod_v4_core0.$strict>>>;
2776
2775
  instructions: _$zod.ZodOptional<_$zod.ZodString>;
2777
2776
  providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2777
+ settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
2778
2778
  name: _$zod.ZodString;
2779
2779
  enabled: _$zod.ZodBoolean;
2780
2780
  bindings: _$zod.ZodArray<_$zod.ZodObject<{
@@ -4599,8 +4599,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4599
4599
  ruleId: _$zod.ZodString;
4600
4600
  changeType: _$zod.ZodEnum<{
4601
4601
  updated: "updated";
4602
- deleted: "deleted";
4603
4602
  created: "created";
4603
+ deleted: "deleted";
4604
4604
  }>;
4605
4605
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
4606
4606
  scope: _$zod.ZodEnum<{
@@ -5179,8 +5179,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5179
5179
  id: _$zod.ZodString;
5180
5180
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
5181
5181
  enabled: _$zod.ZodBoolean;
5182
- scope: _$zod.ZodString;
5183
5182
  extensionName: _$zod.ZodString;
5183
+ scope: _$zod.ZodString;
5184
5184
  }, _$zod_v4_core0.$strip>;
5185
5185
  }, _$zod_v4_core0.$strip>;
5186
5186
  response: _$zod.ZodObject<{
@@ -5227,18 +5227,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5227
5227
  changed: _$zod.ZodObject<{
5228
5228
  path: _$zod.ZodString;
5229
5229
  kind: _$zod.ZodEnum<{
5230
+ create: "create";
5230
5231
  change: "change";
5231
5232
  delete: "delete";
5232
- create: "create";
5233
5233
  }>;
5234
5234
  }, _$zod_v4_core0.$strip>;
5235
5235
  batch: _$zod.ZodObject<{
5236
5236
  changes: _$zod.ZodArray<_$zod.ZodObject<{
5237
5237
  path: _$zod.ZodString;
5238
5238
  kind: _$zod.ZodEnum<{
5239
+ create: "create";
5239
5240
  change: "change";
5240
5241
  delete: "delete";
5241
- create: "create";
5242
5242
  }>;
5243
5243
  }, _$zod_v4_core0.$strip>>;
5244
5244
  }, _$zod_v4_core0.$strip>;
@@ -5430,7 +5430,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5430
5430
  name: _$zod.ZodString;
5431
5431
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
5432
5432
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
5433
- credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5434
5433
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
5435
5434
  "file.read": "file.read";
5436
5435
  "file.write": "file.write";
@@ -5452,6 +5451,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5452
5451
  "always-ask": "always-ask";
5453
5452
  "full-access": "full-access";
5454
5453
  }>>>;
5454
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5455
5455
  approvalPolicy: _$zod.ZodEnum<{
5456
5456
  reject: "reject";
5457
5457
  "always-ask": "always-ask";
@@ -1,2 +1,2 @@
1
- import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, i as ProviderContextActivationTransaction, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, o as prepareProviderContextActivation, r as ProviderContextActivationRollbackError, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../../index-MzTQNTb8.mjs";
1
+ import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, i as ProviderContextActivationTransaction, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, o as prepareProviderContextActivation, r as ProviderContextActivationRollbackError, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../../index-BBrLhtLK.mjs";
2
2
  export { ProviderContextActivationError, ProviderContextActivationErrorCode, ProviderContextActivationRollbackError, ProviderContextActivationTransaction, RuntimeProviderContextResolutionError, RuntimeProviderContextResolutionErrorCode, activateProviderContext, prepareProviderContextActivation, resolveRuntimeProviderContext };
@@ -1,6 +1,6 @@
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-HsD17NLG.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-Bt6KIvVk.mjs";
3
- import { l as resolveRuntimeProviderContext } from "../../index-MzTQNTb8.mjs";
3
+ import { l as resolveRuntimeProviderContext } from "../../index-BBrLhtLK.mjs";
4
4
  import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../../namespace-Dt7hJA-a.mjs";
5
5
  import { _ as sessionsDual, c as adapterSessionClaims, d as agentsDual, g as sessions, l as adapterSessionClaimsDual, u as agents } from "../../schema-C58MdqlI.mjs";
6
6
  import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../../namespace-u4eoUCLp.mjs";
@@ -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,4 +1,4 @@
1
- import { x as ArtifactRevision$1 } from "./schemas-DyTbvDp-.mjs";
1
+ import { x as ArtifactRevision$1 } from "./schemas-BKE3qw_w.mjs";
2
2
  import { l as JsonValue$1 } from "./json-value-B2gMynW3.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -1,4 +1,4 @@
1
- import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-DyTbvDp-.mjs";
1
+ import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-BKE3qw_w.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -1182,10 +1182,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1182
1182
  frameId: z.ZodString;
1183
1183
  nodeId: z.ZodString;
1184
1184
  nodeType: z.ZodEnum<{
1185
- sequence: "sequence";
1186
1185
  station: "station";
1187
1186
  "delegate-agent": "delegate-agent";
1188
1187
  "delegate-role": "delegate-role";
1188
+ sequence: "sequence";
1189
1189
  parallel: "parallel";
1190
1190
  gate: "gate";
1191
1191
  iterate: "iterate";
@@ -1227,10 +1227,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1227
1227
  frameId: z.ZodString;
1228
1228
  nodeId: z.ZodString;
1229
1229
  nodeType: z.ZodEnum<{
1230
- sequence: "sequence";
1231
1230
  station: "station";
1232
1231
  "delegate-agent": "delegate-agent";
1233
1232
  "delegate-role": "delegate-role";
1233
+ sequence: "sequence";
1234
1234
  parallel: "parallel";
1235
1235
  gate: "gate";
1236
1236
  iterate: "iterate";
@@ -1586,10 +1586,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1586
1586
  frameId: z.ZodString;
1587
1587
  nodeId: z.ZodString;
1588
1588
  nodeType: z.ZodEnum<{
1589
- sequence: "sequence";
1590
1589
  station: "station";
1591
1590
  "delegate-agent": "delegate-agent";
1592
1591
  "delegate-role": "delegate-role";
1592
+ sequence: "sequence";
1593
1593
  parallel: "parallel";
1594
1594
  gate: "gate";
1595
1595
  iterate: "iterate";
@@ -1632,10 +1632,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1632
1632
  frameId: z.ZodString;
1633
1633
  nodeId: z.ZodString;
1634
1634
  nodeType: z.ZodEnum<{
1635
- sequence: "sequence";
1636
1635
  station: "station";
1637
1636
  "delegate-agent": "delegate-agent";
1638
1637
  "delegate-role": "delegate-role";
1638
+ sequence: "sequence";
1639
1639
  parallel: "parallel";
1640
1640
  gate: "gate";
1641
1641
  iterate: "iterate";
@@ -1675,10 +1675,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1675
1675
  frameId: z.ZodString;
1676
1676
  nodeId: z.ZodString;
1677
1677
  nodeType: z.ZodEnum<{
1678
- sequence: "sequence";
1679
1678
  station: "station";
1680
1679
  "delegate-agent": "delegate-agent";
1681
1680
  "delegate-role": "delegate-role";
1681
+ sequence: "sequence";
1682
1682
  parallel: "parallel";
1683
1683
  gate: "gate";
1684
1684
  iterate: "iterate";
@@ -3334,7 +3334,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3334
3334
  tableName: "workflow_execution_frames";
3335
3335
  dataType: "string";
3336
3336
  columnType: "SQLiteText";
3337
- data: "sequence" | "station" | "delegate-agent" | "delegate-role" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
3337
+ data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
3338
3338
  driverParam: string;
3339
3339
  notNull: true;
3340
3340
  hasDefault: false;
@@ -3347,7 +3347,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3347
3347
  generated: undefined;
3348
3348
  }, {}, {
3349
3349
  length: number | undefined;
3350
- $type: "sequence" | "station" | "delegate-agent" | "delegate-role" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
3350
+ $type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
3351
3351
  }>;
3352
3352
  path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3353
3353
  name: string;
@@ -5167,7 +5167,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5167
5167
  tableName: "worklog_frame_entries";
5168
5168
  dataType: "string";
5169
5169
  columnType: "SQLiteText";
5170
- data: "sequence" | "station" | "delegate-agent" | "delegate-role" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
5170
+ data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
5171
5171
  driverParam: string;
5172
5172
  notNull: true;
5173
5173
  hasDefault: false;
@@ -5180,7 +5180,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5180
5180
  generated: undefined;
5181
5181
  }, {}, {
5182
5182
  length: number | undefined;
5183
- $type: "sequence" | "station" | "delegate-agent" | "delegate-role" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
5183
+ $type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop";
5184
5184
  }>;
5185
5185
  path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
5186
5186
  name: string;
@@ -6831,10 +6831,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6831
6831
  frameId: z.ZodString;
6832
6832
  nodeId: z.ZodString;
6833
6833
  nodeType: z.ZodEnum<{
6834
- sequence: "sequence";
6835
6834
  station: "station";
6836
6835
  "delegate-agent": "delegate-agent";
6837
6836
  "delegate-role": "delegate-role";
6837
+ sequence: "sequence";
6838
6838
  parallel: "parallel";
6839
6839
  gate: "gate";
6840
6840
  iterate: "iterate";
@@ -6876,10 +6876,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6876
6876
  frameId: z.ZodString;
6877
6877
  nodeId: z.ZodString;
6878
6878
  nodeType: z.ZodEnum<{
6879
- sequence: "sequence";
6880
6879
  station: "station";
6881
6880
  "delegate-agent": "delegate-agent";
6882
6881
  "delegate-role": "delegate-role";
6882
+ sequence: "sequence";
6883
6883
  parallel: "parallel";
6884
6884
  gate: "gate";
6885
6885
  iterate: "iterate";
@@ -7235,10 +7235,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7235
7235
  frameId: z.ZodString;
7236
7236
  nodeId: z.ZodString;
7237
7237
  nodeType: z.ZodEnum<{
7238
- sequence: "sequence";
7239
7238
  station: "station";
7240
7239
  "delegate-agent": "delegate-agent";
7241
7240
  "delegate-role": "delegate-role";
7241
+ sequence: "sequence";
7242
7242
  parallel: "parallel";
7243
7243
  gate: "gate";
7244
7244
  iterate: "iterate";
@@ -7281,10 +7281,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7281
7281
  frameId: z.ZodString;
7282
7282
  nodeId: z.ZodString;
7283
7283
  nodeType: z.ZodEnum<{
7284
- sequence: "sequence";
7285
7284
  station: "station";
7286
7285
  "delegate-agent": "delegate-agent";
7287
7286
  "delegate-role": "delegate-role";
7287
+ sequence: "sequence";
7288
7288
  parallel: "parallel";
7289
7289
  gate: "gate";
7290
7290
  iterate: "iterate";
@@ -7324,10 +7324,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7324
7324
  frameId: z.ZodString;
7325
7325
  nodeId: z.ZodString;
7326
7326
  nodeType: z.ZodEnum<{
7327
- sequence: "sequence";
7328
7327
  station: "station";
7329
7328
  "delegate-agent": "delegate-agent";
7330
7329
  "delegate-role": "delegate-role";
7330
+ sequence: "sequence";
7331
7331
  parallel: "parallel";
7332
7332
  gate: "gate";
7333
7333
  iterate: "iterate";
@@ -8489,7 +8489,7 @@ declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"wor
8489
8489
  /** Unique frame identifier within the execution. */frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>>; /** Execution this frame belongs to. */
8490
8490
  executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Node identifier from the workflow definition. */
8491
8491
  nodeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_id", [string, ...string[]]>>>; /** Node type discriminant. */
8492
- nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "sequence" | "station" | "delegate-agent" | "delegate-role" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "sequence" | "station" | "delegate-agent" | "delegate-role" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">>;
8492
+ nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "parallel" | "gate" | "iterate" | "iterate-chain" | "loop">>;
8493
8493
  /**
8494
8494
  * Ordered path of frame IDs from the root frame to this frame (inclusive).
8495
8495
  * Stored as a JSON array for tree correlation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makaio/framework",
3
- "version": "1.0.0-dev-1790760814648",
3
+ "version": "1.0.0-dev-1790772200584",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/makaio-ai/makaio-framework.git",