@makaio/framework 1.0.0-dev-1783439621927 → 1.0.0-dev-1783477169057

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 (116) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/config/index.d.mts +1 -1
  3. package/dist/adapters/index.d.mts +2 -2
  4. package/dist/adapters/index.mjs +1 -1
  5. package/dist/adapters/node.d.mts +1 -1
  6. package/dist/adapters/node.mjs +4 -4
  7. package/dist/{base-orchestrator-ODRyDBzu.d.mts → base-orchestrator-J1WKAUkF.d.mts} +24 -3
  8. package/dist/bus/index.d.mts +22 -22
  9. package/dist/bus/index.mjs +1 -1
  10. package/dist/{client-n0OJiTt1.mjs → client-l1Rq5p6X.mjs} +1 -1
  11. package/dist/clients/index.d.mts +30 -0
  12. package/dist/clients/index.mjs +2 -2
  13. package/dist/contracts/adapter/index.d.mts +1 -1
  14. package/dist/contracts/artifact/index.d.mts +1 -1
  15. package/dist/contracts/canonical-model/index.d.mts +1 -1
  16. package/dist/contracts/client/index.d.mts +2 -2
  17. package/dist/contracts/client/index.mjs +1 -1
  18. package/dist/contracts/config/index.d.mts +6 -6
  19. package/dist/contracts/extension/index.d.mts +2 -2
  20. package/dist/contracts/facet/index.d.mts +1 -1
  21. package/dist/contracts/harness/index.d.mts +1 -1
  22. package/dist/contracts/index.d.mts +199 -199
  23. package/dist/contracts/index.mjs +1 -1
  24. package/dist/contracts/materialization/index.d.mts +3 -3
  25. package/dist/contracts/provider/index.d.mts +1 -1
  26. package/dist/contracts/session/index.d.mts +2 -2
  27. package/dist/contracts/skill/index.d.mts +1 -1
  28. package/dist/contracts/workflow/index.d.mts +2 -2
  29. package/dist/{definition-DpkfJi8v.d.mts → definition-DePb3ke-.d.mts} +1 -1
  30. package/dist/{index-BwGfdbI0.d.mts → index-2fK9iSHI.d.mts} +9 -9
  31. package/dist/{index-D7rWAEY0.d.mts → index-B-6DtLLz.d.mts} +1 -1
  32. package/dist/{index-DTBQOCar.d.mts → index-BMbmoarE.d.mts} +16 -16
  33. package/dist/{index-DS6kxiFl.d.mts → index-BX1MxwFr.d.mts} +28 -28
  34. package/dist/{index-CqCe7Phc.d.mts → index-BcwOnvUh.d.mts} +6 -6
  35. package/dist/{index-Cyi7y_aG.d.mts → index-BeouVICp.d.mts} +24 -24
  36. package/dist/{index-C8k2f_E0.d.mts → index-BjO4Zkap.d.mts} +1 -1
  37. package/dist/{index-BvjLe_w9.d.mts → index-Bl42SCEI.d.mts} +8 -8
  38. package/dist/{index-B5Uczo3R.d.mts → index-CA-AJbq6.d.mts} +28 -28
  39. package/dist/{index-Dtb2cVJz.d.mts → index-CQQcnpev.d.mts} +11 -11
  40. package/dist/{index-D7Fu3375.d.mts → index-C_xQM96Y.d.mts} +380 -380
  41. package/dist/{index-DFK3tpEY.d.mts → index-CwFSL4xI.d.mts} +75 -12
  42. package/dist/{index-WHUV7neB.d.mts → index-DMz-2ACU.d.mts} +105 -105
  43. package/dist/{index-CwHP8Jxs.d.mts → index-DScUb-hF.d.mts} +190 -2
  44. package/dist/{index-CYHWOXUm.d.mts → index-Di84JjS0.d.mts} +1 -1
  45. package/dist/{index-DmJ-OpTD.d.mts → index-Dv4oGVZK.d.mts} +335 -335
  46. package/dist/{index-DLNRgZPo2.d.mts → index-j_X5xefv2.d.mts} +26 -26
  47. package/dist/{index-BIZeIA5k.d.mts → index-uM4KZopE.d.mts} +8 -8
  48. package/dist/kernel/extension/index.d.mts +1 -1
  49. package/dist/kernel/index.d.mts +2 -2
  50. package/dist/kernel/observability/index.d.mts +1 -1
  51. package/dist/{namespace-C74bbsdZ.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
  52. package/dist/{namespace-DRXQyBe0.d.mts → namespace-Boh42UoL.d.mts} +20 -20
  53. package/dist/{namespace-BLER-Qom.d.mts → namespace-COEUMuHL.d.mts} +154 -154
  54. package/dist/{namespace-CGxFYDlK.d.mts → namespace-D94HrTtq.d.mts} +38 -38
  55. package/dist/{namespace-D4Uf5Mw_.d.mts → namespace-OLAh9wHU.d.mts} +9 -9
  56. package/dist/{namespace-JFzrlNs4.d.mts → namespace-TPbegIMi.d.mts} +8 -8
  57. package/dist/package.json +1 -1
  58. package/dist/{schema-B9goOieO.d.mts → schema-B5vHi7Uu.d.mts} +1 -1
  59. package/dist/{schemas-CurUbHy4.d.mts → schemas-BemsLc_V.d.mts} +4 -4
  60. package/dist/{schemas-B_t6oOK-.d.mts → schemas-CDBn9MTz.d.mts} +154 -154
  61. package/dist/{schemas-CW6YsPT4.d.mts → schemas-CscdPqCt.d.mts} +3 -3
  62. package/dist/{schemas-DXeGCbJ9.d.mts → schemas-D512XweP.d.mts} +5 -5
  63. package/dist/{schemas-9S9Y9PHT2.d.mts → schemas-DOV4UouN2.d.mts} +10 -10
  64. package/dist/{schemas-DnmbwE_V.d.mts → schemas-DWfo0wp4.d.mts} +7 -7
  65. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  66. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  67. package/dist/services/agent-runtime/index.d.mts +2 -2
  68. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  69. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  70. package/dist/services/context-rules/index.d.mts +11 -11
  71. package/dist/services/execution-target/index.d.mts +1 -1
  72. package/dist/services/filesystem/namespace.d.mts +6 -6
  73. package/dist/services/filesystem/schemas.d.mts +3 -3
  74. package/dist/services/harness/index.d.mts +3 -3
  75. package/dist/services/index.d.mts +130 -130
  76. package/dist/services/index.mjs +1 -1
  77. package/dist/services/log-import/browser.d.mts +2 -2
  78. package/dist/services/log-import/index.d.mts +2 -2
  79. package/dist/services/log-import/index.mjs +2 -2
  80. package/dist/services/log-import/log-import.d.mts +1 -1
  81. package/dist/services/log-import/namespace.d.mts +2 -2
  82. package/dist/services/log-import/schemas.d.mts +1 -1
  83. package/dist/services/preferences/index.d.mts +2 -2
  84. package/dist/services/preferences/schemas.d.mts +1 -1
  85. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  86. package/dist/services/session/index.d.mts +6 -6
  87. package/dist/services/session/index.mjs +1 -1
  88. package/dist/services/session/messages/namespace.d.mts +1 -1
  89. package/dist/services/session/session-events/namespace.d.mts +1 -1
  90. package/dist/services/session/storage/namespace.d.mts +1 -1
  91. package/dist/services/session/storage/schema.d.mts +1 -1
  92. package/dist/services/session/testing/index.mjs +1 -1
  93. package/dist/services/settings/namespace.d.mts +13 -13
  94. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  95. package/dist/services/subagent-template/index.d.mts +1 -1
  96. package/dist/services/subagent-template/schemas.d.mts +1 -1
  97. package/dist/services/tool-approval/index.mjs +1 -1
  98. package/dist/services/tools/index.mjs +1 -1
  99. package/dist/services/tray-menu/index.d.mts +2 -2
  100. package/dist/services/tray-menu/namespace.d.mts +1 -1
  101. package/dist/services/tray-menu/schemas.d.mts +1 -1
  102. package/dist/session-CoGaTin6.mjs +69 -0
  103. package/dist/{storage-namespace-BvRF22by.d.mts → storage-namespace-Di1A3DMm.d.mts} +10 -10
  104. package/dist/{tool-approval-service-BIbUSuqg.mjs → tool-approval-service-BNXgr-az.mjs} +1 -1
  105. package/dist/tools-BaO4GYj0.mjs +1 -0
  106. package/dist/{transition-DYorNHZu.d.mts → transition-Bbjlwv5K.d.mts} +1 -1
  107. package/dist/{types-BWduCvRU.d.mts → types-CNkx2awa.d.mts} +1 -1
  108. package/dist/{types-N_BOtTqt.d.mts → types-D7W0ntGr.d.mts} +16 -0
  109. package/dist/{types-9XCB1aPK.d.mts → types-jruUn6oW.d.mts} +254 -254
  110. package/dist/ui-kernel/index.d.mts +4 -4
  111. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  112. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  113. package/dist/workflow-engine/index.d.mts +19 -19
  114. package/package.json +1 -1
  115. package/dist/session-CZUrp7gC.mjs +0 -69
  116. package/dist/tools-Yz8XyiwA.mjs +0 -1
@@ -2059,7 +2059,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
2059
2059
  tableName: "sessions";
2060
2060
  dataType: "string";
2061
2061
  columnType: "SQLiteText";
2062
- data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
2062
+ data: "fork" | "subagent" | "branch" | "compress" | "rewrite" | "coordinator" | "aside";
2063
2063
  driverParam: string;
2064
2064
  notNull: false;
2065
2065
  hasDefault: false;
@@ -3733,6 +3733,194 @@ declare const LogImportTriggerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
3733
3733
  * @returns True when content import must be suppressed
3734
3734
  */
3735
3735
  declare function isPolicyDiscoveredObservedSession(session: Pick<IMakaioSession, 'clientId' | 'importStatus'>): boolean;
3736
+ /**
3737
+ * Check whether a stored session is a hook-first tracking stub.
3738
+ *
3739
+ * A tracking stub is the session row created by
3740
+ * `ObservedSessionIngestionService.handleSessionStarted` when the
3741
+ * `SessionStart` hook fires before the suppression gate is populated.
3742
+ * Its fingerprint is:
3743
+ * - `isImported: true` (set by `importUpsert`)
3744
+ * - `importStatus: 'tracking'` (live-followed observed session)
3745
+ * - `clientId` is present (hook-observed, not watcher-discovered)
3746
+ *
3747
+ * This predicate is the single source of truth for stub identification
3748
+ * across reconciliation and diagnostic paths. Externally observed
3749
+ * terminal sessions share this fingerprint, but they never trigger
3750
+ * `client.runtime.started` — the caller discriminates by context.
3751
+ * @param session - Stored session row to inspect
3752
+ * @returns True when the session matches the tracking-stub fingerprint
3753
+ */
3754
+ declare function isTrackingStub(session: Pick<IMakaioSession, 'isImported' | 'importStatus' | 'clientId'>): boolean;
3755
+ /**
3756
+ * Bridges observed client sessions into the canonical session model.
3757
+ *
3758
+ * Responsibilities:
3759
+ * - Register observed sessions on `client.session.started` through the
3760
+ * unified registration seam (`storage:session.importUpsert`), keyed on the
3761
+ * importer's adapter name so hook-first registration and later transcript
3762
+ * imports converge on the same `(source, adapterSessionId)` identity.
3763
+ * - Trigger targeted transcript imports on `client.session.turn.completed`
3764
+ * (`log-import.importFile` when the transcript path is known, discovery
3765
+ * fallback via `log-import.importSession` otherwise).
3766
+ * - Suppress all work for adapter-managed sessions: sessions the managed
3767
+ * orchestration path drives already flow through the orchestrator and must
3768
+ * not be double-ingested (gate fed by `client.runtime.started`).
3769
+ *
3770
+ * Non-responsibilities:
3771
+ * - Holds NO turn state — turn boundaries and content come exclusively from
3772
+ * the transcript reconstruction during import (design Principle 4).
3773
+ * - Never emits `session.*` subjects itself — the turn lifecycle ingestion
3774
+ * seam is the single emitter (design Principle 2).
3775
+ *
3776
+ * The component is client-agnostic: client and importer identities come from
3777
+ * event payloads and the log-import registry, never from hard-coded client
3778
+ * ids. A single subscription per subject on the global `client` namespace
3779
+ * covers every emitting client; `clientId` in the payload is the
3780
+ * discriminator. When no log-import service or no matching importer is
3781
+ * registered (framework-only mode), all work is skipped silently.
3782
+ */
3783
+ declare class ObservedSessionIngestionService {
3784
+ private readonly bus;
3785
+ /**
3786
+ * Adapter session IDs owned by the managed orchestration path.
3787
+ *
3788
+ * FIFO-capped at {@link MANAGED_SESSION_CAP}; insertion order is the
3789
+ * eviction order (mirrors the client services' gate).
3790
+ */
3791
+ private readonly managedAdapterSessionIds;
3792
+ /**
3793
+ * Importer resolutions per client id.
3794
+ *
3795
+ * Importers register at boot and do not un-register mid-session, so this
3796
+ * cache (including misses) is valid for the lifetime of the service instance.
3797
+ */
3798
+ private readonly importerByClientId;
3799
+ /** Client ids already debug-logged as unresolvable (one log per client id). */
3800
+ private readonly unresolvedClientIds;
3801
+ /** Registered optional policy providers; deny/discovered decisions win. */
3802
+ private readonly policyProviders;
3803
+ private readonly cleanups;
3804
+ /**
3805
+ * Create the service and subscribe to the observed-session subjects.
3806
+ * @param bus - Application bus instance
3807
+ */
3808
+ constructor(bus?: IMakaioBus);
3809
+ /** Unsubscribe all bus handlers. */
3810
+ destroy(): void;
3811
+ /**
3812
+ * Record adapter-managed sessions in the suppression gate and reconcile
3813
+ * any hook-first tracking stub.
3814
+ *
3815
+ * Unlike the per-client gates inside the client services, this component
3816
+ * does not filter by `clientId`: it is client-agnostic, and an adapter
3817
+ * session ID marked as managed must suppress observed ingestion regardless
3818
+ * of which client runtime reported it. Non-adapter source layers (e.g.
3819
+ * `'supervisor'`, `'statusline'`) never suppress — they observe sessions
3820
+ * the managed path does not own.
3821
+ *
3822
+ * **Stub reconciliation:** When the `SessionStart` hook fires before this
3823
+ * gate is populated (hook-first ingestion race), `handleSessionStarted`
3824
+ * creates a tracking stub via `importUpsert`. This stub and the live
3825
+ * session row coexist as duplicates. `client.runtime.started` is the
3826
+ * authoritative, guaranteed-to-arrive signal that the adapter session is
3827
+ * managed. On arrival, any existing tracking stub for the same
3828
+ * `(source, adapterSessionId)` is reconciled: deleted when inert, or
3829
+ * preserved when it already carries imported messages (native takeover
3830
+ * of an externally observed session — see the content guard below).
3831
+ *
3832
+ * Externally observed terminal sessions share the same storage fingerprint
3833
+ * (`isImported: true`, `importStatus: 'tracking'`, `clientId` set) but
3834
+ * never trigger `client.runtime.started` for their `adapterSessionId` —
3835
+ * they are observed via hooks only, without a `client.runtime.observe`
3836
+ * preceding them. Therefore `client.runtime.started` itself is the
3837
+ * discriminator: if we receive it for an adapterSessionId, the session is
3838
+ * adapter-managed and any tracking stub is a racy artifact.
3839
+ * @param payload - `client.runtime.started` payload
3840
+ */
3841
+ private handleRuntimeStarted;
3842
+ /**
3843
+ * Reconcile a hook-first tracking stub for a managed adapter session.
3844
+ *
3845
+ * Looks up a tracking stub by `(source, adapterSessionId)` and deletes it
3846
+ * when it carries no imported messages (pure race artifact). Stubs with
3847
+ * content are preserved (native takeover of an externally observed session).
3848
+ * When message storage is unavailable (unhandled lookup), the stub is
3849
+ * preserved defensively to avoid data loss.
3850
+ *
3851
+ * Called from two sites to close the in-flight importUpsert window:
3852
+ * - `handleRuntimeStarted`: runtime side adds to gate, then reconciles.
3853
+ * - `handleSessionStarted`: hook side writes storage, then reconciles
3854
+ * (post-upsert double-check when the gate was populated concurrently).
3855
+ * @param clientId - Client identity for importer resolution
3856
+ * @param adapterSessionId - External adapter session ID to reconcile
3857
+ */
3858
+ private reconcileTrackingStub;
3859
+ /**
3860
+ * Resolve the log-import importer responsible for a client's sessions.
3861
+ *
3862
+ * Bridges the correlation gap between hook identity and import identity:
3863
+ * hooks report the client id (e.g. `'claude-code'`) while the import path
3864
+ * keys sessions on the importer's adapter name. Registrations advertise
3865
+ * their `clientId` via `log-import.listImporters`.
3866
+ *
3867
+ * Graceful absence: `null` means framework-only mode (no log-import
3868
+ * service, or no importer registered for this client) — callers skip
3869
+ * silently. At most one debug log is emitted per unresolved client id.
3870
+ * @param clientId - Stable client id from the observed event payload
3871
+ * @returns Importer adapter name, or `null` when no importer is registered
3872
+ */
3873
+ private resolveImporter;
3874
+ /**
3875
+ * Debug-log an unresolved client id at most once.
3876
+ * @param clientId - Client id that could not be resolved to an importer
3877
+ * @param reason - Why resolution failed
3878
+ */
3879
+ private debugUnresolved;
3880
+ /**
3881
+ * Register an observed session through the unified registration seam.
3882
+ *
3883
+ * Skipped for managed sessions and when no importer is resolvable — a
3884
+ * session that can never receive imported content must not create a
3885
+ * dangling stub. The registration `source` is the importer's adapter name,
3886
+ * NOT the raw client id: the `(source, adapterSessionId)` upsert key must
3887
+ * match what the import path writes, otherwise hook-first registration
3888
+ * would fork the session identity and every import would create a
3889
+ * duplicate session.
3890
+ * @param payload - `client.session.started` payload
3891
+ */
3892
+ private handleSessionStarted;
3893
+ /**
3894
+ * Trigger a targeted transcript import for a completed observed turn.
3895
+ *
3896
+ * Preferred trigger: `log-import.importFile` with the transcript path from
3897
+ * the hook payload (no prior discovery stub required). Fallback when the
3898
+ * payload carries no path: `log-import.importSession`, which requires an
3899
+ * existing discovery stub and throws otherwise — tolerated and
3900
+ * debug-logged, because the polling watcher ingests the turn on its next
3901
+ * pass either way. If hook payloads prove to lack the transcript path at
3902
+ * fire time in practice, resolving the path from the statusline cache is
3903
+ * the candidate follow-up seam.
3904
+ * @param payload - `client.session.turn.completed` payload
3905
+ */
3906
+ private handleTurnCompleted;
3907
+ /**
3908
+ * Evaluate registered policy providers for an observed session.
3909
+ *
3910
+ * No provider means the current default: content tracking. When multiple
3911
+ * providers are present, `discovered` wins so independent policy modules can
3912
+ * only restrict content import, not override each other's deny decisions.
3913
+ * @param input - Observed session identity and importer context
3914
+ * @returns Import status for the registration
3915
+ */
3916
+ private decideImportStatus;
3917
+ /**
3918
+ * Determine whether a completed observed turn may trigger content import.
3919
+ * @param input - Observed turn identity and importer context
3920
+ * @returns True when content import should run
3921
+ */
3922
+ private shouldImportObservedContent;
3923
+ }
3736
3924
  //#endregion
3737
3925
  //#region services/core/src/session/observed-session-ingestion-policy.d.ts
3738
3926
  /** Capability id used for observed-session ingestion policy providers. */
@@ -5416,4 +5604,4 @@ interface NativeLocalityInput {
5416
5604
  */
5417
5605
  declare function evaluateNativeLocality(input: NativeLocalityInput): NativeLocalityVerdict;
5418
5606
  //#endregion
5419
- export { SessionLifecycleEventArgs as $, recoverAgent as $t, SelectTurn as A, createSessionExtensionContext as At, OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID as B, resetBuiltInActionsRegistration as Bt, MessageRoutingSubjects as C, registerDrizzleAgentStorage as Ct, registerMemoryMessageStorage as D, AgentStorageNamespace as Dt, messages as E, registerMemorySessionStorage as Et, EmbeddingIndexManager as F, CONNECTOR_SWAP_DEFAULT_PIPELINE as Ft, unregisterObservedSessionIngestionPolicyProvider as G, AgentContextState as Gt, ObservedSessionIngestionPolicyImportStatus as H, registerGetStatusCountsHandler as Ht, registerDrizzleImportCursorStorage as I, normalizeSelectionString as It, IngestCompletedTurnParams as J, buildTurnInitiator as Jt, LogImportTriggerSubjects as K, ContextWindowTrackerConfig as Kt, importCursors as L, resolveAdapterNameById as Lt, turnsDual as M, assembleForkContext as Mt, registerMemoryTurnStorage as N, FallbackRuntimeOptions as Nt, registerDrizzleMessageStorage as O, AgentStorageSubjects as Ot, registerDrizzleTurnStorage as P, pickFallbackRuntimeOptions as Pt, EventTransform as Q, ensureAgentModel as Qt, importCursorsDual as R, registerListActionsHandler as Rt, MessageRoutingNamespace as S, registerFtsSearchHandler as St, SelectMessage as T, registerDrizzleSessionStorage as Tt, ObservedSessionIngestionPolicyInput as U, registerResumeHandler as Ut, ObservedSessionIngestionPolicyDecision as V, actionRegistry as Vt, registerObservedSessionIngestionPolicyProvider as W, ContextWindowTracker as Wt, IngestTurnMessage as X, buildRecoveryContextWithPipeline as Xt, IngestCompletedTurnResult as Y, RecoveryConfig as Yt, ingestCompletedTurn as Z, ensureAgentCwd as Zt, InsertMessageRouting as _, fetchAgentsBySession as _t, buildSessionContext as a, findTurnByAgent as an, registerMemorySessionEventStorage as at, messageRoutingDual as b, mapRowToSession as bt, kindToBranchKind as c, extractTextContent as cn, sessionEvents as ct, registerSpawningToolCallResolver as d, AdapterRegistry as dn, SessionPreviewMaps as dt, verifyAndRecoverAgents as en, SessionTurnStartedPayload as et, registerCompressLineageResolver as f, ISessionOrchestrator as fn, fetchSessionPreviewMaps as ft, StartTurnOptions as g, SearchSessionRow as gt, MakaioSessionConfig as h, MakaioSessionService as hn, SearchFilters as ht, getFullConversation as i, resolveModelCapabilities as in, registerDrizzleSessionEventStorage as it, turns as j, SessionBridge as jt, InsertTurn as k, SessionExtensionContextImpl as kt, toSessionLineage as l, normalizeToBlocks as ln, sessionEventsDual as lt, MakaioSession as m, registerCoreSessionServiceHandlers as mn, mapToSession as mt, NativeLocalityIntent as n, resolveAdapterId as nn, emitSessionTurnStarted as nt, BuildContextOptions as o, getOrCreateSession as on, InsertSessionEvent as ot, registerParentResolver as p, SessionOrchestrator as pn, mapAgentsBySession as pt, isPolicyDiscoveredObservedSession as q, SessionContextWindowState as qt, evaluateNativeLocality as r, resolveExecutionTarget as rn, registerSessionLifecycleEventWriters as rt, ContextAssemblyResult as s, resolveTargetAgents as sn, SelectSessionEvent as st, NativeLocalityInput as t, buildRecoveryContext as tn, appendSessionLifecycleEvent as tt, registerSessionDiscoveredHandler as u, TurnContextEnricher as un, getSessionAncestorChain as ut, SelectMessageRouting as v, fetchMessageCountsBySession as vt, InsertMessage as w, registerMemoryAgentStorage as wt, registerDrizzleMessageRoutingStorage as x, parseForkTransforms as xt, messageRouting as y, fetchPreviewBySession as yt, IObservedSessionIngestionPolicyProvider as z, registerBuiltInActions as zt };
5607
+ export { ingestCompletedTurn as $, ensureAgentCwd as $t, SelectTurn as A, AgentStorageSubjects as At, OBSERVED_SESSION_INGESTION_POLICY_CAPABILITY_ID as B, registerListActionsHandler as Bt, MessageRoutingSubjects as C, parseForkTransforms as Ct, registerMemoryMessageStorage as D, registerDrizzleSessionStorage as Dt, messages as E, registerMemoryAgentStorage as Et, EmbeddingIndexManager as F, FallbackRuntimeOptions as Ft, unregisterObservedSessionIngestionPolicyProvider as G, registerResumeHandler as Gt, ObservedSessionIngestionPolicyImportStatus as H, resetBuiltInActionsRegistration as Ht, registerDrizzleImportCursorStorage as I, pickFallbackRuntimeOptions as It, isPolicyDiscoveredObservedSession as J, ContextWindowTrackerConfig as Jt, LogImportTriggerSubjects as K, ContextWindowTracker as Kt, importCursors as L, CONNECTOR_SWAP_DEFAULT_PIPELINE as Lt, turnsDual as M, createSessionExtensionContext as Mt, registerMemoryTurnStorage as N, SessionBridge as Nt, registerDrizzleMessageStorage as O, registerMemorySessionStorage as Ot, registerDrizzleTurnStorage as P, assembleForkContext as Pt, IngestTurnMessage as Q, buildRecoveryContextWithPipeline as Qt, importCursorsDual as R, normalizeSelectionString as Rt, MessageRoutingNamespace as S, mapRowToSession as St, SelectMessage as T, registerDrizzleAgentStorage as Tt, ObservedSessionIngestionPolicyInput as U, actionRegistry as Ut, ObservedSessionIngestionPolicyDecision as V, registerBuiltInActions as Vt, registerObservedSessionIngestionPolicyProvider as W, registerGetStatusCountsHandler as Wt, IngestCompletedTurnParams as X, buildTurnInitiator as Xt, isTrackingStub as Y, SessionContextWindowState as Yt, IngestCompletedTurnResult as Z, RecoveryConfig as Zt, InsertMessageRouting as _, MakaioSessionService as _n, SearchFilters as _t, buildSessionContext as a, resolveExecutionTarget as an, registerSessionLifecycleEventWriters as at, messageRoutingDual as b, fetchMessageCountsBySession as bt, kindToBranchKind as c, getOrCreateSession as cn, InsertSessionEvent as ct, registerSpawningToolCallResolver as d, normalizeToBlocks as dn, sessionEventsDual as dt, ensureAgentModel as en, EventTransform as et, registerCompressLineageResolver as f, TurnContextEnricher as fn, getSessionAncestorChain as ft, StartTurnOptions as g, registerCoreSessionServiceHandlers as gn, mapToSession as gt, MakaioSessionConfig as h, SessionOrchestrator as hn, mapAgentsBySession as ht, getFullConversation as i, resolveAdapterId as in, emitSessionTurnStarted as it, turns as j, SessionExtensionContextImpl as jt, InsertTurn as k, AgentStorageNamespace as kt, toSessionLineage as l, resolveTargetAgents as ln, SelectSessionEvent as lt, MakaioSession as m, ISessionOrchestrator as mn, fetchSessionPreviewMaps as mt, NativeLocalityIntent as n, verifyAndRecoverAgents as nn, SessionTurnStartedPayload as nt, BuildContextOptions as o, resolveModelCapabilities as on, registerDrizzleSessionEventStorage as ot, registerParentResolver as p, AdapterRegistry as pn, SessionPreviewMaps as pt, ObservedSessionIngestionService as q, AgentContextState as qt, evaluateNativeLocality as r, buildRecoveryContext as rn, appendSessionLifecycleEvent as rt, ContextAssemblyResult as s, findTurnByAgent as sn, registerMemorySessionEventStorage as st, NativeLocalityInput as t, recoverAgent as tn, SessionLifecycleEventArgs as tt, registerSessionDiscoveredHandler as u, extractTextContent as un, sessionEvents as ut, SelectMessageRouting as v, SearchSessionRow as vt, InsertMessage as w, registerFtsSearchHandler as wt, registerDrizzleMessageRoutingStorage as x, fetchPreviewBySession as xt, messageRouting as y, fetchAgentsBySession as yt, IObservedSessionIngestionPolicyProvider as z, resolveAdapterNameById as zt };
@@ -9,9 +9,9 @@ import { z } from "zod";
9
9
  * - `visible` — Model is usable and shown in the AgentPicker UI.
10
10
  */
11
11
  declare const ModelVisibilitySchema: z.ZodEnum<{
12
+ visible: "visible";
12
13
  enabled: "enabled";
13
14
  disabled: "disabled";
14
- visible: "visible";
15
15
  }>;
16
16
  type ModelVisibility = z.infer<typeof ModelVisibilitySchema>;
17
17
  /**