@makaio/framework 1.0.0-dev-1781034508425 → 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/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 +1 -1
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +1 -1
- package/dist/{ajv-B-geJci9.mjs → ajv-BJsabpMb.mjs} +2 -2
- package/dist/await-trigger-DREnXCEJ.mjs +1 -0
- package/dist/bus/index.d.mts +20 -20
- package/dist/{clients-namespace-DOr4mmmr.d.mts → clients-namespace-SFk7OTop.d.mts} +7 -7
- package/dist/contracts/adapter/index.d.mts +2 -2
- 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/common/index.d.mts +1 -1
- package/dist/contracts/config/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/host/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +343 -343
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/model-registry/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/platform/index.d.mts +1 -1
- package/dist/contracts/provider/index.d.mts +2 -2
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/telemetry/index.d.mts +1 -1
- package/dist/contracts/timeout/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/{definition-CWCNiH-q.d.mts → definition-BSghHJpQ.d.mts} +1 -1
- package/dist/{definition-BidQ9_x8.d.mts → definition-DqJOg6Lv.d.mts} +1 -1
- package/dist/{detached-extension-handle-Bo5Q06_g.mjs → detached-extension-handle-CxEBQnSa.mjs} +1 -1
- 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/extension--5Q190u_.mjs +1 -0
- package/dist/{filesystem-service-B9RbT-n-.mjs → filesystem-service-DH9zlxyd.mjs} +1 -1
- package/dist/git/index.mjs +1 -1
- package/dist/{globby-DPHEhf86.mjs → globby-4SrlyIlj.mjs} +1 -1
- package/dist/{handlers-Bl2Af8zt.mjs → handlers-Bev7-xjL.mjs} +1 -1
- package/dist/{index-BLmI8xDN.d.mts → index-BAhJKQLX.d.mts} +7 -7
- package/dist/{index-2mvEGCcP.d.mts → index-BCKRUuI2.d.mts} +2 -2
- package/dist/{index-ayGCeZ8t.d.mts → index-BYkOUd0x.d.mts} +24 -24
- package/dist/{index-j7hM0JEz.d.mts → index-Bibt5jAX.d.mts} +8 -8
- package/dist/{index-WZX3cU1L.d.mts → index-BmV60tMf.d.mts} +17 -17
- package/dist/{index-B-_F8N_E.d.mts → index-BpXX9WZJ.d.mts} +12 -12
- package/dist/{index-Dnd_-839.d.mts → index-BpniJgxu.d.mts} +4 -4
- package/dist/{index-o9__SHM7.d.mts → index-Bw_zL7Rs.d.mts} +1 -1
- package/dist/{index-Brlbx33t.d.mts → index-C3zfJg6s.d.mts} +27 -27
- package/dist/{index-B5lijQs7.d.mts → index-CNOTkyGw.d.mts} +289 -289
- package/dist/{index-BF8DYsOC.d.mts → index-CwKzQuIX.d.mts} +18 -18
- package/dist/{index-Bs5H4PFm.d.mts → index-D6bw4qJp.d.mts} +27 -27
- package/dist/{index-BXip2Nlo.d.mts → index-DETxgKS2.d.mts} +17 -17
- package/dist/{index-k7SK-A0P.d.mts → index-Db0uJ_Cg2.d.mts} +3 -3
- package/dist/{index-LbBWaNnT.d.mts → index-IekAD8Gp.d.mts} +126 -126
- package/dist/{index-BM7lYmmQ.d.mts → index-YDfOv0GT.d.mts} +1 -1
- package/dist/{index-B0bwOIpr.d.mts → index-fVgKVvta.d.mts} +3 -3
- package/dist/{index-DuIPU8sG.d.mts → index-jlQ4IhR5.d.mts} +431 -431
- 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/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/observability/index.d.mts +1 -1
- package/dist/kernel/providers/index.d.mts +1 -1
- package/dist/kernel/window/index.d.mts +1 -1
- package/dist/{lib-X80cqNZ5.mjs → lib-DPruLs5D.mjs} +1 -1
- package/dist/{lib--v_LnhHr.mjs → lib-aRogYLqg.mjs} +1 -1
- package/dist/{load-extensions-CESuhxma.mjs → load-extensions-C-TqCwzL.mjs} +1 -1
- package/dist/{load-extensions-t2rtaz1C.d.mts → load-extensions-D9nbDIiW.d.mts} +1 -1
- package/dist/mcp-http-server/index.mjs +4 -11
- package/dist/{namespace-l8A5zTPU2.d.mts → namespace-B60mn8J-2.d.mts} +6 -6
- package/dist/{namespace-sd3QrSzo.d.mts → namespace-BBVtD1gu.d.mts} +22 -22
- package/dist/namespace-BXqetkc3.mjs +1 -0
- package/dist/{namespace-B0l_lsLW.d.mts → namespace-BlS_i9KT.d.mts} +13 -13
- package/dist/{namespace-SD7Y-_iY.d.mts → namespace-ByyuIFpL.d.mts} +91 -91
- package/dist/{namespace-YsOUkmgE.d.mts → namespace-CHMszppN.d.mts} +6 -6
- package/dist/{namespace-BFM1kQbS.d.mts → namespace-CqUGzG53.d.mts} +2 -2
- package/dist/{namespace-BsmSZbub.d.mts → namespace-Ds6HkJEU.d.mts} +140 -140
- package/dist/namespace-DzVf1hVH.d.mts +96 -0
- package/dist/{namespace-DldKDPMI.d.mts → namespace-aBIAWxY3.d.mts} +18 -18
- package/dist/{namespace-eOeUjGPB.mjs → namespace-h0HIuqx0.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-DaPATFz1.mjs → orchestrator-shared-FnWrPS09.mjs} +1 -1
- 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/{provider-context-ClL5nCQg.mjs → provider-context-lfG0BpqX.mjs} +1 -1
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/schemas.d.mts +1 -1
- package/dist/runtime-bun/index.mjs +1 -1
- package/dist/runtime-node/extension-discovery.d.mts +1 -1
- package/dist/runtime-node/extension-validation.d.mts +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +3 -3
- package/dist/runtime-node/index.mjs +29 -29
- package/dist/runtime-node/makaio-config.d.mts +3 -3
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-BycLqlQI.d.mts → schema-CDL_pyyM.d.mts} +4 -4
- package/dist/{schema-DxHkeT-G.mjs → schema-DCJyzRHe.mjs} +1 -1
- package/dist/schema-introspection-CuRZPYEc.mjs +1 -0
- package/dist/{schemas-BI4gqRlW.d.mts → schemas-B5ToLwIs.d.mts} +19 -19
- package/dist/{schemas-C3wZhEAc.d.mts → schemas-Chyj6HuZ.d.mts} +5 -5
- package/dist/{schemas-BkeedMoC.d.mts → schemas-DZUaRcYl.d.mts} +7 -7
- package/dist/{schemas-CaeiaR4r2.d.mts → schemas-Exixg77V2.d.mts} +23 -23
- package/dist/{schemas-C4u2d8jR.d.mts → schemas-lqvZ6UpK.d.mts} +3 -3
- package/dist/{schemas-D7wxjmif.d.mts → schemas-on3_N5HP.d.mts} +140 -140
- package/dist/{schemas-mD6cFIJs.d.mts → schemas-t1VR6_b_.d.mts} +3 -3
- 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/git/namespace.d.mts +4 -4
- package/dist/services/git/namespace.mjs +1 -1
- package/dist/services/git/schemas.d.mts +5 -5
- package/dist/services/git/schemas.mjs +1 -1
- package/dist/services/harness/index.d.mts +31 -31
- package/dist/services/harness/index.mjs +1 -1
- package/dist/services/harness/storage/schema.d.mts +4 -4
- package/dist/services/index.d.mts +166 -166
- 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 +14 -14
- 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 +6 -6
- 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/{session-DOGx_Qrm2.mjs → session-BnfsJoZi.mjs} +1 -1
- package/dist/{session-lineage-PY_8PUTH.d.mts → session-lineage-CKg6mErA.d.mts} +1 -1
- package/dist/{src-BdKH_3mM.mjs → src-Dvp41Cg2.mjs} +1 -1
- 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-DyOwnbQO.d.mts → storage-namespace-BXmMUd7a.d.mts} +10 -10
- package/dist/tool-approval-service-BgNcJvKx.mjs +1 -0
- package/dist/tools-DC4KrqI1.mjs +1 -0
- package/dist/{types-igF72H-P.d.mts → types-D0fPFh-D.d.mts} +1 -1
- package/dist/{types-BQB_1_Tv.d.mts → types-DiGqpZOD.d.mts} +252 -252
- package/dist/ui-kernel/index.d.mts +4 -4
- package/dist/ui-kernel/pages/namespace.d.mts +4 -4
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- 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 +13 -1
- package/dist/await-trigger-CmK_k2oe.mjs +0 -1
- package/dist/extension-CbCanyuh.mjs +0 -1
- package/dist/schema-introspection-A6FnQ1qg.mjs +0 -1
- package/dist/tool-approval-service-DRe1lqy-.mjs +0 -1
- package/dist/tools-BXEIs_Ur.mjs +0 -1
- package/dist/workflow-worker-BWoY_2ue.mjs +0 -1
- /package/dist/{base-orchestrator-D9E-Y8Kr.d.mts → base-orchestrator-M5mAB5-w.d.mts} +0 -0
- /package/dist/{capability-service-C2RapAHW.mjs → capability-service-jjrFLM6r.mjs} +0 -0
- /package/dist/{cleanEnvForAdapter-GVzUk_oB.mjs → cleanEnvForAdapter-BlpmyXYk.mjs} +0 -0
- /package/dist/{config-namespace-B5fFJwQj.d.mts → config-namespace-BzAvE2nY.d.mts} +0 -0
- /package/dist/{create-static-mount-Btee48F5.mjs → create-static-mount-CFGo91CI.mjs} +0 -0
- /package/dist/{cross-spawn-CTptpCy4.mjs → cross-spawn-BL6EvJBv.mjs} +0 -0
- /package/dist/{cursor-storage-BOsCO4oj.mjs → cursor-storage-C_WTAESV.mjs} +0 -0
- /package/dist/{definition-C4DLI1SC.d.mts → definition-q6iLw11H.d.mts} +0 -0
- /package/dist/{drizzle-YUDNFNbV.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-discovery-CffOPDvn.d.mts → extension-discovery-CkV_VRdJ.d.mts} +0 -0
- /package/dist/{fast-uri-DARKlakU.mjs → fast-uri-BF2Xuiop.mjs} +0 -0
- /package/dist/{filesystem-service-Cw4_S1bm.d.mts → filesystem-service-Ddngll0j.d.mts} +0 -0
- /package/dist/{identity-Cz2IeEtm.mjs → identity-Bmx-8fPa.mjs} +0 -0
- /package/dist/{index-CJt_4GQu.d.mts → index-9IDJUJ4X.d.mts} +0 -0
- /package/dist/{index-DOfnh3xf.d.mts → index-BBvcP-P0.d.mts} +0 -0
- /package/dist/{index-ChpYWZGc.d.mts → index-BKKNWqkP2.d.mts} +0 -0
- /package/dist/{index-DOAUskuB.d.mts → index-BMpRB6iE.d.mts} +0 -0
- /package/dist/{index-BKqJTm2-.d.mts → index-BbCjtc3h.d.mts} +0 -0
- /package/dist/{index-Bo6dMW5B.d.mts → index-BheaEhyI.d.mts} +0 -0
- /package/dist/{index-FjZOM4M0.d.mts → index-BnQSPC6c.d.mts} +0 -0
- /package/dist/{index-BPn5ODFL.d.mts → index-Bsp0O_sI.d.mts} +0 -0
- /package/dist/{index-CBW3XX7b.d.mts → index-Buo9H8RK.d.mts} +0 -0
- /package/dist/{index-BWA-Bf0T.d.mts → index-BxFA1XcP.d.mts} +0 -0
- /package/dist/{index-sQ-7cpgm2.d.mts → index-C33Tq1ei2.d.mts} +0 -0
- /package/dist/{index-BkKMwRJj.d.mts → index-C6BhKRnH.d.mts} +0 -0
- /package/dist/{index-CE2F0_8r.d.mts → index-CDU_s69P.d.mts} +0 -0
- /package/dist/{index-AJDF86bD2.d.mts → index-CGJjA-hR2.d.mts} +0 -0
- /package/dist/{index-B3SbibGM.d.mts → index-Clut1ljB.d.mts} +0 -0
- /package/dist/{index-Ksoed-mL.d.mts → index-Cz9JMjZK.d.mts} +0 -0
- /package/dist/{index-rQU8B-JX.d.mts → index-D0SUjZmU.d.mts} +0 -0
- /package/dist/{index-BZmLqP2a.d.mts → index-D6Iyvz9T.d.mts} +0 -0
- /package/dist/{index-8AU9itst2.d.mts → index-DOfq0qqv.d.mts} +0 -0
- /package/dist/{index-DYLb4v5z.d.mts → index-DSV1aFgK.d.mts} +0 -0
- /package/dist/{index-DpKxkrU8.d.mts → index-Dsq2zKvu.d.mts} +0 -0
- /package/dist/{jsonl-transport-DN1zyi6w.mjs → jsonl-transport-BxNXizIm.mjs} +0 -0
- /package/dist/{lib-DtXofYKC.mjs → lib-B9kVK_1_.mjs} +0 -0
- /package/dist/{model-registry-DdZrE4sa.mjs → model-registry-B0AIdj7O.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-DzS4SSkr2.mjs → namespace-CUOGcGPG.mjs} +0 -0
- /package/dist/{namespace-CfqAh9gM.d.mts → namespace-D1Iw_d1P.d.mts} +0 -0
- /package/dist/{namespace-CCfEHbi9.mjs → namespace-D6X67cUk.mjs} +0 -0
- /package/dist/{namespace-BnVlQiRv.d.mts → namespace-DBKWNrk7.d.mts} +0 -0
- /package/dist/{namespace-BGGiHXkz.mjs → namespace-ENv7H7Na.mjs} +0 -0
- /package/dist/{namespace-oS2v7viW.d.mts → namespace-XTGCaSXj.d.mts} +0 -0
- /package/dist/{namespace-Buecxx19.d.mts → namespace-nlsvvMtD.d.mts} +0 -0
- /package/dist/{namespace-wYMkOtE0.d.mts → namespace-uuR0Fg5r.d.mts} +0 -0
- /package/dist/{orchestrator-shared-DXAvgseP.d.mts → orchestrator-shared-D91Wk7z-.d.mts} +0 -0
- /package/dist/{out-Rp-RSvc2.mjs → out-CvZYgczi.mjs} +0 -0
- /package/dist/{package-DKVlsMP3.mjs → package-OE9dMQsq.mjs} +0 -0
- /package/dist/{providers-namespace-BITpk8sN.d.mts → providers-namespace-BqWYkydw.d.mts} +0 -0
- /package/dist/{quick-lru-8GhFeKMZ.mjs → quick-lru-B9nWXbXI.mjs} +0 -0
- /package/dist/{schema-DdMn1KCD.mjs → schema-DOnJmAPw.mjs} +0 -0
- /package/dist/{schemas-CMyv6Mkq.d.mts → schemas-B77Gi8Xr.d.mts} +0 -0
- /package/dist/{schemas-B-Z4U9FN.mjs → schemas-BdAf5u58.mjs} +0 -0
- /package/dist/{schemas-WJ9OOsOF.d.mts → schemas-C792eVAZ.d.mts} +0 -0
- /package/dist/{schemas-PmHLOkr-.d.mts → schemas-Dyk7JuVl.d.mts} +0 -0
- /package/dist/{schemas-7y9O8b0X.d.mts → schemas-Kq33MTPY.d.mts} +0 -0
- /package/dist/{server-lifecycle-JX0MpLfX.d.mts → server-lifecycle-47mygK3E.d.mts} +0 -0
- /package/dist/{server-lifecycle-JTFuSJhg.mjs → server-lifecycle-Cg47L59Q.mjs} +0 -0
- /package/dist/{shared-schemas-CbbcM1GQ.mjs → shared-schemas-CKe2uN4-.mjs} +0 -0
- /package/dist/{src-CUlokMRL.mjs → src-Z3vAZJfw.mjs} +0 -0
- /package/dist/{storage-namespace-DecBVTzH.mjs → storage-namespace-BXO3lDVy.mjs} +0 -0
- /package/dist/{storage-namespace-definition-QTqbbw5b.d.mts → storage-namespace-definition-C3XbpiP8.d.mts} +0 -0
- /package/dist/{supports-color-CcNsYzyh.mjs → supports-color-fVsgozsi.mjs} +0 -0
- /package/dist/{tray-menu-service-CsaXURTf.mjs → tray-menu-service-B5YPK_YF.mjs} +0 -0
- /package/dist/{types-CycWG-_j.d.mts → types-5Gw3iVpK.d.mts} +0 -0
- /package/dist/{types-DVAi-qkD.d.mts → types-B0BtvVAq.d.mts} +0 -0
- /package/dist/{types-Bnf1bRcq.d.mts → types-BhXRffJ_.d.mts} +0 -0
- /package/dist/{types-CLojY5bP.d.mts → types-CmMesAgR.d.mts} +0 -0
- /package/dist/{types-C6R2eyMZ.d.mts → types-D-bP8RRE.d.mts} +0 -0
- /package/dist/{window-registry-r3VFP-_d.d.mts → window-registry-CfEi_Ji4.d.mts} +0 -0
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-
|
|
2
|
-
import
|
|
1
|
+
import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-D-bP8RRE.mjs";
|
|
2
|
+
import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-DzVf1hVH.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
5
4
|
import { CliArgManifest } from "@makaio/framework/contracts/extension";
|
|
6
|
-
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
7
5
|
|
|
8
6
|
//#region packages/kernel/src/cli/schema-introspection.d.ts
|
|
9
7
|
/**
|
|
@@ -49,95 +47,4 @@ declare function isBooleanSchema(schema: FieldSchema): boolean;
|
|
|
49
47
|
*/
|
|
50
48
|
declare function isNumberSchema(schema: FieldSchema): boolean;
|
|
51
49
|
//#endregion
|
|
52
|
-
//#region packages/kernel/src/bus/cli/namespace.d.ts
|
|
53
|
-
/** CLI bus namespace — `cli.*` subjects. */
|
|
54
|
-
declare const CliNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel:cli", {
|
|
55
|
-
listContributions: {
|
|
56
|
-
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
57
|
-
response: _$zod.ZodObject<{
|
|
58
|
-
contributions: _$zod.ZodArray<_$zod.ZodObject<{
|
|
59
|
-
name: _$zod.ZodString;
|
|
60
|
-
description: _$zod.ZodString;
|
|
61
|
-
subcommands: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
62
|
-
name: _$zod.ZodString;
|
|
63
|
-
description: _$zod.ZodString;
|
|
64
|
-
args: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
65
|
-
name: _$zod.ZodString;
|
|
66
|
-
description: _$zod.ZodString;
|
|
67
|
-
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
68
|
-
positional: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
69
|
-
short: _$zod.ZodOptional<_$zod.ZodString>;
|
|
70
|
-
type: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
71
|
-
string: "string";
|
|
72
|
-
number: "number";
|
|
73
|
-
boolean: "boolean";
|
|
74
|
-
}>>;
|
|
75
|
-
}, _$zod_v4_core0.$strip>>>>;
|
|
76
|
-
}, _$zod_v4_core0.$strip>>>>;
|
|
77
|
-
hasInteractive: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
78
|
-
canProvideBus: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
79
|
-
}, _$zod_v4_core0.$strip>>;
|
|
80
|
-
}, _$zod_v4_core0.$strip>;
|
|
81
|
-
};
|
|
82
|
-
execute: {
|
|
83
|
-
request: _$zod.ZodObject<{
|
|
84
|
-
command: _$zod.ZodString;
|
|
85
|
-
subcommand: _$zod.ZodString;
|
|
86
|
-
args: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
87
|
-
}, _$zod_v4_core0.$strip>;
|
|
88
|
-
response: _$zod.ZodObject<{
|
|
89
|
-
exitCode: _$zod.ZodNumber;
|
|
90
|
-
stdout: _$zod.ZodArray<_$zod.ZodString>;
|
|
91
|
-
stderr: _$zod.ZodArray<_$zod.ZodString>;
|
|
92
|
-
}, _$zod_v4_core0.$strip>;
|
|
93
|
-
};
|
|
94
|
-
}>;
|
|
95
|
-
/**
|
|
96
|
-
* Typed subjects for CLI RPC operations.
|
|
97
|
-
*
|
|
98
|
-
* - `CliRpcSubjects.listContributions` — discover extension CLI commands
|
|
99
|
-
* - `CliRpcSubjects.execute` — run a subcommand on the server
|
|
100
|
-
*/
|
|
101
|
-
declare const CliRpcSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"kernel:cli", {
|
|
102
|
-
listContributions: {
|
|
103
|
-
request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
|
|
104
|
-
response: _$zod.ZodObject<{
|
|
105
|
-
contributions: _$zod.ZodArray<_$zod.ZodObject<{
|
|
106
|
-
name: _$zod.ZodString;
|
|
107
|
-
description: _$zod.ZodString;
|
|
108
|
-
subcommands: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
109
|
-
name: _$zod.ZodString;
|
|
110
|
-
description: _$zod.ZodString;
|
|
111
|
-
args: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
|
|
112
|
-
name: _$zod.ZodString;
|
|
113
|
-
description: _$zod.ZodString;
|
|
114
|
-
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
115
|
-
positional: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
116
|
-
short: _$zod.ZodOptional<_$zod.ZodString>;
|
|
117
|
-
type: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
118
|
-
string: "string";
|
|
119
|
-
number: "number";
|
|
120
|
-
boolean: "boolean";
|
|
121
|
-
}>>;
|
|
122
|
-
}, _$zod_v4_core0.$strip>>>>;
|
|
123
|
-
}, _$zod_v4_core0.$strip>>>>;
|
|
124
|
-
hasInteractive: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
125
|
-
canProvideBus: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
126
|
-
}, _$zod_v4_core0.$strip>>;
|
|
127
|
-
}, _$zod_v4_core0.$strip>;
|
|
128
|
-
};
|
|
129
|
-
execute: {
|
|
130
|
-
request: _$zod.ZodObject<{
|
|
131
|
-
command: _$zod.ZodString;
|
|
132
|
-
subcommand: _$zod.ZodString;
|
|
133
|
-
args: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
|
|
134
|
-
}, _$zod_v4_core0.$strip>;
|
|
135
|
-
response: _$zod.ZodObject<{
|
|
136
|
-
exitCode: _$zod.ZodNumber;
|
|
137
|
-
stdout: _$zod.ZodArray<_$zod.ZodString>;
|
|
138
|
-
stderr: _$zod.ZodArray<_$zod.ZodString>;
|
|
139
|
-
}, _$zod_v4_core0.$strip>;
|
|
140
|
-
};
|
|
141
|
-
}>, "kernel:cli">;
|
|
142
|
-
//#endregion
|
|
143
50
|
export { ALWAYS_PROCEED, type BeforeRunContext, type BeforeRunResult, type CliContribution, CliNamespace, CliRpcSubjects, type CliSubcommandDefinition, type CliSubcommandEntry, type CommandContext, type EmbeddedBusHandle, type FieldSchema, INTERACTIVE_SUBCOMMAND, type OutputWriter, type ProvideBusContext, defineCliSubcommand, getMeta, isBooleanSchema, isNumberSchema, requireBus, toCliArgManifests };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as e,t}from"../../namespace-BXqetkc3.mjs";import{i as n,n as r,r as i,t as a}from"../../schema-introspection-CuRZPYEc.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,t as CliNamespace,e as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,r as getMeta,i as isBooleanSchema,n as isNumberSchema,c as requireBus,a as toCliArgManifests};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"../../namespace-BXqetkc3.mjs";export{t as CliNamespace,e as CliRpcSubjects};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-
|
|
1
|
+
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-Db0uJ_Cg2.mjs";
|
|
2
2
|
export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,r as t,t as n}from"../../extension
|
|
1
|
+
import{n as e,r as t,t as n}from"../../extension--5Q190u_.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-
|
|
2
|
-
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-
|
|
3
|
-
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-
|
|
4
|
-
import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-
|
|
5
|
-
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-
|
|
1
|
+
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-CwKzQuIX.mjs";
|
|
2
|
+
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-Db0uJ_Cg2.mjs";
|
|
3
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-CfEi_Ji4.mjs";
|
|
4
|
+
import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-DOfq0qqv.mjs";
|
|
5
|
+
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-BbCjtc3h.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
8
8
|
|
package/dist/kernel/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,i as t,n,r,t as i}from"../namespace-FT8igkn4.mjs";import{n as a,t as o}from"../window-registry-XjOExitT.mjs";import"./window/index.mjs";import{n as s,r as c,t as l}from"../providers-B1p0P-vB.mjs";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../extension
|
|
1
|
+
import{a as e,i as t,n,r,t as i}from"../namespace-FT8igkn4.mjs";import{n as a,t as o}from"../window-registry-XjOExitT.mjs";import"./window/index.mjs";import{n as s,r as c,t as l}from"../providers-B1p0P-vB.mjs";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../extension--5Q190u_.mjs";import{a as g,c as _,n as v,o as y,t as b}from"../extension-namespace-BBgYOttA.mjs";import"./observability/index.mjs";function x(e){let t=null;return()=>t||(t=(async()=>{for(let t of e)try{await t()}catch(e){console.warn(`[shutdown]`,e)}})(),t)}export{u as BootNamespace,p as BootSubjects,g as ComponentStateSchema,l as EphemeralIdentityProvider,h as ExtensionCoordinator,y as ExtensionInfoSchema,b as ExtensionNamespace,v as ExtensionSubjects,i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,c as MemoryStorageProvider,s as NoTransportProvider,o as STYLE_DEFAULTS,_ as ServiceInfoSchema,d as ServiceSkipError,a as WindowRegistry,f as coalesceExtensionOverrides,x as createShutdownSequence,m as filterEligibleExtensions,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../../index-
|
|
1
|
+
import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../../index-DOfq0qqv.mjs";
|
|
2
2
|
export { KernelNamespace, KernelSchemas, KernelSubjects, getWorkflowTriggerTypeRegistry, setWorkflowTriggerTypeRegistry };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-
|
|
1
|
+
import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-CwKzQuIX.mjs";
|
|
2
2
|
export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-
|
|
1
|
+
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-BbCjtc3h.mjs";
|
|
2
2
|
export { EphemeralIdentityProvider, IdentityProvider, MachineIdentity, MemoryStorageProvider, NoTransportProvider, StorageCleanup, StorageProvider, TransportProvider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-
|
|
1
|
+
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-CfEi_Ji4.mjs";
|
|
2
2
|
export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as __toCommonJS,i as __require,t as __commonJSMin}from"./chunk-DTipWd-i.mjs";import{t as require_semver}from"./semver-DhHJv6Dt.mjs";import{t as require_supports_color}from"./supports-color-
|
|
1
|
+
import{a as __toCommonJS,i as __require,t as __commonJSMin}from"./chunk-DTipWd-i.mjs";import{t as require_semver}from"./semver-DhHJv6Dt.mjs";import{t as require_supports_color}from"./supports-color-fVsgozsi.mjs";import{n as require_micromatch,t as require_out}from"./out-CvZYgczi.mjs";import{t as require_cross_spawn}from"./cross-spawn-BL6EvJBv.mjs";import{n as init_tslib_es6,r as tslib_es6_exports,t as require_lib$6}from"./lib-B9kVK_1_.mjs";var require_constants$1=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SpecialToken=void 0,(function(e){e.StartOfInput=`\0`,e.EndOfInput=``,e.EndOfPartialInput=``})(e.SpecialToken||={}),e.NodeType=void 0,(function(e){e[e.InitialNode=0]=`InitialNode`,e[e.SuccessNode=1]=`SuccessNode`,e[e.ErrorNode=2]=`ErrorNode`,e[e.CustomNode=3]=`CustomNode`})(e.NodeType||={});let t=-1,n=/^(-h|--help)(?:=([0-9]+))?$/,r=/^(--[a-z]+(?:-[a-z]+)*|-[a-zA-Z]+)$/,i=/^-[a-zA-Z]{2,}$/,a=/^([^=]+)=([\s\S]*)$/,o=process.env.DEBUG_CLI===`1`;e.BATCH_REGEX=i,e.BINDING_REGEX=a,e.HELP_COMMAND_INDEX=-1,e.HELP_REGEX=n,e.IS_DEBUG=o,e.OPTION_REGEX=r})),require_errors$3=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_constants$1(),n=class extends Error{constructor(e){super(e),this.clipanion={type:`usage`},this.name=`UsageError`}},r=class extends Error{constructor(e,t){if(super(),this.input=e,this.candidates=t,this.clipanion={type:`none`},this.name=`UnknownSyntaxError`,this.candidates.length===0)this.message=`Command not found, but we're not sure what's the alternative.`;else if(this.candidates.every(e=>e.reason!==null&&e.reason===t[0].reason)){let[{reason:e}]=this.candidates;this.message=`${e}\n\n${this.candidates.map(({usage:e})=>`$ ${e}`).join(`
|
|
2
2
|
`)}`}else if(this.candidates.length===1){let[{usage:t}]=this.candidates;this.message=`Command not found; did you mean:\n\n$ ${t}\n${a(e)}`}else this.message=`Command not found; did you mean one of:\n\n${this.candidates.map(({usage:e},t)=>`${`${t}.`.padStart(4)} ${e}`).join(`
|
|
3
3
|
`)}\n\n${a(e)}`}},i=class extends Error{constructor(e,t){super(),this.input=e,this.usages=t,this.clipanion={type:`none`},this.name=`AmbiguousSyntaxError`,this.message=`Cannot find which to pick amongst the following alternatives:\n\n${this.usages.map((e,t)=>`${`${t}.`.padStart(4)} ${e}`).join(`
|
|
4
4
|
`)}\n\n${a(e)}`}};let a=e=>`While running ${e.filter(e=>e!==t.SpecialToken.EndOfInput&&e!==t.SpecialToken.EndOfPartialInput).map(e=>{let t=JSON.stringify(e);return e.match(/\s/)||e.length===0||t!==`"${e}"`?t:e}).join(` `)}`;e.AmbiguousSyntaxError=i,e.UnknownSyntaxError=r,e.UsageError=n})),require_utils=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_errors$3();let n=Symbol(`clipanion/isOption`);function r(e){return{...e,[n]:!0}}function i(e,t){return e===void 0?[e,t]:typeof e==`object`&&e&&!Array.isArray(e)?[void 0,e]:[e,t]}function a(e,{mergeName:t=!1}={}){let n=e.match(/^([^:]+): (.*)$/m);if(!n)return`validation failed`;let[,r,i]=n;return t&&(i=i[0].toLowerCase()+i.slice(1)),i=r!==`.`||!t?`${r.replace(/^\.(\[|$)/,`$1`)}: ${i}`:`: ${i}`,i}function o(e,n){return n.length===1?new t.UsageError(`${e}${a(n[0],{mergeName:!0})}`):new t.UsageError(`${e}:\n${n.map(e=>`\n- ${a(e)}`).join(``)}`)}function s(e,t,n){if(n===void 0)return t;let r=[],i=[],a=e=>{let n=t;return t=e,a.bind(null,n)};if(!n(t,{errors:r,coercions:i,coercion:a}))throw o(`Invalid value for ${e}`,r);for(let[,e]of i)e();return t}e.applyValidator=s,e.cleanValidationError=a,e.formatError=o,e.isOptionSymbol=n,e.makeCommandOption=r,e.rerouteArguments=i})),require_lib$5=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=/^[a-zA-Z_][a-zA-Z0-9_]*$/;function n(e){return e===null?`null`:e===void 0?`undefined`:e===``?`an empty string`:typeof e==`symbol`?`<${e.toString()}>`:Array.isArray(e)?`an array`:JSON.stringify(e)}function r(e,t){if(e.length===0)return`nothing`;if(e.length===1)return n(e[0]);let r=e.slice(0,-1),i=e[e.length-1],a=e.length>2?`, ${t} `:` ${t} `;return`${r.map(e=>n(e)).join(`, `)}${a}${n(i)}`}function i(e,n){var r,i,a;return typeof n==`number`?`${e?.p??`.`}[${n}]`:t.test(n)?`${e?.p??``}.${n}`:`${e?.p??`.`}[${JSON.stringify(n)}]`}function a(e,t,n){return e===1?t:n}let o=/^#[0-9a-f]{6}$/i,s=/^#[0-9a-f]{6}([0-9a-f]{2})?$/i,c=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,l=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$/i,u=/^(?:[1-9]\d{3}(-?)(?:(?:0[1-9]|1[0-2])\1(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])\1(?:29|30)|(?:0[13578]|1[02])(?:\1)31|00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[0-5]))|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)(?:(-?)02(?:\2)29|-?366))T(?:[01]\d|2[0-3])(:?)[0-5]\d(?:\3[0-5]\d)?(?:Z|[+-][01]\d(?:\3[0-5]\d)?)$/;function d({errors:e,p:t}={},n){return e?.push(`${t??`.`}: ${n}`),!1}function f(e,t){return n=>{e[t]=n}}function p(e,t){return n=>{let r=e[t];return e[t]=n,p(e,t).bind(null,r)}}function m(e,t,n){let r=()=>(e(n()),i),i=()=>(e(t),r);return r}function h(){return F({test:(e,t)=>!0})}function g(e){return F({test:(t,r)=>t===e?!0:d(r,`Expected ${n(e)} (got ${n(t)})`)})}function _(){return F({test:(e,t)=>typeof e==`string`?!0:d(t,`Expected a string (got ${n(e)})`)})}function v(e){let t=Array.isArray(e)?e:Object.values(e),i=t.every(e=>typeof e==`string`||typeof e==`number`),a=new Set(t);return a.size===1?g([...a][0]):F({test:(e,o)=>a.has(e)?!0:i?d(o,`Expected one of ${r(t,`or`)} (got ${n(e)})`):d(o,`Expected a valid enumeration value (got ${n(e)})`)})}let y=new Map([[`true`,!0],[`True`,!0],[`1`,!0],[1,!0],[`false`,!1],[`False`,!1],[`0`,!1],[0,!1]]);function b(){return F({test:(e,t)=>{var r;if(typeof e!=`boolean`){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n=y.get(e);if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a boolean (got ${n(e)})`)}return!0}})}function x(){return F({test:(e,t)=>{var r;if(typeof e!=`number`){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n;if(typeof e==`string`){let r;try{r=JSON.parse(e)}catch{}if(typeof r==`number`)if(JSON.stringify(r)===e)n=r;else return d(t,`Received a number that can't be safely represented by the runtime (${e})`)}if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a number (got ${n(e)})`)}return!0}})}function S(e){return F({test:(t,r)=>{var i;if(r?.coercions===void 0)return d(r,`The isPayload predicate can only be used with coercion enabled`);if(r.coercion===void 0)return d(r,`Unbound coercion result`);if(typeof t!=`string`)return d(r,`Expected a string (got ${n(t)})`);let a;try{a=JSON.parse(t)}catch{return d(r,`Expected a JSON string (got ${n(t)})`)}let o={value:a};return e(a,Object.assign(Object.assign({},r),{coercion:p(o,`value`)}))?(r.coercions.push([r.p??`.`,r.coercion.bind(null,o.value)]),!0):!1}})}function C(){return F({test:(e,t)=>{var r;if(!(e instanceof Date)){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n;if(typeof e==`string`&&u.test(e))n=new Date(e);else{let r;if(typeof e==`string`){let t;try{t=JSON.parse(e)}catch{}typeof t==`number`&&(r=t)}else typeof e==`number`&&(r=e);if(r!==void 0)if(Number.isSafeInteger(r)||!Number.isSafeInteger(r*1e3))n=new Date(r*1e3);else return d(t,`Received a timestamp that can't be safely represented by the runtime (${e})`)}if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a date (got ${n(e)})`)}return!0}})}function w(e,{delimiter:t}={}){return F({test:(r,a)=>{var o;let s=r;if(typeof r==`string`&&t!==void 0&&a?.coercions!==void 0){if(a?.coercion===void 0)return d(a,`Unbound coercion result`);r=r.split(t)}if(!Array.isArray(r))return d(a,`Expected an array (got ${n(r)})`);let c=!0;for(let t=0,n=r.length;t<n&&(c=e(r[t],Object.assign(Object.assign({},a),{p:i(a,t),coercion:p(r,t)}))&&c,!(!c&&a?.errors==null));++t);return r!==s&&a.coercions.push([a.p??`.`,a.coercion.bind(null,r)]),c}})}function T(e,{delimiter:t}={}){let r=w(e,{delimiter:t});return F({test:(t,i)=>{var a,o;if(Object.getPrototypeOf(t).toString()===`[object Set]`)if(i?.coercions!==void 0){if(i?.coercion===void 0)return d(i,`Unbound coercion result`);let e=[...t],n=[...t];return r(n,Object.assign(Object.assign({},i),{coercion:void 0}))?(i.coercions.push([i.p??`.`,m(i.coercion,t,()=>n.some((t,n)=>t!==e[n])?new Set(n):t)]),!0):!1}else{let n=!0;for(let r of t)if(n=e(r,Object.assign({},i))&&n,!n&&i?.errors==null)break;return n}if(i?.coercions!==void 0){if(i?.coercion===void 0)return d(i,`Unbound coercion result`);let e={value:t};return r(t,Object.assign(Object.assign({},i),{coercion:p(e,`value`)}))?(i.coercions.push([i.p??`.`,m(i.coercion,t,()=>new Set(e.value))]),!0):!1}return d(i,`Expected a set (got ${n(t)})`)}})}function E(e,t){let r=w(D([e,t])),a=O(t,{keys:e});return F({test:(o,s)=>{var c,l,u;if(Object.getPrototypeOf(o).toString()===`[object Map]`)if(s?.coercions!==void 0){if(s?.coercion===void 0)return d(s,`Unbound coercion result`);let e=[...o],t=[...o];return r(t,Object.assign(Object.assign({},s),{coercion:void 0}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>t.some((t,n)=>t[0]!==e[n][0]||t[1]!==e[n][1])?new Map(t):o)]),!0):!1}else{let n=!0;for(let[r,a]of o)if(n=e(r,Object.assign({},s))&&n,!n&&s?.errors==null||(n=t(a,Object.assign(Object.assign({},s),{p:i(s,r)}))&&n,!n&&s?.errors==null))break;return n}if(s?.coercions!==void 0){if(s?.coercion===void 0)return d(s,`Unbound coercion result`);let e={value:o};return Array.isArray(o)?r(o,Object.assign(Object.assign({},s),{coercion:void 0}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>new Map(e.value))]),!0):!1:a(o,Object.assign(Object.assign({},s),{coercion:p(e,`value`)}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>new Map(Object.entries(e.value)))]),!0):!1}return d(s,`Expected a map (got ${n(o)})`)}})}function D(e,{delimiter:t}={}){let r=U(e.length);return F({test:(a,o)=>{var s;if(typeof a==`string`&&t!==void 0&&o?.coercions!==void 0){if(o?.coercion===void 0)return d(o,`Unbound coercion result`);a=a.split(t),o.coercions.push([o.p??`.`,o.coercion.bind(null,a)])}if(!Array.isArray(a))return d(o,`Expected a tuple (got ${n(a)})`);let c=r(a,Object.assign({},o));for(let t=0,n=a.length;t<n&&t<e.length&&(c=e[t](a[t],Object.assign(Object.assign({},o),{p:i(o,t),coercion:p(a,t)}))&&c,!(!c&&o?.errors==null));++t);return c}})}function O(e,{keys:t=null}={}){let r=w(D([t??_(),e]));return F({test:(a,o)=>{var s;if(Array.isArray(a)&&o?.coercions!==void 0)return o?.coercion===void 0?d(o,`Unbound coercion result`):r(a,Object.assign(Object.assign({},o),{coercion:void 0}))?(a=Object.fromEntries(a),o.coercions.push([o.p??`.`,o.coercion.bind(null,a)]),!0):!1;if(typeof a!=`object`||!a)return d(o,`Expected an object (got ${n(a)})`);let c=Object.keys(a),l=!0;for(let n=0,r=c.length;n<r&&(l||o?.errors!=null);++n){let r=c[n],s=a[r];if(r===`__proto__`||r===`constructor`){l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Unsafe property name`);continue}if(t!==null&&!t(r,o)){l=!1;continue}if(!e(s,Object.assign(Object.assign({},o),{p:i(o,r),coercion:p(a,r)}))){l=!1;continue}}return l}})}function k(e,t={}){return O(e,t)}function A(e,{extra:t=null}={}){let r=Object.keys(e),a=F({test:(a,o)=>{if(typeof a!=`object`||!a)return d(o,`Expected an object (got ${n(a)})`);let s=new Set([...r,...Object.keys(a)]),c={},l=!0;for(let r of s){if(r===`constructor`||r===`__proto__`)l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Unsafe property name`);else{let s=Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0,u=Object.prototype.hasOwnProperty.call(a,r)?a[r]:void 0;s===void 0?t===null?l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Extraneous property (got ${n(u)})`):Object.defineProperty(c,r,{enumerable:!0,get:()=>u,set:f(a,r)}):l=s(u,Object.assign(Object.assign({},o),{p:i(o,r),coercion:p(a,r)}))&&l}if(!l&&o?.errors==null)break}return t!==null&&(l||o?.errors!=null)&&(l=t(c,o)&&l),l}});return Object.assign(a,{properties:e})}function j(e){return A(e,{extra:O(h())})}let M=e=>F({test:(t,r)=>t instanceof e?!0:d(r,`Expected an instance of ${e.name} (got ${n(t)})`)}),N=(e,{exclusive:t=!1}={})=>F({test:(n,r)=>{var i,a,o;let s=[],c=r?.errors===void 0?void 0:[];for(let i=0,a=e.length;i<a;++i){let a=r?.errors===void 0?void 0:[],o=r?.coercions===void 0?void 0:[];if(e[i](n,Object.assign(Object.assign({},r),{errors:a,coercions:o,p:`${r?.p??`.`}#${i+1}`}))){if(s.push([`#${i+1}`,o]),!t)break}else c?.push(a[0])}if(s.length===1){let[,e]=s[0];return e!==void 0&&((a=r?.coercions)==null||a.push(...e)),!0}return s.length>1?d(r,`Expected to match exactly a single predicate (matched ${s.join(`, `)})`):(o=r?.errors)==null||o.push(...c),!1}});function P(e){return()=>e}function F({test:e}){return P(e)()}var I=class extends Error{constructor({errors:e}={}){let t=`Type mismatch`;if(e&&e.length>0){t+=`
|