@workclaw/openclaw-workclaw 1.0.30 → 1.0.33
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/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/ipaddr.js +4 -0
- package/dist/_virtual/jiti.js +4 -0
- package/dist/_virtual/main.js +4 -0
- package/dist/api.js +4 -373
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +89 -1916
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js +163 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js +32 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js +188 -0
- package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/browser.js +25 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/account-id-C6v13Xic.js +4 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/auth-profiles-Db4Eg6ht.js +24 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bash-tools.exec-runtime--1hhz8C_.js +46 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bash-tools.schemas-BqpDemKo.js +32 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/boolean-DbfRNnYl.js +14 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/boundary-file-read-BymsBHso.js +172 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bundled-Cuj8sKt6.js +18 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bundled-dir-Cq5y_NKM.js +109 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bundled-plugin-metadata-BJMD48hn.js +260 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/channel-entry-contract-BoTfqLnn.js +176 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/cli-name-DPC4W7Fo.js +22 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/command-format-LqDv8ows.js +24 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/command-registration-Dxq1bCXM.js +16 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/commands-registry-normalize-Bk0WYUI0.js +94 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/commands-registry.data-D99VdOlX.js +940 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/config--3Msyf4f.js +20 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/config-schema-C6kUPI7B.js +33 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/config-schema-DB8FqQH8.js +82 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/conversation-binding-C3EIaK9Z.js +19 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/core-DpZtjMWz.js +51 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/dedupe-DM7iBj7C.js +60 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/discovery-Cgp95o2R.js +649 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/dispatch-2DAqwFVE.js +33 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/errors-Dyla6m1G.js +13 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-approvals-CLXc_BYU.js +212 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-defaults-DBnaZeLQ.js +13 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-jRxy02_4.js +9 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-safe-bin-trust-DOmID2EO.js +638 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-safety-C8v0dsfc.js +24 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/facade-loader-B83leEeb.js +10 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/facade-runtime-B04URCVZ.js +14 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/file-identity-sp9axE-E.js +411 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/file-lock-D016H3tC.js +5 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/gateway-control-ui-origins-B-lkqr3D.js +23 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/gateway-request-scope-BEWoJTx4.js +3 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/global-singleton-DhGoboiG.js +14 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/helpers-CI2CkXhU.js +7 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/home-dir-BEqRdfoa.js +67 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/host-env-security-B-Ebh6At.js +334 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/ids-By7Nkc8R.js +76 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/inbound-path-policy-CQkSSeSi.js +26 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/internal-hooks-D52pUqod.js +5 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/io-DDkf_FUu.js +14328 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/ip-CdfoCORt.js +2 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/json-files-DACY7Zw5.js +22 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/legacy-names-C7VUgVdg.js +5 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/links-BlUEqVE8.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/loader-DYJR63Q1.js +27 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/logger-BMuqDP66.js +26 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/manager-szyCqvou.js +22 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/manifest-CjPIwluH.js +409 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/manifest-registry-CK0zNybm.js +394 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/map-size-DhG4ditB.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/message-channel-DXsjCySM.js +32 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/mime-BjR-Aw-Q.js +42 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/min-host-version-CmguvhGB.js +49 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/model-auth-markers-YVQDqG1J.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/model-selection-cli-U7l5Ifek.js +14 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/models-config-B-YHRI3g.js +40 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/native-command-session-targets-BW3SPx-T.js +11 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/network-mode-D3yzFBsD.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/node-require-DvwmVoHm.js +14 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/node-sqlite-FGjwOqiS.js +3 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/openclaw-root-BNWw3cXT.js +69 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/order-6WHL2fZu.js +26 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/parse-duration-amE_QFsj.js +42 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/path-safety-CKqzLERR.js +308 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/paths-LCYGfrV7.js +95 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/process-scoped-map-Cv-PkzaO.js +11 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/profile-utils-Dh8DVvPv.js +17 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/prototype-keys-BKGE_uzN.js +11 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/provider-env-vars-DDfJbkrO.js +150 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/provider-id-B3nZBDJJ.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/provider-runtime-O-n0cjZo.js +22 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/public-surface-loader-CSDxBey4.js +14 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/redact-D4nea1HF.js +2 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/ref-contract-B1q5N0Lz.js +35 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/registry-DE4nHTjg.js +54 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/registry-loaded-B8D6rQiJ.js +62 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/registry-nEl7QZ30.js +3 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-Clo2XF6T.js +27 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-channel-state-Ck2VkX9T.js +20 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-guard-DqVOvWAZ.js +23 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-state-Cd3jnHgw.js +4 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/schema-validator-Bo7NeV8w.js +3 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/scp-host-CiFVRWHy.js +38 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/sdk-alias-Bo1huP7M.js +315 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/session-binding-service-D6sb-LrK.js +9 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/session-write-lock-Dk7FbMr_.js +6 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/setup-helpers-ChrkNnYE.js +5 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/setup-registry-BPL6c_Zk.js +16 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/setup-wizard-helpers-DnMkYslk.js +19 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/skills-Djbt9HGh.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/slots-PynIdqZ_.js +10 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/string-coerce-BUSzWgUA.js +25 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/string-normalization-DIJRAo0o.js +20 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/strip-inbound-meta-WCHWW8is.js +12 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/subsystem-BHv2zSx6.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/system-events-CfifhXT7.js +3 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/tailscale-status-Ch1LdrMM.js +5 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/task-registry-2LJDZL29.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/telegram-command-config-TdpOuZ__.js +66 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/terminal-link-B3nCYQJi.js +10 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/theme-CVJvORNs.js +27 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/thinking-_rqwdGD8.js +44 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/thinking.shared-Dginn1He.js +14 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/tmp-openclaw-dir-DrKSsX71.js +103 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/tool-policy-CwZyJfFc.js +300 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/types-BfKfz-lz.js +38 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/types.secrets-C9RpLzA0.js +53 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/utils-DGFSjtQF.js +36 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/version-b06Uhxnq.js +82 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/workspace-oVBetctb.js +20 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema-Cpw1qu03.js +1299 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.agent-runtime-D48J52r_.js +620 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.core-BrzjtZhM.js +597 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.providers-core-CX8AFeyJ.js +1354 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.providers-whatsapp-7E9bf9oA.js +130 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.sensitive-BFZ4qze6.js +5 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/models.generated.js +14275 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/models.js +16 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/anthropic.js +314 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/github-copilot.js +256 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/google-antigravity.js +315 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/google-gemini-cli.js +402 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/index.js +41 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/oauth-page.js +103 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/openai-codex.js +335 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/utils/oauth/pkce.js +20 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/system/policy.js +34 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/any/any.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/argument/argument.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/array/array.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.js +30 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/clone/type.js +7 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/clone/value.js +32 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/composite/composite.js +37 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/computed/computed.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/const/const.js +36 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.js +9 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/create/immutable.js +29 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/create/type.js +17 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/date/date.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/discard/discard.js +10 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/enum/enum.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/error/error.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.js +18 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.js +265 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.js +24 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.js +19 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/extends/extends.js +16 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.js +18 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/extract/extract.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/function/function.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/guard/kind.js +176 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/guard/type.js +272 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/guard/value.js +62 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.js +20 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.js +61 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.js +9 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.js +86 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/integer/integer.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.js +11 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.js +31 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.js +16 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.js +7 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.js +25 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.js +55 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.js +7 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.js +7 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.js +7 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.js +19 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.js +36 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.js +31 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/literal/literal.js +12 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.js +11 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.js +76 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/module/compute.js +122 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/module/module.js +28 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/never/never.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/not/not.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/null/null.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/number/number.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/object/object.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.js +19 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/omit/omit.js +48 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.js +18 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/optional/optional.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.js +9 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.js +19 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/partial/partial.js +53 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.js +16 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.js +23 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.js +19 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/pick/pick.js +48 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/promise/promise.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.js +18 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/record/record.js +71 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.js +15 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/ref/ref.js +12 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.js +10 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.js +18 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/required/required.js +52 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/rest/rest.js +10 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.js +9 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/sets/set.js +30 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/string/string.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.js +12 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.js +27 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.js +38 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.js +128 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.js +21 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.js +45 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.js +12 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.js +11 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/transform/transform.js +37 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/type/index.js +5 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/type/type.js +126 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/union/union-create.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.js +26 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/union/union.js +9 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/type/void/void.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@sinclair/typebox/build/esm/value/guard/guard.js +18 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/dotenv/lib/main.js +318 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/ipaddr.js/lib/ipaddr.js +805 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/jiti/dist/jiti.js +3869 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/jiti/lib/jiti.js +26 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/json5/dist/index.js +1085 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/doc/anchors.js +12 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/doc/applyReviver.js +45 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/doc/createNode.js +58 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/log.js +8 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Alias.js +111 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Collection.js +138 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Node.js +36 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Pair.js +35 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Scalar.js +25 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/YAMLMap.js +139 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +111 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +59 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/identity.js +52 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/toJS.js +25 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/parse/lexer.js +6 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +55 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +50 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +37 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +65 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +131 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringify.js +119 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +146 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyComment.js +12 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyPair.js +128 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyString.js +278 -0
- package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/visit.js +104 -0
- package/dist/packages/plugin/src/accounts.js +199 -0
- package/dist/packages/plugin/src/api/accounts-api.js +133 -0
- package/dist/packages/plugin/src/api/prompts-api.js +105 -0
- package/dist/packages/plugin/src/api/session-api.js +174 -0
- package/dist/packages/plugin/src/api/skills-api.js +60 -0
- package/dist/packages/plugin/src/api/workspace.js +30 -0
- package/dist/packages/plugin/src/channel.js +214 -0
- package/dist/packages/plugin/src/config-schema.js +51 -0
- package/dist/packages/plugin/src/connection/workclaw-client.js +282 -0
- package/dist/packages/plugin/src/gateway/agent-handlers.js +407 -0
- package/dist/packages/plugin/src/gateway/config-writer.js +149 -0
- package/dist/{cron-tasks-handler-C-mP3VmV.js → packages/plugin/src/gateway/cron-tasks-handler.js} +75 -6
- package/dist/packages/plugin/src/gateway/message-context.js +408 -0
- package/dist/packages/plugin/src/gateway/message-dispatcher.js +517 -0
- package/dist/packages/plugin/src/gateway/reconnect.js +177 -0
- package/dist/packages/plugin/src/gateway/skills-handler.js +511 -0
- package/dist/packages/plugin/src/gateway/skills-list-handler.js +172 -0
- package/dist/packages/plugin/src/gateway/tools-list-handler.js +88 -0
- package/dist/packages/plugin/src/gateway/workclaw-gateway.js +208 -0
- package/dist/packages/plugin/src/media/upload.js +126 -0
- package/dist/packages/plugin/src/outbound/index.js +88 -0
- package/dist/packages/plugin/src/outbound/workclaw-sender.js +79 -0
- package/dist/packages/plugin/src/setup-core.js +22 -0
- package/dist/packages/plugin/src/setup-surface.js +338 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/api/index.js +184 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/index.js +29 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/add/params.js +129 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/add/sync.js +139 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/disable/params.js +61 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/disable/sync.js +85 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/enable/params.js +61 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/enable/sync.js +85 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/notify/sync.js +102 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/remove/params.js +67 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/remove/sync.js +85 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/update/params.js +140 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/update/sync.js +113 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/utils/index.js +99 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/utils/tool-context.js +28 -0
- package/dist/setup-entry.js +1 -168
- package/dist/src/api/accounts-api.d.ts.map +1 -1
- package/dist/src/api/prompts-api.d.ts.map +1 -1
- package/dist/src/api/workspace.d.ts.map +1 -1
- package/dist/src/config-schema.d.ts +3 -85
- package/dist/src/config-schema.d.ts.map +1 -1
- package/dist/src/gateway/cron-tasks-handler.d.ts +2 -1
- package/dist/src/gateway/cron-tasks-handler.d.ts.map +1 -1
- package/dist/src/gateway/tools-list-handler.d.ts.map +1 -1
- package/dist/src/runtime.d.ts.map +1 -1
- package/dist/src/runtime.js +368 -0
- package/dist/src/secret-contract-api.js +7 -0
- package/dist/src/tools/openclaw-workclaw-cron/index.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts +0 -3
- package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts.map +1 -1
- package/dist/src/tools/openclaw-workclaw-cron/utils/tool-context.d.ts +9 -0
- package/dist/src/tools/openclaw-workclaw-cron/utils/tool-context.d.ts.map +1 -0
- package/openclaw.plugin.json +56 -44
- package/package.json +2 -2
- package/dist/channel-DSvR6Irx.js +0 -50017
- package/dist/jiti-4i2h0FGP.js +0 -4814
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
import { s as isValidFileSecretRefId, o as isValidExecSecretRefId, a as formatExecSecretRefIdValidationMessage } from "./ref-contract-B1q5N0Lz.js";
|
|
2
|
+
import { s as normalizeStringEntries } from "./string-normalization-DIJRAo0o.js";
|
|
3
|
+
import { t as isSafeExecutableValue } from "./exec-safety-C8v0dsfc.js";
|
|
4
|
+
import { t as sensitive } from "./zod-schema.sensitive-BFZ4qze6.js";
|
|
5
|
+
import path from "node:path";
|
|
6
|
+
import { z } from "zod";
|
|
7
|
+
const MODEL_APIS = [
|
|
8
|
+
"openai-completions",
|
|
9
|
+
"openai-responses",
|
|
10
|
+
"openai-codex-responses",
|
|
11
|
+
"anthropic-messages",
|
|
12
|
+
"google-generative-ai",
|
|
13
|
+
"github-copilot",
|
|
14
|
+
"bedrock-converse-stream",
|
|
15
|
+
"ollama",
|
|
16
|
+
"azure-openai-responses"
|
|
17
|
+
];
|
|
18
|
+
const AllowDenyActionSchema = z.union([z.literal("allow"), z.literal("deny")]);
|
|
19
|
+
const AllowDenyChatTypeSchema = z.union([
|
|
20
|
+
z.literal("direct"),
|
|
21
|
+
z.literal("group"),
|
|
22
|
+
z.literal("channel"),
|
|
23
|
+
z.literal("dm")
|
|
24
|
+
]).optional();
|
|
25
|
+
function createAllowDenyChannelRulesSchema() {
|
|
26
|
+
return z.object({
|
|
27
|
+
default: AllowDenyActionSchema.optional(),
|
|
28
|
+
rules: z.array(z.object({
|
|
29
|
+
action: AllowDenyActionSchema,
|
|
30
|
+
match: z.object({
|
|
31
|
+
channel: z.string().optional(),
|
|
32
|
+
chatType: AllowDenyChatTypeSchema,
|
|
33
|
+
keyPrefix: z.string().optional(),
|
|
34
|
+
rawKeyPrefix: z.string().optional()
|
|
35
|
+
}).strict().optional()
|
|
36
|
+
}).strict()).optional()
|
|
37
|
+
}).strict().optional();
|
|
38
|
+
}
|
|
39
|
+
const ENV_SECRET_REF_ID_PATTERN = /^[A-Z][A-Z0-9_]{0,127}$/;
|
|
40
|
+
const SECRET_PROVIDER_ALIAS_PATTERN = /^[a-z][a-z0-9_-]{0,63}$/;
|
|
41
|
+
const WINDOWS_ABS_PATH_PATTERN = /^[A-Za-z]:[\\/]/;
|
|
42
|
+
const WINDOWS_UNC_PATH_PATTERN = /^\\\\[^\\]+\\[^\\]+/;
|
|
43
|
+
function isAbsolutePath(value) {
|
|
44
|
+
return path.isAbsolute(value) || WINDOWS_ABS_PATH_PATTERN.test(value) || WINDOWS_UNC_PATH_PATTERN.test(value);
|
|
45
|
+
}
|
|
46
|
+
const EnvSecretRefSchema = z.object({
|
|
47
|
+
source: z.literal("env"),
|
|
48
|
+
provider: z.string().regex(SECRET_PROVIDER_ALIAS_PATTERN, 'Secret reference provider must match /^[a-z][a-z0-9_-]{0,63}$/ (example: "default").'),
|
|
49
|
+
id: z.string().regex(ENV_SECRET_REF_ID_PATTERN, 'Env secret reference id must match /^[A-Z][A-Z0-9_]{0,127}$/ (example: "OPENAI_API_KEY").')
|
|
50
|
+
}).strict();
|
|
51
|
+
const FileSecretRefSchema = z.object({
|
|
52
|
+
source: z.literal("file"),
|
|
53
|
+
provider: z.string().regex(SECRET_PROVIDER_ALIAS_PATTERN, 'Secret reference provider must match /^[a-z][a-z0-9_-]{0,63}$/ (example: "default").'),
|
|
54
|
+
id: z.string().refine(isValidFileSecretRefId, 'File secret reference id must be an absolute JSON pointer (example: "/providers/openai/apiKey"), or "value" for singleValue mode.')
|
|
55
|
+
}).strict();
|
|
56
|
+
const ExecSecretRefSchema = z.object({
|
|
57
|
+
source: z.literal("exec"),
|
|
58
|
+
provider: z.string().regex(SECRET_PROVIDER_ALIAS_PATTERN, 'Secret reference provider must match /^[a-z][a-z0-9_-]{0,63}$/ (example: "default").'),
|
|
59
|
+
id: z.string().refine(isValidExecSecretRefId, formatExecSecretRefIdValidationMessage())
|
|
60
|
+
}).strict();
|
|
61
|
+
const SecretRefSchema = z.discriminatedUnion("source", [
|
|
62
|
+
EnvSecretRefSchema,
|
|
63
|
+
FileSecretRefSchema,
|
|
64
|
+
ExecSecretRefSchema
|
|
65
|
+
]);
|
|
66
|
+
const SecretInputSchema = z.union([z.string(), SecretRefSchema]);
|
|
67
|
+
const SecretsEnvProviderSchema = z.object({
|
|
68
|
+
source: z.literal("env"),
|
|
69
|
+
allowlist: z.array(z.string().regex(ENV_SECRET_REF_ID_PATTERN)).max(256).optional()
|
|
70
|
+
}).strict();
|
|
71
|
+
const SecretsFileProviderSchema = z.object({
|
|
72
|
+
source: z.literal("file"),
|
|
73
|
+
path: z.string().min(1),
|
|
74
|
+
mode: z.union([z.literal("singleValue"), z.literal("json")]).optional(),
|
|
75
|
+
timeoutMs: z.number().int().positive().max(12e4).optional(),
|
|
76
|
+
maxBytes: z.number().int().positive().max(20 * 1024 * 1024).optional()
|
|
77
|
+
}).strict();
|
|
78
|
+
const SecretsExecProviderSchema = z.object({
|
|
79
|
+
source: z.literal("exec"),
|
|
80
|
+
command: z.string().min(1).refine((value) => isSafeExecutableValue(value), "secrets.providers.*.command is unsafe.").refine((value) => isAbsolutePath(value), "secrets.providers.*.command must be an absolute path."),
|
|
81
|
+
args: z.array(z.string().max(1024)).max(128).optional(),
|
|
82
|
+
timeoutMs: z.number().int().positive().max(12e4).optional(),
|
|
83
|
+
noOutputTimeoutMs: z.number().int().positive().max(12e4).optional(),
|
|
84
|
+
maxOutputBytes: z.number().int().positive().max(20 * 1024 * 1024).optional(),
|
|
85
|
+
jsonOnly: z.boolean().optional(),
|
|
86
|
+
env: z.record(z.string(), z.string()).optional(),
|
|
87
|
+
passEnv: z.array(z.string().regex(ENV_SECRET_REF_ID_PATTERN)).max(128).optional(),
|
|
88
|
+
trustedDirs: z.array(z.string().min(1).refine((value) => isAbsolutePath(value), "trustedDirs entries must be absolute paths.")).max(64).optional(),
|
|
89
|
+
allowInsecurePath: z.boolean().optional(),
|
|
90
|
+
allowSymlinkCommand: z.boolean().optional()
|
|
91
|
+
}).strict();
|
|
92
|
+
const SecretProviderSchema = z.discriminatedUnion("source", [
|
|
93
|
+
SecretsEnvProviderSchema,
|
|
94
|
+
SecretsFileProviderSchema,
|
|
95
|
+
SecretsExecProviderSchema
|
|
96
|
+
]);
|
|
97
|
+
const SecretsConfigSchema = z.object({
|
|
98
|
+
providers: z.object({}).catchall(SecretProviderSchema).optional(),
|
|
99
|
+
defaults: z.object({
|
|
100
|
+
env: z.string().regex(SECRET_PROVIDER_ALIAS_PATTERN).optional(),
|
|
101
|
+
file: z.string().regex(SECRET_PROVIDER_ALIAS_PATTERN).optional(),
|
|
102
|
+
exec: z.string().regex(SECRET_PROVIDER_ALIAS_PATTERN).optional()
|
|
103
|
+
}).strict().optional(),
|
|
104
|
+
resolution: z.object({
|
|
105
|
+
maxProviderConcurrency: z.number().int().positive().max(16).optional(),
|
|
106
|
+
maxRefsPerProvider: z.number().int().positive().max(4096).optional(),
|
|
107
|
+
maxBatchBytes: z.number().int().positive().max(5 * 1024 * 1024).optional()
|
|
108
|
+
}).strict().optional()
|
|
109
|
+
}).strict().optional();
|
|
110
|
+
const ModelApiSchema = z.enum(MODEL_APIS);
|
|
111
|
+
const ModelCompatSchema = z.object({
|
|
112
|
+
supportsStore: z.boolean().optional(),
|
|
113
|
+
supportsDeveloperRole: z.boolean().optional(),
|
|
114
|
+
supportsReasoningEffort: z.boolean().optional(),
|
|
115
|
+
supportsUsageInStreaming: z.boolean().optional(),
|
|
116
|
+
supportsTools: z.boolean().optional(),
|
|
117
|
+
supportsStrictMode: z.boolean().optional(),
|
|
118
|
+
requiresStringContent: z.boolean().optional(),
|
|
119
|
+
maxTokensField: z.union([z.literal("max_completion_tokens"), z.literal("max_tokens")]).optional(),
|
|
120
|
+
thinkingFormat: z.union([
|
|
121
|
+
z.literal("openai"),
|
|
122
|
+
z.literal("openrouter"),
|
|
123
|
+
z.literal("zai"),
|
|
124
|
+
z.literal("qwen"),
|
|
125
|
+
z.literal("qwen-chat-template")
|
|
126
|
+
]).optional(),
|
|
127
|
+
requiresToolResultName: z.boolean().optional(),
|
|
128
|
+
requiresAssistantAfterToolResult: z.boolean().optional(),
|
|
129
|
+
requiresThinkingAsText: z.boolean().optional(),
|
|
130
|
+
toolSchemaProfile: z.string().optional(),
|
|
131
|
+
unsupportedToolSchemaKeywords: z.array(z.string().min(1)).optional(),
|
|
132
|
+
nativeWebSearchTool: z.boolean().optional(),
|
|
133
|
+
toolCallArgumentsEncoding: z.string().optional(),
|
|
134
|
+
requiresMistralToolIds: z.boolean().optional(),
|
|
135
|
+
requiresOpenAiAnthropicToolPayload: z.boolean().optional()
|
|
136
|
+
}).strict().optional();
|
|
137
|
+
const ConfiguredProviderRequestTlsSchema = z.object({
|
|
138
|
+
ca: SecretInputSchema.optional().register(sensitive),
|
|
139
|
+
cert: SecretInputSchema.optional().register(sensitive),
|
|
140
|
+
key: SecretInputSchema.optional().register(sensitive),
|
|
141
|
+
passphrase: SecretInputSchema.optional().register(sensitive),
|
|
142
|
+
serverName: z.string().optional(),
|
|
143
|
+
insecureSkipVerify: z.boolean().optional()
|
|
144
|
+
}).strict().optional();
|
|
145
|
+
const ConfiguredProviderRequestAuthSchema = z.union([
|
|
146
|
+
z.object({ mode: z.literal("provider-default") }).strict(),
|
|
147
|
+
z.object({
|
|
148
|
+
mode: z.literal("authorization-bearer"),
|
|
149
|
+
token: SecretInputSchema.register(sensitive)
|
|
150
|
+
}).strict(),
|
|
151
|
+
z.object({
|
|
152
|
+
mode: z.literal("header"),
|
|
153
|
+
headerName: z.string().min(1),
|
|
154
|
+
value: SecretInputSchema.register(sensitive),
|
|
155
|
+
prefix: z.string().optional()
|
|
156
|
+
}).strict()
|
|
157
|
+
]).optional();
|
|
158
|
+
const ConfiguredProviderRequestProxySchema = z.union([z.object({
|
|
159
|
+
mode: z.literal("env-proxy"),
|
|
160
|
+
tls: ConfiguredProviderRequestTlsSchema
|
|
161
|
+
}).strict(), z.object({
|
|
162
|
+
mode: z.literal("explicit-proxy"),
|
|
163
|
+
url: z.string().min(1),
|
|
164
|
+
tls: ConfiguredProviderRequestTlsSchema
|
|
165
|
+
}).strict()]).optional();
|
|
166
|
+
const ConfiguredProviderRequestFields = {
|
|
167
|
+
headers: z.record(z.string(), SecretInputSchema.register(sensitive)).optional(),
|
|
168
|
+
auth: ConfiguredProviderRequestAuthSchema,
|
|
169
|
+
proxy: ConfiguredProviderRequestProxySchema,
|
|
170
|
+
tls: ConfiguredProviderRequestTlsSchema
|
|
171
|
+
};
|
|
172
|
+
const ConfiguredProviderRequestSchema = z.object(ConfiguredProviderRequestFields).strict().optional();
|
|
173
|
+
const ConfiguredModelProviderRequestSchema = z.object({
|
|
174
|
+
...ConfiguredProviderRequestFields,
|
|
175
|
+
allowPrivateNetwork: z.boolean().optional()
|
|
176
|
+
}).strict().optional();
|
|
177
|
+
const ModelDefinitionSchema = z.object({
|
|
178
|
+
id: z.string().min(1),
|
|
179
|
+
name: z.string().min(1),
|
|
180
|
+
api: ModelApiSchema.optional(),
|
|
181
|
+
reasoning: z.boolean().optional(),
|
|
182
|
+
input: z.array(z.union([z.literal("text"), z.literal("image")])).optional(),
|
|
183
|
+
cost: z.object({
|
|
184
|
+
input: z.number().optional(),
|
|
185
|
+
output: z.number().optional(),
|
|
186
|
+
cacheRead: z.number().optional(),
|
|
187
|
+
cacheWrite: z.number().optional()
|
|
188
|
+
}).strict().optional(),
|
|
189
|
+
contextWindow: z.number().positive().optional(),
|
|
190
|
+
contextTokens: z.number().int().positive().optional(),
|
|
191
|
+
maxTokens: z.number().positive().optional(),
|
|
192
|
+
headers: z.record(z.string(), z.string()).optional(),
|
|
193
|
+
compat: ModelCompatSchema
|
|
194
|
+
}).strict();
|
|
195
|
+
const ModelProviderSchema = z.object({
|
|
196
|
+
baseUrl: z.string().min(1),
|
|
197
|
+
apiKey: SecretInputSchema.optional().register(sensitive),
|
|
198
|
+
auth: z.union([
|
|
199
|
+
z.literal("api-key"),
|
|
200
|
+
z.literal("aws-sdk"),
|
|
201
|
+
z.literal("oauth"),
|
|
202
|
+
z.literal("token")
|
|
203
|
+
]).optional(),
|
|
204
|
+
api: ModelApiSchema.optional(),
|
|
205
|
+
injectNumCtxForOpenAICompat: z.boolean().optional(),
|
|
206
|
+
headers: z.record(z.string(), SecretInputSchema.register(sensitive)).optional(),
|
|
207
|
+
authHeader: z.boolean().optional(),
|
|
208
|
+
request: ConfiguredModelProviderRequestSchema,
|
|
209
|
+
models: z.array(ModelDefinitionSchema)
|
|
210
|
+
}).strict();
|
|
211
|
+
z.object({
|
|
212
|
+
enabled: z.boolean().optional(),
|
|
213
|
+
region: z.string().optional(),
|
|
214
|
+
providerFilter: z.array(z.string()).optional(),
|
|
215
|
+
refreshInterval: z.number().int().nonnegative().optional(),
|
|
216
|
+
defaultContextWindow: z.number().int().positive().optional(),
|
|
217
|
+
defaultMaxTokens: z.number().int().positive().optional()
|
|
218
|
+
}).strict().optional();
|
|
219
|
+
const ModelsConfigSchema = z.object({
|
|
220
|
+
mode: z.union([z.literal("merge"), z.literal("replace")]).optional(),
|
|
221
|
+
providers: z.record(z.string(), ModelProviderSchema).optional()
|
|
222
|
+
}).strict().optional();
|
|
223
|
+
const GroupChatSchema = z.object({
|
|
224
|
+
mentionPatterns: z.array(z.string()).optional(),
|
|
225
|
+
historyLimit: z.number().int().positive().optional()
|
|
226
|
+
}).strict().optional();
|
|
227
|
+
const DmConfigSchema = z.object({ historyLimit: z.number().int().min(0).optional() }).strict();
|
|
228
|
+
const IdentitySchema = z.object({
|
|
229
|
+
name: z.string().optional(),
|
|
230
|
+
theme: z.string().optional(),
|
|
231
|
+
emoji: z.string().optional(),
|
|
232
|
+
avatar: z.string().optional()
|
|
233
|
+
}).strict().optional();
|
|
234
|
+
const QueueModeSchema = z.union([
|
|
235
|
+
z.literal("steer"),
|
|
236
|
+
z.literal("followup"),
|
|
237
|
+
z.literal("collect"),
|
|
238
|
+
z.literal("steer-backlog"),
|
|
239
|
+
z.literal("steer+backlog"),
|
|
240
|
+
z.literal("queue"),
|
|
241
|
+
z.literal("interrupt")
|
|
242
|
+
]);
|
|
243
|
+
const QueueDropSchema = z.union([
|
|
244
|
+
z.literal("old"),
|
|
245
|
+
z.literal("new"),
|
|
246
|
+
z.literal("summarize")
|
|
247
|
+
]);
|
|
248
|
+
const ReplyToModeSchema = z.union([
|
|
249
|
+
z.literal("off"),
|
|
250
|
+
z.literal("first"),
|
|
251
|
+
z.literal("all"),
|
|
252
|
+
z.literal("batched")
|
|
253
|
+
]);
|
|
254
|
+
const TypingModeSchema = z.union([
|
|
255
|
+
z.literal("never"),
|
|
256
|
+
z.literal("instant"),
|
|
257
|
+
z.literal("thinking"),
|
|
258
|
+
z.literal("message")
|
|
259
|
+
]);
|
|
260
|
+
const GroupPolicySchema = z.enum([
|
|
261
|
+
"open",
|
|
262
|
+
"disabled",
|
|
263
|
+
"allowlist"
|
|
264
|
+
]);
|
|
265
|
+
const DmPolicySchema = z.enum([
|
|
266
|
+
"pairing",
|
|
267
|
+
"allowlist",
|
|
268
|
+
"open",
|
|
269
|
+
"disabled"
|
|
270
|
+
]);
|
|
271
|
+
const ContextVisibilityModeSchema = z.enum([
|
|
272
|
+
"all",
|
|
273
|
+
"allowlist",
|
|
274
|
+
"allowlist_quote"
|
|
275
|
+
]);
|
|
276
|
+
const BlockStreamingCoalesceSchema = z.object({
|
|
277
|
+
minChars: z.number().int().positive().optional(),
|
|
278
|
+
maxChars: z.number().int().positive().optional(),
|
|
279
|
+
idleMs: z.number().int().nonnegative().optional()
|
|
280
|
+
}).strict();
|
|
281
|
+
({
|
|
282
|
+
historyLimit: z.number().int().min(0).optional(),
|
|
283
|
+
dmHistoryLimit: z.number().int().min(0).optional(),
|
|
284
|
+
contextVisibility: ContextVisibilityModeSchema.optional(),
|
|
285
|
+
dms: z.record(z.string(), DmConfigSchema.optional()).optional(),
|
|
286
|
+
textChunkLimit: z.number().int().positive().optional(),
|
|
287
|
+
chunkMode: z.enum(["length", "newline"]).optional(),
|
|
288
|
+
blockStreaming: z.boolean().optional(),
|
|
289
|
+
blockStreamingCoalesce: BlockStreamingCoalesceSchema.optional(),
|
|
290
|
+
responsePrefix: z.string().optional(),
|
|
291
|
+
mediaMaxMb: z.number().positive().optional()
|
|
292
|
+
});
|
|
293
|
+
const BlockStreamingChunkSchema = z.object({
|
|
294
|
+
minChars: z.number().int().positive().optional(),
|
|
295
|
+
maxChars: z.number().int().positive().optional(),
|
|
296
|
+
breakPreference: z.union([
|
|
297
|
+
z.literal("paragraph"),
|
|
298
|
+
z.literal("newline"),
|
|
299
|
+
z.literal("sentence")
|
|
300
|
+
]).optional()
|
|
301
|
+
}).strict();
|
|
302
|
+
const MarkdownTableModeSchema = z.enum([
|
|
303
|
+
"off",
|
|
304
|
+
"bullets",
|
|
305
|
+
"code",
|
|
306
|
+
"block"
|
|
307
|
+
]);
|
|
308
|
+
const MarkdownConfigSchema = z.object({ tables: MarkdownTableModeSchema.optional() }).strict().optional();
|
|
309
|
+
const TtsProviderSchema = z.string().min(1);
|
|
310
|
+
const TtsModeSchema = z.enum(["final", "all"]);
|
|
311
|
+
const TtsAutoSchema = z.enum([
|
|
312
|
+
"off",
|
|
313
|
+
"always",
|
|
314
|
+
"inbound",
|
|
315
|
+
"tagged"
|
|
316
|
+
]);
|
|
317
|
+
const TtsProviderConfigSchema = z.object({ apiKey: SecretInputSchema.optional().register(sensitive) }).catchall(z.union([
|
|
318
|
+
z.string(),
|
|
319
|
+
z.number(),
|
|
320
|
+
z.boolean(),
|
|
321
|
+
z.null(),
|
|
322
|
+
z.array(z.unknown()),
|
|
323
|
+
z.record(z.string(), z.unknown())
|
|
324
|
+
]));
|
|
325
|
+
const TtsConfigSchema = z.object({
|
|
326
|
+
auto: TtsAutoSchema.optional(),
|
|
327
|
+
enabled: z.boolean().optional(),
|
|
328
|
+
mode: TtsModeSchema.optional(),
|
|
329
|
+
provider: TtsProviderSchema.optional(),
|
|
330
|
+
summaryModel: z.string().optional(),
|
|
331
|
+
modelOverrides: z.object({
|
|
332
|
+
enabled: z.boolean().optional(),
|
|
333
|
+
allowText: z.boolean().optional(),
|
|
334
|
+
allowProvider: z.boolean().optional(),
|
|
335
|
+
allowVoice: z.boolean().optional(),
|
|
336
|
+
allowModelId: z.boolean().optional(),
|
|
337
|
+
allowVoiceSettings: z.boolean().optional(),
|
|
338
|
+
allowNormalization: z.boolean().optional(),
|
|
339
|
+
allowSeed: z.boolean().optional()
|
|
340
|
+
}).strict().optional(),
|
|
341
|
+
providers: z.record(z.string(), TtsProviderConfigSchema).optional(),
|
|
342
|
+
prefsPath: z.string().optional(),
|
|
343
|
+
maxTextLength: z.number().int().min(1).optional(),
|
|
344
|
+
timeoutMs: z.number().int().min(1e3).max(12e4).optional()
|
|
345
|
+
}).strict().optional();
|
|
346
|
+
const HumanDelaySchema = z.object({
|
|
347
|
+
mode: z.union([
|
|
348
|
+
z.literal("off"),
|
|
349
|
+
z.literal("natural"),
|
|
350
|
+
z.literal("custom")
|
|
351
|
+
]).optional(),
|
|
352
|
+
minMs: z.number().int().nonnegative().optional(),
|
|
353
|
+
maxMs: z.number().int().nonnegative().optional()
|
|
354
|
+
}).strict();
|
|
355
|
+
const CliBackendWatchdogModeSchema = z.object({
|
|
356
|
+
noOutputTimeoutMs: z.number().int().min(1e3).optional(),
|
|
357
|
+
noOutputTimeoutRatio: z.number().min(0.05).max(0.95).optional(),
|
|
358
|
+
minMs: z.number().int().min(1e3).optional(),
|
|
359
|
+
maxMs: z.number().int().min(1e3).optional()
|
|
360
|
+
}).strict().optional();
|
|
361
|
+
const CliBackendSchema = z.object({
|
|
362
|
+
command: z.string(),
|
|
363
|
+
args: z.array(z.string()).optional(),
|
|
364
|
+
output: z.union([
|
|
365
|
+
z.literal("json"),
|
|
366
|
+
z.literal("text"),
|
|
367
|
+
z.literal("jsonl")
|
|
368
|
+
]).optional(),
|
|
369
|
+
resumeOutput: z.union([
|
|
370
|
+
z.literal("json"),
|
|
371
|
+
z.literal("text"),
|
|
372
|
+
z.literal("jsonl")
|
|
373
|
+
]).optional(),
|
|
374
|
+
jsonlDialect: z.literal("claude-stream-json").optional(),
|
|
375
|
+
input: z.union([z.literal("arg"), z.literal("stdin")]).optional(),
|
|
376
|
+
maxPromptArgChars: z.number().int().positive().optional(),
|
|
377
|
+
env: z.record(z.string(), z.string()).optional(),
|
|
378
|
+
clearEnv: z.array(z.string()).optional(),
|
|
379
|
+
modelArg: z.string().optional(),
|
|
380
|
+
modelAliases: z.record(z.string(), z.string()).optional(),
|
|
381
|
+
sessionArg: z.string().optional(),
|
|
382
|
+
sessionArgs: z.array(z.string()).optional(),
|
|
383
|
+
resumeArgs: z.array(z.string()).optional(),
|
|
384
|
+
sessionMode: z.union([
|
|
385
|
+
z.literal("always"),
|
|
386
|
+
z.literal("existing"),
|
|
387
|
+
z.literal("none")
|
|
388
|
+
]).optional(),
|
|
389
|
+
sessionIdFields: z.array(z.string()).optional(),
|
|
390
|
+
systemPromptArg: z.string().optional(),
|
|
391
|
+
systemPromptFileConfigArg: z.string().optional(),
|
|
392
|
+
systemPromptFileConfigKey: z.string().optional(),
|
|
393
|
+
systemPromptMode: z.union([z.literal("append"), z.literal("replace")]).optional(),
|
|
394
|
+
systemPromptWhen: z.union([
|
|
395
|
+
z.literal("first"),
|
|
396
|
+
z.literal("always"),
|
|
397
|
+
z.literal("never")
|
|
398
|
+
]).optional(),
|
|
399
|
+
imageArg: z.string().optional(),
|
|
400
|
+
imageMode: z.union([z.literal("repeat"), z.literal("list")]).optional(),
|
|
401
|
+
imagePathScope: z.union([z.literal("temp"), z.literal("workspace")]).optional(),
|
|
402
|
+
serialize: z.boolean().optional(),
|
|
403
|
+
reliability: z.object({ watchdog: z.object({
|
|
404
|
+
fresh: CliBackendWatchdogModeSchema,
|
|
405
|
+
resume: CliBackendWatchdogModeSchema
|
|
406
|
+
}).strict().optional() }).strict().optional()
|
|
407
|
+
}).strict();
|
|
408
|
+
const normalizeAllowFrom = (values) => normalizeStringEntries(values);
|
|
409
|
+
const requireOpenAllowFrom = (params) => {
|
|
410
|
+
if (params.policy !== "open") return;
|
|
411
|
+
if (normalizeAllowFrom(params.allowFrom).includes("*")) return;
|
|
412
|
+
params.ctx.addIssue({
|
|
413
|
+
code: z.ZodIssueCode.custom,
|
|
414
|
+
path: params.path,
|
|
415
|
+
message: params.message
|
|
416
|
+
});
|
|
417
|
+
};
|
|
418
|
+
const requireAllowlistAllowFrom = (params) => {
|
|
419
|
+
if (params.policy !== "allowlist") return;
|
|
420
|
+
if (normalizeAllowFrom(params.allowFrom).length > 0) return;
|
|
421
|
+
params.ctx.addIssue({
|
|
422
|
+
code: z.ZodIssueCode.custom,
|
|
423
|
+
path: params.path,
|
|
424
|
+
message: params.message
|
|
425
|
+
});
|
|
426
|
+
};
|
|
427
|
+
const MSTeamsReplyStyleSchema = z.enum(["thread", "top-level"]);
|
|
428
|
+
const RetryConfigSchema = z.object({
|
|
429
|
+
attempts: z.number().int().min(1).optional(),
|
|
430
|
+
minDelayMs: z.number().int().min(0).optional(),
|
|
431
|
+
maxDelayMs: z.number().int().min(0).optional(),
|
|
432
|
+
jitter: z.number().min(0).max(1).optional()
|
|
433
|
+
}).strict().optional();
|
|
434
|
+
const QueueModeBySurfaceSchema = z.object({
|
|
435
|
+
whatsapp: QueueModeSchema.optional(),
|
|
436
|
+
telegram: QueueModeSchema.optional(),
|
|
437
|
+
discord: QueueModeSchema.optional(),
|
|
438
|
+
irc: QueueModeSchema.optional(),
|
|
439
|
+
slack: QueueModeSchema.optional(),
|
|
440
|
+
mattermost: QueueModeSchema.optional(),
|
|
441
|
+
signal: QueueModeSchema.optional(),
|
|
442
|
+
imessage: QueueModeSchema.optional(),
|
|
443
|
+
msteams: QueueModeSchema.optional(),
|
|
444
|
+
webchat: QueueModeSchema.optional()
|
|
445
|
+
}).strict().optional();
|
|
446
|
+
const DebounceMsBySurfaceSchema = z.record(z.string(), z.number().int().nonnegative()).optional();
|
|
447
|
+
const QueueSchema = z.object({
|
|
448
|
+
mode: QueueModeSchema.optional(),
|
|
449
|
+
byChannel: QueueModeBySurfaceSchema,
|
|
450
|
+
debounceMs: z.number().int().nonnegative().optional(),
|
|
451
|
+
debounceMsByChannel: DebounceMsBySurfaceSchema,
|
|
452
|
+
cap: z.number().int().positive().optional(),
|
|
453
|
+
drop: QueueDropSchema.optional()
|
|
454
|
+
}).strict().optional();
|
|
455
|
+
const InboundDebounceSchema = z.object({
|
|
456
|
+
debounceMs: z.number().int().nonnegative().optional(),
|
|
457
|
+
byChannel: DebounceMsBySurfaceSchema
|
|
458
|
+
}).strict().optional();
|
|
459
|
+
const TranscribeAudioSchema = z.object({
|
|
460
|
+
command: z.array(z.string()).superRefine((value, ctx) => {
|
|
461
|
+
const executable = value[0];
|
|
462
|
+
if (!isSafeExecutableValue(executable)) ctx.addIssue({
|
|
463
|
+
code: z.ZodIssueCode.custom,
|
|
464
|
+
path: [0],
|
|
465
|
+
message: "expected safe executable name or path"
|
|
466
|
+
});
|
|
467
|
+
}),
|
|
468
|
+
timeoutSeconds: z.number().int().positive().optional()
|
|
469
|
+
}).strict().optional();
|
|
470
|
+
const HexColorSchema = z.string().regex(/^#?[0-9a-fA-F]{6}$/, "expected hex color (RRGGBB)");
|
|
471
|
+
const ExecutableTokenSchema = z.string().refine(isSafeExecutableValue, "expected safe executable name or path");
|
|
472
|
+
const MediaUnderstandingScopeSchema = createAllowDenyChannelRulesSchema();
|
|
473
|
+
const MediaUnderstandingCapabilitiesSchema = z.array(z.union([
|
|
474
|
+
z.literal("image"),
|
|
475
|
+
z.literal("audio"),
|
|
476
|
+
z.literal("video")
|
|
477
|
+
])).optional();
|
|
478
|
+
const MediaUnderstandingAttachmentsSchema = z.object({
|
|
479
|
+
mode: z.union([z.literal("first"), z.literal("all")]).optional(),
|
|
480
|
+
maxAttachments: z.number().int().positive().optional(),
|
|
481
|
+
prefer: z.union([
|
|
482
|
+
z.literal("first"),
|
|
483
|
+
z.literal("last"),
|
|
484
|
+
z.literal("path"),
|
|
485
|
+
z.literal("url")
|
|
486
|
+
]).optional()
|
|
487
|
+
}).strict().optional();
|
|
488
|
+
const DeepgramAudioSchema = z.object({
|
|
489
|
+
detectLanguage: z.boolean().optional(),
|
|
490
|
+
punctuate: z.boolean().optional(),
|
|
491
|
+
smartFormat: z.boolean().optional()
|
|
492
|
+
}).strict().optional();
|
|
493
|
+
const ProviderOptionValueSchema = z.union([
|
|
494
|
+
z.string(),
|
|
495
|
+
z.number(),
|
|
496
|
+
z.boolean()
|
|
497
|
+
]);
|
|
498
|
+
const ProviderOptionsSchema = z.record(z.string(), z.record(z.string(), ProviderOptionValueSchema)).optional();
|
|
499
|
+
const MediaUnderstandingRuntimeFields = {
|
|
500
|
+
prompt: z.string().optional(),
|
|
501
|
+
timeoutSeconds: z.number().int().positive().optional(),
|
|
502
|
+
language: z.string().optional(),
|
|
503
|
+
providerOptions: ProviderOptionsSchema,
|
|
504
|
+
deepgram: DeepgramAudioSchema,
|
|
505
|
+
baseUrl: z.string().optional(),
|
|
506
|
+
headers: z.record(z.string(), z.string()).optional(),
|
|
507
|
+
request: ConfiguredProviderRequestSchema
|
|
508
|
+
};
|
|
509
|
+
const MediaUnderstandingModelSchema = z.object({
|
|
510
|
+
provider: z.string().optional(),
|
|
511
|
+
model: z.string().optional(),
|
|
512
|
+
capabilities: MediaUnderstandingCapabilitiesSchema,
|
|
513
|
+
type: z.union([z.literal("provider"), z.literal("cli")]).optional(),
|
|
514
|
+
command: z.string().optional(),
|
|
515
|
+
args: z.array(z.string()).optional(),
|
|
516
|
+
maxChars: z.number().int().positive().optional(),
|
|
517
|
+
maxBytes: z.number().int().positive().optional(),
|
|
518
|
+
...MediaUnderstandingRuntimeFields,
|
|
519
|
+
profile: z.string().optional(),
|
|
520
|
+
preferredProfile: z.string().optional()
|
|
521
|
+
}).strict().optional();
|
|
522
|
+
const ToolsMediaUnderstandingSchema = z.object({
|
|
523
|
+
enabled: z.boolean().optional(),
|
|
524
|
+
scope: MediaUnderstandingScopeSchema,
|
|
525
|
+
maxBytes: z.number().int().positive().optional(),
|
|
526
|
+
maxChars: z.number().int().positive().optional(),
|
|
527
|
+
...MediaUnderstandingRuntimeFields,
|
|
528
|
+
attachments: MediaUnderstandingAttachmentsSchema,
|
|
529
|
+
models: z.array(MediaUnderstandingModelSchema).optional(),
|
|
530
|
+
echoTranscript: z.boolean().optional(),
|
|
531
|
+
echoFormat: z.string().optional()
|
|
532
|
+
}).strict().optional();
|
|
533
|
+
const ToolsMediaSchema = z.object({
|
|
534
|
+
models: z.array(MediaUnderstandingModelSchema).optional(),
|
|
535
|
+
concurrency: z.number().int().positive().optional(),
|
|
536
|
+
asyncCompletion: z.object({ directSend: z.boolean().optional() }).strict().optional(),
|
|
537
|
+
image: ToolsMediaUnderstandingSchema.optional(),
|
|
538
|
+
audio: ToolsMediaUnderstandingSchema.optional(),
|
|
539
|
+
video: ToolsMediaUnderstandingSchema.optional()
|
|
540
|
+
}).strict().optional();
|
|
541
|
+
const LinkModelSchema = z.object({
|
|
542
|
+
type: z.literal("cli").optional(),
|
|
543
|
+
command: z.string().min(1),
|
|
544
|
+
args: z.array(z.string()).optional(),
|
|
545
|
+
timeoutSeconds: z.number().int().positive().optional()
|
|
546
|
+
}).strict();
|
|
547
|
+
const ToolsLinksSchema = z.object({
|
|
548
|
+
enabled: z.boolean().optional(),
|
|
549
|
+
scope: MediaUnderstandingScopeSchema,
|
|
550
|
+
maxLinks: z.number().int().positive().optional(),
|
|
551
|
+
timeoutSeconds: z.number().int().positive().optional(),
|
|
552
|
+
models: z.array(LinkModelSchema).optional()
|
|
553
|
+
}).strict().optional();
|
|
554
|
+
const NativeCommandsSettingSchema = z.union([z.boolean(), z.literal("auto")]);
|
|
555
|
+
const ProviderCommandsSchema = z.object({
|
|
556
|
+
native: NativeCommandsSettingSchema.optional(),
|
|
557
|
+
nativeSkills: NativeCommandsSettingSchema.optional()
|
|
558
|
+
}).strict().optional();
|
|
559
|
+
export {
|
|
560
|
+
TtsAutoSchema as A,
|
|
561
|
+
SecretInputSchema as C,
|
|
562
|
+
ToolsLinksSchema as D,
|
|
563
|
+
SecretsConfigSchema as E,
|
|
564
|
+
requireAllowlistAllowFrom as F,
|
|
565
|
+
requireOpenAllowFrom as I,
|
|
566
|
+
createAllowDenyChannelRulesSchema as L,
|
|
567
|
+
TtsModeSchema as M,
|
|
568
|
+
TtsProviderSchema as N,
|
|
569
|
+
ToolsMediaSchema as O,
|
|
570
|
+
TypingModeSchema as P,
|
|
571
|
+
MODEL_APIS as R,
|
|
572
|
+
RetryConfigSchema as S,
|
|
573
|
+
SecretRefSchema as T,
|
|
574
|
+
NativeCommandsSettingSchema as _,
|
|
575
|
+
DmConfigSchema as a,
|
|
576
|
+
GroupChatSchema as c,
|
|
577
|
+
HumanDelaySchema as d,
|
|
578
|
+
IdentitySchema as f,
|
|
579
|
+
ModelsConfigSchema as g,
|
|
580
|
+
MarkdownConfigSchema as h,
|
|
581
|
+
ContextVisibilityModeSchema as i,
|
|
582
|
+
TtsConfigSchema as j,
|
|
583
|
+
TranscribeAudioSchema as k,
|
|
584
|
+
GroupPolicySchema as l,
|
|
585
|
+
MSTeamsReplyStyleSchema as m,
|
|
586
|
+
BlockStreamingCoalesceSchema as n,
|
|
587
|
+
DmPolicySchema as o,
|
|
588
|
+
InboundDebounceSchema as p,
|
|
589
|
+
CliBackendSchema as r,
|
|
590
|
+
ExecutableTokenSchema as s,
|
|
591
|
+
BlockStreamingChunkSchema as t,
|
|
592
|
+
HexColorSchema as u,
|
|
593
|
+
ProviderCommandsSchema as v,
|
|
594
|
+
SecretProviderSchema as w,
|
|
595
|
+
ReplyToModeSchema as x,
|
|
596
|
+
QueueSchema as y
|
|
597
|
+
};
|