@makaio/framework 1.0.0-dev-1781081952714 → 1.0.0-dev-1781117225170
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/acp-client/index.d.mts +4 -4
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +3 -3
- 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-0JG5NFEd.mjs +8 -0
- package/dist/bus/index.d.mts +19 -19
- 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 +237 -237
- 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/{cursor-storage-C_WTAESV.mjs → cursor-storage-YikwAZR5.mjs} +1 -1
- package/dist/{definition-DqJOg6Lv.d.mts → definition-Cp-5xJp_.d.mts} +1 -1
- package/dist/{detached-extension-handle-CxEBQnSa.mjs → detached-extension-handle-oXbjv1tA.mjs} +1 -1
- package/dist/esm-CglYG5aA.mjs +1 -0
- package/dist/expression/index.d.mts +11 -2
- package/dist/expression/index.mjs +4 -4
- package/dist/{filesystem-service-DH9zlxyd.mjs → filesystem-service-CBJT7A5w.mjs} +1 -1
- package/dist/git/index.mjs +14 -14
- package/dist/{globby-4SrlyIlj.mjs → globby-C0lgTOUl.mjs} +1 -1
- package/dist/{index-IekAD8Gp.d.mts → index-BELri1Hy.d.mts} +8 -8
- package/dist/{index-jlQ4IhR5.d.mts → index-BY-fz0Jy.d.mts} +342 -342
- package/dist/{index-Bw_zL7Rs.d.mts → index-Bw8SkcWG.d.mts} +1 -1
- package/dist/{index-BmV60tMf.d.mts → index-C1uZLARQ.d.mts} +17 -17
- package/dist/{index-D6bw4qJp.d.mts → index-CXfWW8cP.d.mts} +98 -98
- package/dist/{index-fVgKVvta.d.mts → index-C_jIVT40.d.mts} +1 -1
- package/dist/{index-C3zfJg6s.d.mts → index-ClgVA8Rz.d.mts} +6 -6
- package/dist/{index-BheaEhyI.d.mts → index-CmGvjpUG.d.mts} +6 -6
- package/dist/{index-Bibt5jAX.d.mts → index-Dsu1tPHm.d.mts} +8 -8
- package/dist/{index-BYkOUd0x.d.mts → index-SFkbbDxs.d.mts} +1 -1
- package/dist/{index-DETxgKS2.d.mts → index-hWzUQtDn.d.mts} +8 -8
- package/dist/{index-YDfOv0GT.d.mts → index-i7o6FtS0.d.mts} +33 -7
- package/dist/{index-CwKzQuIX.d.mts → index-kLBWooVu.d.mts} +24 -24
- package/dist/{index-CNOTkyGw.d.mts → index-t9Vt4Jbb.d.mts} +306 -382
- package/dist/{index-BAhJKQLX.d.mts → index-uQl_1wQO.d.mts} +8 -8
- package/dist/{index-Db0uJ_Cg2.d.mts → index-v2kRZnfw2.d.mts} +3 -3
- package/dist/kernel/cli/index.d.mts +2 -2
- package/dist/kernel/cli/register.d.mts +1 -1
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +5 -5
- 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-B9kVK_1_.mjs → lib-CaOdTS9F.mjs} +1 -1
- package/dist/lib-IkUYa2Qs.mjs +2 -0
- package/dist/{lib-DPruLs5D.mjs → lib-zuQKc8ym.mjs} +19 -22
- package/dist/{load-extensions-C-TqCwzL.mjs → load-extensions-CwxilDj1.mjs} +1 -1
- package/dist/{load-extensions-D9nbDIiW.d.mts → load-extensions-DE8qDIqi.d.mts} +1 -1
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-Ds6HkJEU.d.mts → namespace-13uMtVGj.d.mts} +134 -134
- package/dist/{namespace-ByyuIFpL.d.mts → namespace-CZPu_jvy.d.mts} +58 -58
- package/dist/{namespace-aBIAWxY3.d.mts → namespace-Da_dHfdm.d.mts} +10 -10
- package/dist/{namespace-BlS_i9KT.d.mts → namespace-ffepZB8Y.d.mts} +5 -5
- 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/{out-CvZYgczi.mjs → out-CiFds_ap.mjs} +1 -1
- package/dist/{package-1DS4bXg5.mjs → package-C9wOiMK9.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/primitive-runtime-1Z3JbRUj.mjs +1 -0
- package/dist/rules/index.d.mts +1 -1
- package/dist/rules/index.mjs +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 +3 -3
- package/dist/runtime-node/makaio-config.d.mts +1 -1
- package/dist/runtime-node/makaio-config.mjs +1 -1
- 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-CDL_pyyM.d.mts → schema-CfuF2cXW.d.mts} +3 -3
- package/dist/{schemas-t1VR6_b_.d.mts → schemas-BiMxSTUx.d.mts} +3 -3
- package/dist/{schemas-on3_N5HP.d.mts → schemas-DdZwjeF0.d.mts} +134 -134
- package/dist/{schemas-Exixg77V2.d.mts → schemas-SPI-Y87l2.d.mts} +14 -14
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- 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/namespace.d.mts +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/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 +4 -4
- package/dist/services/execution-target/index.d.mts +3 -3
- 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/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +120 -120
- 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 +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/model-registry/index.d.mts +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/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +9 -9
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +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/orchestrator-shared.d.mts +1 -1
- package/dist/services/session/turns/namespace.d.mts +1 -1
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/index.d.mts +3 -3
- package/dist/services/settings/namespace.d.mts +14 -14
- package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
- package/dist/services/settings/storage/index.d.mts +3 -3
- package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
- package/dist/services/subagent/index.d.mts +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/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/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/{src-Dvp41Cg2.mjs → src-DI5TcYUW.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/index.d.mts +1 -1
- package/dist/style.css +540 -540
- package/dist/{tools-DC4KrqI1.mjs → tools-B8d8Iqqx.mjs} +1 -1
- package/dist/{types-CmMesAgR.d.mts → types-0u6hpELc.d.mts} +1 -1
- package/dist/{types-D0fPFh-D.d.mts → types-C5Uy3WEy.d.mts} +1 -1
- package/dist/{types-DiGqpZOD.d.mts → types-CZHV05Lu.d.mts} +219 -219
- 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 +1 -1
- package/dist/ui-kernel/pages/schemas.d.mts +1 -1
- package/dist/ui-views/index.mjs +2 -2
- package/dist/workflow-engine/index.d.mts +36 -36
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-worker-hDaQzTBl.mjs +1 -0
- package/package.json +1 -1
- package/dist/ajv-BJsabpMb.mjs +0 -8
- package/dist/esm-BdLRFEUy.mjs +0 -3
- package/dist/fast-uri-BF2Xuiop.mjs +0 -1
- package/dist/lib-aRogYLqg.mjs +0 -5
- package/dist/primitive-runtime-DcYYWy_6.mjs +0 -8
- package/dist/workflow-worker-DvP753UN.mjs +0 -1
- /package/dist/{await-trigger-DREnXCEJ.mjs → await-trigger-CHuOd5co.mjs} +0 -0
- /package/dist/{base-orchestrator-M5mAB5-w.d.mts → base-orchestrator-D-S9v5VY.d.mts} +0 -0
- /package/dist/{clients-namespace-SFk7OTop.d.mts → clients-namespace-E97p_GKF.d.mts} +0 -0
- /package/dist/{config-namespace-BzAvE2nY.d.mts → config-namespace-R_34Wfps.d.mts} +0 -0
- /package/dist/{create-static-mount-CFGo91CI.mjs → create-static-mount-B9Szo_7y.mjs} +0 -0
- /package/dist/{cross-spawn-BL6EvJBv.mjs → cross-spawn-CTptpCy4.mjs} +0 -0
- /package/dist/{definition-BSghHJpQ.d.mts → definition-CYzWS2eR.d.mts} +0 -0
- /package/dist/{definition-q6iLw11H.d.mts → definition-CvOuzWNT.d.mts} +0 -0
- /package/dist/{descriptor-to-package-CY8oc2gl.mjs → descriptor-to-package-9nrAH_D5.mjs} +0 -0
- /package/dist/{extension-discovery-CkV_VRdJ.d.mts → extension-discovery-BD1-oNU_.d.mts} +0 -0
- /package/dist/{filesystem-service-Ddngll0j.d.mts → filesystem-service-BcwRp4k1.d.mts} +0 -0
- /package/dist/{index-C6BhKRnH.d.mts → index--0CnhN0g.d.mts} +0 -0
- /package/dist/{index-BxFA1XcP.d.mts → index-9KnLzPYu.d.mts} +0 -0
- /package/dist/{index-C33Tq1ei2.d.mts → index-AZ4iLe7O2.d.mts} +0 -0
- /package/dist/{index-BnQSPC6c.d.mts → index-B6RGNugn.d.mts} +0 -0
- /package/dist/{index-CGJjA-hR2.d.mts → index-BDlpFEsp2.d.mts} +0 -0
- /package/dist/{index-BKKNWqkP2.d.mts → index-BFaeVdsn2.d.mts} +0 -0
- /package/dist/{index-CDU_s69P.d.mts → index-BV8rSmDZ.d.mts} +0 -0
- /package/dist/{index-DSV1aFgK.d.mts → index-BYxgW2i0.d.mts} +0 -0
- /package/dist/{index-D0SUjZmU.d.mts → index-C-YBGCCG.d.mts} +0 -0
- /package/dist/{index-Buo9H8RK.d.mts → index-CF7dnqQj.d.mts} +0 -0
- /package/dist/{index-BBvcP-P0.d.mts → index-CNYPKkyH.d.mts} +0 -0
- /package/dist/{index-Clut1ljB.d.mts → index-CT-zFurA.d.mts} +0 -0
- /package/dist/{index-BbCjtc3h.d.mts → index-CdNDnxXR.d.mts} +0 -0
- /package/dist/{index-Bsp0O_sI.d.mts → index-ChG8ZUNP.d.mts} +0 -0
- /package/dist/{index-9IDJUJ4X.d.mts → index-DJQew2k-.d.mts} +0 -0
- /package/dist/{index-Cz9JMjZK.d.mts → index-DNGUXQGC.d.mts} +0 -0
- /package/dist/{index-BpXX9WZJ.d.mts → index-DUPZKsd3.d.mts} +0 -0
- /package/dist/{index-BpniJgxu.d.mts → index-DUhXk_q6.d.mts} +0 -0
- /package/dist/{index-Dsq2zKvu.d.mts → index-Dbwm5Y-Q.d.mts} +0 -0
- /package/dist/{index-BCKRUuI2.d.mts → index-DfUBcVtG.d.mts} +0 -0
- /package/dist/{index-BMpRB6iE.d.mts → index-Dn9Uum3F.d.mts} +0 -0
- /package/dist/{index-D6Iyvz9T.d.mts → index-yNb7G73-.d.mts} +0 -0
- /package/dist/{index-DOfq0qqv.d.mts → index-ziQTLYUO.d.mts} +0 -0
- /package/dist/{jsonl-transport-BxNXizIm.mjs → jsonl-transport-DBHQgcIm.mjs} +0 -0
- /package/dist/{namespace-CHMszppN.d.mts → namespace-BaJJxBsI.d.mts} +0 -0
- /package/dist/{namespace-nlsvvMtD.d.mts → namespace-CTrNKkxY.d.mts} +0 -0
- /package/dist/{namespace-BBVtD1gu.d.mts → namespace-DfYutvMT.d.mts} +0 -0
- /package/dist/{namespace-D1Iw_d1P.d.mts → namespace-Dik_dNeE.d.mts} +0 -0
- /package/dist/{namespace-uuR0Fg5r.d.mts → namespace-DkDvQJhB.d.mts} +0 -0
- /package/dist/{namespace-B60mn8J-2.d.mts → namespace-DnZ4rS6T2.d.mts} +0 -0
- /package/dist/{namespace-DBKWNrk7.d.mts → namespace-DvHoeMUV.d.mts} +0 -0
- /package/dist/{namespace-XTGCaSXj.d.mts → namespace-QTFnJWHC.d.mts} +0 -0
- /package/dist/{namespace-DzVf1hVH.d.mts → namespace-TfZGCy7N.d.mts} +0 -0
- /package/dist/{namespace-CqUGzG53.d.mts → namespace-uGw5nK6d.d.mts} +0 -0
- /package/dist/{orchestrator-shared-D91Wk7z-.d.mts → orchestrator-shared-BZVeoRfr.d.mts} +0 -0
- /package/dist/{package-BSnp1zOR.d.mts → package-B2HkKyRz.d.mts} +0 -0
- /package/dist/{providers-namespace-BqWYkydw.d.mts → providers-namespace-Cc9FQ-Zt.d.mts} +0 -0
- /package/dist/{schemas-B5ToLwIs.d.mts → schemas-BD-1NGmS.d.mts} +0 -0
- /package/dist/{schemas-lqvZ6UpK.d.mts → schemas-BFeP62V4.d.mts} +0 -0
- /package/dist/{schemas-C792eVAZ.d.mts → schemas-BzK1I1eX.d.mts} +0 -0
- /package/dist/{schemas-Chyj6HuZ.d.mts → schemas-CYS6bkht.d.mts} +0 -0
- /package/dist/{schemas-Dyk7JuVl.d.mts → schemas-CsjB6gel.d.mts} +0 -0
- /package/dist/{schemas-Kq33MTPY.d.mts → schemas-DFWGb4uj.d.mts} +0 -0
- /package/dist/{schemas-DZUaRcYl.d.mts → schemas-DL_bGYyZ.d.mts} +0 -0
- /package/dist/{schemas-B77Gi8Xr.d.mts → schemas-Hy-lsBpg.d.mts} +0 -0
- /package/dist/{server-lifecycle-47mygK3E.d.mts → server-lifecycle-DVAbXQzg.d.mts} +0 -0
- /package/dist/{server-lifecycle-Cg47L59Q.mjs → server-lifecycle-JTFuSJhg.mjs} +0 -0
- /package/dist/{session-lineage-CKg6mErA.d.mts → session-lineage-CxHc3_bm.d.mts} +0 -0
- /package/dist/{src-Z3vAZJfw.mjs → src-4_2jBceX.mjs} +0 -0
- /package/dist/{storage-namespace-BXmMUd7a.d.mts → storage-namespace-I30TaZP7.d.mts} +0 -0
- /package/dist/{storage-namespace-definition-C3XbpiP8.d.mts → storage-namespace-definition-ZNBL3v2h.d.mts} +0 -0
- /package/dist/{types-5Gw3iVpK.d.mts → types-11QnNmpW.d.mts} +0 -0
- /package/dist/{types-B0BtvVAq.d.mts → types-BKNpS4Xw.d.mts} +0 -0
- /package/dist/{types-D-bP8RRE.d.mts → types-BtMNh2FS.d.mts} +0 -0
- /package/dist/{types-BhXRffJ_.d.mts → types-yTKQTAok.d.mts} +0 -0
- /package/dist/{window-registry-CfEi_Ji4.d.mts → window-registry-QD1rTk_f.d.mts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as e,r as t,t as n}from"./chunk-DTipWd-i.mjs";import{t as r}from"./out-
|
|
1
|
+
import{o as e,r as t,t as n}from"./chunk-DTipWd-i.mjs";import{t as r}from"./out-CiFds_ap.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};
|
|
@@ -141,11 +141,12 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
141
141
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
142
142
|
name: z.ZodString;
|
|
143
143
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
144
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
145
144
|
nativeTools: z.ZodObject<{
|
|
146
145
|
enabled: z.ZodArray<z.ZodString>;
|
|
147
146
|
disabled: z.ZodArray<z.ZodString>;
|
|
148
147
|
}, z.core.$strip>;
|
|
148
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
149
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
149
150
|
registryTools: z.ZodObject<{
|
|
150
151
|
enabled: z.ZodArray<z.ZodString>;
|
|
151
152
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -175,7 +176,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
175
176
|
"always-ask": "always-ask";
|
|
176
177
|
"full-access": "full-access";
|
|
177
178
|
}>>>;
|
|
178
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
179
179
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
180
180
|
reject: "reject";
|
|
181
181
|
"always-ask": "always-ask";
|
|
@@ -317,11 +317,12 @@ declare const HarnessSchemas: {
|
|
|
317
317
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
318
318
|
name: z.ZodString;
|
|
319
319
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
320
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
321
320
|
nativeTools: z.ZodObject<{
|
|
322
321
|
enabled: z.ZodArray<z.ZodString>;
|
|
323
322
|
disabled: z.ZodArray<z.ZodString>;
|
|
324
323
|
}, z.core.$strip>;
|
|
324
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
325
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
325
326
|
registryTools: z.ZodObject<{
|
|
326
327
|
enabled: z.ZodArray<z.ZodString>;
|
|
327
328
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -351,7 +352,6 @@ declare const HarnessSchemas: {
|
|
|
351
352
|
"always-ask": "always-ask";
|
|
352
353
|
"full-access": "full-access";
|
|
353
354
|
}>>>;
|
|
354
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
355
355
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
356
356
|
reject: "reject";
|
|
357
357
|
"always-ask": "always-ask";
|
|
@@ -760,11 +760,12 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
760
760
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
761
761
|
name: z.ZodString;
|
|
762
762
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
763
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
764
763
|
nativeTools: z.ZodObject<{
|
|
765
764
|
enabled: z.ZodArray<z.ZodString>;
|
|
766
765
|
disabled: z.ZodArray<z.ZodString>;
|
|
767
766
|
}, z.core.$strip>;
|
|
767
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
768
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
768
769
|
registryTools: z.ZodObject<{
|
|
769
770
|
enabled: z.ZodArray<z.ZodString>;
|
|
770
771
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -794,7 +795,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
794
795
|
"always-ask": "always-ask";
|
|
795
796
|
"full-access": "full-access";
|
|
796
797
|
}>>>;
|
|
797
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
798
798
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
799
799
|
reject: "reject";
|
|
800
800
|
"always-ask": "always-ask";
|
|
@@ -1203,11 +1203,12 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1203
1203
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1204
1204
|
name: z.ZodString;
|
|
1205
1205
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
1206
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
1207
1206
|
nativeTools: z.ZodObject<{
|
|
1208
1207
|
enabled: z.ZodArray<z.ZodString>;
|
|
1209
1208
|
disabled: z.ZodArray<z.ZodString>;
|
|
1210
1209
|
}, z.core.$strip>;
|
|
1210
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
1211
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1211
1212
|
registryTools: z.ZodObject<{
|
|
1212
1213
|
enabled: z.ZodArray<z.ZodString>;
|
|
1213
1214
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -1237,7 +1238,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1237
1238
|
"always-ask": "always-ask";
|
|
1238
1239
|
"full-access": "full-access";
|
|
1239
1240
|
}>>>;
|
|
1240
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1241
1241
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1242
1242
|
reject: "reject";
|
|
1243
1243
|
"always-ask": "always-ask";
|