@makaio/framework 1.0.0-dev-1781023871421 → 1.0.0-dev-1781081952714
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.
- package/dist/.makaio-build.json +2 -2
- package/dist/{account-identity-DT5NOtFi.mjs → account-identity-CgzOqnVm.mjs} +1 -1
- package/dist/{adapter-C1eI-fGV.mjs → adapter-Dt2FDMs4.mjs} +1 -1
- package/dist/adapters/acp-client/index.d.mts +4 -4
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/config/index.mjs +1 -1
- package/dist/adapters/index.d.mts +24 -23
- package/dist/adapters/index.mjs +6 -13
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/ajv-BJsabpMb.mjs +8 -0
- package/dist/await-trigger-DREnXCEJ.mjs +1 -0
- package/dist/bus/index.d.mts +19 -19
- package/dist/{client-bx74gm4R.mjs → client-BBJf1mVA.mjs} +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/config/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/facet/index.mjs +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/harness/index.mjs +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/host/index.mjs +1 -1
- package/dist/contracts/index.d.mts +425 -425
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/model-registry/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.mjs +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/platform/index.mjs +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/skill/index.mjs +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.mjs +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/toast/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/variant/index.mjs +1 -1
- package/dist/create-static-mount-CFGo91CI.mjs +1 -0
- package/dist/cross-spawn-BL6EvJBv.mjs +1 -0
- package/dist/{cursor-storage-CtVJ3JzB.mjs → cursor-storage-C_WTAESV.mjs} +1 -1
- package/dist/{definition-CrgHIpTK.d.mts → definition-DqJOg6Lv.d.mts} +1 -1
- package/dist/descriptor-to-package-CY8oc2gl.mjs +1 -0
- package/dist/detached-extension-handle-CxEBQnSa.mjs +1 -0
- package/dist/drizzle/0000_charming_prowler.sql +443 -0
- package/dist/drizzle/0001_known_stephen_strange.sql +25 -0
- package/dist/drizzle/0002_woozy_gladiator.sql +1 -0
- package/dist/drizzle/0003_overjoyed_adam_destine.sql +1 -0
- package/dist/drizzle/0004_solid_goliath.sql +1 -0
- package/dist/drizzle/0005_round_calypso.sql +51 -0
- package/dist/drizzle/0006_free_tiger_shark.sql +4 -0
- package/dist/drizzle/0007_sparkling_terror.sql +2 -0
- package/dist/drizzle/0008_petite_deathstrike.sql +1 -0
- package/dist/drizzle/0009_lethal_malcolm_colcord.sql +6 -0
- package/dist/drizzle/0010_grey_chronomancer.sql +1 -0
- package/dist/drizzle/0011_solid_nomad.sql +1 -0
- package/dist/drizzle/meta/0000_snapshot.json +2813 -0
- package/dist/drizzle/meta/0001_snapshot.json +2820 -0
- package/dist/drizzle/meta/0002_snapshot.json +2827 -0
- package/dist/drizzle/meta/0003_snapshot.json +2834 -0
- package/dist/drizzle/meta/0004_snapshot.json +2842 -0
- package/dist/drizzle/meta/0005_snapshot.json +2849 -0
- package/dist/drizzle/meta/0006_snapshot.json +2865 -0
- package/dist/drizzle/meta/0007_snapshot.json +2879 -0
- package/dist/drizzle/meta/0008_snapshot.json +2886 -0
- package/dist/drizzle/meta/0009_snapshot.json +2901 -0
- package/dist/drizzle/meta/0010_snapshot.json +2908 -0
- package/dist/drizzle/meta/0011_snapshot.json +2915 -0
- package/dist/drizzle/meta/_journal.json +90 -0
- package/dist/esm-BdLRFEUy.mjs +3 -0
- package/dist/expression/index.d.mts +120 -0
- package/dist/expression/index.mjs +1431 -0
- package/dist/extension--5Q190u_.mjs +1 -0
- package/dist/{extension-CpIUgBKI.mjs → extension-DFIZ3FCJ.mjs} +1 -1
- package/dist/extension-discovery-CkV_VRdJ.d.mts +163 -0
- package/dist/fast-uri-BF2Xuiop.mjs +1 -0
- package/dist/{filesystem-service-B8rhBRgB.mjs → filesystem-service-DH9zlxyd.mjs} +1 -1
- package/dist/git/index.mjs +17 -17
- package/dist/globby-4SrlyIlj.mjs +1 -0
- package/dist/{handlers-CkTsQLra.mjs → handlers-Bev7-xjL.mjs} +1 -1
- package/dist/{index-472sOmsW.d.mts → index-BAhJKQLX.d.mts} +7 -7
- package/dist/{index-D9MwJ2Q8.d.mts → index-BCKRUuI2.d.mts} +2 -2
- package/dist/{index-mNec7V-9.d.mts → index-BYkOUd0x.d.mts} +12 -12
- package/dist/{index-8SZkg7s6.d.mts → index-Bibt5jAX.d.mts} +8 -8
- package/dist/{index-DBw-89vC2.d.mts → index-BmV60tMf.d.mts} +18 -18
- package/dist/{index-B_zQC98V.d.mts → index-BpniJgxu.d.mts} +4 -4
- package/dist/{index-soFznFCy2.d.mts → index-Bw_zL7Rs.d.mts} +1 -1
- package/dist/{index-CelJCBjk.d.mts → index-C3zfJg6s.d.mts} +13 -13
- package/dist/{index-Caig6TeF.d.mts → index-CNOTkyGw.d.mts} +379 -303
- package/dist/{index-Bh_Ne7LF.d.mts → index-CwKzQuIX.d.mts} +28 -28
- package/dist/{index-B3PK4FIn.d.mts → index-D6bw4qJp.d.mts} +112 -112
- package/dist/{index-Cm0dUkWL.d.mts → index-DETxgKS2.d.mts} +24 -24
- package/dist/{index-D90OmGmV.d.mts → index-Db0uJ_Cg2.d.mts} +3 -3
- package/dist/{index-Bvb2mMH6.d.mts → index-IekAD8Gp.d.mts} +44 -44
- package/dist/index-YDfOv0GT.d.mts +1133 -0
- package/dist/{index-L4GjJDKb.d.mts → index-fVgKVvta.d.mts} +3 -3
- package/dist/{index-DUaw0Dw8.d.mts → index-jlQ4IhR5.d.mts} +497 -497
- package/dist/jsonl-transport-BxNXizIm.mjs +3 -0
- package/dist/kernel/cli/index.d.mts +2 -95
- package/dist/kernel/cli/index.mjs +1 -1
- package/dist/kernel/cli/register.d.mts +2 -0
- package/dist/kernel/cli/register.mjs +1 -0
- package/dist/kernel/cli/schemas.mjs +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/extension/index.mjs +1 -1
- package/dist/kernel/index.d.mts +5 -5
- package/dist/kernel/index.mjs +1 -1
- package/dist/kernel/namespace/index.d.mts +1 -1
- package/dist/kernel/namespace/index.mjs +1 -1
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/kernel/observability/index.mjs +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/providers/index.mjs +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/kernel/window/index.mjs +1 -1
- package/dist/lib-B9kVK_1_.mjs +4 -0
- package/dist/lib-DPruLs5D.mjs +155 -0
- package/dist/lib-aRogYLqg.mjs +5 -0
- package/dist/load-extensions-C-TqCwzL.mjs +1 -0
- package/dist/load-extensions-D9nbDIiW.d.mts +117 -0
- package/dist/mcp-http-server/index.d.mts +561 -0
- package/dist/mcp-http-server/index.mjs +4 -0
- package/dist/{namespace-EQniz-Aw.d.mts → namespace-B60mn8J-2.d.mts} +4 -4
- package/dist/{namespace-CxhsoFUP.d.mts → namespace-BBVtD1gu.d.mts} +14 -14
- package/dist/namespace-BXqetkc3.mjs +1 -0
- package/dist/{namespace-Dr8K0MCp.d.mts → namespace-BlS_i9KT.d.mts} +17 -17
- package/dist/{namespace-5QQqbF-B.d.mts → namespace-ByyuIFpL.d.mts} +91 -91
- package/dist/{namespace-DLovh2Ws.d.mts → namespace-CHMszppN.d.mts} +6 -6
- package/dist/{namespace-BM7Djng9.d.mts → namespace-CqUGzG53.d.mts} +2 -2
- package/dist/{namespace-DD8Oiqo7.d.mts → namespace-D1Iw_d1P.d.mts} +20 -20
- package/dist/{namespace-DgqkaOVu.d.mts → namespace-DBKWNrk7.d.mts} +22 -22
- package/dist/{namespace-CaaNnKcR.d.mts → namespace-Ds6HkJEU.d.mts} +138 -138
- package/dist/namespace-DzVf1hVH.d.mts +96 -0
- package/dist/{namespace-TyiTsLFv.d.mts → namespace-aBIAWxY3.d.mts} +46 -46
- package/dist/{namespace-DuXK5AYN.mjs → namespace-h0HIuqx0.mjs} +1 -1
- package/dist/{native-session-supervisor-B1TnaPUF.mjs → native-session-supervisor-DeKpxhWO.mjs} +1 -1
- package/dist/node/bus-server/index.d.mts +1 -1
- package/dist/node/bus-server/index.mjs +1 -1
- package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
- package/dist/node/bus-server/server-lifecycle.mjs +1 -1
- package/dist/{orchestrator-shared-CIDiFJMD.mjs → orchestrator-shared-FnWrPS09.mjs} +1 -1
- package/dist/out-CvZYgczi.mjs +41 -0
- package/dist/package-1DS4bXg5.mjs +1 -0
- package/dist/package-BSnp1zOR.d.mts +372 -0
- package/dist/package.json +5 -0
- package/dist/primitive-runtime-DcYYWy_6.mjs +8 -0
- package/dist/{profile-6ynCD5k3.mjs → profile-D39-Zy_W.mjs} +1 -1
- package/dist/{provider-context-CK6B4X_8.mjs → provider-context-lfG0BpqX.mjs} +1 -1
- package/dist/quick-lru-B9nWXbXI.mjs +1 -0
- package/dist/rules/index.d.mts +27 -0
- package/dist/rules/index.mjs +1 -0
- package/dist/rules/schemas.d.mts +2 -0
- package/dist/rules/schemas.mjs +1 -0
- package/dist/runtime-bun/index.d.mts +385 -0
- package/dist/runtime-bun/index.mjs +1 -0
- package/dist/runtime-node/bus/runtime/namespace.d.mts +61 -0
- package/dist/runtime-node/bus/runtime/namespace.mjs +1 -0
- package/dist/runtime-node/bus/runtime/schemas.d.mts +54 -0
- package/dist/runtime-node/bus/runtime/schemas.mjs +1 -0
- package/dist/runtime-node/extension-discovery.d.mts +2 -0
- package/dist/runtime-node/extension-discovery.mjs +1 -0
- package/dist/runtime-node/extension-validation.d.mts +2 -0
- package/dist/runtime-node/extension-validation.mjs +1 -0
- package/dist/runtime-node/index.d.mts +745 -0
- package/dist/runtime-node/index.mjs +148 -0
- package/dist/runtime-node/makaio-config.d.mts +153 -0
- package/dist/runtime-node/makaio-config.mjs +1 -0
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -0
- package/dist/runtime-node/workflow-worker/index.mjs +1 -0
- package/dist/runtime-node/workflow-worker/worker-entry.d.mts +39 -0
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -0
- package/dist/{schema-M5YTvSAG.d.mts → schema-CDL_pyyM.d.mts} +4 -4
- package/dist/{schema-e0wU_lcV.mjs → schema-DCJyzRHe.mjs} +1 -1
- package/dist/schema-introspection-CuRZPYEc.mjs +1 -0
- package/dist/{schemas-C46QfKzv.d.mts → schemas-B5ToLwIs.d.mts} +14 -14
- package/dist/schemas-C792eVAZ.d.mts +171 -0
- package/dist/{schemas-CaLhkkLn.mjs → schemas-CSUwpaNm.mjs} +1 -1
- package/dist/{schemas-DVF1A4DF.d.mts → schemas-Chyj6HuZ.d.mts} +9 -9
- package/dist/{schemas-DATniTHb.d.mts → schemas-DZUaRcYl.d.mts} +14 -14
- package/dist/{schemas-DiYVzG6e.d.mts → schemas-Exixg77V2.d.mts} +16 -16
- package/dist/{schemas-ClOOT1W6.d.mts → schemas-lqvZ6UpK.d.mts} +3 -3
- package/dist/{schemas-j7ivZ2HI.d.mts → schemas-on3_N5HP.d.mts} +138 -138
- package/dist/{schemas-wg_6PAdV.d.mts → schemas-t1VR6_b_.d.mts} +4 -4
- package/dist/semver-DhHJv6Dt.mjs +1 -0
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/index.mjs +1 -1
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/adapter-subsystem/namespace.mjs +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/capability/index.d.mts +1 -1
- package/dist/services/capability/index.mjs +1 -1
- package/dist/services/codebase/index.d.mts +2 -2
- package/dist/services/codebase/namespace.d.mts +1 -1
- package/dist/services/codebase/schemas.d.mts +1 -1
- package/dist/services/compression/index.d.mts +2 -2
- package/dist/services/compression/namespace.d.mts +1 -1
- package/dist/services/compression/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +7 -7
- package/dist/services/context-rules/index.mjs +1 -1
- package/dist/services/execution-target/index.d.mts +3 -3
- package/dist/services/execution-target/index.mjs +1 -1
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/index.d.mts +1 -1
- package/dist/services/filesystem/index.mjs +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/git/namespace.d.mts +6 -6
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +6 -6
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.d.mts +12 -12
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/index.d.mts +159 -158
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +3 -3
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/log-import.mjs +1 -1
- package/dist/services/log-import/namespace.d.mts +6 -6
- package/dist/services/log-import/namespace.mjs +1 -1
- package/dist/services/log-import/schemas.d.mts +3 -3
- package/dist/services/log-import/schemas.mjs +1 -1
- package/dist/services/model-registry/index.d.mts +1 -1
- package/dist/services/model-registry/index.mjs +1 -1
- package/dist/services/preferences/index.d.mts +2 -2
- package/dist/services/preferences/schemas.d.mts +1 -1
- package/dist/services/preferences/storage-namespace.d.mts +2 -2
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/provider-context/index.mjs +1 -1
- package/dist/services/provider-runtime/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/messages/namespace.mjs +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/testing/index.mjs +1 -1
- package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session/turns/namespace.mjs +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/session-editor/index.mjs +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/index.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- package/dist/services/settings/namespace.mjs +1 -1
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/clients-namespace.mjs +1 -1
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/index.mjs +1 -1
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/settings/storage/providers-namespace.mjs +1 -1
- package/dist/services/subagent/index.d.mts +1 -1
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +3 -3
- package/dist/services/tray-menu/index.mjs +1 -1
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/services/turn/index.d.mts +1 -1
- package/dist/services/turn/namespace.d.mts +1 -1
- package/dist/services/turn/schemas.d.mts +10 -10
- package/dist/{session-BoldSdNZ2.mjs → session-BnfsJoZi.mjs} +1 -1
- package/dist/{session-DuVOYctZ.mjs → session-C1Cami7U.mjs} +1 -1
- package/dist/{session-lineage-CRsc9g1x.d.mts → session-lineage-CKg6mErA.d.mts} +1 -1
- package/dist/{skill-CQO4mDqK.mjs → skill-BNQnWVIG.mjs} +1 -1
- package/dist/src-Dvp41Cg2.mjs +1 -0
- package/dist/src-Z3vAZJfw.mjs +21 -0
- package/dist/storage/drizzle/client.d.mts +1 -1
- package/dist/storage/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.d.mts +1 -1
- package/dist/storage/handlers/drizzle/index.mjs +1 -1
- package/dist/storage/handlers/index.d.mts +1 -1
- package/dist/storage/handlers/index.mjs +1 -1
- package/dist/storage-namespace-BXO3lDVy.mjs +1 -0
- package/dist/{storage-namespace-BXkoh5Sy.d.mts → storage-namespace-BXmMUd7a.d.mts} +20 -20
- package/dist/style.css +540 -540
- package/dist/supports-color-fVsgozsi.mjs +1 -0
- package/dist/tool-approval-service-BgNcJvKx.mjs +1 -0
- package/dist/tools-DC4KrqI1.mjs +1 -0
- package/dist/{types-CCdqjeuH.d.mts → types-B0BtvVAq.d.mts} +2 -81
- package/dist/{types-BCMUtBj1.d.mts → types-CmMesAgR.d.mts} +1 -1
- package/dist/{types-DZHvOc_Q.d.mts → types-D0fPFh-D.d.mts} +1 -1
- package/dist/{types-Dy3YTcTF.d.mts → types-DiGqpZOD.d.mts} +288 -288
- package/dist/ui-components/index.d.mts +1 -1
- package/dist/ui-components/index.mjs +2 -2
- package/dist/ui-hooks/index.d.mts +6 -6
- package/dist/ui-kernel/index.d.mts +7 -7
- package/dist/ui-kernel/pages/namespace.d.mts +8 -8
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.mjs +2 -2
- package/dist/version-B4NO_fID.mjs +1 -0
- package/dist/workflow-engine/index.d.mts +6568 -0
- package/dist/workflow-engine/index.mjs +1 -0
- package/dist/workflow-engine/package.d.mts +2 -0
- package/dist/workflow-engine/package.mjs +1 -0
- package/dist/workflow-engine/workflow-orchestrator.d.mts +61 -0
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -0
- package/dist/workflow-worker-DvP753UN.mjs +1 -0
- package/package.json +65 -1
- package/dist/extension-C-4BHMRI.mjs +0 -1
- package/dist/globby-rtWVaFHv.mjs +0 -41
- package/dist/schema-introspection-Dn1jWQs1.mjs +0 -1
- package/dist/schemas-CVvwIfG4.mjs +0 -1
- package/dist/storage-namespace-DWsYLAXa.mjs +0 -1
- package/dist/tool-approval-service-BvZWhYZp.mjs +0 -1
- package/dist/tools-D-luYcDw.mjs +0 -1431
- package/dist/version-BeT3ASEe.mjs +0 -1
- /package/dist/{base-orchestrator-wyumsn3b.d.mts → base-orchestrator-M5mAB5-w.d.mts} +0 -0
- /package/dist/{capability-service-CJbmhfv9.mjs → capability-service-jjrFLM6r.mjs} +0 -0
- /package/dist/{cleanEnvForAdapter-KkYzQa1f.mjs → cleanEnvForAdapter-BlpmyXYk.mjs} +0 -0
- /package/dist/{clients-namespace-GmSJpBUV.d.mts → clients-namespace-SFk7OTop.d.mts} +0 -0
- /package/dist/{config-namespace-CPY9YsR8.d.mts → config-namespace-BzAvE2nY.d.mts} +0 -0
- /package/dist/{config-namespace-ncYg2ct_.mjs → config-namespace-DydHz9so.mjs} +0 -0
- /package/dist/{definition-BLCdXGzh.d.mts → definition-BSghHJpQ.d.mts} +0 -0
- /package/dist/{definition-pkJ6szUl.d.mts → definition-q6iLw11H.d.mts} +0 -0
- /package/dist/{drizzle-Eq8W1EbD.mjs → drizzle-DpjZFY_j.mjs} +0 -0
- /package/dist/{event-Ca2yUf5i.mjs → event-BEllCn16.mjs} +0 -0
- /package/dist/{execution-target-CRPTfZlc.mjs → execution-target-CQGYaaM2.mjs} +0 -0
- /package/dist/{extension-namespace-cMh_mMiL.mjs → extension-namespace-BBgYOttA.mjs} +0 -0
- /package/dist/{facet-BuwhrThl.mjs → facet-DMrryX_0.mjs} +0 -0
- /package/dist/{filesystem-service-p_iJVHd4.d.mts → filesystem-service-Ddngll0j.d.mts} +0 -0
- /package/dist/{harness-BRCMcvQN.mjs → harness-B8E_wRwa.mjs} +0 -0
- /package/dist/{host-Br9VuOyr.mjs → host-DbMiI5wQ.mjs} +0 -0
- /package/dist/{identity-Cz2IeEtm.mjs → identity-Bmx-8fPa.mjs} +0 -0
- /package/dist/{index-U-A8eyGT.d.mts → index-9IDJUJ4X.d.mts} +0 -0
- /package/dist/{index-CGmcS0Ma.d.mts → index-BBvcP-P0.d.mts} +0 -0
- /package/dist/{index-BGfWS6GE.d.mts → index-BKKNWqkP2.d.mts} +0 -0
- /package/dist/{index-DKia0MX1.d.mts → index-BMpRB6iE.d.mts} +0 -0
- /package/dist/{index-CHQ1SqT0.d.mts → index-BbCjtc3h.d.mts} +0 -0
- /package/dist/{index-BFg9BUpx.d.mts → index-BheaEhyI.d.mts} +0 -0
- /package/dist/{index-Cs0kZXIz2.d.mts → index-BnQSPC6c.d.mts} +0 -0
- /package/dist/{index-CCGVh9BF2.d.mts → index-BpXX9WZJ.d.mts} +0 -0
- /package/dist/{index-DMKnON5s.d.mts → index-Bsp0O_sI.d.mts} +0 -0
- /package/dist/{index-DANINzMu.d.mts → index-Buo9H8RK.d.mts} +0 -0
- /package/dist/{index-CLpjm52M.d.mts → index-BxFA1XcP.d.mts} +0 -0
- /package/dist/{index-ChunCFu4.d.mts → index-C33Tq1ei2.d.mts} +0 -0
- /package/dist/{index-DGBu6bHi2.d.mts → index-C6BhKRnH.d.mts} +0 -0
- /package/dist/{index-eemAKwsB.d.mts → index-CDU_s69P.d.mts} +0 -0
- /package/dist/{index-DKC62dY5.d.mts → index-CGJjA-hR2.d.mts} +0 -0
- /package/dist/{index-CokQYGVP.d.mts → index-Clut1ljB.d.mts} +0 -0
- /package/dist/{index-BVgfS-AJ.d.mts → index-Cz9JMjZK.d.mts} +0 -0
- /package/dist/{index-vtXJuwrz.d.mts → index-D0SUjZmU.d.mts} +0 -0
- /package/dist/{index-x_lVDp_J.d.mts → index-D6Iyvz9T.d.mts} +0 -0
- /package/dist/{index-D5d5HeWI2.d.mts → index-DOfq0qqv.d.mts} +0 -0
- /package/dist/{index-De3kPhlN.d.mts → index-DSV1aFgK.d.mts} +0 -0
- /package/dist/{index-B80L4YqA.d.mts → index-Dsq2zKvu.d.mts} +0 -0
- /package/dist/{materialization-CuUBu4XI.mjs → materialization-3QUnQLbC.mjs} +0 -0
- /package/dist/{model-registry-Scn_MC2d.mjs → model-registry-B0AIdj7O.mjs} +0 -0
- /package/dist/{model-registry-CfXytvzx.mjs → model-registry-j-rCKcik.mjs} +0 -0
- /package/dist/{namespace-CFLAmQfh.mjs → namespace-BbjCyZC9.mjs} +0 -0
- /package/dist/{namespace-BwzZJqTV.mjs → namespace-BgPoC46Q.mjs} +0 -0
- /package/dist/{namespace-Yna5-Pws.mjs → namespace-CDiM5Bcr.mjs} +0 -0
- /package/dist/{namespace-BoD94mrN.mjs → namespace-CUOGcGPG.mjs} +0 -0
- /package/dist/{namespace-LViZ-EQk.mjs → namespace-D6X67cUk.mjs} +0 -0
- /package/dist/{namespace-DkRgbZYn.mjs → namespace-ENv7H7Na.mjs} +0 -0
- /package/dist/{namespace-xcmbQlxh.mjs → namespace-FT8igkn4.mjs} +0 -0
- /package/dist/{namespace-CaoZ3S78.d.mts → namespace-XTGCaSXj.d.mts} +0 -0
- /package/dist/{namespace-CTm3nEvh.d.mts → namespace-nlsvvMtD.d.mts} +0 -0
- /package/dist/{namespace-IV1QK__V.d.mts → namespace-uuR0Fg5r.d.mts} +0 -0
- /package/dist/{orchestrator-shared-Dfa7FMyw.d.mts → orchestrator-shared-D91Wk7z-.d.mts} +0 -0
- /package/dist/{package-DKVlsMP3.mjs → package-OE9dMQsq.mjs} +0 -0
- /package/dist/{platform-DZ7z-wXD.mjs → platform-Dhv22LiX.mjs} +0 -0
- /package/dist/{providers-u8i15co9.mjs → providers-B1p0P-vB.mjs} +0 -0
- /package/dist/{providers-namespace-DSEpli4A.d.mts → providers-namespace-BqWYkydw.d.mts} +0 -0
- /package/dist/{schema-CoyE6mPt.mjs → schema-DOnJmAPw.mjs} +0 -0
- /package/dist/{schemas-Bd0OjRQf.d.mts → schemas-B77Gi8Xr.d.mts} +0 -0
- /package/dist/{schemas-jFe1AuI-.mjs → schemas-BCIuTWRl2.mjs} +0 -0
- /package/dist/{schemas-DE-GNmSD.mjs → schemas-BdAf5u58.mjs} +0 -0
- /package/dist/{schemas-CDBSjg7o.d.mts → schemas-Dyk7JuVl.d.mts} +0 -0
- /package/dist/{schemas-DaRSfYLf.d.mts → schemas-Kq33MTPY.d.mts} +0 -0
- /package/dist/{server-lifecycle-YoSGFGnU.d.mts → server-lifecycle-47mygK3E.d.mts} +0 -0
- /package/dist/{server-lifecycle-FXTPW39-.mjs → server-lifecycle-Cg47L59Q.mjs} +0 -0
- /package/dist/{shared-schemas-CPShiLNp.mjs → shared-schemas-CKe2uN4-.mjs} +0 -0
- /package/dist/{storage-namespace-definition-Bkx5rSto.d.mts → storage-namespace-definition-C3XbpiP8.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-CqSdsuCC.mjs → storage-namespace-definition-RvjfFysN.mjs} +0 -0
- /package/dist/{telemetry-CvdLBWuk.mjs → telemetry-O0394b7p.mjs} +0 -0
- /package/dist/{tray-menu-service-DuXq5k22.mjs → tray-menu-service-B5YPK_YF.mjs} +0 -0
- /package/dist/{types-C2Ob9zz_.d.mts → types-5Gw3iVpK.d.mts} +0 -0
- /package/dist/{types-dyP-bXXE.d.mts → types-BhXRffJ_.d.mts} +0 -0
- /package/dist/{types-MfJZ67e9.d.mts → types-D-bP8RRE.d.mts} +0 -0
- /package/dist/{variant-CT6XBP6T.mjs → variant-COVbYmMs.mjs} +0 -0
- /package/dist/{window-registry-CBcrGTv4.d.mts → window-registry-CfEi_Ji4.d.mts} +0 -0
- /package/dist/{window-registry-DW-dKRjQ.mjs → window-registry-XjOExitT.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as e,r as t,t as n}from"./chunk-DTipWd-i.mjs";import{t as r}from"./out-CvZYgczi.mjs";import{execFile as i}from"node:child_process";import{promisify as a}from"node:util";import{fileURLToPath as o}from"node:url";import s from"node:fs/promises";import c from"node:path";import l from"node:fs";import"node:events";import u from"node:process";import"node:stream";import"node:stream/promises";var d=e(r(),1);async function f(e,t,n){if(typeof n!=`string`)throw TypeError(`Expected a string, got ${typeof n}`);try{return(await s[e](n))[t]()}catch(e){if(e.code===`ENOENT`)return!1;throw e}}function p(e,t,n){if(typeof n!=`string`)throw TypeError(`Expected a string, got ${typeof n}`);try{return l[e](n)[t]()}catch(e){if(e.code===`ENOENT`)return!1;throw e}}f.bind(void 0,`stat`,`isFile`);const m=f.bind(void 0,`stat`,`isDirectory`);f.bind(void 0,`lstat`,`isSymbolicLink`),p.bind(void 0,`statSync`,`isFile`),p.bind(void 0,`statSync`,`isDirectory`),p.bind(void 0,`lstatSync`,`isSymbolicLink`),a(i);function h(e){return e instanceof URL?o(e):e}var g=e(n(((e,t)=>{function n(e){return Array.isArray(e)?e:[e]}let r=/^\s+$/,i=/(?:[^\\]|^)\\$/,a=/^\\!/,o=/^\\#/,s=/\r?\n/g,c=/^\.{0,2}\/|^\.{1,2}$/,l=/\/$/,u=`node-ignore`;typeof Symbol<`u`&&(u=Symbol.for(`node-ignore`));let d=u,f=(e,t,n)=>(Object.defineProperty(e,t,{value:n}),n),p=/([0-z])-([0-z])/g,m=()=>!1,h=e=>e.replace(p,(e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:``),g=e=>{let{length:t}=e;return e.slice(0,t-t%2)},_=[[/^\uFEFF/,()=>``],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,n)=>t+(n.indexOf(`\\`)===0?` `:``)],[/(\\+?)\s/g,(e,t)=>{let{length:n}=t;return t.slice(0,n-n%2)+` `}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>`[^/]`],[/^\//,()=>`^`],[/\//g,()=>`\\/`],[/^\^*\\\*\\\*\\\//,()=>`^(?:.*\\/)?`],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?`^`:`(?:^|\\/)`}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?`(?:\\/[^\\/]+)*`:`\\/.+`],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,n)=>t+n.replace(/\\\*/g,`[^\\/]*`)],[/\\\\\\(?=[$.|*+(){^])/g,()=>`\\`],[/\\\\/g,()=>`\\`],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,r,i)=>t===`\\`?`\\[${n}${g(r)}${i}`:i===`]`&&r.length%2==0?`[${h(n)}${r}]`:`[]`],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`]],v=/(^|\\\/)?\\\*$/,y=`regex`,b=`checkRegex`,x={[y](e,t){return`${t?`${t}[^/]+`:`[^/]*`}(?=$|\\/$)`},[b](e,t){return`${t?`${t}[^/]*`:`[^/]*`}(?=$|\\/$)`}},S=e=>_.reduce((t,[n,r])=>t.replace(n,r.bind(e)),e),C=e=>typeof e==`string`,w=e=>e&&C(e)&&!r.test(e)&&!i.test(e)&&e.indexOf(`#`)!==0,T=e=>e.split(s).filter(Boolean);var E=class{constructor(e,t,n,r,i,a){this.pattern=e,this.mark=t,this.negative=i,f(this,`body`,n),f(this,`ignoreCase`,r),f(this,`regexPrefix`,a)}get regex(){let e=`_`+y;return this[e]?this[e]:this._make(y,e)}get checkRegex(){let e=`_`+b;return this[e]?this[e]:this._make(b,e)}_make(e,t){let n=this.regexPrefix.replace(v,x[e]),r=this.ignoreCase?new RegExp(n,`i`):new RegExp(n);return f(this,t,r)}};let D=({pattern:e,mark:t},n)=>{let r=!1,i=e;i.indexOf(`!`)===0&&(r=!0,i=i.substr(1)),i=i.replace(a,`!`).replace(o,`#`);let s=S(i);return new E(e,t,i,n,r,s)};var O=class{constructor(e){this._ignoreCase=e,this._rules=[]}_add(e){if(e&&e[d]){this._rules=this._rules.concat(e._rules._rules),this._added=!0;return}if(C(e)&&(e={pattern:e}),w(e.pattern)){let t=D(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,n(C(e)?T(e):e).forEach(this._add,this),this._added}test(e,t,n){let r=!1,i=!1,a;this._rules.forEach(o=>{let{negative:s}=o;i===s&&r!==i||s&&!r&&!i&&!t||o[n].test(e)&&(r=!s,i=s,a=s?void 0:o)});let o={ignored:r,unignored:i};return a&&(o.rule=a),o}};let k=(e,t)=>{throw new t(e)},A=(e,t,n)=>C(e)?e?A.isNotRelative(e)?n(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:n(`path must not be empty`,TypeError):n(`path must be a string, but got \`${t}\``,TypeError),j=e=>c.test(e);A.isNotRelative=j,A.convert=e=>e;var M=class{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){f(this,d,!0),this._rules=new O(t),this._strictPathCheck=!n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}add(e){return this._rules.add(e)&&this._initCache(),this}addPattern(e){return this.add(e)}_test(e,t,n,r){let i=e&&A.convert(e);return A(i,e,this._strictPathCheck?k:m),this._t(i,t,n,r)}checkIgnore(e){if(!l.test(e))return this.test(e);let t=e.split(`/`).filter(Boolean);if(t.pop(),t.length){let e=this._t(t.join(`/`)+`/`,this._testCache,!0,t);if(e.ignored)return e}return this._rules.test(e,!1,b)}_t(e,t,n,r){if(e in t)return t[e];if(r||=e.split(`/`).filter(Boolean),r.pop(),!r.length)return t[e]=this._rules.test(e,n,y);let i=this._t(r.join(`/`)+`/`,t,n,r);return t[e]=i.ignored?i:this._rules.test(e,n,y)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return n(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}};let N=e=>new M(e),P=e=>A(e&&A.convert(e),e,m),F=()=>{A.convert=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,`/`);let e=/^[a-z]:\//i;A.isNotRelative=t=>e.test(t)||j(t)};typeof process<`u`&&process.platform===`win32`&&F(),t.exports=N,N.default=N,t.exports.isPathValid=P,f(t.exports,Symbol.for(`setupWindows`),F)}))(),1);function _(e){return e.startsWith(`\\\\?\\`)?e:e.replace(/\\/g,`/`)}const v=e=>e[0]===`!`,y=[`**/node_modules`,`**/flow-typed`,`**/coverage`,`**/.git`],b={absolute:!0,dot:!0},x=(e,t)=>v(e)?`!`+c.posix.join(t,e.slice(1)):c.posix.join(t,e),S=(e,t)=>{let n=_(c.relative(t,c.dirname(e.filePath)));return e.content.split(/\r?\n/).filter(e=>e&&!e.startsWith(`#`)).map(e=>x(e,n))},C=(e,t)=>{if(t=_(t),c.isAbsolute(e)){if(_(e).startsWith(t))return c.relative(t,e);throw Error(`Path ${e} is not in cwd ${t}`)}return e},w=(e,t)=>{let n=e.flatMap(e=>S(e,t)),r=(0,g.default)().add(n);return e=>(e=h(e),e=C(e,t),e?r.ignores(_(e)):!1)},T=(e={})=>({cwd:h(e.cwd)??u.cwd(),suppressErrors:!!e.suppressErrors,deep:typeof e.deep==`number`?e.deep:1/0,ignore:[...e.ignore??[],...y]}),E=async(e,t)=>{let{cwd:n,suppressErrors:r,deep:i,ignore:a}=T(t),o=await(0,d.default)(e,{cwd:n,suppressErrors:r,deep:i,ignore:a,...b});return w(await Promise.all(o.map(async e=>({filePath:e,content:await s.readFile(e,`utf8`)}))),n)};var D=t({globby:()=>U});const O=e=>{if(e.some(e=>typeof e!=`string`))throw TypeError(`Patterns must be a string or an array of strings`)},k=(e,t)=>{let n=v(e)?e.slice(1):e;return c.isAbsolute(n)?n:c.join(t,n)},A=({directoryPath:e,files:t,extensions:n})=>{let r=n?.length>0?`.${n.length>1?`{${n.join(`,`)}}`:n[0]}`:``;return t?t.map(t=>c.posix.join(e,`**/${c.extname(t)?t:`${t}${r}`}`)):[c.posix.join(e,`**${r?`/*${r}`:``}`)]},j=async(e,{cwd:t=u.cwd(),files:n,extensions:r}={})=>(await Promise.all(e.map(async e=>await m(k(e,t))?A({directoryPath:e,files:n,extensions:r}):e))).flat(),M=e=>(e=[...new Set([e].flat())],O(e),e),N=e=>{if(!e)return;let t;try{t=l.statSync(e)}catch{return}if(!t.isDirectory())throw Error("The `cwd` option must be a path to a directory")},P=(e={})=>(e={...e,ignore:e.ignore??[],expandDirectories:e.expandDirectories??!0,cwd:h(e.cwd)},N(e.cwd),e),F=e=>async(t,n)=>e(M(t),P(n)),I=e=>{let{ignoreFiles:t,gitignore:n}=e,r=t?M(t):[];return n&&r.push(`**/.gitignore`),r},L=async e=>{let t=I(e);return R(t.length>0&&await E(t,e))},R=e=>{let t=new Set;return n=>{let r=c.normalize(n.path??n);return t.has(r)||e&&e(r)?!1:(t.add(r),!0)}},z=(e,t)=>e.flat().filter(e=>t(e)),B=(e,t)=>{let n=[];for(;e.length>0;){let r=e.findIndex(e=>v(e));if(r===-1){n.push({patterns:e,options:t});break}let i=e[r].slice(1);for(let e of n)e.options.ignore.push(i);r!==0&&n.push({patterns:e.slice(0,r),options:{...t,ignore:[...t.ignore,i]}}),e=e.slice(r+1)}return n},V=(e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}),H=async(e,t)=>{let n=B(e,t),{cwd:r,expandDirectories:i}=t;if(!i)return n;let a=V(i,r);return Promise.all(n.map(async e=>{let{patterns:t,options:n}=e;return[t,n.ignore]=await Promise.all([j(t,a),j(n.ignore,{cwd:r})]),{patterns:t,options:n}}))},U=F(async(e,t)=>{let[n,r]=await Promise.all([H(e,t),L(t)]);return z(await Promise.all(n.map(e=>(0,d.default)(e.patterns,e.options))),r)}),{convertPathToPattern:W}=d.default;export{D as n,U as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{agents as e}from"./services/session/storage/schema.mjs";import{t}from"./schema-
|
|
1
|
+
import{agents as e}from"./services/session/storage/schema.mjs";import{t}from"./schema-DOnJmAPw.mjs";import{n}from"./namespace-h0HIuqx0.mjs";import{SessionStorageSubjects as r}from"./services/session/storage/namespace.mjs";import{TurnStorageSubjects as i}from"./services/turn/namespace.mjs";import"./services/session/turns/namespace.mjs";import{AdapterRuntimeSubjects as a}from"./services/adapter-runtime/namespace.mjs";import{MessageStorageSubjects as o}from"./services/session/messages/namespace.mjs";import{n as s}from"./namespace-ENv7H7Na.mjs";import{ProviderStorageSubjects as c}from"./services/settings/storage/providers-namespace.mjs";import{ExecutionTargetSubjects as l}from"./services/execution-target/namespace.mjs";import{r as u,t as d}from"./provider-context-lfG0BpqX.mjs";import{ExtractedContextSchema as f}from"./services/compression/schemas.mjs";import{PreferencesSubjects as p}from"./services/preferences/storage-namespace.mjs";import{z as m}from"zod";import{AdapterSubjects as h,AgentResolutionSubjects as g,AgentStatusSchema as _,AgentSubjects as v,MakaioSessionAgentSchema as y,SessionSubjects as b,TurnUsageSchema as x}from"@makaio/framework/contracts";import{and as S,asc as C,desc as w,eq as T,sql as ee}from"drizzle-orm";import{createStorageNamespaceDefinition as te}from"@makaio/framework/storage";import{HookAbortError as E}from"@makaio/framework/hooks";import{AdapterRuntimeSubjects as ne}from"@makaio/framework/services/adapter-runtime";import{buildProviderContext as re}from"@makaio/framework/services/provider-context";const D=te(`agent`,{schemas:{get:{request:m.object({agentId:m.string()}),response:m.object({agent:y.nullable()})},set:{request:m.object({agentId:m.string(),agent:y}),response:m.object({success:m.boolean()})},delete:{request:m.object({agentId:m.string()}),response:m.object({success:m.boolean()})},listByAdapter:{request:m.object({adapterName:m.string(),status:m.enum([`idle`,`active`,`dead`,`disposed`,`all`]).optional()}),response:m.object({agents:m.array(y)})},listBySession:{request:m.object({sessionId:m.string()}),response:m.object({agents:m.array(y)})},updateStatus:{request:m.object({agentId:m.string(),status:_}),response:m.object({success:m.boolean()})},updateActivity:{request:m.object({agentId:m.string(),lastActivityAt:m.number()}),response:m.object({success:m.boolean()})},updateRuntime:{request:m.object({agentId:m.string(),cwd:m.string().optional(),model:m.string().optional(),providerConfigId:m.string().optional()}).refine(e=>e.cwd!==void 0||e.model!==void 0||e.providerConfigId!==void 0,{message:`At least one runtime field (cwd, model, or providerConfigId) must be provided`}),response:m.object({success:m.boolean()})}},extensions:{drizzle:{agents:e}}}),O=D.subjects;function ie(e){if(e)try{let t=JSON.parse(e),n=x.safeParse(t);return n.success?n.data:void 0}catch{return}}function k(e){return{turnId:e.turnId,sessionId:e.sessionId,turnNumber:e.turnNumber,startedAt:e.startedAt,completedAt:e.completedAt??void 0,status:e.status,error:e.error??void 0,usage:ie(e.usage)}}function ae(e,t,n){let r=[oe(e,t),se(e,t),ce(e,t),A(e,t),j(e,t),M(e,t),le(e,t)];return()=>r.forEach(e=>e())}function oe(e,n){return e.on(i.create,async e=>{let{sessionId:r,turnId:i}=e.payload,a=Date.now(),o=i??crypto.randomUUID();await n.run(ee`
|
|
2
2
|
WITH next_num AS (
|
|
3
3
|
SELECT COALESCE(MAX(turn_number), 0) + 1 AS n
|
|
4
4
|
FROM turns
|
|
@@ -28,8 +28,8 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
|
|
|
28
28
|
declare const VariantUpgradeStatusSchema: z.ZodEnum<{
|
|
29
29
|
error: "error";
|
|
30
30
|
complete: "complete";
|
|
31
|
-
progress: "progress";
|
|
32
31
|
downloading: "downloading";
|
|
32
|
+
progress: "progress";
|
|
33
33
|
applying: "applying";
|
|
34
34
|
}>;
|
|
35
35
|
/** Inferred TypeScript type for an upgrade status value. */
|
|
@@ -58,8 +58,8 @@ declare const VariantSchemas: {
|
|
|
58
58
|
}>;
|
|
59
59
|
bundleCEF: z.ZodBoolean;
|
|
60
60
|
defaultRenderer: z.ZodEnum<{
|
|
61
|
-
native: "native";
|
|
62
61
|
cef: "cef";
|
|
62
|
+
native: "native";
|
|
63
63
|
}>;
|
|
64
64
|
}, z.core.$strip>;
|
|
65
65
|
};
|
|
@@ -102,8 +102,8 @@ declare const VariantSchemas: {
|
|
|
102
102
|
status: z.ZodEnum<{
|
|
103
103
|
error: "error";
|
|
104
104
|
complete: "complete";
|
|
105
|
-
progress: "progress";
|
|
106
105
|
downloading: "downloading";
|
|
106
|
+
progress: "progress";
|
|
107
107
|
applying: "applying";
|
|
108
108
|
}>;
|
|
109
109
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -134,8 +134,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
|
|
|
134
134
|
}>;
|
|
135
135
|
bundleCEF: _$zod.ZodBoolean;
|
|
136
136
|
defaultRenderer: _$zod.ZodEnum<{
|
|
137
|
-
native: "native";
|
|
138
137
|
cef: "cef";
|
|
138
|
+
native: "native";
|
|
139
139
|
}>;
|
|
140
140
|
}, _$zod_v4_core0.$strip>;
|
|
141
141
|
};
|
|
@@ -159,8 +159,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
|
|
|
159
159
|
status: _$zod.ZodEnum<{
|
|
160
160
|
error: "error";
|
|
161
161
|
complete: "complete";
|
|
162
|
-
progress: "progress";
|
|
163
162
|
downloading: "downloading";
|
|
163
|
+
progress: "progress";
|
|
164
164
|
applying: "applying";
|
|
165
165
|
}>;
|
|
166
166
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -181,8 +181,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
181
181
|
}>;
|
|
182
182
|
bundleCEF: _$zod.ZodBoolean;
|
|
183
183
|
defaultRenderer: _$zod.ZodEnum<{
|
|
184
|
-
native: "native";
|
|
185
184
|
cef: "cef";
|
|
185
|
+
native: "native";
|
|
186
186
|
}>;
|
|
187
187
|
}, _$zod_v4_core0.$strip>;
|
|
188
188
|
};
|
|
@@ -206,8 +206,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
206
206
|
status: _$zod.ZodEnum<{
|
|
207
207
|
error: "error";
|
|
208
208
|
complete: "complete";
|
|
209
|
-
progress: "progress";
|
|
210
209
|
downloading: "downloading";
|
|
210
|
+
progress: "progress";
|
|
211
211
|
applying: "applying";
|
|
212
212
|
}>;
|
|
213
213
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -10,8 +10,8 @@ import { z } from "zod";
|
|
|
10
10
|
*/
|
|
11
11
|
declare const LogImportModeSchema: z.ZodEnum<{
|
|
12
12
|
disabled: "disabled";
|
|
13
|
-
discover: "discover";
|
|
14
13
|
import: "import";
|
|
14
|
+
discover: "discover";
|
|
15
15
|
}>;
|
|
16
16
|
/** Tri-state import mode for external session discovery. */
|
|
17
17
|
type LogImportMode = z.infer<typeof LogImportModeSchema>;
|
|
@@ -26,8 +26,8 @@ declare const LogImportSettingsSchema: z.ZodObject<{
|
|
|
26
26
|
adapterName: z.ZodString;
|
|
27
27
|
mode: z.ZodEnum<{
|
|
28
28
|
disabled: "disabled";
|
|
29
|
-
discover: "discover";
|
|
30
29
|
import: "import";
|
|
30
|
+
discover: "discover";
|
|
31
31
|
}>;
|
|
32
32
|
createdAt: z.ZodNumber;
|
|
33
33
|
updatedAt: z.ZodNumber;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-
|
|
1
|
+
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-C3XbpiP8.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -22,9 +22,9 @@ declare const SkillNamespace: _$_makaio_core0.BusNamespaceDefinition<"skill", {
|
|
|
22
22
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
23
23
|
skillName: _$zod.ZodString;
|
|
24
24
|
trigger: _$zod.ZodEnum<{
|
|
25
|
+
user: "user";
|
|
25
26
|
auto: "auto";
|
|
26
27
|
model: "model";
|
|
27
|
-
user: "user";
|
|
28
28
|
reinjection: "reinjection";
|
|
29
29
|
}>;
|
|
30
30
|
turnNumber: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -83,9 +83,9 @@ declare const SkillNamespace: _$_makaio_core0.BusNamespaceDefinition<"skill", {
|
|
|
83
83
|
agentId: _$zod.ZodString;
|
|
84
84
|
skillName: _$zod.ZodString;
|
|
85
85
|
trigger: _$zod.ZodEnum<{
|
|
86
|
+
user: "user";
|
|
86
87
|
auto: "auto";
|
|
87
88
|
model: "model";
|
|
88
|
-
user: "user";
|
|
89
89
|
reinjection: "reinjection";
|
|
90
90
|
}>;
|
|
91
91
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -128,9 +128,9 @@ declare const SkillNamespace: _$_makaio_core0.BusNamespaceDefinition<"skill", {
|
|
|
128
128
|
baseDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
129
129
|
resources: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
130
130
|
trigger: _$zod.ZodEnum<{
|
|
131
|
+
user: "user";
|
|
131
132
|
auto: "auto";
|
|
132
133
|
model: "model";
|
|
133
|
-
user: "user";
|
|
134
134
|
reinjection: "reinjection";
|
|
135
135
|
}>;
|
|
136
136
|
activatedAt: _$zod.ZodNumber;
|
|
@@ -161,9 +161,9 @@ declare const SkillSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
161
161
|
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
162
162
|
skillName: _$zod.ZodString;
|
|
163
163
|
trigger: _$zod.ZodEnum<{
|
|
164
|
+
user: "user";
|
|
164
165
|
auto: "auto";
|
|
165
166
|
model: "model";
|
|
166
|
-
user: "user";
|
|
167
167
|
reinjection: "reinjection";
|
|
168
168
|
}>;
|
|
169
169
|
turnNumber: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
@@ -222,9 +222,9 @@ declare const SkillSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
222
222
|
agentId: _$zod.ZodString;
|
|
223
223
|
skillName: _$zod.ZodString;
|
|
224
224
|
trigger: _$zod.ZodEnum<{
|
|
225
|
+
user: "user";
|
|
225
226
|
auto: "auto";
|
|
226
227
|
model: "model";
|
|
227
|
-
user: "user";
|
|
228
228
|
reinjection: "reinjection";
|
|
229
229
|
}>;
|
|
230
230
|
cwd: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -267,9 +267,9 @@ declare const SkillSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
267
267
|
baseDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
268
268
|
resources: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
269
269
|
trigger: _$zod.ZodEnum<{
|
|
270
|
+
user: "user";
|
|
270
271
|
auto: "auto";
|
|
271
272
|
model: "model";
|
|
272
|
-
user: "user";
|
|
273
273
|
reinjection: "reinjection";
|
|
274
274
|
}>;
|
|
275
275
|
activatedAt: _$zod.ZodNumber;
|
|
@@ -303,9 +303,9 @@ declare const SkillActivationModeSchema: z.ZodEnum<{
|
|
|
303
303
|
}>;
|
|
304
304
|
/** Trigger that activated or reinjected a skill. */
|
|
305
305
|
declare const SkillActivationTriggerSchema: z.ZodEnum<{
|
|
306
|
+
user: "user";
|
|
306
307
|
auto: "auto";
|
|
307
308
|
model: "model";
|
|
308
|
-
user: "user";
|
|
309
309
|
reinjection: "reinjection";
|
|
310
310
|
}>;
|
|
311
311
|
/** Why a previously-active skill was removed from runtime state. */
|
|
@@ -443,9 +443,9 @@ declare const ActiveSkillStateSchema: z.ZodObject<{
|
|
|
443
443
|
baseDir: z.ZodOptional<z.ZodString>;
|
|
444
444
|
resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
445
445
|
trigger: z.ZodEnum<{
|
|
446
|
+
user: "user";
|
|
446
447
|
auto: "auto";
|
|
447
448
|
model: "model";
|
|
448
|
-
user: "user";
|
|
449
449
|
reinjection: "reinjection";
|
|
450
450
|
}>;
|
|
451
451
|
activatedAt: z.ZodNumber;
|
|
@@ -511,9 +511,9 @@ declare const SkillSchemas: {
|
|
|
511
511
|
adapterId: z.ZodOptional<z.ZodString>;
|
|
512
512
|
skillName: z.ZodString;
|
|
513
513
|
trigger: z.ZodEnum<{
|
|
514
|
+
user: "user";
|
|
514
515
|
auto: "auto";
|
|
515
516
|
model: "model";
|
|
516
|
-
user: "user";
|
|
517
517
|
reinjection: "reinjection";
|
|
518
518
|
}>;
|
|
519
519
|
turnNumber: z.ZodOptional<z.ZodNumber>;
|
|
@@ -572,9 +572,9 @@ declare const SkillSchemas: {
|
|
|
572
572
|
agentId: z.ZodString;
|
|
573
573
|
skillName: z.ZodString;
|
|
574
574
|
trigger: z.ZodEnum<{
|
|
575
|
+
user: "user";
|
|
575
576
|
auto: "auto";
|
|
576
577
|
model: "model";
|
|
577
|
-
user: "user";
|
|
578
578
|
reinjection: "reinjection";
|
|
579
579
|
}>;
|
|
580
580
|
cwd: z.ZodOptional<z.ZodString>;
|
|
@@ -617,9 +617,9 @@ declare const SkillSchemas: {
|
|
|
617
617
|
baseDir: z.ZodOptional<z.ZodString>;
|
|
618
618
|
resources: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
619
619
|
trigger: z.ZodEnum<{
|
|
620
|
+
user: "user";
|
|
620
621
|
auto: "auto";
|
|
621
622
|
model: "model";
|
|
622
|
-
user: "user";
|
|
623
623
|
reinjection: "reinjection";
|
|
624
624
|
}>;
|
|
625
625
|
activatedAt: z.ZodNumber;
|
|
@@ -10,8 +10,8 @@ import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
|
10
10
|
* - `'agent'` — an AI or automated agent operating in a session
|
|
11
11
|
*/
|
|
12
12
|
declare const FacetAuthoritySchema: z.ZodEnum<{
|
|
13
|
-
agent: "agent";
|
|
14
13
|
system: "system";
|
|
14
|
+
agent: "agent";
|
|
15
15
|
human: "human";
|
|
16
16
|
}>;
|
|
17
17
|
/**
|
|
@@ -52,8 +52,8 @@ declare const FacetNamespaceRegistrationSchema: z.ZodObject<{
|
|
|
52
52
|
}>;
|
|
53
53
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
54
54
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
55
|
-
agent: "agent";
|
|
56
55
|
system: "system";
|
|
56
|
+
agent: "agent";
|
|
57
57
|
human: "human";
|
|
58
58
|
}>>>;
|
|
59
59
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -156,8 +156,8 @@ declare const FacetSchemas: {
|
|
|
156
156
|
}>;
|
|
157
157
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
158
158
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
159
|
-
agent: "agent";
|
|
160
159
|
system: "system";
|
|
160
|
+
agent: "agent";
|
|
161
161
|
human: "human";
|
|
162
162
|
}>>>;
|
|
163
163
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -184,8 +184,8 @@ declare const FacetSchemas: {
|
|
|
184
184
|
}>;
|
|
185
185
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
186
186
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
187
|
-
agent: "agent";
|
|
188
187
|
system: "system";
|
|
188
|
+
agent: "agent";
|
|
189
189
|
human: "human";
|
|
190
190
|
}>>>;
|
|
191
191
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -222,8 +222,8 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
|
|
|
222
222
|
}>;
|
|
223
223
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
224
224
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
225
|
-
agent: "agent";
|
|
226
225
|
system: "system";
|
|
226
|
+
agent: "agent";
|
|
227
227
|
human: "human";
|
|
228
228
|
}>>>;
|
|
229
229
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -250,8 +250,8 @@ declare const FacetNamespace: _$_makaio_core0.BusNamespaceDefinition<"facet", {
|
|
|
250
250
|
}>;
|
|
251
251
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
252
252
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
253
|
-
agent: "agent";
|
|
254
253
|
system: "system";
|
|
254
|
+
agent: "agent";
|
|
255
255
|
human: "human";
|
|
256
256
|
}>>>;
|
|
257
257
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -294,8 +294,8 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
294
294
|
}>;
|
|
295
295
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
296
296
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
297
|
-
agent: "agent";
|
|
298
297
|
system: "system";
|
|
298
|
+
agent: "agent";
|
|
299
299
|
human: "human";
|
|
300
300
|
}>>>;
|
|
301
301
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -322,8 +322,8 @@ declare const FacetSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSub
|
|
|
322
322
|
}>;
|
|
323
323
|
values: z.ZodUnion<readonly [z.ZodLiteral<"open">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
324
324
|
authority: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
325
|
-
agent: "agent";
|
|
326
325
|
system: "system";
|
|
326
|
+
agent: "agent";
|
|
327
327
|
human: "human";
|
|
328
328
|
}>>>;
|
|
329
329
|
appliesTo: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as ExecutionTarget } from "./schemas-
|
|
2
|
-
import { d as Turn$1 } from "./index-
|
|
3
|
-
import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-
|
|
4
|
-
import { a as agents, o as sessions } from "./schema-
|
|
1
|
+
import { r as ExecutionTarget } from "./schemas-B5ToLwIs.mjs";
|
|
2
|
+
import { d as Turn$1 } from "./index-C6BhKRnH.mjs";
|
|
3
|
+
import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-5Gw3iVpK.mjs";
|
|
4
|
+
import { a as agents, o as sessions } from "./schema-CDL_pyyM.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
7
7
|
import { ExtractSubjectPayload, SubjectDefinition } from "@makaio/framework/core";
|
|
@@ -937,8 +937,8 @@ declare const AgentStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDef
|
|
|
937
937
|
member: "member";
|
|
938
938
|
}>;
|
|
939
939
|
status: z.ZodEnum<{
|
|
940
|
-
active: "active";
|
|
941
940
|
idle: "idle";
|
|
941
|
+
active: "active";
|
|
942
942
|
dead: "dead";
|
|
943
943
|
disposed: "disposed";
|
|
944
944
|
}>;
|
|
@@ -979,8 +979,8 @@ declare const AgentStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDef
|
|
|
979
979
|
member: "member";
|
|
980
980
|
}>;
|
|
981
981
|
status: z.ZodEnum<{
|
|
982
|
-
active: "active";
|
|
983
982
|
idle: "idle";
|
|
983
|
+
active: "active";
|
|
984
984
|
dead: "dead";
|
|
985
985
|
disposed: "disposed";
|
|
986
986
|
}>;
|
|
@@ -1017,8 +1017,8 @@ declare const AgentStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDef
|
|
|
1017
1017
|
adapterName: z.ZodString;
|
|
1018
1018
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1019
1019
|
all: "all";
|
|
1020
|
-
active: "active";
|
|
1021
1020
|
idle: "idle";
|
|
1021
|
+
active: "active";
|
|
1022
1022
|
dead: "dead";
|
|
1023
1023
|
disposed: "disposed";
|
|
1024
1024
|
}>>;
|
|
@@ -1047,8 +1047,8 @@ declare const AgentStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDef
|
|
|
1047
1047
|
member: "member";
|
|
1048
1048
|
}>;
|
|
1049
1049
|
status: z.ZodEnum<{
|
|
1050
|
-
active: "active";
|
|
1051
1050
|
idle: "idle";
|
|
1051
|
+
active: "active";
|
|
1052
1052
|
dead: "dead";
|
|
1053
1053
|
disposed: "disposed";
|
|
1054
1054
|
}>;
|
|
@@ -1091,8 +1091,8 @@ declare const AgentStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDef
|
|
|
1091
1091
|
member: "member";
|
|
1092
1092
|
}>;
|
|
1093
1093
|
status: z.ZodEnum<{
|
|
1094
|
-
active: "active";
|
|
1095
1094
|
idle: "idle";
|
|
1095
|
+
active: "active";
|
|
1096
1096
|
dead: "dead";
|
|
1097
1097
|
disposed: "disposed";
|
|
1098
1098
|
}>;
|
|
@@ -1111,8 +1111,8 @@ declare const AgentStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDef
|
|
|
1111
1111
|
request: z.ZodObject<{
|
|
1112
1112
|
agentId: z.ZodString;
|
|
1113
1113
|
status: z.ZodEnum<{
|
|
1114
|
-
active: "active";
|
|
1115
1114
|
idle: "idle";
|
|
1115
|
+
active: "active";
|
|
1116
1116
|
dead: "dead";
|
|
1117
1117
|
disposed: "disposed";
|
|
1118
1118
|
}>;
|
|
@@ -1430,7 +1430,7 @@ declare const AgentStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDef
|
|
|
1430
1430
|
tableName: "agents";
|
|
1431
1431
|
dataType: "string";
|
|
1432
1432
|
columnType: "SQLiteText";
|
|
1433
|
-
data: "
|
|
1433
|
+
data: "idle" | "active" | "dead" | "disposed";
|
|
1434
1434
|
driverParam: string;
|
|
1435
1435
|
notNull: true;
|
|
1436
1436
|
hasDefault: false;
|
|
@@ -1521,8 +1521,8 @@ declare const AgentStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
1521
1521
|
member: "member";
|
|
1522
1522
|
}>;
|
|
1523
1523
|
status: z.ZodEnum<{
|
|
1524
|
-
active: "active";
|
|
1525
1524
|
idle: "idle";
|
|
1525
|
+
active: "active";
|
|
1526
1526
|
dead: "dead";
|
|
1527
1527
|
disposed: "disposed";
|
|
1528
1528
|
}>;
|
|
@@ -1563,8 +1563,8 @@ declare const AgentStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
1563
1563
|
member: "member";
|
|
1564
1564
|
}>;
|
|
1565
1565
|
status: z.ZodEnum<{
|
|
1566
|
-
active: "active";
|
|
1567
1566
|
idle: "idle";
|
|
1567
|
+
active: "active";
|
|
1568
1568
|
dead: "dead";
|
|
1569
1569
|
disposed: "disposed";
|
|
1570
1570
|
}>;
|
|
@@ -1601,8 +1601,8 @@ declare const AgentStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
1601
1601
|
adapterName: z.ZodString;
|
|
1602
1602
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1603
1603
|
all: "all";
|
|
1604
|
-
active: "active";
|
|
1605
1604
|
idle: "idle";
|
|
1605
|
+
active: "active";
|
|
1606
1606
|
dead: "dead";
|
|
1607
1607
|
disposed: "disposed";
|
|
1608
1608
|
}>>;
|
|
@@ -1631,8 +1631,8 @@ declare const AgentStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
1631
1631
|
member: "member";
|
|
1632
1632
|
}>;
|
|
1633
1633
|
status: z.ZodEnum<{
|
|
1634
|
-
active: "active";
|
|
1635
1634
|
idle: "idle";
|
|
1635
|
+
active: "active";
|
|
1636
1636
|
dead: "dead";
|
|
1637
1637
|
disposed: "disposed";
|
|
1638
1638
|
}>;
|
|
@@ -1675,8 +1675,8 @@ declare const AgentStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
1675
1675
|
member: "member";
|
|
1676
1676
|
}>;
|
|
1677
1677
|
status: z.ZodEnum<{
|
|
1678
|
-
active: "active";
|
|
1679
1678
|
idle: "idle";
|
|
1679
|
+
active: "active";
|
|
1680
1680
|
dead: "dead";
|
|
1681
1681
|
disposed: "disposed";
|
|
1682
1682
|
}>;
|
|
@@ -1695,8 +1695,8 @@ declare const AgentStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
1695
1695
|
request: z.ZodObject<{
|
|
1696
1696
|
agentId: z.ZodString;
|
|
1697
1697
|
status: z.ZodEnum<{
|
|
1698
|
-
active: "active";
|
|
1699
1698
|
idle: "idle";
|
|
1699
|
+
active: "active";
|
|
1700
1700
|
dead: "dead";
|
|
1701
1701
|
disposed: "disposed";
|
|
1702
1702
|
}>;
|
|
@@ -2624,7 +2624,7 @@ declare const turns: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
|
2624
2624
|
tableName: "turns";
|
|
2625
2625
|
dataType: "string";
|
|
2626
2626
|
columnType: "SQLiteText";
|
|
2627
|
-
data: "error" | "
|
|
2627
|
+
data: "error" | "completed" | "active";
|
|
2628
2628
|
driverParam: string;
|
|
2629
2629
|
notNull: true;
|
|
2630
2630
|
hasDefault: false;
|
|
@@ -49,9 +49,9 @@ type BindingRecord = z.infer<typeof BindingRecordSchema>;
|
|
|
49
49
|
*/
|
|
50
50
|
declare const AdapterFileConfigSchema: z.ZodObject<{
|
|
51
51
|
description: z.ZodOptional<z.ZodString>;
|
|
52
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
53
52
|
displayName: z.ZodOptional<z.ZodString>;
|
|
54
53
|
protocol: z.ZodOptional<z.ZodString>;
|
|
54
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
55
55
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
56
|
label: z.ZodString;
|
|
57
57
|
url: z.ZodString;
|
|
@@ -125,9 +125,9 @@ declare const AdapterSubsystemSchemas: {
|
|
|
125
125
|
response: z.ZodObject<{
|
|
126
126
|
config: z.ZodNullable<z.ZodObject<{
|
|
127
127
|
description: z.ZodOptional<z.ZodString>;
|
|
128
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
129
128
|
displayName: z.ZodOptional<z.ZodString>;
|
|
130
129
|
protocol: z.ZodOptional<z.ZodString>;
|
|
130
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
131
131
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
132
132
|
label: z.ZodString;
|
|
133
133
|
url: z.ZodString;
|
|
@@ -153,9 +153,9 @@ declare const AdapterSubsystemSchemas: {
|
|
|
153
153
|
response: z.ZodObject<{
|
|
154
154
|
configs: z.ZodArray<z.ZodObject<{
|
|
155
155
|
description: z.ZodOptional<z.ZodString>;
|
|
156
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
157
156
|
displayName: z.ZodOptional<z.ZodString>;
|
|
158
157
|
protocol: z.ZodOptional<z.ZodString>;
|
|
158
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
159
159
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
160
160
|
label: z.ZodString;
|
|
161
161
|
url: z.ZodString;
|
|
@@ -692,9 +692,9 @@ declare const AdapterSubsystemSchemas: {
|
|
|
692
692
|
response: z.ZodObject<{
|
|
693
693
|
config: z.ZodObject<{
|
|
694
694
|
description: z.ZodOptional<z.ZodString>;
|
|
695
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
696
695
|
displayName: z.ZodOptional<z.ZodString>;
|
|
697
696
|
protocol: z.ZodOptional<z.ZodString>;
|
|
697
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
698
698
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
699
699
|
label: z.ZodString;
|
|
700
700
|
url: z.ZodString;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ClientDefinitionInput, r as ClientDefinition } from "./definition-
|
|
1
|
+
import { i as ClientDefinitionInput, r as ClientDefinition } from "./definition-BSghHJpQ.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -88,9 +88,9 @@ declare const ClientSchemas: {
|
|
|
88
88
|
baseConfigDir: z.ZodOptional<z.ZodString>;
|
|
89
89
|
projectDir: z.ZodOptional<z.ZodString>;
|
|
90
90
|
configInheritance: z.ZodOptional<z.ZodEnum<{
|
|
91
|
-
full: "full";
|
|
92
|
-
"auth-only": "auth-only";
|
|
93
91
|
empty: "empty";
|
|
92
|
+
"auth-only": "auth-only";
|
|
93
|
+
full: "full";
|
|
94
94
|
}>>;
|
|
95
95
|
}, z.core.$strip>;
|
|
96
96
|
response: z.ZodObject<{
|
|
@@ -1480,9 +1480,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
1480
1480
|
baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1481
1481
|
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1482
1482
|
configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1483
|
-
full: "full";
|
|
1484
|
-
"auth-only": "auth-only";
|
|
1485
1483
|
empty: "empty";
|
|
1484
|
+
"auth-only": "auth-only";
|
|
1485
|
+
full: "full";
|
|
1486
1486
|
}>>;
|
|
1487
1487
|
}, _$zod_v4_core0.$strip>;
|
|
1488
1488
|
response: _$zod.ZodObject<{
|
|
@@ -2062,9 +2062,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
2062
2062
|
baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2063
2063
|
projectDir: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2064
2064
|
configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
2065
|
-
full: "full";
|
|
2066
|
-
"auth-only": "auth-only";
|
|
2067
2065
|
empty: "empty";
|
|
2066
|
+
"auth-only": "auth-only";
|
|
2067
|
+
full: "full";
|
|
2068
2068
|
}>>;
|
|
2069
2069
|
}, _$zod_v4_core0.$strip>;
|
|
2070
2070
|
response: _$zod.ZodObject<{
|
|
@@ -2668,9 +2668,9 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
|
2668
2668
|
* Policy for materializing a session config directory from a base client config.
|
|
2669
2669
|
*/
|
|
2670
2670
|
declare const SessionConfigInheritanceSchema: z.ZodEnum<{
|
|
2671
|
-
full: "full";
|
|
2672
|
-
"auth-only": "auth-only";
|
|
2673
2671
|
empty: "empty";
|
|
2672
|
+
"auth-only": "auth-only";
|
|
2673
|
+
full: "full";
|
|
2674
2674
|
}>;
|
|
2675
2675
|
type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
|
|
2676
2676
|
/**
|
|
@@ -2825,9 +2825,9 @@ declare const ClientSessionConfigSchemas: {
|
|
|
2825
2825
|
baseConfigDir: z.ZodOptional<z.ZodString>;
|
|
2826
2826
|
projectDir: z.ZodOptional<z.ZodString>;
|
|
2827
2827
|
configInheritance: z.ZodOptional<z.ZodEnum<{
|
|
2828
|
-
full: "full";
|
|
2829
|
-
"auth-only": "auth-only";
|
|
2830
2828
|
empty: "empty";
|
|
2829
|
+
"auth-only": "auth-only";
|
|
2830
|
+
full: "full";
|
|
2831
2831
|
}>>;
|
|
2832
2832
|
}, z.core.$strip>;
|
|
2833
2833
|
response: z.ZodObject<{
|
|
@@ -2880,9 +2880,9 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
|
|
|
2880
2880
|
win32: "win32";
|
|
2881
2881
|
}>;
|
|
2882
2882
|
configInheritance: z.ZodEnum<{
|
|
2883
|
-
full: "full";
|
|
2884
|
-
"auth-only": "auth-only";
|
|
2885
2883
|
empty: "empty";
|
|
2884
|
+
"auth-only": "auth-only";
|
|
2885
|
+
full: "full";
|
|
2886
2886
|
}>;
|
|
2887
2887
|
}, z.core.$strip>;
|
|
2888
2888
|
type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
|