remoteclaw 0.1.0-next.87fb2cd → 0.1.0-next.8eea450
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/README.md +11 -9
- package/dist/accounts-BZ2kR_Ij.js +47 -0
- package/dist/accounts-Bi4rFQG5.js +272 -0
- package/dist/accounts-Bpk-loA6.js +47 -0
- package/dist/accounts-D1CBpsaa.js +32 -0
- package/dist/accounts-DAdUdbPk.js +36 -0
- package/dist/accounts-WYyfAiie.js +270 -0
- package/dist/accounts-zQKMwnvt.js +36 -0
- package/dist/ack-reactions-B8XmfkhT.js +621 -0
- package/dist/ack-reactions-DlVzIQd8.js +621 -0
- package/dist/acp-cli-Btx71t69.js +1319 -0
- package/dist/acp-cli-DVQMjl0p.js +1324 -0
- package/dist/active-listener-BfN4RKlA.js +37 -0
- package/dist/active-listener-Bq7ckjOV.js +37 -0
- package/dist/agent-Cgto4vj5.js +688 -0
- package/dist/agent-DW2PQnwu.js +687 -0
- package/dist/agent-helpers-BcaiJFiG.js +400 -0
- package/dist/agent-helpers-D83kfcF9.js +400 -0
- package/dist/agent-scope-CJW7vnF8.js +114 -0
- package/dist/agent-scope-DVvX_nkQ.js +116 -0
- package/dist/agents-B85lvwwE.js +760 -0
- package/dist/agents.config-BPe_hkMn.js +116 -0
- package/dist/agents.config-Dorm30BQ.js +116 -0
- package/dist/ansi-DtaiOnt1.js +107 -0
- package/dist/audio-B1lTyRqS.js +43 -0
- package/dist/audio-e0dFnrn8.js +43 -0
- package/dist/audit-DZvqycbG.js +3150 -0
- package/dist/audit-Mit73dYD.js +3150 -0
- package/dist/auth-C-XX0Tdt.js +314 -0
- package/dist/auth-D8--b01l.js +315 -0
- package/dist/auth-DJ7XEBDO.js +448 -0
- package/dist/auth-otyjXf9l.js +448 -0
- package/dist/banner-BhRjRCSa.js +294 -0
- package/dist/binaries-BSjilwX-.js +13 -0
- package/dist/bindings-BpL4pISF.js +69 -0
- package/dist/bindings-DFTxQj8x.js +69 -0
- package/dist/bonjour-discovery-BnxTMHRd.js +378 -0
- package/dist/bonjour-discovery-CVJYHT3g.js +378 -0
- package/dist/boot/handler.js +30 -73
- package/dist/browser-cli-BR2pZWTC.js +1694 -0
- package/dist/browser-cli-I0kfR7FV.js +1690 -0
- package/dist/build-info.json +3 -3
- package/dist/call-Ck7ysmEl.js +517 -0
- package/dist/call-MN6mCJEB.js +518 -0
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/catalog-Bt9EM4sK.js +185 -0
- package/dist/catalog-BtUvWKd9.js +185 -0
- package/dist/channel-account-context-BLQq9NKz.js +133 -0
- package/dist/channel-account-context-CaCzVa76.js +133 -0
- package/dist/channel-activity-BatlvP_U.js +292 -0
- package/dist/channel-activity-DHVMMb2x.js +94 -0
- package/dist/channel-activity-DtRx3b0W.js +94 -0
- package/dist/channel-options-Bo7L_fD8.js +33 -0
- package/dist/channel-options-D74lCk4V.js +32 -0
- package/dist/channel-selection-CzbrpDPd.js +51 -0
- package/dist/channel-selection-Xv5UFxOx.js +51 -0
- package/dist/channel-web-BBCa-U8D.js +2134 -0
- package/dist/channel-web-DhYA2rZl.js +2132 -0
- package/dist/channels-cli-D1gwo-9a.js +1439 -0
- package/dist/channels-cli-LJ7w3-TM.js +1435 -0
- package/dist/channels-status-issues-B77y-TLr.js +18 -0
- package/dist/channels-status-issues-COECL8nx.js +18 -0
- package/dist/chat-envelope-CY1yvCc-.js +248 -0
- package/dist/chat-envelope-DUMcMMB2.js +248 -0
- package/dist/chrome-Cr5wmMk8.js +1733 -0
- package/dist/chrome-YBrnJN-g.js +1732 -0
- package/dist/chunk-CrfQ_O--.js +341 -0
- package/dist/chunk-DFBUmlXU.js +341 -0
- package/dist/clack-prompter-CFNKgQXx.js +122 -0
- package/dist/clack-prompter-DDlR2e34.js +121 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BHHSda8K.js +130 -0
- package/dist/cli-BpiEmhWn.js +134 -0
- package/dist/client-BZeatr3g.js +2316 -0
- package/dist/client-Bc9JFAwL.js +2316 -0
- package/dist/clipboard-J_9AABIu.js +31 -0
- package/dist/command-format-CMAQa4dB.js +32 -0
- package/dist/command-format-KkslAzwV.js +18 -0
- package/dist/command-logger/handler.js +1 -1
- package/dist/command-registry-TFLtq8uy.js +215 -0
- package/dist/commands-ijxtne0J.js +41 -0
- package/dist/commands-kZtQfqDl.js +41 -0
- package/dist/commands-registry-BrBtH2_B.js +891 -0
- package/dist/commands-registry-xZoSouba.js +892 -0
- package/dist/common-B4cjsvqP.js +156 -0
- package/dist/completion-cli-3Z3sh0WH.js +452 -0
- package/dist/completion-cli-CdSmsXk5.js +452 -0
- package/dist/config-C_WcTz_O.js +4231 -0
- package/dist/config-DfcqHTH-.js +4229 -0
- package/dist/config-cli-BZG3cvMA.js +243 -0
- package/dist/config-cli-C4OaM4tg.js +247 -0
- package/dist/config-guard-BlAcGEao.js +75 -0
- package/dist/config-guard-C-h_KIeI.js +99 -0
- package/dist/config-validation-C0YXR2dY.js +18 -0
- package/dist/config-validation-DDYBTmxT.js +18 -0
- package/dist/configure-B-BtvHhJ.js +891 -0
- package/dist/configure-B5_LpTKV.js +889 -0
- package/dist/constants-DAiBiWlI.js +75 -0
- package/dist/constants-DQxqJVLu.js +75 -0
- package/dist/control-auth-DK6cIBzl.js +397 -0
- package/dist/control-auth-DQ8bfDMk.js +397 -0
- package/dist/control-ui/assets/index-DdiU_ccM.css +1 -0
- package/dist/control-ui/assets/index-kVUYi64u.js +7723 -0
- package/dist/control-ui/assets/index-kVUYi64u.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/control-ui-assets-DLEWfed6.js +186 -0
- package/dist/control-ui-assets-DVhkAyhv.js +186 -0
- package/dist/conversation-label-HuHoShPF.js +36 -0
- package/dist/conversation-label-L0QTtKji.js +36 -0
- package/dist/cron-cli-DnxnTi83.js +498 -0
- package/dist/cron-cli-yqcBkqZT.js +494 -0
- package/dist/daemon-cli-CmQYq8uO.js +735 -0
- package/dist/daemon-cli-_OIRoswC.js +737 -0
- package/dist/daemon-cli.js +77 -158
- package/dist/daemon-install-BEgffqDj.js +56 -0
- package/dist/daemon-install-DAorzotp.js +60 -0
- package/dist/daemon-install-helpers-B82uvJjJ.js +504 -0
- package/dist/daemon-install-helpers-BhL2Gh4l.js +504 -0
- package/dist/deliver-CCvDBk5c.js +481 -0
- package/dist/deliver-CqKw0wFi.js +481 -0
- package/dist/delivery-queue-CK7VnUJf.js +244 -0
- package/dist/delivery-queue-DMeQchpT.js +244 -0
- package/dist/devices-cli-C6UAfRV_.js +323 -0
- package/dist/devices-cli-Le-isdZB.js +319 -0
- package/dist/diagnostics-BhFwk6F3.js +35 -0
- package/dist/diagnostics-BtaQtaVR.js +35 -0
- package/dist/directory-cli-BqMfX5og.js +220 -0
- package/dist/directory-cli-DD72TTD4.js +224 -0
- package/dist/dispatcher-BLC2WYZv.js +173 -0
- package/dist/dispatcher-Cm2FAG_D.js +174 -0
- package/dist/dm-policy-shared-DOzpxMHC.js +22 -0
- package/dist/dm-policy-shared-DZY0f1bR.js +22 -0
- package/dist/dns-cli-BgsNg-bn.js +203 -0
- package/dist/dns-cli-CdMU5yuG.js +199 -0
- package/dist/dock-ByrYnLiz.js +929 -0
- package/dist/dock-CpNmmysM.js +928 -0
- package/dist/doctor-completion-BCmfYrsJ.js +92 -0
- package/dist/doctor-completion-DsfKWp_7.js +92 -0
- package/dist/doctor-config-flow-DMyTycn7.js +1935 -0
- package/dist/doctor-config-flow-DoMu-pTm.js +1934 -0
- package/dist/enable-D5KetMo7.js +59 -0
- package/dist/enable-DzXMQJ-o.js +59 -0
- package/dist/entry.js +61 -3
- package/dist/env-BJ36dSrx.js +60 -0
- package/dist/env-vars-CD2_baIP.js +43 -0
- package/dist/env-vars-a7S70ba7.js +43 -0
- package/dist/errors-_DSePI1C.js +35 -0
- package/dist/exec-mY96dhIg.js +164 -0
- package/dist/export-html/template.css +0 -36
- package/dist/export-html/template.js +1 -32
- package/dist/extensionAPI.js +1238 -206
- package/dist/fetch-B3EQXbTa.js +67 -0
- package/dist/fetch-BPeSHPvr.js +281 -0
- package/dist/fetch-BQ7HvRwe.js +67 -0
- package/dist/fetch-CbGTzJ8L.js +281 -0
- package/dist/fetch-CfIaWynF.js +67 -0
- package/dist/file-lock-BHfqppLm.js +107 -0
- package/dist/file-lock-CCBpdPM_.js +107 -0
- package/dist/fs-safe-BcEpbVjc.js +88 -0
- package/dist/fs-safe-S3Zvbabd.js +98 -0
- package/dist/gateway-cli-BUwQ8ZQa.js +24606 -0
- package/dist/gateway-cli-CWdJxXy2.js +24602 -0
- package/dist/gateway-rpc-BHnd7P1q.js +28 -0
- package/dist/gateway-rpc-COEQDswS.js +28 -0
- package/dist/gmail-setup-utils-BpdKFe3P.js +423 -0
- package/dist/gmail-setup-utils-CqbWr0Kq.js +422 -0
- package/dist/health-D0CzZYgf.js +1417 -0
- package/dist/health-unkJjj1i.js +1414 -0
- package/dist/heartbeat-visibility-BdLnqnbS.js +125 -0
- package/dist/heartbeat-visibility-CP_C6jQC.js +125 -0
- package/dist/helpers-CRrn7Err.js +10 -0
- package/dist/helpers-p_u0Gnj_.js +10 -0
- package/dist/hook-runner-global-BztoD8lu.js +527 -0
- package/dist/hooks-cli-CUYjD0Nv.js +1226 -0
- package/dist/hooks-cli-DPk8A5xr.js +1222 -0
- package/dist/host-env-security-BGibnCbS.js +106 -0
- package/dist/host-env-security-axRnIi8d.js +106 -0
- package/dist/image-ops-Cx1ym2Hi.js +354 -0
- package/dist/import-CTUBsy7D.js +604 -0
- package/dist/import-cBp4f62k.js +606 -0
- package/dist/inbound-context-COwswi8z.js +68 -0
- package/dist/inbound-context-ChcNR30g.js +68 -0
- package/dist/index.js +131 -103
- package/dist/inspect-BsS3_z-x.js +286 -0
- package/dist/inspect-drfsUSIW.js +286 -0
- package/dist/installs-BFmmM5Zd.js +325 -0
- package/dist/installs-DA7SG0Tx.js +325 -0
- package/dist/ipv4-BZGSwnH4.js +46 -0
- package/dist/ir-R3Pk8Cv8.js +972 -0
- package/dist/json-files-BYH8U7Mx.js +46 -0
- package/dist/lifecycle-core-BZMeOT7u.js +474 -0
- package/dist/lifecycle-core-C6-_Gts0.js +476 -0
- package/dist/loader-8qC99yjz.js +22414 -0
- package/dist/loader-DepRJ53G.js +22411 -0
- package/dist/logger-9I2fg5mr.js +49 -0
- package/dist/logging-DJFQvfGD.js +1 -0
- package/dist/logging-kuFzZMsG.js +1 -0
- package/dist/login-D9uJTyEv.js +62 -0
- package/dist/login-DTh702_w.js +61 -0
- package/dist/login-qr-BKsmW6XI.js +325 -0
- package/dist/login-qr-SOXdIR58.js +329 -0
- package/dist/logs-cli-BshJBHZQ.js +236 -0
- package/dist/logs-cli-Ckh-BBTT.js +240 -0
- package/dist/markdown-tables-Cfz7zDXI.js +29 -0
- package/dist/markdown-tables-DeFSK6aY.js +29 -0
- package/dist/media-BD2cZGXT.js +971 -0
- package/dist/media-CjvpnJmQ.js +10388 -0
- package/dist/message-action-names-BA7H4SfT.js +2520 -0
- package/dist/message-action-names-kiTQcN93.js +2520 -0
- package/dist/message-channel-DOyKgFu8.js +91 -0
- package/dist/message-channel-EMCYRaxk.js +91 -0
- package/dist/mime-1E7nn9IU.js +146 -0
- package/dist/mime-mSgQeDnC.js +146 -0
- package/dist/net-DMh1m8AZ.js +225 -0
- package/dist/node-cli-BJ5CCbqx.js +1462 -0
- package/dist/node-cli-wYYhAs8x.js +1458 -0
- package/dist/node-service-CkwVlcey.js +67 -0
- package/dist/node-service-DTVW9YJh.js +67 -0
- package/dist/nodes-cli-CMFYLD1o.js +1346 -0
- package/dist/nodes-cli-DC2zUx3f.js +1350 -0
- package/dist/nodes-screen-6pXv1lYa.js +250 -0
- package/dist/nodes-screen-CTIZKksn.js +250 -0
- package/dist/note-CMELkPJN.js +92 -0
- package/dist/note-DHUJACHE.js +92 -0
- package/dist/npm-registry-spec-BiJI7Rkr.js +786 -0
- package/dist/npm-registry-spec-Dza35Ig4.js +786 -0
- package/dist/npm-resolution-Bc8mfDfj.js +86 -0
- package/dist/npm-resolution-iJkqMnZ0.js +86 -0
- package/dist/onboard-BSp7I19y.js +649 -0
- package/dist/onboard-CxgsEi6d.js +647 -0
- package/dist/onboard-auth-BUzYDEqf.js +211 -0
- package/dist/onboard-auth-DcVXyd-Z.js +207 -0
- package/dist/onboard-channels-DgR371y-.js +2548 -0
- package/dist/onboard-channels-DpNIhyIa.js +2547 -0
- package/dist/onboard-config-C9so5ggC.js +39 -0
- package/dist/onboard-config-oXID97rS.js +39 -0
- package/dist/onboard-helpers-B-bBSsyR.js +363 -0
- package/dist/onboard-helpers-YsCa-sAt.js +364 -0
- package/dist/onboard-remote-BWFcuEOD.js +127 -0
- package/dist/onboard-remote-C0THuDTK.js +127 -0
- package/dist/onboarding-BOi6zQMj.js +588 -0
- package/dist/onboarding-DR4G2CiN.js +586 -0
- package/dist/onboarding.finalize-CAkcCPio.js +402 -0
- package/dist/onboarding.finalize-DogOvvft.js +404 -0
- package/dist/onboarding.gateway-config-BaeIuA62.js +195 -0
- package/dist/onboarding.gateway-config-DMV2Odzr.js +201 -0
- package/dist/outbound-BdxBHDax.js +220 -0
- package/dist/outbound-D-Y9rMgB.js +221 -0
- package/dist/outbound-attachment-CvZ04r5k.js +18 -0
- package/dist/outbound-attachment-DYa1asB5.js +18 -0
- package/dist/outbound-attachment-DgUpk7Uh.js +18 -0
- package/dist/pairing-cli-BxTv78V7.js +125 -0
- package/dist/pairing-cli-CxUCzNUc.js +129 -0
- package/dist/pairing-labels-DVO6NJr0.js +9 -0
- package/dist/pairing-labels-D_pD8Cag.js +9 -0
- package/dist/pairing-store-Bu9pVlkO.js +459 -0
- package/dist/pairing-store-CWaGbAGi.js +460 -0
- package/dist/path-env-RsuO6yO-.js +89 -0
- package/dist/path-env-_my-d_iR.js +89 -0
- package/dist/path-safety-CfiVyVz7.js +14 -0
- package/dist/path-safety-D-wLK4pV.js +14 -0
- package/dist/plugin-auto-enable-CW01H36W.js +301 -0
- package/dist/plugin-auto-enable-CeHhBLCU.js +302 -0
- package/dist/plugin-registry-CRnCL53Y.js +33 -0
- package/dist/plugin-registry-DOkAXgso.js +33 -0
- package/dist/plugin-sdk/agents/agent-helpers.d.ts +0 -1
- package/dist/plugin-sdk/agents/agent-scope.d.ts +10 -0
- package/dist/plugin-sdk/agents/agent-types.d.ts +1 -6
- package/dist/plugin-sdk/agents/agent-utils.d.ts +0 -14
- package/dist/plugin-sdk/agents/provider-utils.d.ts +0 -1
- package/dist/plugin-sdk/agents/subagent-spawn.d.ts +0 -1
- package/dist/plugin-sdk/agents/tools/sessions-helpers.d.ts +0 -1
- package/dist/plugin-sdk/auth/constants.d.ts +15 -0
- package/dist/plugin-sdk/auth/display.d.ts +7 -0
- package/dist/plugin-sdk/auth/doctor.d.ts +8 -0
- package/dist/plugin-sdk/auth/env-injection.d.ts +38 -0
- package/dist/plugin-sdk/auth/index.d.ts +10 -0
- package/dist/plugin-sdk/auth/oauth.d.ts +13 -0
- package/dist/plugin-sdk/auth/order.d.ts +8 -0
- package/dist/plugin-sdk/auth/paths.d.ts +3 -0
- package/dist/plugin-sdk/auth/profiles.d.ts +11 -0
- package/dist/plugin-sdk/auth/provider-auth.d.ts +32 -0
- package/dist/plugin-sdk/auth/store.d.ts +7 -0
- package/dist/plugin-sdk/auth/types.d.ts +45 -0
- package/dist/plugin-sdk/auth/usage.d.ts +80 -0
- package/dist/plugin-sdk/auto-reply/reply/agent-runner-execution.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/agent-runner-utils.d.ts +9 -31
- package/dist/plugin-sdk/auto-reply/reply/commands-status.d.ts +1 -6
- package/dist/plugin-sdk/auto-reply/reply/commands-subagents/shared.d.ts +1 -1
- package/dist/plugin-sdk/auto-reply/reply/commands-types.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.levels.d.ts +1 -7
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.params.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.parse.d.ts +1 -7
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.persist.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.shared.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/directives.d.ts +3 -15
- package/dist/plugin-sdk/auto-reply/reply/get-reply-directives-apply.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/get-reply-directives.d.ts +1 -6
- package/dist/plugin-sdk/auto-reply/reply/get-reply-inline-actions.d.ts +1 -5
- package/dist/plugin-sdk/auto-reply/reply/get-reply-run.d.ts +1 -5
- package/dist/plugin-sdk/auto-reply/reply/queue/types.d.ts +1 -5
- package/dist/plugin-sdk/auto-reply/reply/response-prefix-template.d.ts +4 -6
- package/dist/plugin-sdk/auto-reply/reply/session-run-accounting.d.ts +0 -7
- package/dist/plugin-sdk/auto-reply/reply/session-updates.d.ts +0 -10
- package/dist/plugin-sdk/auto-reply/reply.d.ts +1 -1
- package/dist/plugin-sdk/auto-reply/status.d.ts +3 -11
- package/dist/plugin-sdk/auto-reply/templating.d.ts +0 -4
- package/dist/plugin-sdk/auto-reply/thinking.d.ts +0 -11
- package/dist/plugin-sdk/auto-reply/types.d.ts +1 -2
- package/dist/plugin-sdk/channels/plugins/types.core.d.ts +1 -0
- package/dist/plugin-sdk/channels/voice-credentials.d.ts +26 -0
- package/dist/plugin-sdk/commands/agent/session.d.ts +1 -2
- package/dist/plugin-sdk/commands/onboard-types.d.ts +2 -1
- package/dist/plugin-sdk/config/defaults.d.ts +0 -1
- package/dist/plugin-sdk/config/sessions/types.d.ts +0 -10
- package/dist/plugin-sdk/config/types.agent-defaults.d.ts +28 -112
- package/dist/plugin-sdk/config/types.agents.d.ts +8 -0
- package/dist/plugin-sdk/config/types.messages.d.ts +1 -2
- package/dist/plugin-sdk/config/types.remoteclaw.d.ts +2 -2
- package/dist/plugin-sdk/config/types.tools.d.ts +1 -59
- package/dist/plugin-sdk/config/types.tts.d.ts +2 -1
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +9 -66
- package/dist/plugin-sdk/config/zod-schema.agent-runtime.d.ts +5 -190
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +12 -76
- package/dist/plugin-sdk/config/zod-schema.core.d.ts +2 -230
- package/dist/plugin-sdk/config/zod-schema.d.ts +16 -269
- package/dist/plugin-sdk/config/zod-schema.providers-core.d.ts +3 -15
- package/dist/plugin-sdk/config/zod-schema.providers.d.ts +2 -10
- package/dist/plugin-sdk/config/zod-schema.session.d.ts +1 -5
- package/dist/plugin-sdk/daemon/constants.d.ts +2 -2
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +6 -8
- package/dist/plugin-sdk/gateway/protocol/schema/sessions.d.ts +0 -2
- package/dist/plugin-sdk/gateway/server/ws-types.d.ts +2 -0
- package/dist/plugin-sdk/gateway/session-utils.types.d.ts +0 -2
- package/dist/plugin-sdk/index.js +630 -250
- package/dist/plugin-sdk/infra/agent-events.d.ts +1 -1
- package/dist/plugin-sdk/infra/provider-usage.auth.d.ts +0 -1
- package/dist/plugin-sdk/infra/provider-usage.load.d.ts +0 -1
- package/dist/plugin-sdk/middleware/auth-key-retry.d.ts +31 -0
- package/dist/plugin-sdk/middleware/channel-bridge.d.ts +4 -0
- package/dist/plugin-sdk/middleware/cli-runtime-base.d.ts +6 -0
- package/dist/plugin-sdk/middleware/error-classifier.d.ts +5 -0
- package/dist/plugin-sdk/middleware/media-capability.d.ts +21 -0
- package/dist/plugin-sdk/middleware/media-resolver.d.ts +12 -0
- package/dist/plugin-sdk/middleware/runtime-factory.d.ts +42 -0
- package/dist/plugin-sdk/middleware/runtimes/claude.d.ts +10 -0
- package/dist/plugin-sdk/middleware/runtimes/codex.d.ts +5 -0
- package/dist/plugin-sdk/middleware/runtimes/gemini.d.ts +4 -0
- package/dist/plugin-sdk/middleware/runtimes/opencode.d.ts +5 -0
- package/dist/plugin-sdk/middleware/types.d.ts +41 -1
- package/dist/plugin-sdk/plugin-sdk/index.d.ts +4 -0
- package/dist/plugin-sdk/plugins/manifest-registry.d.ts +2 -0
- package/dist/plugin-sdk/plugins/manifest.d.ts +2 -0
- package/dist/plugin-sdk/plugins/registry.d.ts +18 -0
- package/dist/plugin-sdk/plugins/types.d.ts +5 -1
- package/dist/plugin-sdk/stt/defaults.d.ts +2 -0
- package/dist/plugin-sdk/stt/preflight.d.ts +14 -0
- package/dist/plugin-sdk/stt/providers/deepgram/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/google/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/groq/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/index.d.ts +4 -0
- package/dist/plugin-sdk/stt/providers/mistral/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/openai/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/stt.d.ts +27 -0
- package/dist/plugin-sdk/stt/types.d.ts +22 -0
- package/dist/plugin-sdk/tts/providers/edge.d.ts +2 -0
- package/dist/plugin-sdk/tts/providers/elevenlabs.d.ts +2 -0
- package/dist/plugin-sdk/tts/providers/index.d.ts +4 -0
- package/dist/plugin-sdk/tts/providers/openai.d.ts +2 -0
- package/dist/plugin-sdk/tts/tts.d.ts +13 -5
- package/dist/plugin-sdk/tts/types.d.ts +21 -0
- package/dist/plugins-DExsdlTp.js +455 -0
- package/dist/plugins-DdMgSc_b.js +453 -0
- package/dist/plugins-cli-B6kwFLyZ.js +806 -0
- package/dist/plugins-cli-C71exe0D.js +802 -0
- package/dist/ports-CL0pXAXO.js +96 -0
- package/dist/ports-CRI-HSZx.js +370 -0
- package/dist/ports-DiQFcKUB.js +316 -0
- package/dist/ports-HRurfPIr.js +96 -0
- package/dist/preflight-6QRqxWh7.js +667 -0
- package/dist/preflight-DDZjr5KD.js +667 -0
- package/dist/program-BKnB8Goj.js +249 -0
- package/dist/program-context-BFQenCu2.js +474 -0
- package/dist/progress-ChmZpgvt.js +124 -0
- package/dist/prompt-select-styled-Brr0EE5E.js +1669 -0
- package/dist/prompt-select-styled-CQ9z10ZW.js +1672 -0
- package/dist/provider-auth-CfdnLqh3.js +187 -0
- package/dist/provider-auth-gpHOMUBP.js +187 -0
- package/dist/provider-dispatcher-8ohn9fbs.js +660 -0
- package/dist/provider-dispatcher-lcKvKQiV.js +659 -0
- package/dist/push-apns-BNwVMXX9.js +713 -0
- package/dist/push-apns-BszVkcZK.js +711 -0
- package/dist/pw-ai-Bdb3zrBM.js +1911 -0
- package/dist/pw-ai-BvcvEdGs.js +1908 -0
- package/dist/qr-cli-BBgk2ci1.js +349 -0
- package/dist/qr-cli-BLzVrhia.js +353 -0
- package/dist/redact-snapshot-CyBDcb_a.js +1966 -0
- package/dist/redact-snapshot-D9oPMqA-.js +1966 -0
- package/dist/register.agent-BibBTLpE.js +291 -0
- package/dist/register.agent-R2vjuXJf.js +1019 -0
- package/dist/register.configure-Cm7vMOdP.js +134 -0
- package/dist/register.configure-HCFG-zfM.js +129 -0
- package/dist/register.import-CRLOolHv.js +31 -0
- package/dist/register.import-dhDEj7Om.js +29 -0
- package/dist/register.maintenance-BWs7YpdY.js +502 -0
- package/dist/register.maintenance-Czo5jGjm.js +500 -0
- package/dist/register.message-Bt6g9HtO.js +686 -0
- package/dist/register.message-DxSLgH5h.js +690 -0
- package/dist/register.onboard-BAJsTvx0.js +97 -0
- package/dist/register.onboard-BISldKPx.js +93 -0
- package/dist/register.setup-Detw7QHd.js +113 -0
- package/dist/register.setup-zkuXWoI6.js +117 -0
- package/dist/register.status-health-sessions-7Xwhuci1.js +668 -0
- package/dist/register.status-health-sessions-DMek-3uI.js +428 -0
- package/dist/register.subclis-vuYLMzbj.js +267 -0
- package/dist/replies-BTC1z8j0.js +136 -0
- package/dist/replies-BhlnuFp0.js +136 -0
- package/dist/reply-CYmFOfwm.js +12877 -0
- package/dist/reply-DyDLXlAu.js +12880 -0
- package/dist/reply-directives-C0-hYyAt.js +182 -0
- package/dist/reply-directives-C_CGXLBJ.js +182 -0
- package/dist/reply-payloads-BospFSPI.js +527 -0
- package/dist/reply-prefix-DDgh77yy.js +37 -0
- package/dist/reply-prefix-DwKZPZyG.js +37 -0
- package/dist/resolve-route-B73QhBIl.js +249 -0
- package/dist/resolve-route-DckdRbW8.js +249 -0
- package/dist/response-prefix-template-DDvbVpx6.js +134 -0
- package/dist/response-prefix-template-x5RBQnEy.js +134 -0
- package/dist/retry-CDrH81GP.js +77 -0
- package/dist/run-main-DGyJb6uU.js +307 -0
- package/dist/runtime-guard-DAHXelsb.js +60 -0
- package/dist/runtime-status-CM4rzyfO.js +12 -0
- package/dist/runtime-status-DJYthOLz.js +12 -0
- package/dist/secure-random-CxzxAnMS.js +44 -0
- package/dist/security-cli-CfqosyUf.js +487 -0
- package/dist/security-cli-DMZun6gO.js +482 -0
- package/dist/send-3wvngctD.js +547 -0
- package/dist/send-AY7Fs5ky.js +374 -0
- package/dist/send-BSWD4Kr_.js +2245 -0
- package/dist/send-BT4HhTLm.js +349 -0
- package/dist/send-BvuxToC8.js +2245 -0
- package/dist/send-CaUxFvu0.js +492 -0
- package/dist/send-CiBRE4OY.js +1178 -0
- package/dist/send-Cq_Db9wG.js +1779 -0
- package/dist/send-DBFcxDPm.js +1776 -0
- package/dist/send-DUha0nIz.js +492 -0
- package/dist/send-DUzdNOgv.js +11 -0
- package/dist/send-DgYBI05s.js +332 -0
- package/dist/send-Dnf5bISH.js +426 -0
- package/dist/send-NcQk6UH1.js +547 -0
- package/dist/send-Og0-IMee.js +29 -0
- package/dist/send-oCN80Pl2.js +349 -0
- package/dist/server-DoGGLeP3.js +202 -0
- package/dist/server-V7G9FG2A.js +206 -0
- package/dist/server-lifecycle-CSWpSlvn.js +2437 -0
- package/dist/server-lifecycle-Cal8hBP1.js +2437 -0
- package/dist/server-node-events-Papt9Q0p.js +390 -0
- package/dist/server-node-events-QCZmSAEy.js +394 -0
- package/dist/service-Duw0xMJX.js +670 -0
- package/dist/service-SRcnA1Am.js +670 -0
- package/dist/session-BLcfWX5_.js +170 -0
- package/dist/session-CQwkaAs-.js +170 -0
- package/dist/session-cost-usage-C-UcrvL4.js +627 -0
- package/dist/session-cost-usage-Dg3dzS0E.js +627 -0
- package/dist/session-dirs-D6mFEF90.js +318 -0
- package/dist/session-dirs-DVsG6e7L.js +318 -0
- package/dist/session-utils-C6522g3D.js +622 -0
- package/dist/session-utils-Dq2BJyVy.js +622 -0
- package/dist/sessions-CNkj4Eq8.js +247 -0
- package/dist/sessions-DDIoP7Rl.js +2569 -0
- package/dist/shell-env-D8nXPDbP.js +163 -0
- package/dist/shell-env-DBS5su07.js +163 -0
- package/dist/ssrf-7I3FUHpm.js +183 -0
- package/dist/ssrf-DZi4qw5c.js +183 -0
- package/dist/status-DPxlEjLh.js +1979 -0
- package/dist/status-F4OrdD3e.js +1983 -0
- package/dist/status.update-DquSK3p7.js +449 -0
- package/dist/status.update-iABAY3iW.js +449 -0
- package/dist/store-Bnm6zwaq.js +2571 -0
- package/dist/store-CVkGKjWm.js +64 -0
- package/dist/store-D_gpBpAW.js +64 -0
- package/dist/store-mxh63FBa.js +53 -0
- package/dist/subagent-registry-DNAz7Heu.js +4856 -0
- package/dist/subagent-registry-Dhz6HC4Z.js +4854 -0
- package/dist/subsystem-DGSHVL8I.js +1081 -0
- package/dist/subsystem-m7RSGQoR.js +1196 -0
- package/dist/system-cli-ByVDF6p8.js +77 -0
- package/dist/system-cli-CERb89Bl.js +73 -0
- package/dist/systemd-CSUtfsJx.js +547 -0
- package/dist/systemd-hints-BCxkQemJ.js +278 -0
- package/dist/systemd-hints-ef7m-7ZH.js +278 -0
- package/dist/systemd-linger-CWLgT0Wr.js +75 -0
- package/dist/systemd-linger-DT0E7YET.js +75 -0
- package/dist/systemd-tS61V4ao.js +547 -0
- package/dist/table-j8Ayarot.js +279 -0
- package/dist/tables-DED01JNI.js +55 -0
- package/dist/tables-K3rOiGaJ.js +55 -0
- package/dist/tables-NcsXz3r_.js +55 -0
- package/dist/tailnet-D66Y5zC7.js +40 -0
- package/dist/tailscale-DjSRjPA-.js +230 -0
- package/dist/targets-BVsxzQh1.js +220 -0
- package/dist/targets-BjDGj6lB.js +2540 -0
- package/dist/targets-C99szk_e.js +114 -0
- package/dist/targets-CA4zx5G4.js +650 -0
- package/dist/targets-CG97MrXh.js +2541 -0
- package/dist/targets-DpmQjetK.js +53 -0
- package/dist/targets-Q-YGeAqu.js +650 -0
- package/dist/targets-rdWlC6Y-.js +53 -0
- package/dist/targets-tDrl_ioQ.js +46 -0
- package/dist/thinking-B171Rc3-.js +88 -0
- package/dist/thinking-l-rrvZwu.js +88 -0
- package/dist/tool-display-CLBf5cRa.js +785 -0
- package/dist/tool-images-DB4f57XK.js +263 -0
- package/dist/trash-B32LfX0l.js +125 -0
- package/dist/trash-SlUJxKO7.js +125 -0
- package/dist/tui-CHOtFK6k.js +3282 -0
- package/dist/tui-D4yiSpop.js +3282 -0
- package/dist/tui-cli-CzrjmAMZ.js +66 -0
- package/dist/tui-cli-Dpbs2QW_.js +62 -0
- package/dist/update-B5nYVxpc.js +349 -0
- package/dist/update-Bs3HhSnE.js +349 -0
- package/dist/update-cli-5Qdi6F6K.js +1149 -0
- package/dist/update-cli-ByrqWtVo.js +1147 -0
- package/dist/usage-B2KRMMRb.js +5417 -0
- package/dist/version-3QUZW8EP.js +52 -0
- package/dist/version-CVMnqdzu.js +52 -0
- package/dist/voice-credentials-Bjehm88K.js +46 -0
- package/dist/voice-credentials-CNDOVz00.js +46 -0
- package/dist/web-CwSncZX7.js +74 -0
- package/dist/web-DF_Y6Q3V.js +79 -0
- package/dist/web-Dtat68iY.js +3067 -0
- package/dist/webhooks-cli-BDPcBkZL.js +330 -0
- package/dist/webhooks-cli-sRfsNesg.js +334 -0
- package/dist/whatsapp-actions-BGZXdWiP.js +125 -0
- package/dist/whatsapp-actions-HdmZu8oU.js +130 -0
- package/dist/workspace-D5LAl41l.js +449 -0
- package/dist/workspace-DRYGbrDM.js +447 -0
- package/dist/zod-schema-C8gEV0uz.js +2739 -0
- package/dist/zod-schema-CCUbW_Si.js +2739 -0
- package/extensions/matrix/src/matrix/monitor/replies.ts +0 -24
- package/extensions/mattermost/src/mattermost/monitor-helpers.ts +0 -1
- package/extensions/voice-call/index.ts +18 -1
- package/package.json +3 -4
- package/dist/accounts-B1aJFYXr.js +0 -272
- package/dist/accounts-BTXSfPWi.js +0 -270
- package/dist/accounts-Bexa80SB.js +0 -32
- package/dist/accounts-BxGS70Do.js +0 -36
- package/dist/accounts-CNY1TGj1.js +0 -47
- package/dist/accounts-Cl_cFv9X.js +0 -47
- package/dist/accounts-Dn9h7HHT.js +0 -36
- package/dist/ack-reactions-B11TAC2D.js +0 -446
- package/dist/ack-reactions-CDUSdN8O.js +0 -446
- package/dist/acp-cli-CA1xMmVo.js +0 -1320
- package/dist/acp-cli-Dr83tqAg.js +0 -1326
- package/dist/active-listener-VzhWW8W6.js +0 -37
- package/dist/active-listener-z0qVEcom.js +0 -37
- package/dist/agent-CFKgqSEH.js +0 -732
- package/dist/agent-D2RVoS5g.js +0 -731
- package/dist/agent-helpers-CTx5KKJu.js +0 -606
- package/dist/agent-helpers-D_9mS2Ti.js +0 -606
- package/dist/agent-scope-9WY5O-KK.js +0 -121
- package/dist/agent-scope-C50VuLKh.js +0 -119
- package/dist/agents-BBXCuDMp.js +0 -788
- package/dist/agents.config-BPGQ3Qyn.js +0 -116
- package/dist/agents.config-p3V3b9u6.js +0 -116
- package/dist/ansi-D04X81yq.js +0 -14
- package/dist/audio-DPOuhNq7.js +0 -43
- package/dist/audio-VBcVDa08.js +0 -43
- package/dist/audio-preflight-BwmCYeuM.js +0 -64
- package/dist/audio-preflight-Dj6hBcFR.js +0 -69
- package/dist/audit-DhIKIeXD.js +0 -3138
- package/dist/audit-qgtCT3ik.js +0 -3138
- package/dist/auth-C6VDYgb7.js +0 -448
- package/dist/auth-Deh9i9Eg.js +0 -448
- package/dist/auth-profiles-BquJGKLC.js +0 -279
- package/dist/auth-profiles-CeDgZz_7.js +0 -281
- package/dist/banner-HCssFZcB.js +0 -294
- package/dist/binaries-X6FW-wD4.js +0 -13
- package/dist/bindings-B582pDIa.js +0 -69
- package/dist/bindings-CRU_udk8.js +0 -69
- package/dist/bonjour-discovery-BtPaR8vb.js +0 -378
- package/dist/bonjour-discovery-DuhiIZZx.js +0 -378
- package/dist/browser-cli-HH45lxP0.js +0 -1687
- package/dist/browser-cli-TB-GNoZq.js +0 -1692
- package/dist/call-BbwtB9Y-.js +0 -2828
- package/dist/call-ByOzoLDI.js +0 -2829
- package/dist/catalog-BY7OPtnz.js +0 -185
- package/dist/catalog-BqO6yem_.js +0 -185
- package/dist/channel-account-context-CjXyzMXE.js +0 -550
- package/dist/channel-account-context-CvIDAtHS.js +0 -550
- package/dist/channel-activity-BeRrcCd8.js +0 -94
- package/dist/channel-activity-DTKGf3j5.js +0 -94
- package/dist/channel-activity-hPfValKp.js +0 -292
- package/dist/channel-options-BLdLu0xk.js +0 -33
- package/dist/channel-options-BQ61blla.js +0 -32
- package/dist/channel-selection-CJXZTxae.js +0 -51
- package/dist/channel-selection-NNPbxnyZ.js +0 -51
- package/dist/channel-web-D1_mlyPg.js +0 -2136
- package/dist/channel-web-DmhVkWbP.js +0 -2134
- package/dist/channels-cli-C4O8pp1S.js +0 -1426
- package/dist/channels-cli-DAu1TXTH.js +0 -1421
- package/dist/channels-status-issues-BDAHISWe.js +0 -18
- package/dist/channels-status-issues-DwRDzwrV.js +0 -18
- package/dist/chat-envelope-DEZ-5RY8.js +0 -248
- package/dist/chat-envelope-el7Uo-Fe.js +0 -248
- package/dist/chrome-CNDtczoM.js +0 -1733
- package/dist/chrome-CdcwZN9t.js +0 -1732
- package/dist/chunk-CSQfUhgF.js +0 -341
- package/dist/chunk-DAjFKt2g.js +0 -341
- package/dist/clack-prompter-CCFnKP_1.js +0 -121
- package/dist/clack-prompter-CabwzmG4.js +0 -122
- package/dist/cli-BuMX-jRY.js +0 -130
- package/dist/cli-Ci4DmAyk.js +0 -125
- package/dist/clipboard-B2j4qGIl.js +0 -31
- package/dist/command-format-CVfo8I5f.js +0 -18
- package/dist/command-format-DgXcqxBt.js +0 -32
- package/dist/command-registry-DxsFXB5t.js +0 -215
- package/dist/commands-C2uNKRTf.js +0 -41
- package/dist/commands-CDonBOrw.js +0 -41
- package/dist/commands-registry-BvESmXoK.js +0 -893
- package/dist/commands-registry-CWJv6xe2.js +0 -892
- package/dist/common-Cp3rsBqx.js +0 -156
- package/dist/completion-cli-B-X5nwdT.js +0 -452
- package/dist/completion-cli-DD3pVpPn.js +0 -452
- package/dist/config-BqY7k-L8.js +0 -6953
- package/dist/config-FHu9Bn4R.js +0 -6951
- package/dist/config-cli-CPH_PfVk.js +0 -241
- package/dist/config-cli-Czvt02PC.js +0 -246
- package/dist/config-guard-5oI2BiSY.js +0 -97
- package/dist/config-guard-cB5a_ANg.js +0 -75
- package/dist/config-validation-BPNyd9_3.js +0 -18
- package/dist/config-validation-J3cJ0OCa.js +0 -18
- package/dist/configure-Bi_9d94n.js +0 -889
- package/dist/configure-DiQaHI3s.js +0 -891
- package/dist/constants-BmRFoHl0.js +0 -67
- package/dist/constants-C9WPAluB.js +0 -67
- package/dist/control-auth-D0tpV3ts.js +0 -397
- package/dist/control-auth-q4zZXaoS.js +0 -397
- package/dist/control-ui/assets/index-B4ZM1lW1.js +0 -7738
- package/dist/control-ui/assets/index-B4ZM1lW1.js.map +0 -1
- package/dist/control-ui/assets/index-PED72sKF.css +0 -1
- package/dist/control-ui-assets-Cx_mw4D0.js +0 -186
- package/dist/control-ui-assets-D4yaD8jm.js +0 -186
- package/dist/conversation-label-C4SDz4sT.js +0 -36
- package/dist/conversation-label-D1frnvYe.js +0 -36
- package/dist/cron-cli-Bfh7ftYz.js +0 -495
- package/dist/cron-cli-C8j_uslU.js +0 -490
- package/dist/daemon-cli-DQFZB1yM.js +0 -1197
- package/dist/daemon-cli-lTsfNeDm.js +0 -1199
- package/dist/daemon-install-CcohRvKV.js +0 -55
- package/dist/daemon-install-DrTvAWhM.js +0 -60
- package/dist/daemon-install-helpers-CFGAfRlj.js +0 -462
- package/dist/daemon-install-helpers-DIUzSFG1.js +0 -462
- package/dist/defaults-B5KStIBg.js +0 -7
- package/dist/defaults-xUAL2Z-F.js +0 -7
- package/dist/deliver-912khjLK.js +0 -481
- package/dist/deliver-D78pwuPC.js +0 -481
- package/dist/delivery-queue-Cfa9Wmxp.js +0 -244
- package/dist/delivery-queue-CxVRi4tw.js +0 -244
- package/dist/devices-cli-0qDhTgZR.js +0 -316
- package/dist/devices-cli-CstkYXzr.js +0 -321
- package/dist/diagnostics-HGkN467d.js +0 -46
- package/dist/diagnostics-VC0cz7kX.js +0 -46
- package/dist/directory-cli-5YXdoVdn.js +0 -217
- package/dist/directory-cli-duhBZl2c.js +0 -222
- package/dist/dm-policy-shared-BBfEyAN1.js +0 -22
- package/dist/dm-policy-shared-D8lgnmrC.js +0 -22
- package/dist/dns-cli-11CtErVU.js +0 -197
- package/dist/dns-cli-Sr6SB9ei.js +0 -202
- package/dist/dock-BqNINg7k.js +0 -928
- package/dist/dock-O8ArYwed.js +0 -929
- package/dist/doctor-completion-B1UlvZFx.js +0 -92
- package/dist/doctor-completion-C0j7b_f8.js +0 -92
- package/dist/doctor-config-flow-BVkHcvoj.js +0 -1933
- package/dist/doctor-config-flow-BiShkCxs.js +0 -1934
- package/dist/enable-DMIq6evt.js +0 -59
- package/dist/enable-ibNq4UWy.js +0 -59
- package/dist/env-Br2Bl6Ht.js +0 -60
- package/dist/env-vars-7aZqKPhk.js +0 -93
- package/dist/env-vars-CLGbxdpL.js +0 -93
- package/dist/errors-BpAidYqH.js +0 -35
- package/dist/exec-C6ACg_Mn.js +0 -164
- package/dist/fetch-Bmv93nu9.js +0 -67
- package/dist/fetch-C6XKGA11.js +0 -67
- package/dist/fetch-CEDsOiql.js +0 -67
- package/dist/file-lock-CIvloidc.js +0 -107
- package/dist/file-lock-CzBL_VIx.js +0 -107
- package/dist/fs-safe-DSwT85uK.js +0 -88
- package/dist/fs-safe-DkBhNAc3.js +0 -98
- package/dist/gateway-cli-D4cDhvZx.js +0 -23747
- package/dist/gateway-cli-DuMjB8Ff.js +0 -23742
- package/dist/gateway-rpc-B4jTtupy.js +0 -28
- package/dist/gateway-rpc-Dq44SkOv.js +0 -28
- package/dist/gmail-setup-utils-BPmUIqso.js +0 -423
- package/dist/gmail-setup-utils-Cnx8A5pW.js +0 -422
- package/dist/health-SOuaKNRa.js +0 -1420
- package/dist/health-wr-JDHlc.js +0 -1423
- package/dist/heartbeat-visibility-BxkZjE5m.js +0 -125
- package/dist/heartbeat-visibility-ossI_l4t.js +0 -125
- package/dist/helpers-R7bU5IBz.js +0 -10
- package/dist/helpers-kkeXif0Q.js +0 -10
- package/dist/hook-runner-global-DJ14gXFP.js +0 -527
- package/dist/hooks-cli-BUTtESiX.js +0 -1217
- package/dist/hooks-cli-eqPYjw4l.js +0 -1222
- package/dist/host-env-security-Bms2_EMV.js +0 -92
- package/dist/host-env-security-szwfmhC4.js +0 -92
- package/dist/image-ops-DRdKC0uO.js +0 -354
- package/dist/import-Be73VPF2.js +0 -170
- package/dist/import-DQ6NI4Fz.js +0 -168
- package/dist/inbound-context-CPkkQW0i.js +0 -68
- package/dist/inbound-context-DS_kpIYI.js +0 -68
- package/dist/inbound-path-policy-C_Qo8rqg.js +0 -250
- package/dist/inbound-path-policy-sdr5Ji0k.js +0 -250
- package/dist/inspect-B1Fq39RC.js +0 -559
- package/dist/inspect-Dt8hogS3.js +0 -559
- package/dist/installs-C8apg11p.js +0 -325
- package/dist/installs-pWdqG8HL.js +0 -325
- package/dist/ipv4-CDQpx1A7.js +0 -46
- package/dist/ir-Ch9FC9Z_.js +0 -940
- package/dist/json-files-DzpTak5i.js +0 -46
- package/dist/loader-Cuq-saEl.js +0 -22621
- package/dist/loader-u9FC6kYG.js +0 -22624
- package/dist/local-roots-BrH0Q63K.js +0 -313
- package/dist/local-roots-z2u_s7jG.js +0 -314
- package/dist/logger-pznB_IdT.js +0 -49
- package/dist/login-CYq-visu.js +0 -62
- package/dist/login-DOmWDMeP.js +0 -61
- package/dist/login-qr-CXU0wC5K.js +0 -322
- package/dist/login-qr-D85vVatX.js +0 -327
- package/dist/logs-cli-Cu2S08Y3.js +0 -238
- package/dist/logs-cli-D7ayUvz_.js +0 -233
- package/dist/markdown-tables-hhOWaw8L.js +0 -29
- package/dist/markdown-tables-jrnSPvZ6.js +0 -29
- package/dist/media-DN7yRfrH.js +0 -940
- package/dist/media-DOQIalam.js +0 -10492
- package/dist/message-action-names-Dk9kxwRd.js +0 -2521
- package/dist/message-action-names-EsOcuFpq.js +0 -2521
- package/dist/message-channel-BlYrtmIp.js +0 -91
- package/dist/message-channel-uWMAiywE.js +0 -91
- package/dist/mime-BS3jhcZE.js +0 -149
- package/dist/mime-Cxh_64P6.js +0 -149
- package/dist/net-D6D0wgcF.js +0 -225
- package/dist/node-cli-Q2-n3Fgv.js +0 -24
- package/dist/node-cli-Uf6lAntf.js +0 -24
- package/dist/nodes-cli-BDq-4dHm.js +0 -1348
- package/dist/nodes-cli-C2SoKfCv.js +0 -1343
- package/dist/nodes-screen-Bmp1l9wY.js +0 -250
- package/dist/nodes-screen-Cw7Hv7M2.js +0 -250
- package/dist/note-DR8A0G5H.js +0 -92
- package/dist/note-Dlv4NmlQ.js +0 -92
- package/dist/npm-registry-spec-COvUzy5J.js +0 -786
- package/dist/npm-registry-spec-Cobb5KYR.js +0 -786
- package/dist/npm-resolution-BmgD7x45.js +0 -86
- package/dist/npm-resolution-DNYcV-Br.js +0 -86
- package/dist/onboard-Dy0q82Mj.js +0 -405
- package/dist/onboard-channels-9QS_7iph.js +0 -2548
- package/dist/onboard-channels-EH2wvu6Y.js +0 -2547
- package/dist/onboard-config-BCTthQ7J.js +0 -24
- package/dist/onboard-config-y-2cgT0V.js +0 -24
- package/dist/onboard-helpers-ChPmr3lh.js +0 -363
- package/dist/onboard-helpers-Jy3345Jk.js +0 -362
- package/dist/onboard-remote-CM6Yl1oL.js +0 -127
- package/dist/onboard-remote-Id80PV28.js +0 -127
- package/dist/onboard-uvDMehqu.js +0 -407
- package/dist/onboarding-BVtzeopT.js +0 -534
- package/dist/onboarding-DlXBAIDc.js +0 -532
- package/dist/onboarding.finalize-Dve-3p-y.js +0 -398
- package/dist/onboarding.finalize-GIK3ktiW.js +0 -401
- package/dist/onboarding.gateway-config-BCV5T35-.js +0 -198
- package/dist/onboarding.gateway-config-DW-09FX5.js +0 -191
- package/dist/outbound-CFfJC1j5.js +0 -220
- package/dist/outbound-CjFRpudN.js +0 -221
- package/dist/outbound-attachment-BxMSma9v.js +0 -18
- package/dist/outbound-attachment-DIiKB_mP.js +0 -18
- package/dist/outbound-attachment-o0seS0CP.js +0 -18
- package/dist/pairing-cli-BeydfoF9.js +0 -122
- package/dist/pairing-cli-GgwzEWJX.js +0 -127
- package/dist/pairing-labels-B_53dY5L.js +0 -9
- package/dist/pairing-labels-BiSZLitI.js +0 -9
- package/dist/pairing-store-BgAv4uN8.js +0 -460
- package/dist/pairing-store-CTkD51uW.js +0 -459
- package/dist/path-env-ErEKbxOI.js +0 -89
- package/dist/path-env-qRJbjJzj.js +0 -89
- package/dist/path-safety-DkT9RmTG.js +0 -14
- package/dist/path-safety-juI2XbO1.js +0 -14
- package/dist/plugin-auto-enable-CloCFyTz.js +0 -302
- package/dist/plugin-auto-enable-DuPS9XiJ.js +0 -301
- package/dist/plugin-registry-D5QsH-IS.js +0 -33
- package/dist/plugin-registry-DnO3azwy.js +0 -33
- package/dist/plugin-sdk/agents/agent-helpers/thinking.d.ts +0 -5
- package/dist/plugin-sdk/agents/agent-paths.d.ts +0 -1
- package/dist/plugin-sdk/agents/auth-profiles/constants.d.ts +0 -16
- package/dist/plugin-sdk/agents/auth-profiles/display.d.ts +0 -7
- package/dist/plugin-sdk/agents/auth-profiles/doctor.d.ts +0 -8
- package/dist/plugin-sdk/agents/auth-profiles/oauth.d.ts +0 -14
- package/dist/plugin-sdk/agents/auth-profiles/paths.d.ts +0 -4
- package/dist/plugin-sdk/agents/auth-profiles/profiles.d.ts +0 -12
- package/dist/plugin-sdk/agents/auth-profiles/session-override.d.ts +0 -18
- package/dist/plugin-sdk/agents/auth-profiles/store.d.ts +0 -10
- package/dist/plugin-sdk/agents/auth-profiles/types.d.ts +0 -13
- package/dist/plugin-sdk/agents/auth-profiles.d.ts +0 -8
- package/dist/plugin-sdk/agents/defaults.d.ts +0 -3
- package/dist/plugin-sdk/agents/provider-auth.d.ts +0 -40
- package/dist/plugin-sdk/auto-reply/model-runtime.d.ts +0 -17
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.auth.d.ts +0 -19
- package/dist/plugin-sdk/config/model-input.d.ts +0 -9
- package/dist/plugin-sdk/config/zod-schema.agent-model.d.ts +0 -5
- package/dist/plugin-sdk/link-understanding/apply.d.ts +0 -10
- package/dist/plugin-sdk/link-understanding/defaults.d.ts +0 -2
- package/dist/plugin-sdk/link-understanding/detect.d.ts +0 -3
- package/dist/plugin-sdk/link-understanding/format.d.ts +0 -4
- package/dist/plugin-sdk/link-understanding/runner.d.ts +0 -11
- package/dist/plugin-sdk/media/input-files.d.ts +0 -95
- package/dist/plugin-sdk/media-understanding/apply.d.ts +0 -19
- package/dist/plugin-sdk/media-understanding/attachments.d.ts +0 -49
- package/dist/plugin-sdk/media-understanding/audio-preflight.d.ts +0 -16
- package/dist/plugin-sdk/media-understanding/concurrency.d.ts +0 -1
- package/dist/plugin-sdk/media-understanding/defaults.d.ts +0 -12
- package/dist/plugin-sdk/media-understanding/errors.d.ts +0 -6
- package/dist/plugin-sdk/media-understanding/format.d.ts +0 -7
- package/dist/plugin-sdk/media-understanding/fs.d.ts +0 -1
- package/dist/plugin-sdk/media-understanding/output-extract.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/anthropic/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/deepgram/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/google/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/google/video.d.ts +0 -3
- package/dist/plugin-sdk/media-understanding/providers/groq/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/index.d.ts +0 -4
- package/dist/plugin-sdk/media-understanding/providers/minimax/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/mistral/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/moonshot/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/moonshot/video.d.ts +0 -3
- package/dist/plugin-sdk/media-understanding/providers/openai/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/zai/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/resolve.d.ts +0 -44
- package/dist/plugin-sdk/media-understanding/runner.d.ts +0 -34
- package/dist/plugin-sdk/media-understanding/runner.entries.d.ts +0 -33
- package/dist/plugin-sdk/media-understanding/scope.d.ts +0 -9
- package/dist/plugin-sdk/media-understanding/types.d.ts +0 -74
- package/dist/plugin-sdk/media-understanding/video.d.ts +0 -2
- package/dist/plugin-sdk/sessions/model-overrides.d.ts +0 -14
- package/dist/plugin-sdk/telegram/reasoning-lane-coordinator.d.ts +0 -18
- package/dist/plugin-sdk/utils/mask-api-key.d.ts +0 -1
- package/dist/plugin-sdk/utils/run-with-concurrency.d.ts +0 -11
- package/dist/plugins-BXkDApVh.js +0 -455
- package/dist/plugins-BflZz0sp.js +0 -453
- package/dist/plugins-cli-Cf_RP_bn.js +0 -798
- package/dist/plugins-cli-DmbjYnO9.js +0 -793
- package/dist/ports-DIYJq-SY.js +0 -370
- package/dist/ports-DPL-Pzfh.js +0 -96
- package/dist/ports-NPqtlfp0.js +0 -316
- package/dist/ports-QMI4-F9m.js +0 -96
- package/dist/program-BaATq6CL.js +0 -244
- package/dist/program-context-C7b5MQbg.js +0 -474
- package/dist/progress--dapuyZA.js +0 -124
- package/dist/prompt-select-styled-BAsxl6hj.js +0 -1650
- package/dist/prompt-select-styled-aqjxCbwP.js +0 -1647
- package/dist/provider-dispatcher-B4QMe-I6.js +0 -659
- package/dist/provider-dispatcher-mAkRbPyH.js +0 -660
- package/dist/push-apns-CLmNS5AZ.js +0 -713
- package/dist/push-apns-DuG95AKC.js +0 -711
- package/dist/pw-ai-DuK87zsJ.js +0 -1906
- package/dist/pw-ai-ulOU3Ya1.js +0 -1910
- package/dist/qr-cli-9WQBnauO.js +0 -352
- package/dist/qr-cli-hSLixZCe.js +0 -347
- package/dist/redact-snapshot-BZYLIqe-.js +0 -2028
- package/dist/redact-snapshot-D2P_lRgf.js +0 -2028
- package/dist/register.agent-CquY2yLI.js +0 -286
- package/dist/register.agent-DZL_fw2K.js +0 -1043
- package/dist/register.configure-C2HjaKO0.js +0 -124
- package/dist/register.configure-D7Di47Lb.js +0 -130
- package/dist/register.import-Bs-UkOs-.js +0 -27
- package/dist/register.import-CaJ0DS1t.js +0 -30
- package/dist/register.maintenance-CslelbHK.js +0 -497
- package/dist/register.maintenance-Dd4fn6oX.js +0 -494
- package/dist/register.message-D2xmx0xB.js +0 -681
- package/dist/register.message-_Q8ehgQP.js +0 -686
- package/dist/register.onboard-BFSwh5g4.js +0 -262
- package/dist/register.onboard-CIupEYmX.js +0 -257
- package/dist/register.setup-7pk1r-54.js +0 -114
- package/dist/register.setup-Bm1Jtx0c.js +0 -109
- package/dist/register.status-health-sessions-C-Pbi-qq.js +0 -669
- package/dist/register.status-health-sessions-Cn4yWBWw.js +0 -423
- package/dist/register.subclis-DXmLofHX.js +0 -267
- package/dist/replies-BKrzM0QI.js +0 -136
- package/dist/replies-BkXDql3c.js +0 -136
- package/dist/reply-DSKC8kyS.js +0 -13897
- package/dist/reply-directives-CBeNSCHL.js +0 -182
- package/dist/reply-directives-CD2WycBM.js +0 -182
- package/dist/reply-n8KWtBQB.js +0 -13900
- package/dist/reply-payloads-CeL_cBnD.js +0 -527
- package/dist/reply-prefix-4zLS7A1Y.js +0 -38
- package/dist/reply-prefix-DBLCYiup.js +0 -38
- package/dist/resolve-route-BDGdM-l3.js +0 -249
- package/dist/resolve-route-CBVbY0xS.js +0 -249
- package/dist/response-prefix-template-CSxp9HN5.js +0 -136
- package/dist/response-prefix-template-up4REfuR.js +0 -136
- package/dist/retry-C81p7BZU.js +0 -77
- package/dist/run-main-CuA7VmAq.js +0 -320
- package/dist/runner-BbLPl1dz.js +0 -2294
- package/dist/runner-z92MWZ3m.js +0 -2294
- package/dist/runtime-DJNp29jv.js +0 -94
- package/dist/runtime-guard-DZ_xuCc4.js +0 -60
- package/dist/secure-random-D2IOpBkk.js +0 -44
- package/dist/security-cli-BR3Y1FBJ.js +0 -484
- package/dist/security-cli-DP5QJpa5.js +0 -478
- package/dist/send-0uEtKwU_.js +0 -2245
- package/dist/send-B3O7bzYU.js +0 -1174
- package/dist/send-BWSo3i3H.js +0 -1778
- package/dist/send-BkSUAGj6.js +0 -349
- package/dist/send-Bx9bUGav.js +0 -492
- package/dist/send-CBGSXjfD.js +0 -2245
- package/dist/send-CRS-OcnW.js +0 -29
- package/dist/send-DPttDPIR.js +0 -374
- package/dist/send-D_DUQJ6H.js +0 -349
- package/dist/send-DyftOlFD.js +0 -332
- package/dist/send-Lij9A7lk.js +0 -547
- package/dist/send-YRVDWfSs.js +0 -547
- package/dist/send-dzS4fa9O.js +0 -492
- package/dist/send-uchxcHYC.js +0 -11
- package/dist/send-xUPOqzUr.js +0 -426
- package/dist/send-xnwty9cY.js +0 -1775
- package/dist/server-BE5lybcS.js +0 -205
- package/dist/server-LdLsvPPw.js +0 -200
- package/dist/server-lifecycle-B3Rdmq7-.js +0 -2437
- package/dist/server-lifecycle-CFmE_Adm.js +0 -2437
- package/dist/server-node-events-De4WZQQD.js +0 -393
- package/dist/server-node-events-d7eK4LBW.js +0 -398
- package/dist/service-BHos7oX8.js +0 -670
- package/dist/service-Bjqii5nW.js +0 -670
- package/dist/session-DBL5nHDy.js +0 -170
- package/dist/session-aUptxSVD.js +0 -170
- package/dist/session-cost-usage-DX09eTPU.js +0 -627
- package/dist/session-cost-usage-yYi525j3.js +0 -627
- package/dist/session-dirs-BADAi9Iz.js +0 -947
- package/dist/session-dirs-DdF6TDsE.js +0 -947
- package/dist/session-utils-CEtEq6bi.js +0 -625
- package/dist/session-utils-CiXbZkM2.js +0 -625
- package/dist/sessions--PykPynp.js +0 -2593
- package/dist/sessions-Bw4LRnSr.js +0 -252
- package/dist/ssrf-Ck9HDZpv.js +0 -183
- package/dist/ssrf-m7kFIobZ.js +0 -183
- package/dist/status-CrGLegI6.js +0 -2072
- package/dist/status-D_3sszaS.js +0 -2068
- package/dist/status.update-C55QM2xs.js +0 -79
- package/dist/status.update-CVnonGHu.js +0 -79
- package/dist/store-BPZo49zT.js +0 -64
- package/dist/store-C6w1sB5x.js +0 -53
- package/dist/store-DoOPG3rl.js +0 -2595
- package/dist/store-v3P-OWhi.js +0 -64
- package/dist/subagent-registry-C-xI2uK4.js +0 -4860
- package/dist/subagent-registry-Db4Ho_2Y.js +0 -4858
- package/dist/subsystem-CDhxwtDd.js +0 -1079
- package/dist/subsystem-CrJCqjAh.js +0 -1139
- package/dist/system-cli-CCKzF3uh.js +0 -75
- package/dist/system-cli-eAk5wVbP.js +0 -70
- package/dist/systemd-B5lyaCc3.js +0 -547
- package/dist/systemd-DSnlM3jX.js +0 -547
- package/dist/systemd-linger-DRPSEQVw.js +0 -75
- package/dist/systemd-linger-_0_-RY4v.js +0 -75
- package/dist/table-CpmqqcxJ.js +0 -279
- package/dist/tables-DI5LGEr1.js +0 -55
- package/dist/tables-D_PTzthR.js +0 -55
- package/dist/tables-DcQUNIvB.js +0 -55
- package/dist/tailnet-PnMrjwGT.js +0 -40
- package/dist/tailscale-Dxyz13fn.js +0 -230
- package/dist/targets-B2vBpQdr.js +0 -2173
- package/dist/targets-B54vK3wc.js +0 -220
- package/dist/targets-CcTME3bp.js +0 -46
- package/dist/targets-Cm1X3IyA.js +0 -650
- package/dist/targets-CmC5m7Ey.js +0 -53
- package/dist/targets-D7OKVXMI.js +0 -650
- package/dist/targets-DB4vBpIQ.js +0 -2172
- package/dist/targets-DyybKefq.js +0 -53
- package/dist/targets-JCISV-hS.js +0 -120
- package/dist/tool-display-B-nr7cSF.js +0 -785
- package/dist/tool-images-DVrUJEqc.js +0 -263
- package/dist/trash-DPi0aCCQ.js +0 -125
- package/dist/trash-DzrtBoP1.js +0 -125
- package/dist/tui-CyHwc2uX.js +0 -3392
- package/dist/tui-cHd20SZm.js +0 -3392
- package/dist/tui-cli-C7kQj9ef.js +0 -63
- package/dist/tui-cli-C9I18SfW.js +0 -58
- package/dist/update-DeQGoaIC.js +0 -349
- package/dist/update-IX7vdqA8.js +0 -349
- package/dist/update-cli-C52dmo3x.js +0 -1370
- package/dist/update-cli-DY_iE1E5.js +0 -1373
- package/dist/usage-B--dL37U.js +0 -5279
- package/dist/web-CMxp78WA.js +0 -76
- package/dist/web-DMweaNnG.js +0 -3065
- package/dist/web-Dquzwqf4.js +0 -70
- package/dist/webhooks-cli-BpZHQlVd.js +0 -328
- package/dist/webhooks-cli-CqFX8Ywl.js +0 -333
- package/dist/whatsapp-actions-C31Zdwez.js +0 -128
- package/dist/whatsapp-actions-DaA291Ya.js +0 -122
- package/dist/workspace-B4ZvVYT9.js +0 -447
- package/dist/workspace-B8qk__ff.js +0 -449
- /package/dist/{account-lookup-0KDSp5Mj.js → account-lookup-CIY_RKhi.js} +0 -0
- /package/dist/{account-lookup-zvANGr2x.js → account-lookup-DGscKBsr.js} +0 -0
- /package/dist/{api-BeQMq2iS.js → api-D8QQo5bc.js} +0 -0
- /package/dist/{api-CxX8-gGz.js → api-GywrnwRm.js} +0 -0
- /package/dist/{argv-Co-b9Zsc.js → argv-DW4MYBdJ.js} +0 -0
- /package/dist/{brew-DbSbN8sD.js → brew-CBsS-Vq1.js} +0 -0
- /package/dist/{brew-C4zKZsHX.js → brew-Clw9vXhE.js} +0 -0
- /package/dist/{chat-type-CYPyHAj-.js → chat-type-BKe459rw.js} +0 -0
- /package/dist/{chat-type-DKb2TlGZ.js → chat-type-CE6cJOyt.js} +0 -0
- /package/dist/{cleanup-utils-o2MM9xyf.js → cleanup-utils-365rf8YN.js} +0 -0
- /package/dist/{cleanup-utils-CwQvD73q.js → cleanup-utils-rqUXvR3Z.js} +0 -0
- /package/dist/{cli-name-BicfmwQX.js → cli-name-7Gb97Vyl.js} +0 -0
- /package/dist/{cli-name-C6rJGl18.js → cli-name-Yv30OygA.js} +0 -0
- /package/dist/{cli-utils-BhXbz2UF.js → cli-utils-5W6ugvN5.js} +0 -0
- /package/dist/{cli-utils-DZe_rVkZ.js → cli-utils-CZJacPS2.js} +0 -0
- /package/dist/{client-C61M8zI3.js → client-DQ-Nh-rV.js} +0 -0
- /package/dist/{client-DdpmATKq.js → client-Fi2k2G9Z.js} +0 -0
- /package/dist/{clipboard-Dzkx6Q2K.js → clipboard-Com-8GBg.js} +0 -0
- /package/dist/{command-options-C4paWSGf.js → command-options-CXHYeogR.js} +0 -0
- /package/dist/{command-options-CA30lfLK.js → command-options-Cx6evn0x.js} +0 -0
- /package/dist/{common-DSVmydhm.js → common-6D7nhDP-.js} +0 -0
- /package/dist/{config-eval-H_wlEYIG.js → config-eval-DU_v_3lY.js} +0 -0
- /package/dist/{config-eval-CjGZtLwx.js → config-eval-V26Gl6eZ.js} +0 -0
- /package/dist/{constants-ChptG3d7.js → constants-C7gkSGRE.js} +0 -0
- /package/dist/{constants-DY6b-_Wl.js → constants-DOnQraOP.js} +0 -0
- /package/dist/{credentials-DFsi1_e8.js → credentials-DG0tD6-e.js} +0 -0
- /package/dist/{daemon-runtime-CMnbwryP.js → daemon-runtime-B7Tmba31.js} +0 -0
- /package/dist/{daemon-runtime-CvqE4ysg.js → daemon-runtime-KyXiP2ib.js} +0 -0
- /package/dist/{dangerous-name-matching-BzmiLXmA.js → dangerous-name-matching-B4MRPcn-.js} +0 -0
- /package/dist/{dangerous-name-matching-DaVRgwer.js → dangerous-name-matching-BCaPvXy_.js} +0 -0
- /package/dist/{dangerous-tools-BOLoCRv4.js → dangerous-tools-CIPZZJoN.js} +0 -0
- /package/dist/{dangerous-tools-Baq7Q-i6.js → dangerous-tools-D-GNbdpV.js} +0 -0
- /package/dist/{errors-DZ199hOo.js → errors-BfONuT95.js} +0 -0
- /package/dist/{fetch-timeout-DTIN7CGM.js → fetch-timeout-CPe2rPLq.js} +0 -0
- /package/dist/{fetch-timeout-DoySHqfO.js → fetch-timeout-DkT3EnRA.js} +0 -0
- /package/dist/{file-identity-BxlKD8Ys.js → file-identity-C8MIb5lb.js} +0 -0
- /package/dist/{format-duration-CqUERz51.js → format-duration-Cd7SCued.js} +0 -0
- /package/dist/{format-duration-Ct-yiwkS.js → format-duration-Oj8pTbYL.js} +0 -0
- /package/dist/{format-relative-79_Y1n2Y.js → format-relative-8dpVUfzZ.js} +0 -0
- /package/dist/{format-relative-CxLpEQOX.js → format-relative-BMNeqaxW.js} +0 -0
- /package/dist/{health-format-B_QRD8Si.js → health-format-CwLlmYSK.js} +0 -0
- /package/dist/{health-format-Bygse7KA.js → health-format-CycFH5Sj.js} +0 -0
- /package/dist/{heartbeat-wake-LGEgcXjs.js → heartbeat-wake-D6Lt5YUk.js} +0 -0
- /package/dist/{heartbeat-wake-Y97geucO.js → heartbeat-wake-uZkAP-tP.js} +0 -0
- /package/dist/{help-format-sqWgYEdL.js → help-format-B0YIbosn.js} +0 -0
- /package/dist/{help-format-NNm_Ov4H.js → help-format-GeOPYD_A.js} +0 -0
- /package/dist/{helpers-BAsMXprO.js → helpers-6_MYSJEW.js} +0 -0
- /package/dist/{helpers-DLgbkcEn.js → helpers-703bXVlF.js} +0 -0
- /package/dist/{input-provenance-Bn6thJNm.js → input-provenance-C4nlFv5Y.js} +0 -0
- /package/dist/{input-provenance-xUsSMOsz.js → input-provenance-duDehu0D.js} +0 -0
- /package/dist/{ip-C9q3Oq20.js → ip-BFJnbRh9.js} +0 -0
- /package/dist/{ipv4--2WXMVtE.js → ipv4-DsOgHE0B.js} +0 -0
- /package/dist/{is-main-DN8-sNR5.js → is-main-BE1Jih91.js} +0 -0
- /package/dist/{json-file-ChO_R9yh.js → json-file-CsV03dh-.js} +0 -0
- /package/dist/{json-file-B7l5-Xhr.js → json-file-CtQKYRLl.js} +0 -0
- /package/dist/{json-files-CmpYSF4G.js → json-files-B2yMsppu.js} +0 -0
- /package/dist/{lanes-ByWMUgrz.js → lanes-BWL_LwXG.js} +0 -0
- /package/dist/{links-Bz4V7R_p.js → links-BFtUmGLH.js} +0 -0
- /package/dist/{links-Cm43Vcft.js → links-BNjLUJ9U.js} +0 -0
- /package/dist/{location-DBWCGNLq.js → location-BC45kOxc.js} +0 -0
- /package/dist/{location-GbZ0bBRU.js → location-BUhzov-a.js} +0 -0
- /package/dist/{logger-DyL5G2DO.js → logger-1QWMF9Hc.js} +0 -0
- /package/dist/{logger-GvipVDfh.js → logger-Liu31nEU.js} +0 -0
- /package/dist/{logging-D8R0sLY9.js → logging-CtbzyUjs.js} +0 -0
- /package/dist/{logging-D8-Kozjc.js → logging-JiRrQn2_.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-DiZDtmlZ.js → mutable-allowlist-detectors-4m-Kc8Kn.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-U5ThQr9V.js → mutable-allowlist-detectors-BECxOoKX.js} +0 -0
- /package/dist/{parse-log-line-enq8pduH.js → parse-log-line-BtFI563v.js} +0 -0
- /package/dist/{parse-log-line-mz9TG6ig.js → parse-log-line-COptqka7.js} +0 -0
- /package/dist/{parse-timeout-BMP8a0_a.js → parse-timeout-BpphuwYl.js} +0 -0
- /package/dist/{parse-timeout-CDkco8kd.js → parse-timeout-CxYHsZWc.js} +0 -0
- /package/dist/{path-guards-CIx4hURU.js → path-guards-DJteVA0d.js} +0 -0
- /package/dist/{path-guards-CrQOUlsq.js → path-guards-DVRUJZVN.js} +0 -0
- /package/dist/plugin-sdk/{agents → auth}/api-key-rotation.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/deepgram/audio.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/google/audio.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/google/inline-data.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/openai/audio.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/shared.d.ts +0 -0
- /package/dist/{plugins-allowlist-BbTQ5Z2k.js → plugins-allowlist-Clt6dsY6.js} +0 -0
- /package/dist/{plugins-allowlist-C20oaESO.js → plugins-allowlist-ptAp-oPY.js} +0 -0
- /package/dist/{polls-B0CCBDeR.js → polls-C5xr-8pM.js} +0 -0
- /package/dist/{polls-CwwHzYBM.js → polls-DXd67TD8.js} +0 -0
- /package/dist/{ports-lsof-Wteul3ju.js → ports-lsof-xWMTWvMQ.js} +0 -0
- /package/dist/{process-scoped-map-CV9kDvfG.js → process-scoped-map-C7KeadUK.js} +0 -0
- /package/dist/{process-scoped-map-PEvnG75N.js → process-scoped-map-CQ1C5MbT.js} +0 -0
- /package/dist/{program-context-jqeI5alP.js → program-context-LuBAPt4y.js} +0 -0
- /package/dist/{progress-C1kUfYL-.js → progress-C-hTn2yV.js} +0 -0
- /package/dist/{prompt-BVZVovoB.js → prompt-BXeXEH0o.js} +0 -0
- /package/dist/{prompt-Yn2yClg1.js → prompt-C31r0R5I.js} +0 -0
- /package/dist/{prompt-style-DjEYC_s-.js → prompt-style-B1740PBl.js} +0 -0
- /package/dist/{prompt-style-D0LUnqXi.js → prompt-style-BcM-VSMx.js} +0 -0
- /package/dist/{provider-utils-3JTMJroG.js → provider-utils-C9kBVF1f.js} +0 -0
- /package/dist/{provider-utils-FaBmofiq.js → provider-utils-DiLhkKQp.js} +0 -0
- /package/dist/{proxy-DL3MD6-P.js → proxy-BdjLhNln.js} +0 -0
- /package/dist/{proxy-DpNv2cSV.js → proxy-dRhp8Ykw.js} +0 -0
- /package/dist/{pw-ai-state-CGfLv6nV.js → pw-ai-state-CjfcKQoO.js} +0 -0
- /package/dist/{pw-ai-state-Dynx20hr.js → pw-ai-state-DfjyEttO.js} +0 -0
- /package/dist/{redact-BsoXOV1y.js → redact-D975G-N6.js} +0 -0
- /package/dist/{redact-identifier-BTIWtaa-.js → redact-identifier-Bqj_YiPd.js} +0 -0
- /package/dist/{redact-identifier-CAagcfWA.js → redact-identifier-HyK89Sod.js} +0 -0
- /package/dist/{remoteclaw-root-DybYl8PL.js → remoteclaw-root-B1iQBmbi.js} +0 -0
- /package/dist/{remoteclaw-root-C2HV2VeC.js → remoteclaw-root-BmYwCzQN.js} +0 -0
- /package/dist/{render-CCLsW6Lz.js → render-BvFSFJZW.js} +0 -0
- /package/dist/{render-uf6PvGMV.js → render-flG67HhW.js} +0 -0
- /package/dist/{retry-DnqPAqWp.js → retry-CByUYDAZ.js} +0 -0
- /package/dist/{retry-CxXVRdes.js → retry-oNE3cBeG.js} +0 -0
- /package/dist/{runtime-guard-U-ewY_QH.js → runtime-guard-CqNug-FG.js} +0 -0
- /package/dist/{secret-equal-BbHdTtqY.js → secret-equal-1-dwi8DL.js} +0 -0
- /package/dist/{secure-random-CS2mSdTn.js → secure-random-Ba4Y5xG5.js} +0 -0
- /package/dist/{secure-random-_dzDDlFo.js → secure-random-C6AVByhV.js} +0 -0
- /package/dist/{session-key-5YLnn_qf.js → session-key-BF-9YzxC.js} +0 -0
- /package/dist/{session-key-C2n-VILA.js → session-key-CgKWfjoZ.js} +0 -0
- /package/dist/{stagger-BXv_apuy.js → stagger-CjeisVRF.js} +0 -0
- /package/dist/{stagger-MI9gd2rQ.js → stagger-vkvpUmOz.js} +0 -0
- /package/dist/{status-BmtCS3T1.js → status-DNLnVQZ4.js} +0 -0
- /package/dist/{status-BrwHRn2B.js → status-DZhl73dM.js} +0 -0
- /package/dist/{strip-inbound-meta-DjKcSFaW.js → strip-inbound-meta-C3Cwe_ZO.js} +0 -0
- /package/dist/{strip-inbound-meta-jy3bkUab.js → strip-inbound-meta-DuDjnGjC.js} +0 -0
- /package/dist/{table-C1rdyYl9.js → table-B9zSN_7D.js} +0 -0
- /package/dist/{tailscale-Dbyahx0J.js → tailscale-DngZHD9L.js} +0 -0
- /package/dist/{target-errors-BDpPcwh5.js → target-errors-ChjvOMuV.js} +0 -0
- /package/dist/{target-errors-DdIAPcMM.js → target-errors-Dn4aykSV.js} +0 -0
- /package/dist/{targets-D-qLBpTA.js → targets-BtGRUQMa.js} +0 -0
- /package/dist/{targets-C-2xwh9f.js → targets-CE4AYRI9.js} +0 -0
- /package/dist/{targets-BMenhVHg.js → targets-D3r6Zgic.js} +0 -0
- /package/dist/{targets-UncQvCVs.js → targets-DlufWCmy.js} +0 -0
- /package/dist/{targets-D7PT_rdO.js → targets-akvAerZF.js} +0 -0
- /package/dist/{text-format-BQ3z_OXA.js → text-format-VSogn9Yq.js} +0 -0
- /package/dist/{text-format-oWqzVmah.js → text-format-xeHt9ywT.js} +0 -0
- /package/dist/{tokens-qLtFu3nT.js → tokens-kTLGxaAF.js} +0 -0
- /package/dist/{usage-BdhBT0Vz.js → usage-CRJFqYf8.js} +0 -0
- /package/dist/{usage-BtQcAnf6.js → usage-Txvb0Iq2.js} +0 -0
- /package/dist/{usage-format-C3mNLfhI.js → usage-format-70DvrseE.js} +0 -0
- /package/dist/{usage-format-DAaPzr_z.js → usage-format-Bs8DkQtr.js} +0 -0
- /package/dist/{widearea-dns-BXGCmXnD.js → widearea-dns-BOgHvO4O.js} +0 -0
- /package/dist/{widearea-dns-CsmBVbez.js → widearea-dns-CGhfClCr.js} +0 -0
- /package/dist/{workspace-DkGLVfOl.js → workspace-BisvA9oA.js} +0 -0
- /package/dist/{workspace-BzPeZDew.js → workspace-DhUqtMK_.js} +0 -0
- /package/dist/{wsl-BCnYV9O0.js → wsl-Cs-gowFJ.js} +0 -0
- /package/dist/{wsl-B_sPlzWw.js → wsl-D28w2jQC.js} +0 -0
|
@@ -1,459 +0,0 @@
|
|
|
1
|
-
import { Kt as resolveOAuthDir, dn as resolveRequiredHomeDir, it as safeParseJson, qt as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { t as withFileLock$1 } from "./file-lock-CzBL_VIx.js";
|
|
3
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BflZz0sp.js";
|
|
4
|
-
import os from "node:os";
|
|
5
|
-
import path from "node:path";
|
|
6
|
-
import fs from "node:fs";
|
|
7
|
-
import crypto from "node:crypto";
|
|
8
|
-
|
|
9
|
-
//#region src/channels/plugins/pairing.ts
|
|
10
|
-
function listPairingChannels() {
|
|
11
|
-
return listChannelPlugins().filter((plugin) => plugin.pairing).map((plugin) => plugin.id);
|
|
12
|
-
}
|
|
13
|
-
function getPairingAdapter(channelId) {
|
|
14
|
-
return getChannelPlugin(channelId)?.pairing ?? null;
|
|
15
|
-
}
|
|
16
|
-
function requirePairingAdapter(channelId) {
|
|
17
|
-
const adapter = getPairingAdapter(channelId);
|
|
18
|
-
if (!adapter) throw new Error(`Channel ${channelId} does not support pairing`);
|
|
19
|
-
return adapter;
|
|
20
|
-
}
|
|
21
|
-
async function notifyPairingApproved(params) {
|
|
22
|
-
const adapter = params.pairingAdapter ?? requirePairingAdapter(params.channelId);
|
|
23
|
-
if (!adapter.notifyApproval) return;
|
|
24
|
-
await adapter.notifyApproval({
|
|
25
|
-
cfg: params.cfg,
|
|
26
|
-
id: params.id,
|
|
27
|
-
runtime: params.runtime
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/plugin-sdk/json-store.ts
|
|
33
|
-
async function readJsonFileWithFallback(filePath, fallback) {
|
|
34
|
-
try {
|
|
35
|
-
const parsed = safeParseJson(await fs.promises.readFile(filePath, "utf-8"));
|
|
36
|
-
if (parsed == null) return {
|
|
37
|
-
value: fallback,
|
|
38
|
-
exists: true
|
|
39
|
-
};
|
|
40
|
-
return {
|
|
41
|
-
value: parsed,
|
|
42
|
-
exists: true
|
|
43
|
-
};
|
|
44
|
-
} catch (err) {
|
|
45
|
-
if (err.code === "ENOENT") return {
|
|
46
|
-
value: fallback,
|
|
47
|
-
exists: false
|
|
48
|
-
};
|
|
49
|
-
return {
|
|
50
|
-
value: fallback,
|
|
51
|
-
exists: false
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
async function writeJsonFileAtomically(filePath, value) {
|
|
56
|
-
const dir = path.dirname(filePath);
|
|
57
|
-
await fs.promises.mkdir(dir, {
|
|
58
|
-
recursive: true,
|
|
59
|
-
mode: 448
|
|
60
|
-
});
|
|
61
|
-
const tmp = path.join(dir, `${path.basename(filePath)}.${crypto.randomUUID()}.tmp`);
|
|
62
|
-
await fs.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
63
|
-
await fs.promises.chmod(tmp, 384);
|
|
64
|
-
await fs.promises.rename(tmp, filePath);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/pairing/pairing-store.ts
|
|
69
|
-
const PAIRING_CODE_LENGTH = 8;
|
|
70
|
-
const PAIRING_CODE_ALPHABET = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789";
|
|
71
|
-
const PAIRING_PENDING_TTL_MS = 3600 * 1e3;
|
|
72
|
-
const PAIRING_PENDING_MAX = 3;
|
|
73
|
-
const PAIRING_STORE_LOCK_OPTIONS = {
|
|
74
|
-
retries: {
|
|
75
|
-
retries: 10,
|
|
76
|
-
factor: 2,
|
|
77
|
-
minTimeout: 100,
|
|
78
|
-
maxTimeout: 1e4,
|
|
79
|
-
randomize: true
|
|
80
|
-
},
|
|
81
|
-
stale: 3e4
|
|
82
|
-
};
|
|
83
|
-
function resolveCredentialsDir(env = process.env) {
|
|
84
|
-
return resolveOAuthDir(env, resolveStateDir(env, () => resolveRequiredHomeDir(env, os.homedir)));
|
|
85
|
-
}
|
|
86
|
-
/** Sanitize channel ID for use in filenames (prevent path traversal). */
|
|
87
|
-
function safeChannelKey(channel) {
|
|
88
|
-
const raw = String(channel).trim().toLowerCase();
|
|
89
|
-
if (!raw) throw new Error("invalid pairing channel");
|
|
90
|
-
const safe = raw.replace(/[\\/:*?"<>|]/g, "_").replace(/\.\./g, "_");
|
|
91
|
-
if (!safe || safe === "_") throw new Error("invalid pairing channel");
|
|
92
|
-
return safe;
|
|
93
|
-
}
|
|
94
|
-
function resolvePairingPath(channel, env = process.env) {
|
|
95
|
-
return path.join(resolveCredentialsDir(env), `${safeChannelKey(channel)}-pairing.json`);
|
|
96
|
-
}
|
|
97
|
-
function safeAccountKey(accountId) {
|
|
98
|
-
const raw = String(accountId).trim().toLowerCase();
|
|
99
|
-
if (!raw) throw new Error("invalid pairing account id");
|
|
100
|
-
const safe = raw.replace(/[\\/:*?"<>|]/g, "_").replace(/\.\./g, "_");
|
|
101
|
-
if (!safe || safe === "_") throw new Error("invalid pairing account id");
|
|
102
|
-
return safe;
|
|
103
|
-
}
|
|
104
|
-
function resolveAllowFromPath(channel, env = process.env, accountId) {
|
|
105
|
-
const base = safeChannelKey(channel);
|
|
106
|
-
const normalizedAccountId = typeof accountId === "string" ? accountId.trim() : "";
|
|
107
|
-
if (!normalizedAccountId) return path.join(resolveCredentialsDir(env), `${base}-allowFrom.json`);
|
|
108
|
-
return path.join(resolveCredentialsDir(env), `${base}-${safeAccountKey(normalizedAccountId)}-allowFrom.json`);
|
|
109
|
-
}
|
|
110
|
-
async function readJsonFile(filePath, fallback) {
|
|
111
|
-
return await readJsonFileWithFallback(filePath, fallback);
|
|
112
|
-
}
|
|
113
|
-
async function writeJsonFile(filePath, value) {
|
|
114
|
-
await writeJsonFileAtomically(filePath, value);
|
|
115
|
-
}
|
|
116
|
-
async function readPairingRequests(filePath) {
|
|
117
|
-
const { value } = await readJsonFile(filePath, {
|
|
118
|
-
version: 1,
|
|
119
|
-
requests: []
|
|
120
|
-
});
|
|
121
|
-
return Array.isArray(value.requests) ? value.requests : [];
|
|
122
|
-
}
|
|
123
|
-
async function readPrunedPairingRequests(filePath) {
|
|
124
|
-
return pruneExpiredRequests(await readPairingRequests(filePath), Date.now());
|
|
125
|
-
}
|
|
126
|
-
async function ensureJsonFile(filePath, fallback) {
|
|
127
|
-
try {
|
|
128
|
-
await fs.promises.access(filePath);
|
|
129
|
-
} catch {
|
|
130
|
-
await writeJsonFile(filePath, fallback);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
async function withFileLock(filePath, fallback, fn) {
|
|
134
|
-
await ensureJsonFile(filePath, fallback);
|
|
135
|
-
return await withFileLock$1(filePath, PAIRING_STORE_LOCK_OPTIONS, async () => {
|
|
136
|
-
return await fn();
|
|
137
|
-
});
|
|
138
|
-
}
|
|
139
|
-
function parseTimestamp(value) {
|
|
140
|
-
if (!value) return null;
|
|
141
|
-
const parsed = Date.parse(value);
|
|
142
|
-
if (!Number.isFinite(parsed)) return null;
|
|
143
|
-
return parsed;
|
|
144
|
-
}
|
|
145
|
-
function isExpired(entry, nowMs) {
|
|
146
|
-
const createdAt = parseTimestamp(entry.createdAt);
|
|
147
|
-
if (!createdAt) return true;
|
|
148
|
-
return nowMs - createdAt > PAIRING_PENDING_TTL_MS;
|
|
149
|
-
}
|
|
150
|
-
function pruneExpiredRequests(reqs, nowMs) {
|
|
151
|
-
const kept = [];
|
|
152
|
-
let removed = false;
|
|
153
|
-
for (const req of reqs) {
|
|
154
|
-
if (isExpired(req, nowMs)) {
|
|
155
|
-
removed = true;
|
|
156
|
-
continue;
|
|
157
|
-
}
|
|
158
|
-
kept.push(req);
|
|
159
|
-
}
|
|
160
|
-
return {
|
|
161
|
-
requests: kept,
|
|
162
|
-
removed
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
function resolveLastSeenAt(entry) {
|
|
166
|
-
return parseTimestamp(entry.lastSeenAt) ?? parseTimestamp(entry.createdAt) ?? 0;
|
|
167
|
-
}
|
|
168
|
-
function pruneExcessRequests(reqs, maxPending) {
|
|
169
|
-
if (maxPending <= 0 || reqs.length <= maxPending) return {
|
|
170
|
-
requests: reqs,
|
|
171
|
-
removed: false
|
|
172
|
-
};
|
|
173
|
-
return {
|
|
174
|
-
requests: reqs.slice().toSorted((a, b) => resolveLastSeenAt(a) - resolveLastSeenAt(b)).slice(-maxPending),
|
|
175
|
-
removed: true
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
function randomCode() {
|
|
179
|
-
let out = "";
|
|
180
|
-
for (let i = 0; i < PAIRING_CODE_LENGTH; i++) {
|
|
181
|
-
const idx = crypto.randomInt(0, 32);
|
|
182
|
-
out += PAIRING_CODE_ALPHABET[idx];
|
|
183
|
-
}
|
|
184
|
-
return out;
|
|
185
|
-
}
|
|
186
|
-
function generateUniqueCode(existing) {
|
|
187
|
-
for (let attempt = 0; attempt < 500; attempt += 1) {
|
|
188
|
-
const code = randomCode();
|
|
189
|
-
if (!existing.has(code)) return code;
|
|
190
|
-
}
|
|
191
|
-
throw new Error("failed to generate unique pairing code");
|
|
192
|
-
}
|
|
193
|
-
function normalizePairingAccountId(accountId) {
|
|
194
|
-
return accountId?.trim().toLowerCase() || "";
|
|
195
|
-
}
|
|
196
|
-
function requestMatchesAccountId(entry, normalizedAccountId) {
|
|
197
|
-
if (!normalizedAccountId) return true;
|
|
198
|
-
return String(entry.meta?.accountId ?? "").trim().toLowerCase() === normalizedAccountId;
|
|
199
|
-
}
|
|
200
|
-
function normalizeId(value) {
|
|
201
|
-
return String(value).trim();
|
|
202
|
-
}
|
|
203
|
-
function normalizeAllowEntry(channel, entry) {
|
|
204
|
-
const trimmed = entry.trim();
|
|
205
|
-
if (!trimmed) return "";
|
|
206
|
-
if (trimmed === "*") return "";
|
|
207
|
-
const adapter = getPairingAdapter(channel);
|
|
208
|
-
const normalized = adapter?.normalizeAllowEntry ? adapter.normalizeAllowEntry(trimmed) : trimmed;
|
|
209
|
-
return String(normalized).trim();
|
|
210
|
-
}
|
|
211
|
-
function normalizeAllowFromList(channel, store) {
|
|
212
|
-
return (Array.isArray(store.allowFrom) ? store.allowFrom : []).map((v) => normalizeAllowEntry(channel, String(v))).filter(Boolean);
|
|
213
|
-
}
|
|
214
|
-
function normalizeAllowFromInput(channel, entry) {
|
|
215
|
-
return normalizeAllowEntry(channel, normalizeId(entry));
|
|
216
|
-
}
|
|
217
|
-
function dedupePreserveOrder(entries) {
|
|
218
|
-
const seen = /* @__PURE__ */ new Set();
|
|
219
|
-
const out = [];
|
|
220
|
-
for (const entry of entries) {
|
|
221
|
-
const normalized = String(entry).trim();
|
|
222
|
-
if (!normalized || seen.has(normalized)) continue;
|
|
223
|
-
seen.add(normalized);
|
|
224
|
-
out.push(normalized);
|
|
225
|
-
}
|
|
226
|
-
return out;
|
|
227
|
-
}
|
|
228
|
-
async function readAllowFromStateForPath(channel, filePath) {
|
|
229
|
-
const { value } = await readJsonFile(filePath, {
|
|
230
|
-
version: 1,
|
|
231
|
-
allowFrom: []
|
|
232
|
-
});
|
|
233
|
-
return normalizeAllowFromList(channel, value);
|
|
234
|
-
}
|
|
235
|
-
function readAllowFromStateForPathSync(channel, filePath) {
|
|
236
|
-
try {
|
|
237
|
-
const raw = fs.readFileSync(filePath, "utf8");
|
|
238
|
-
return normalizeAllowFromList(channel, JSON.parse(raw));
|
|
239
|
-
} catch {
|
|
240
|
-
return [];
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
async function readAllowFromState(params) {
|
|
244
|
-
const { value } = await readJsonFile(params.filePath, {
|
|
245
|
-
version: 1,
|
|
246
|
-
allowFrom: []
|
|
247
|
-
});
|
|
248
|
-
return {
|
|
249
|
-
current: normalizeAllowFromList(params.channel, value),
|
|
250
|
-
normalized: normalizeAllowFromInput(params.channel, params.entry) || null
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
async function writeAllowFromState(filePath, allowFrom) {
|
|
254
|
-
await writeJsonFile(filePath, {
|
|
255
|
-
version: 1,
|
|
256
|
-
allowFrom
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
async function updateAllowFromStoreEntry(params) {
|
|
260
|
-
const env = params.env ?? process.env;
|
|
261
|
-
const filePath = resolveAllowFromPath(params.channel, env, params.accountId);
|
|
262
|
-
return await withFileLock(filePath, {
|
|
263
|
-
version: 1,
|
|
264
|
-
allowFrom: []
|
|
265
|
-
}, async () => {
|
|
266
|
-
const { current, normalized } = await readAllowFromState({
|
|
267
|
-
channel: params.channel,
|
|
268
|
-
entry: params.entry,
|
|
269
|
-
filePath
|
|
270
|
-
});
|
|
271
|
-
if (!normalized) return {
|
|
272
|
-
changed: false,
|
|
273
|
-
allowFrom: current
|
|
274
|
-
};
|
|
275
|
-
const next = params.apply(current, normalized);
|
|
276
|
-
if (!next) return {
|
|
277
|
-
changed: false,
|
|
278
|
-
allowFrom: current
|
|
279
|
-
};
|
|
280
|
-
await writeAllowFromState(filePath, next);
|
|
281
|
-
return {
|
|
282
|
-
changed: true,
|
|
283
|
-
allowFrom: next
|
|
284
|
-
};
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
async function readChannelAllowFromStore(channel, env = process.env, accountId) {
|
|
288
|
-
if (!(accountId?.trim().toLowerCase() ?? "")) return await readAllowFromStateForPath(channel, resolveAllowFromPath(channel, env));
|
|
289
|
-
const scopedEntries = await readAllowFromStateForPath(channel, resolveAllowFromPath(channel, env, accountId));
|
|
290
|
-
const legacyEntries = await readAllowFromStateForPath(channel, resolveAllowFromPath(channel, env));
|
|
291
|
-
return dedupePreserveOrder([...scopedEntries, ...legacyEntries]);
|
|
292
|
-
}
|
|
293
|
-
function readChannelAllowFromStoreSync(channel, env = process.env, accountId) {
|
|
294
|
-
if (!(accountId?.trim().toLowerCase() ?? "")) return readAllowFromStateForPathSync(channel, resolveAllowFromPath(channel, env));
|
|
295
|
-
const scopedEntries = readAllowFromStateForPathSync(channel, resolveAllowFromPath(channel, env, accountId));
|
|
296
|
-
const legacyEntries = readAllowFromStateForPathSync(channel, resolveAllowFromPath(channel, env));
|
|
297
|
-
return dedupePreserveOrder([...scopedEntries, ...legacyEntries]);
|
|
298
|
-
}
|
|
299
|
-
async function updateChannelAllowFromStore(params) {
|
|
300
|
-
return await updateAllowFromStoreEntry({
|
|
301
|
-
channel: params.channel,
|
|
302
|
-
entry: params.entry,
|
|
303
|
-
accountId: params.accountId,
|
|
304
|
-
env: params.env,
|
|
305
|
-
apply: params.apply
|
|
306
|
-
});
|
|
307
|
-
}
|
|
308
|
-
async function mutateChannelAllowFromStoreEntry(params, apply) {
|
|
309
|
-
return await updateChannelAllowFromStore({
|
|
310
|
-
...params,
|
|
311
|
-
apply
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
async function addChannelAllowFromStoreEntry(params) {
|
|
315
|
-
return await mutateChannelAllowFromStoreEntry(params, (current, normalized) => {
|
|
316
|
-
if (current.includes(normalized)) return null;
|
|
317
|
-
return [...current, normalized];
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
|
-
async function removeChannelAllowFromStoreEntry(params) {
|
|
321
|
-
return await mutateChannelAllowFromStoreEntry(params, (current, normalized) => {
|
|
322
|
-
const next = current.filter((entry) => entry !== normalized);
|
|
323
|
-
if (next.length === current.length) return null;
|
|
324
|
-
return next;
|
|
325
|
-
});
|
|
326
|
-
}
|
|
327
|
-
async function listChannelPairingRequests(channel, env = process.env, accountId) {
|
|
328
|
-
const filePath = resolvePairingPath(channel, env);
|
|
329
|
-
return await withFileLock(filePath, {
|
|
330
|
-
version: 1,
|
|
331
|
-
requests: []
|
|
332
|
-
}, async () => {
|
|
333
|
-
const { requests: prunedExpired, removed: expiredRemoved } = await readPrunedPairingRequests(filePath);
|
|
334
|
-
const { requests: pruned, removed: cappedRemoved } = pruneExcessRequests(prunedExpired, PAIRING_PENDING_MAX);
|
|
335
|
-
if (expiredRemoved || cappedRemoved) await writeJsonFile(filePath, {
|
|
336
|
-
version: 1,
|
|
337
|
-
requests: pruned
|
|
338
|
-
});
|
|
339
|
-
const normalizedAccountId = normalizePairingAccountId(accountId);
|
|
340
|
-
return (normalizedAccountId ? pruned.filter((entry) => requestMatchesAccountId(entry, normalizedAccountId)) : pruned).filter((r) => r && typeof r.id === "string" && typeof r.code === "string" && typeof r.createdAt === "string").slice().toSorted((a, b) => a.createdAt.localeCompare(b.createdAt));
|
|
341
|
-
});
|
|
342
|
-
}
|
|
343
|
-
async function upsertChannelPairingRequest(params) {
|
|
344
|
-
const env = params.env ?? process.env;
|
|
345
|
-
const filePath = resolvePairingPath(params.channel, env);
|
|
346
|
-
return await withFileLock(filePath, {
|
|
347
|
-
version: 1,
|
|
348
|
-
requests: []
|
|
349
|
-
}, async () => {
|
|
350
|
-
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
351
|
-
const nowMs = Date.now();
|
|
352
|
-
const id = normalizeId(params.id);
|
|
353
|
-
const normalizedAccountId = params.accountId?.trim();
|
|
354
|
-
const baseMeta = params.meta && typeof params.meta === "object" ? Object.fromEntries(Object.entries(params.meta).map(([k, v]) => [k, String(v ?? "").trim()]).filter(([_, v]) => Boolean(v))) : void 0;
|
|
355
|
-
const meta = normalizedAccountId ? {
|
|
356
|
-
...baseMeta,
|
|
357
|
-
accountId: normalizedAccountId
|
|
358
|
-
} : baseMeta;
|
|
359
|
-
let reqs = await readPairingRequests(filePath);
|
|
360
|
-
const { requests: prunedExpired, removed: expiredRemoved } = pruneExpiredRequests(reqs, nowMs);
|
|
361
|
-
reqs = prunedExpired;
|
|
362
|
-
const existingIdx = reqs.findIndex((r) => r.id === id);
|
|
363
|
-
const existingCodes = new Set(reqs.map((req) => String(req.code ?? "").trim().toUpperCase()));
|
|
364
|
-
if (existingIdx >= 0) {
|
|
365
|
-
const existing = reqs[existingIdx];
|
|
366
|
-
const code = (existing && typeof existing.code === "string" ? existing.code.trim() : "") || generateUniqueCode(existingCodes);
|
|
367
|
-
const next = {
|
|
368
|
-
id,
|
|
369
|
-
code,
|
|
370
|
-
createdAt: existing?.createdAt ?? now,
|
|
371
|
-
lastSeenAt: now,
|
|
372
|
-
meta: meta ?? existing?.meta
|
|
373
|
-
};
|
|
374
|
-
reqs[existingIdx] = next;
|
|
375
|
-
const { requests: capped } = pruneExcessRequests(reqs, PAIRING_PENDING_MAX);
|
|
376
|
-
await writeJsonFile(filePath, {
|
|
377
|
-
version: 1,
|
|
378
|
-
requests: capped
|
|
379
|
-
});
|
|
380
|
-
return {
|
|
381
|
-
code,
|
|
382
|
-
created: false
|
|
383
|
-
};
|
|
384
|
-
}
|
|
385
|
-
const { requests: capped, removed: cappedRemoved } = pruneExcessRequests(reqs, PAIRING_PENDING_MAX);
|
|
386
|
-
reqs = capped;
|
|
387
|
-
if (PAIRING_PENDING_MAX > 0 && reqs.length >= PAIRING_PENDING_MAX) {
|
|
388
|
-
if (expiredRemoved || cappedRemoved) await writeJsonFile(filePath, {
|
|
389
|
-
version: 1,
|
|
390
|
-
requests: reqs
|
|
391
|
-
});
|
|
392
|
-
return {
|
|
393
|
-
code: "",
|
|
394
|
-
created: false
|
|
395
|
-
};
|
|
396
|
-
}
|
|
397
|
-
const code = generateUniqueCode(existingCodes);
|
|
398
|
-
const next = {
|
|
399
|
-
id,
|
|
400
|
-
code,
|
|
401
|
-
createdAt: now,
|
|
402
|
-
lastSeenAt: now,
|
|
403
|
-
...meta ? { meta } : {}
|
|
404
|
-
};
|
|
405
|
-
await writeJsonFile(filePath, {
|
|
406
|
-
version: 1,
|
|
407
|
-
requests: [...reqs, next]
|
|
408
|
-
});
|
|
409
|
-
return {
|
|
410
|
-
code,
|
|
411
|
-
created: true
|
|
412
|
-
};
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
async function approveChannelPairingCode(params) {
|
|
416
|
-
const env = params.env ?? process.env;
|
|
417
|
-
const code = params.code.trim().toUpperCase();
|
|
418
|
-
if (!code) return null;
|
|
419
|
-
const filePath = resolvePairingPath(params.channel, env);
|
|
420
|
-
return await withFileLock(filePath, {
|
|
421
|
-
version: 1,
|
|
422
|
-
requests: []
|
|
423
|
-
}, async () => {
|
|
424
|
-
const { requests: pruned, removed } = await readPrunedPairingRequests(filePath);
|
|
425
|
-
const normalizedAccountId = normalizePairingAccountId(params.accountId);
|
|
426
|
-
const idx = pruned.findIndex((r) => {
|
|
427
|
-
if (String(r.code ?? "").toUpperCase() !== code) return false;
|
|
428
|
-
return requestMatchesAccountId(r, normalizedAccountId);
|
|
429
|
-
});
|
|
430
|
-
if (idx < 0) {
|
|
431
|
-
if (removed) await writeJsonFile(filePath, {
|
|
432
|
-
version: 1,
|
|
433
|
-
requests: pruned
|
|
434
|
-
});
|
|
435
|
-
return null;
|
|
436
|
-
}
|
|
437
|
-
const entry = pruned[idx];
|
|
438
|
-
if (!entry) return null;
|
|
439
|
-
pruned.splice(idx, 1);
|
|
440
|
-
await writeJsonFile(filePath, {
|
|
441
|
-
version: 1,
|
|
442
|
-
requests: pruned
|
|
443
|
-
});
|
|
444
|
-
const entryAccountId = String(entry.meta?.accountId ?? "").trim() || void 0;
|
|
445
|
-
await addChannelAllowFromStoreEntry({
|
|
446
|
-
channel: params.channel,
|
|
447
|
-
entry: entry.id,
|
|
448
|
-
accountId: params.accountId?.trim() || entryAccountId,
|
|
449
|
-
env
|
|
450
|
-
});
|
|
451
|
-
return {
|
|
452
|
-
id: entry.id,
|
|
453
|
-
entry
|
|
454
|
-
};
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
//#endregion
|
|
459
|
-
export { readChannelAllowFromStoreSync as a, getPairingAdapter as c, readChannelAllowFromStore as i, listPairingChannels as l, approveChannelPairingCode as n, removeChannelAllowFromStoreEntry as o, listChannelPairingRequests as r, upsertChannelPairingRequest as s, addChannelAllowFromStoreEntry as t, notifyPairingApproved as u };
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { t as isTruthyEnvValue } from "./env-Br2Bl6Ht.js";
|
|
2
|
-
import { n as resolveBrewPathDirs } from "./brew-DbSbN8sD.js";
|
|
3
|
-
import fs from "node:fs";
|
|
4
|
-
import os from "node:os";
|
|
5
|
-
import path from "node:path";
|
|
6
|
-
|
|
7
|
-
//#region src/infra/path-env.ts
|
|
8
|
-
function isExecutable(filePath) {
|
|
9
|
-
try {
|
|
10
|
-
fs.accessSync(filePath, fs.constants.X_OK);
|
|
11
|
-
return true;
|
|
12
|
-
} catch {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
function isDirectory(dirPath) {
|
|
17
|
-
try {
|
|
18
|
-
return fs.statSync(dirPath).isDirectory();
|
|
19
|
-
} catch {
|
|
20
|
-
return false;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function mergePath(params) {
|
|
24
|
-
const partsExisting = params.existing.split(path.delimiter).map((part) => part.trim()).filter(Boolean);
|
|
25
|
-
const partsPrepend = (params.prepend ?? []).map((part) => part.trim()).filter(Boolean);
|
|
26
|
-
const partsAppend = (params.append ?? []).map((part) => part.trim()).filter(Boolean);
|
|
27
|
-
const seen = /* @__PURE__ */ new Set();
|
|
28
|
-
const merged = [];
|
|
29
|
-
for (const part of [
|
|
30
|
-
...partsPrepend,
|
|
31
|
-
...partsExisting,
|
|
32
|
-
...partsAppend
|
|
33
|
-
]) if (!seen.has(part)) {
|
|
34
|
-
seen.add(part);
|
|
35
|
-
merged.push(part);
|
|
36
|
-
}
|
|
37
|
-
return merged.join(path.delimiter);
|
|
38
|
-
}
|
|
39
|
-
function candidateBinDirs(opts) {
|
|
40
|
-
const execPath = opts.execPath ?? process.execPath;
|
|
41
|
-
const cwd = opts.cwd ?? process.cwd();
|
|
42
|
-
const homeDir = opts.homeDir ?? os.homedir();
|
|
43
|
-
const platform = opts.platform ?? process.platform;
|
|
44
|
-
const prepend = [];
|
|
45
|
-
const append = [];
|
|
46
|
-
try {
|
|
47
|
-
const execDir = path.dirname(execPath);
|
|
48
|
-
if (isExecutable(path.join(execDir, "remoteclaw"))) prepend.push(execDir);
|
|
49
|
-
} catch {}
|
|
50
|
-
if (opts.allowProjectLocalBin === true || isTruthyEnvValue(process.env.REMOTECLAW_ALLOW_PROJECT_LOCAL_BIN)) {
|
|
51
|
-
const localBinDir = path.join(cwd, "node_modules", ".bin");
|
|
52
|
-
if (isExecutable(path.join(localBinDir, "remoteclaw"))) append.push(localBinDir);
|
|
53
|
-
}
|
|
54
|
-
const miseDataDir = process.env.MISE_DATA_DIR ?? path.join(homeDir, ".local", "share", "mise");
|
|
55
|
-
const miseShims = path.join(miseDataDir, "shims");
|
|
56
|
-
if (isDirectory(miseShims)) prepend.push(miseShims);
|
|
57
|
-
prepend.push(...resolveBrewPathDirs({ homeDir }));
|
|
58
|
-
if (platform === "darwin") prepend.push(path.join(homeDir, "Library", "pnpm"));
|
|
59
|
-
if (process.env.XDG_BIN_HOME) prepend.push(process.env.XDG_BIN_HOME);
|
|
60
|
-
prepend.push(path.join(homeDir, ".local", "bin"));
|
|
61
|
-
prepend.push(path.join(homeDir, ".local", "share", "pnpm"));
|
|
62
|
-
prepend.push(path.join(homeDir, ".bun", "bin"));
|
|
63
|
-
prepend.push(path.join(homeDir, ".yarn", "bin"));
|
|
64
|
-
prepend.push("/opt/homebrew/bin", "/usr/local/bin", "/usr/bin", "/bin");
|
|
65
|
-
return {
|
|
66
|
-
prepend: prepend.filter(isDirectory),
|
|
67
|
-
append: append.filter(isDirectory)
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Best-effort PATH bootstrap so skills that require the `remoteclaw` CLI can run
|
|
72
|
-
* under launchd/minimal environments (and inside the macOS app bundle).
|
|
73
|
-
*/
|
|
74
|
-
function ensureRemoteClawCliOnPath(opts = {}) {
|
|
75
|
-
if (isTruthyEnvValue(process.env.REMOTECLAW_PATH_BOOTSTRAPPED)) return;
|
|
76
|
-
process.env.REMOTECLAW_PATH_BOOTSTRAPPED = "1";
|
|
77
|
-
const existing = opts.pathEnv ?? process.env.PATH ?? "";
|
|
78
|
-
const { prepend, append } = candidateBinDirs(opts);
|
|
79
|
-
if (prepend.length === 0 && append.length === 0) return;
|
|
80
|
-
const merged = mergePath({
|
|
81
|
-
existing,
|
|
82
|
-
prepend,
|
|
83
|
-
append
|
|
84
|
-
});
|
|
85
|
-
if (merged) process.env.PATH = merged;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
//#endregion
|
|
89
|
-
export { ensureRemoteClawCliOnPath as t };
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { n as isTruthyEnvValue } from "./entry.js";
|
|
2
|
-
import { n as resolveBrewPathDirs } from "./brew-C4zKZsHX.js";
|
|
3
|
-
import os from "node:os";
|
|
4
|
-
import path from "node:path";
|
|
5
|
-
import fs from "node:fs";
|
|
6
|
-
|
|
7
|
-
//#region src/infra/path-env.ts
|
|
8
|
-
function isExecutable(filePath) {
|
|
9
|
-
try {
|
|
10
|
-
fs.accessSync(filePath, fs.constants.X_OK);
|
|
11
|
-
return true;
|
|
12
|
-
} catch {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
function isDirectory(dirPath) {
|
|
17
|
-
try {
|
|
18
|
-
return fs.statSync(dirPath).isDirectory();
|
|
19
|
-
} catch {
|
|
20
|
-
return false;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
function mergePath(params) {
|
|
24
|
-
const partsExisting = params.existing.split(path.delimiter).map((part) => part.trim()).filter(Boolean);
|
|
25
|
-
const partsPrepend = (params.prepend ?? []).map((part) => part.trim()).filter(Boolean);
|
|
26
|
-
const partsAppend = (params.append ?? []).map((part) => part.trim()).filter(Boolean);
|
|
27
|
-
const seen = /* @__PURE__ */ new Set();
|
|
28
|
-
const merged = [];
|
|
29
|
-
for (const part of [
|
|
30
|
-
...partsPrepend,
|
|
31
|
-
...partsExisting,
|
|
32
|
-
...partsAppend
|
|
33
|
-
]) if (!seen.has(part)) {
|
|
34
|
-
seen.add(part);
|
|
35
|
-
merged.push(part);
|
|
36
|
-
}
|
|
37
|
-
return merged.join(path.delimiter);
|
|
38
|
-
}
|
|
39
|
-
function candidateBinDirs(opts) {
|
|
40
|
-
const execPath = opts.execPath ?? process.execPath;
|
|
41
|
-
const cwd = opts.cwd ?? process.cwd();
|
|
42
|
-
const homeDir = opts.homeDir ?? os.homedir();
|
|
43
|
-
const platform = opts.platform ?? process.platform;
|
|
44
|
-
const prepend = [];
|
|
45
|
-
const append = [];
|
|
46
|
-
try {
|
|
47
|
-
const execDir = path.dirname(execPath);
|
|
48
|
-
if (isExecutable(path.join(execDir, "remoteclaw"))) prepend.push(execDir);
|
|
49
|
-
} catch {}
|
|
50
|
-
if (opts.allowProjectLocalBin === true || isTruthyEnvValue(process.env.REMOTECLAW_ALLOW_PROJECT_LOCAL_BIN)) {
|
|
51
|
-
const localBinDir = path.join(cwd, "node_modules", ".bin");
|
|
52
|
-
if (isExecutable(path.join(localBinDir, "remoteclaw"))) append.push(localBinDir);
|
|
53
|
-
}
|
|
54
|
-
const miseDataDir = process.env.MISE_DATA_DIR ?? path.join(homeDir, ".local", "share", "mise");
|
|
55
|
-
const miseShims = path.join(miseDataDir, "shims");
|
|
56
|
-
if (isDirectory(miseShims)) prepend.push(miseShims);
|
|
57
|
-
prepend.push(...resolveBrewPathDirs({ homeDir }));
|
|
58
|
-
if (platform === "darwin") prepend.push(path.join(homeDir, "Library", "pnpm"));
|
|
59
|
-
if (process.env.XDG_BIN_HOME) prepend.push(process.env.XDG_BIN_HOME);
|
|
60
|
-
prepend.push(path.join(homeDir, ".local", "bin"));
|
|
61
|
-
prepend.push(path.join(homeDir, ".local", "share", "pnpm"));
|
|
62
|
-
prepend.push(path.join(homeDir, ".bun", "bin"));
|
|
63
|
-
prepend.push(path.join(homeDir, ".yarn", "bin"));
|
|
64
|
-
prepend.push("/opt/homebrew/bin", "/usr/local/bin", "/usr/bin", "/bin");
|
|
65
|
-
return {
|
|
66
|
-
prepend: prepend.filter(isDirectory),
|
|
67
|
-
append: append.filter(isDirectory)
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Best-effort PATH bootstrap so skills that require the `remoteclaw` CLI can run
|
|
72
|
-
* under launchd/minimal environments (and inside the macOS app bundle).
|
|
73
|
-
*/
|
|
74
|
-
function ensureRemoteClawCliOnPath(opts = {}) {
|
|
75
|
-
if (isTruthyEnvValue(process.env.REMOTECLAW_PATH_BOOTSTRAPPED)) return;
|
|
76
|
-
process.env.REMOTECLAW_PATH_BOOTSTRAPPED = "1";
|
|
77
|
-
const existing = opts.pathEnv ?? process.env.PATH ?? "";
|
|
78
|
-
const { prepend, append } = candidateBinDirs(opts);
|
|
79
|
-
if (prepend.length === 0 && append.length === 0) return;
|
|
80
|
-
const merged = mergePath({
|
|
81
|
-
existing,
|
|
82
|
-
prepend,
|
|
83
|
-
append
|
|
84
|
-
});
|
|
85
|
-
if (merged) process.env.PATH = merged;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
//#endregion
|
|
89
|
-
export { ensureRemoteClawCliOnPath as t };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { n as isPathInside } from "./path-guards-CIx4hURU.js";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
|
|
4
|
-
//#region src/infra/path-safety.ts
|
|
5
|
-
function resolveSafeBaseDir(rootDir) {
|
|
6
|
-
const resolved = path.resolve(rootDir);
|
|
7
|
-
return resolved.endsWith(path.sep) ? resolved : `${resolved}${path.sep}`;
|
|
8
|
-
}
|
|
9
|
-
function isWithinDir(rootDir, targetPath) {
|
|
10
|
-
return isPathInside(rootDir, targetPath);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { resolveSafeBaseDir as n, isWithinDir as t };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { n as isPathInside } from "./path-guards-CrQOUlsq.js";
|
|
2
|
-
import path from "node:path";
|
|
3
|
-
|
|
4
|
-
//#region src/infra/path-safety.ts
|
|
5
|
-
function resolveSafeBaseDir(rootDir) {
|
|
6
|
-
const resolved = path.resolve(rootDir);
|
|
7
|
-
return resolved.endsWith(path.sep) ? resolved : `${resolved}${path.sep}`;
|
|
8
|
-
}
|
|
9
|
-
function isWithinDir(rootDir, targetPath) {
|
|
10
|
-
return isPathInside(rootDir, targetPath);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { resolveSafeBaseDir as n, isWithinDir as t };
|