@workclaw/openclaw-workclaw 1.0.202 → 1.0.332
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 +3 -4
- 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.d.ts +4 -3
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +10 -3
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +250 -243
- 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 +200 -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 +172 -0
- package/dist/packages/plugin/src/api/skills-api.js +61 -0
- package/dist/packages/plugin/src/api/workspace.js +30 -0
- package/dist/packages/plugin/src/channel.js +209 -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 +408 -0
- package/dist/packages/plugin/src/gateway/config-writer.js +157 -0
- package/dist/packages/plugin/src/gateway/cron-tasks-handler.js +184 -0
- package/dist/packages/plugin/src/gateway/message-context.js +411 -0
- package/dist/packages/plugin/src/gateway/message-dispatcher.js +519 -0
- package/dist/packages/plugin/src/gateway/reconnect.js +178 -0
- package/dist/packages/plugin/src/gateway/skills-handler.js +511 -0
- package/dist/packages/plugin/src/gateway/skills-list-handler.js +173 -0
- package/dist/packages/plugin/src/gateway/tools-list-handler.js +89 -0
- package/dist/packages/plugin/src/gateway/workclaw-gateway.js +245 -0
- package/dist/packages/plugin/src/logging.js +62 -0
- package/dist/packages/plugin/src/media/upload.js +126 -0
- package/dist/packages/plugin/src/outbound/index.js +89 -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 +186 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/index.js +30 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/add/params.js +147 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/add/sync.js +154 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/disable/params.js +62 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/disable/sync.js +86 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/enable/params.js +62 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/enable/sync.js +86 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/notify/sync.js +103 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/remove/params.js +68 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/remove/sync.js +86 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/update/params.js +141 -0
- package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/update/sync.js +114 -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 +29 -0
- package/dist/packages/plugin/src/types/system.js +8 -0
- package/dist/setup-entry.d.ts +2 -1
- package/dist/setup-entry.d.ts.map +1 -0
- package/dist/setup-entry.js +14 -11
- package/dist/src/accounts.d.ts +20 -19
- package/dist/src/accounts.d.ts.map +1 -0
- package/dist/src/api/accounts-api.d.ts +2 -1
- package/dist/src/api/accounts-api.d.ts.map +1 -0
- package/dist/src/api/prompts-api.d.ts +2 -1
- package/dist/src/api/prompts-api.d.ts.map +1 -0
- package/dist/src/api/session-api.d.ts +2 -1
- package/dist/src/api/session-api.d.ts.map +1 -0
- package/dist/src/api/skills-api.d.ts +2 -1
- package/dist/src/api/skills-api.d.ts.map +1 -0
- package/dist/src/api/workspace.d.ts +2 -1
- package/dist/src/api/workspace.d.ts.map +1 -0
- package/dist/src/channel.d.ts +3 -2
- package/dist/src/channel.d.ts.map +1 -0
- package/dist/src/config-schema.d.ts +1 -6
- package/dist/src/config-schema.d.ts.map +1 -0
- package/dist/src/connection/workclaw-client.d.ts +6 -4
- package/dist/src/connection/workclaw-client.d.ts.map +1 -0
- package/dist/src/gateway/agent-handlers.d.ts +4 -3
- package/dist/src/gateway/agent-handlers.d.ts.map +1 -0
- package/dist/src/gateway/config-writer.d.ts +32 -30
- package/dist/src/gateway/config-writer.d.ts.map +1 -0
- package/dist/src/gateway/cron-tasks-handler.d.ts +3 -1
- package/dist/src/gateway/cron-tasks-handler.d.ts.map +1 -0
- package/dist/src/gateway/message-context.d.ts +15 -17
- package/dist/src/gateway/message-context.d.ts.map +1 -0
- package/dist/src/gateway/message-dispatcher.d.ts +3 -4
- package/dist/src/gateway/message-dispatcher.d.ts.map +1 -0
- package/dist/src/gateway/reconnect.d.ts +6 -8
- package/dist/src/gateway/reconnect.d.ts.map +1 -0
- package/dist/src/gateway/skills-handler.d.ts +1 -0
- package/dist/src/gateway/skills-handler.d.ts.map +1 -0
- package/dist/src/gateway/skills-list-handler.d.ts +1 -0
- package/dist/src/gateway/skills-list-handler.d.ts.map +1 -0
- package/dist/src/gateway/tools-list-handler.d.ts +1 -0
- package/dist/src/gateway/tools-list-handler.d.ts.map +1 -0
- package/dist/src/gateway/workclaw-gateway.d.ts +2 -7
- package/dist/src/gateway/workclaw-gateway.d.ts.map +1 -0
- package/dist/src/logging.d.ts +55 -0
- package/dist/src/logging.d.ts.map +1 -0
- package/dist/src/media/upload.d.ts +1 -0
- package/dist/src/media/upload.d.ts.map +1 -0
- package/dist/src/outbound/index.d.ts +9 -6
- package/dist/src/outbound/index.d.ts.map +1 -0
- package/dist/src/outbound/workclaw-sender.d.ts +6 -4
- package/dist/src/outbound/workclaw-sender.d.ts.map +1 -0
- package/dist/src/runtime.d.ts +4 -17
- package/dist/src/runtime.d.ts.map +1 -0
- package/dist/src/runtime.js +324 -365
- package/dist/src/secret-contract-api.d.ts +1 -0
- package/dist/src/secret-contract-api.d.ts.map +1 -0
- package/dist/src/secret-contract-api.js +6 -3
- package/dist/src/send.d.ts +2 -1
- package/dist/src/send.d.ts.map +1 -0
- package/dist/src/setup-api.d.ts +4 -3
- package/dist/src/setup-api.d.ts.map +1 -0
- package/dist/src/setup-core.d.ts +2 -1
- package/dist/src/setup-core.d.ts.map +1 -0
- package/dist/src/setup-surface.d.ts +3 -2
- package/dist/src/setup-surface.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/api/index.d.ts +3 -4
- package/dist/src/tools/openclaw-workclaw-cron/api/index.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/index.d.ts +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/index.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts +3 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts +3 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts +2 -9
- package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts +2 -7
- package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/types/index.d.ts +2 -1
- package/dist/src/tools/openclaw-workclaw-cron/types/index.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/utils/index.d.ts +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/utils/index.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-cron/utils/tool-context.d.ts +10 -0
- package/dist/src/tools/openclaw-workclaw-cron/utils/tool-context.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-system/index.d.ts +1 -0
- package/dist/src/tools/openclaw-workclaw-system/index.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-system/src/get/index.d.ts +2 -4
- package/dist/src/tools/openclaw-workclaw-system/src/get/index.d.ts.map +1 -0
- package/dist/src/tools/openclaw-workclaw-system/src/token/index.d.ts +2 -4
- package/dist/src/tools/openclaw-workclaw-system/src/token/index.d.ts.map +1 -0
- package/dist/src/types/account.d.ts +15 -0
- package/dist/src/types/account.d.ts.map +1 -0
- package/dist/src/{types.d.ts → types/config.d.ts} +4 -16
- package/dist/src/types/config.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +4 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/system.d.ts +17 -0
- package/dist/src/types/system.d.ts.map +1 -0
- package/dist/src/utils/content.d.ts +6 -5
- package/dist/src/utils/content.d.ts.map +1 -0
- package/openclaw.plugin.json +45 -0
- package/package.json +71 -45
- package/skills/openclaw-workclaw-cron/SKILL.md +6 -3
- package/api.ts +0 -3
- package/dist/src/accounts.js +0 -279
- package/dist/src/api/accounts-api.js +0 -130
- package/dist/src/api/prompts-api.js +0 -103
- package/dist/src/api/session-api.js +0 -207
- package/dist/src/api/skills-api.js +0 -64
- package/dist/src/api/workspace.js +0 -30
- package/dist/src/channel.js +0 -199
- package/dist/src/config-schema.js +0 -56
- package/dist/src/connection/workclaw-client.js +0 -351
- package/dist/src/gateway/agent-handlers.js +0 -433
- package/dist/src/gateway/config-writer.js +0 -302
- package/dist/src/gateway/cron-tasks-handler.js +0 -188
- package/dist/src/gateway/message-context.js +0 -509
- package/dist/src/gateway/message-dispatcher.js +0 -572
- package/dist/src/gateway/reconnect.js +0 -210
- package/dist/src/gateway/skills-handler.js +0 -615
- package/dist/src/gateway/skills-list-handler.js +0 -233
- package/dist/src/gateway/tools-list-handler.js +0 -101
- package/dist/src/gateway/workclaw-gateway.js +0 -237
- package/dist/src/media/upload.js +0 -125
- package/dist/src/outbound/index.js +0 -123
- package/dist/src/outbound/workclaw-sender.js +0 -95
- package/dist/src/send.js +0 -1
- package/dist/src/setup-api.js +0 -3
- package/dist/src/setup-core.js +0 -13
- package/dist/src/setup-surface.js +0 -363
- package/dist/src/tools/openclaw-workclaw-cron/api/index.js +0 -209
- package/dist/src/tools/openclaw-workclaw-cron/index.js +0 -33
- package/dist/src/tools/openclaw-workclaw-cron/src/add/params.js +0 -152
- package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.js +0 -162
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.js +0 -80
- package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.js +0 -107
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.js +0 -80
- package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.js +0 -107
- package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.js +0 -127
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.js +0 -87
- package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.js +0 -107
- package/dist/src/tools/openclaw-workclaw-cron/src/update/params.js +0 -164
- package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.js +0 -135
- package/dist/src/tools/openclaw-workclaw-cron/types/index.js +0 -4
- package/dist/src/tools/openclaw-workclaw-cron/utils/index.js +0 -122
- package/dist/src/tools/openclaw-workclaw-system/index.js +0 -15
- package/dist/src/tools/openclaw-workclaw-system/src/get/index.js +0 -64
- package/dist/src/tools/openclaw-workclaw-system/src/token/index.js +0 -78
- package/dist/src/types.js +0 -1
- package/dist/src/utils/content.js +0 -38
- package/index.ts +0 -326
- package/setup-entry.ts +0 -13
- package/src/accounts.ts +0 -360
- package/src/api/accounts-api.ts +0 -156
- package/src/api/prompts-api.ts +0 -122
- package/src/api/session-api.ts +0 -246
- package/src/api/skills-api.ts +0 -74
- package/src/api/workspace.ts +0 -45
- package/src/channel.ts +0 -226
- package/src/config-schema.ts +0 -62
- package/src/connection/workclaw-client.ts +0 -618
- package/src/gateway/agent-handlers.ts +0 -551
- package/src/gateway/config-writer.ts +0 -378
- package/src/gateway/cron-tasks-handler.ts +0 -230
- package/src/gateway/message-context.ts +0 -645
- package/src/gateway/message-dispatcher.ts +0 -688
- package/src/gateway/reconnect.ts +0 -260
- package/src/gateway/skills-handler.ts +0 -805
- package/src/gateway/skills-list-handler.ts +0 -332
- package/src/gateway/tools-list-handler.ts +0 -161
- package/src/gateway/workclaw-gateway.ts +0 -305
- package/src/media/upload.ts +0 -168
- package/src/outbound/index.ts +0 -191
- package/src/outbound/workclaw-sender.ts +0 -161
- package/src/runtime.ts +0 -520
- package/src/secret-contract-api.ts +0 -4
- package/src/send.ts +0 -1
- package/src/setup-api.ts +0 -3
- package/src/setup-core.ts +0 -25
- package/src/setup-surface.ts +0 -499
- package/src/tools/openclaw-workclaw-cron/api/index.ts +0 -326
- package/src/tools/openclaw-workclaw-cron/index.ts +0 -39
- package/src/tools/openclaw-workclaw-cron/src/add/params.ts +0 -177
- package/src/tools/openclaw-workclaw-cron/src/add/sync.ts +0 -188
- package/src/tools/openclaw-workclaw-cron/src/disable/params.ts +0 -100
- package/src/tools/openclaw-workclaw-cron/src/disable/sync.ts +0 -127
- package/src/tools/openclaw-workclaw-cron/src/enable/params.ts +0 -100
- package/src/tools/openclaw-workclaw-cron/src/enable/sync.ts +0 -127
- package/src/tools/openclaw-workclaw-cron/src/notify/sync.ts +0 -148
- package/src/tools/openclaw-workclaw-cron/src/remove/params.ts +0 -109
- package/src/tools/openclaw-workclaw-cron/src/remove/sync.ts +0 -127
- package/src/tools/openclaw-workclaw-cron/src/update/params.ts +0 -195
- package/src/tools/openclaw-workclaw-cron/src/update/sync.ts +0 -161
- package/src/tools/openclaw-workclaw-cron/types/index.ts +0 -55
- package/src/tools/openclaw-workclaw-cron/utils/index.ts +0 -141
- package/src/tools/openclaw-workclaw-system/index.ts +0 -17
- package/src/tools/openclaw-workclaw-system/src/get/index.ts +0 -77
- package/src/tools/openclaw-workclaw-system/src/token/index.ts +0 -93
- package/src/types.ts +0 -52
- package/src/utils/content.ts +0 -40
- package/tsconfig.json +0 -34
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 智小途定时任务工具 - 后端接口封装
|
|
3
|
-
*/
|
|
4
|
-
import { resolveWorkclawAccountWithCache } from '../../../accounts.js';
|
|
5
|
-
import { doFetchJson, getWorkclawAccessToken, normalizeBaseUrl } from '../../../connection/workclaw-client.js';
|
|
6
|
-
const DEFAULT_MAX_RETRIES = 3;
|
|
7
|
-
const DEFAULT_RETRY_DELAY_MS = 1000;
|
|
8
|
-
/**
|
|
9
|
-
* 睡眠函数
|
|
10
|
-
*/
|
|
11
|
-
function sleep(ms) {
|
|
12
|
-
return new Promise(resolve => setTimeout(resolve, ms));
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 带重试机制的 fetch 调用
|
|
16
|
-
*/
|
|
17
|
-
async function fetchWithRetry(fetchFn, options = {}) {
|
|
18
|
-
const maxRetries = options.maxRetries ?? DEFAULT_MAX_RETRIES;
|
|
19
|
-
const retryDelayMs = options.retryDelayMs ?? DEFAULT_RETRY_DELAY_MS;
|
|
20
|
-
const retryableErrors = options.retryableErrors ?? [
|
|
21
|
-
'ECONNREFUSED',
|
|
22
|
-
'ETIMEDOUT',
|
|
23
|
-
'ENOTFOUND',
|
|
24
|
-
'ENETUNREACH',
|
|
25
|
-
'EAI_AGAIN',
|
|
26
|
-
];
|
|
27
|
-
let lastError = '';
|
|
28
|
-
let attempts = 0;
|
|
29
|
-
for (let i = 0; i <= maxRetries; i++) {
|
|
30
|
-
attempts = i + 1;
|
|
31
|
-
try {
|
|
32
|
-
const data = await fetchFn();
|
|
33
|
-
return { data, attempts };
|
|
34
|
-
}
|
|
35
|
-
catch (error) {
|
|
36
|
-
lastError = error.message || String(error);
|
|
37
|
-
const isRetryable = retryableErrors.some(e => lastError.toLowerCase().includes(e.toLowerCase()));
|
|
38
|
-
if (i < maxRetries && isRetryable) {
|
|
39
|
-
const delay = retryDelayMs * 2 ** i;
|
|
40
|
-
await sleep(delay);
|
|
41
|
-
continue;
|
|
42
|
-
}
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return { error: lastError, attempts };
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* 脱敏日志输出(隐藏敏感字段)
|
|
50
|
-
*/
|
|
51
|
-
function sanitizePayload(payload) {
|
|
52
|
-
const sensitiveFields = [
|
|
53
|
-
'password',
|
|
54
|
-
'secret',
|
|
55
|
-
'token',
|
|
56
|
-
'authorization',
|
|
57
|
-
'appSecret',
|
|
58
|
-
'appSecret',
|
|
59
|
-
];
|
|
60
|
-
const sanitized = {};
|
|
61
|
-
for (const [key, value] of Object.entries(payload)) {
|
|
62
|
-
const lowerKey = key.toLowerCase();
|
|
63
|
-
if (sensitiveFields.some(f => lowerKey.includes(f))) {
|
|
64
|
-
sanitized[key] = '***';
|
|
65
|
-
}
|
|
66
|
-
else if (typeof value === 'object' && value !== null) {
|
|
67
|
-
sanitized[key] = sanitizePayload(value);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
sanitized[key] = value;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
return sanitized;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* 调用后端 API 的通用方法
|
|
77
|
-
* @param api - OpenClaw API 实例
|
|
78
|
-
* @param accountId - 账户 ID
|
|
79
|
-
* @param path - API 路径
|
|
80
|
-
* @param payload - 请求体
|
|
81
|
-
* @param options - 可选配置
|
|
82
|
-
* @returns 接口调用结果
|
|
83
|
-
*/
|
|
84
|
-
export async function callBackendApi(api, accountId, path, payload, options = {}) {
|
|
85
|
-
try {
|
|
86
|
-
const account = resolveWorkclawAccountWithCache({
|
|
87
|
-
cfg: api.config,
|
|
88
|
-
accountId,
|
|
89
|
-
});
|
|
90
|
-
if (!account.configured) {
|
|
91
|
-
api.logger.error(`[智小途-定时任务] 账户未配置 accountId=${accountId}`);
|
|
92
|
-
return { success: false, error: 'Account not configured' };
|
|
93
|
-
}
|
|
94
|
-
const accConfig = account.config;
|
|
95
|
-
const tokenCacheKey = accConfig.appKey || accountId;
|
|
96
|
-
const baseUrl = normalizeBaseUrl(accConfig.baseUrl);
|
|
97
|
-
api.logger.info(`[智小途-定时任务] 正在获取认证 token,accountId=${accountId}`);
|
|
98
|
-
const token = await getWorkclawAccessToken(tokenCacheKey, {
|
|
99
|
-
baseUrl: accConfig.baseUrl,
|
|
100
|
-
appKey: accConfig.appKey,
|
|
101
|
-
appSecret: accConfig.appSecret,
|
|
102
|
-
allowInsecureTls: accConfig.allowInsecureTls,
|
|
103
|
-
requestTimeout: accConfig.requestTimeout,
|
|
104
|
-
});
|
|
105
|
-
const requestUrl = `${baseUrl}/open-apis${path}`;
|
|
106
|
-
const sanitizedPayload = sanitizePayload(payload);
|
|
107
|
-
api.logger.info(`[智小途-定时任务] 调用接口 ${requestUrl}`);
|
|
108
|
-
api.logger.info(`[智小途-定时任务] 请求参数 ${JSON.stringify(sanitizedPayload)}`);
|
|
109
|
-
const maxRetries = options.maxRetries ?? DEFAULT_MAX_RETRIES;
|
|
110
|
-
const fetchResult = await fetchWithRetry(() => doFetchJson(requestUrl, {
|
|
111
|
-
method: 'POST',
|
|
112
|
-
headers: {
|
|
113
|
-
'Content-Type': 'application/json',
|
|
114
|
-
'Authorization': `Bearer ${token}`,
|
|
115
|
-
},
|
|
116
|
-
body: JSON.stringify(payload),
|
|
117
|
-
}, accConfig.allowInsecureTls, accConfig.requestTimeout), { maxRetries });
|
|
118
|
-
if (fetchResult.error) {
|
|
119
|
-
api.logger.error(`[智小途-定时任务] 接口调用失败(已重试 ${fetchResult.attempts} 次): ${fetchResult.error}`);
|
|
120
|
-
return { success: false, error: fetchResult.error, attempts: fetchResult.attempts };
|
|
121
|
-
}
|
|
122
|
-
const data = fetchResult.data;
|
|
123
|
-
api.logger.info(`[智小途-定时任务] 接口响应(尝试 ${fetchResult.attempts} 次): ${JSON.stringify(data)}`);
|
|
124
|
-
if (data?.code === 200 || data?.code === 0) {
|
|
125
|
-
return { success: true, data, attempts: fetchResult.attempts };
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
const errorMsg = data?.message || data?.msg || 'Unknown error';
|
|
129
|
-
api.logger.error(`[智小途-定时任务] 接口返回错误 ${errorMsg}`);
|
|
130
|
-
return { success: false, error: errorMsg };
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
catch (error) {
|
|
134
|
-
api.logger.error(`[智小途-定时任务] 接口调用异常 ${error.message}`);
|
|
135
|
-
return { success: false, error: error.message };
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* 调用新增定时任务接口
|
|
140
|
-
*/
|
|
141
|
-
export async function callCronJobAdd(api, accountId, payload) {
|
|
142
|
-
api.logger.info(`[智小途-定时任务] 新增定时任务 jobId=${payload.jobId} name=${payload.name}`);
|
|
143
|
-
const result = await callBackendApi(api, accountId, '/cron/job/add', {
|
|
144
|
-
clawJobId: payload.jobId,
|
|
145
|
-
name: payload.name,
|
|
146
|
-
kind: payload.kind,
|
|
147
|
-
expr: payload.expr || '',
|
|
148
|
-
message: payload.message,
|
|
149
|
-
agentId: payload.messageId || '0',
|
|
150
|
-
});
|
|
151
|
-
return { success: result.success, data: result.data, error: result.error };
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* 调用删除定时任务接口
|
|
155
|
-
*/
|
|
156
|
-
export async function callCronJobRemove(api, accountId, payload) {
|
|
157
|
-
api.logger.info(`[智小途-定时任务] 删除定时任务 jobId=${payload.jobId}`);
|
|
158
|
-
const result = await callBackendApi(api, accountId, '/cron/job/del', {
|
|
159
|
-
clawJobId: payload.jobId,
|
|
160
|
-
});
|
|
161
|
-
return { success: result.success, data: result.data, error: result.error };
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* 调用更新定时任务接口
|
|
165
|
-
*/
|
|
166
|
-
export async function callCronJobUpdate(api, accountId, payload) {
|
|
167
|
-
api.logger.info(`[智小途-定时任务] 更新定时任务 jobId=${payload.jobId} name=${payload.name} agentId=${payload.agentId}`);
|
|
168
|
-
const result = await callBackendApi(api, accountId, '/cron/job/update', {
|
|
169
|
-
clawJobId: payload.jobId,
|
|
170
|
-
name: payload.name,
|
|
171
|
-
kind: payload.kind,
|
|
172
|
-
expr: payload.expr || '',
|
|
173
|
-
message: payload.message,
|
|
174
|
-
agentId: payload.agentId || '0',
|
|
175
|
-
});
|
|
176
|
-
return { success: result.success, data: result.data, error: result.error };
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* 调用启用定时任务接口
|
|
180
|
-
*/
|
|
181
|
-
export async function callCronJobEnabled(api, accountId, payload) {
|
|
182
|
-
api.logger.info(`[智小途-定时任务] 启用定时任务 jobId=${payload.jobId}`);
|
|
183
|
-
const result = await callBackendApi(api, accountId, '/cron/job/enabled', {
|
|
184
|
-
clawJobId: payload.jobId,
|
|
185
|
-
});
|
|
186
|
-
return { success: result.success, data: result.data, error: result.error };
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* 调用禁用定时任务接口
|
|
190
|
-
*/
|
|
191
|
-
export async function callCronJobDisabled(api, accountId, payload) {
|
|
192
|
-
api.logger.info(`[智小途-定时任务] 禁用定时任务 jobId=${payload.jobId}`);
|
|
193
|
-
const result = await callBackendApi(api, accountId, '/cron/job/disabled', {
|
|
194
|
-
clawJobId: payload.jobId,
|
|
195
|
-
});
|
|
196
|
-
return { success: result.success, data: result.data, error: result.error };
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* 调用定时任务触发通知接口
|
|
200
|
-
*/
|
|
201
|
-
export async function callCronJobMessage(api, accountId, payload) {
|
|
202
|
-
api.logger.info(`[智小途-定时任务] 定时任务触发通知 jobId=${payload.jobId} message=${payload.message} agentId=${payload.agentId}`);
|
|
203
|
-
const result = await callBackendApi(api, accountId, '/cron/job/message', {
|
|
204
|
-
clawJobId: payload.jobId,
|
|
205
|
-
message: payload.message,
|
|
206
|
-
agentId: payload.agentId || '0',
|
|
207
|
-
});
|
|
208
|
-
return { success: result.success, data: result.data, error: result.error };
|
|
209
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 智小途定时任务工具 - 统一出口
|
|
3
|
-
*
|
|
4
|
-
* 提供统一的工具注册入口,一次性注册所有定时任务相关工具
|
|
5
|
-
*/
|
|
6
|
-
import { registerOpenclawWorkclawCronAddParamsTool } from './src/add/params.js';
|
|
7
|
-
import { registerOpenclawWorkclawCronAddSyncTool } from './src/add/sync.js';
|
|
8
|
-
import { registerOpenclawWorkclawCronDisableParamsTool } from './src/disable/params.js';
|
|
9
|
-
import { registerOpenclawWorkclawCronDisableSyncTool } from './src/disable/sync.js';
|
|
10
|
-
import { registerOpenclawWorkclawCronEnableParamsTool } from './src/enable/params.js';
|
|
11
|
-
import { registerOpenclawWorkclawCronEnableSyncTool } from './src/enable/sync.js';
|
|
12
|
-
import { registerOpenclawWorkclawCronNotifySyncTool } from './src/notify/sync.js';
|
|
13
|
-
import { registerOpenclawWorkclawCronRemoveParamsTool } from './src/remove/params.js';
|
|
14
|
-
import { registerOpenclawWorkclawCronRemoveSyncTool } from './src/remove/sync.js';
|
|
15
|
-
import { registerOpenclawWorkclawCronUpdateParamsTool } from './src/update/params.js';
|
|
16
|
-
import { registerOpenclawWorkclawCronUpdateSyncTool } from './src/update/sync.js';
|
|
17
|
-
/**
|
|
18
|
-
* 统一注册所有定时任务工具
|
|
19
|
-
* @param api - OpenClaw API 实例
|
|
20
|
-
*/
|
|
21
|
-
export function registerAllOpenclawWorkclawCronTools(api) {
|
|
22
|
-
registerOpenclawWorkclawCronAddParamsTool(api);
|
|
23
|
-
registerOpenclawWorkclawCronRemoveParamsTool(api);
|
|
24
|
-
registerOpenclawWorkclawCronUpdateParamsTool(api);
|
|
25
|
-
registerOpenclawWorkclawCronEnableParamsTool(api);
|
|
26
|
-
registerOpenclawWorkclawCronDisableParamsTool(api);
|
|
27
|
-
registerOpenclawWorkclawCronAddSyncTool(api);
|
|
28
|
-
registerOpenclawWorkclawCronRemoveSyncTool(api);
|
|
29
|
-
registerOpenclawWorkclawCronUpdateSyncTool(api);
|
|
30
|
-
registerOpenclawWorkclawCronEnableSyncTool(api);
|
|
31
|
-
registerOpenclawWorkclawCronDisableSyncTool(api);
|
|
32
|
-
registerOpenclawWorkclawCronNotifySyncTool(api);
|
|
33
|
-
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 智小途定时任务工具 - 生成创建定时任务参数
|
|
3
|
-
*/
|
|
4
|
-
import { isCronExpression, relativeToCron, validateTimeFormat } from '../../utils/index.js';
|
|
5
|
-
/**
|
|
6
|
-
* 参数 Schema 定义
|
|
7
|
-
*/
|
|
8
|
-
const AddParamsSchema = {
|
|
9
|
-
type: 'object',
|
|
10
|
-
properties: {
|
|
11
|
-
time: {
|
|
12
|
-
type: 'string',
|
|
13
|
-
description: '⏰ 时间(核心!),支持相对时间和 cron 表达式,工具自动转换',
|
|
14
|
-
},
|
|
15
|
-
name: {
|
|
16
|
-
type: 'string',
|
|
17
|
-
description: '任务名称',
|
|
18
|
-
},
|
|
19
|
-
message: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
description: '提醒内容',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
required: ['time', 'name', 'message'],
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* 构造工具返回结果
|
|
28
|
-
*/
|
|
29
|
-
function json(data) {
|
|
30
|
-
return {
|
|
31
|
-
content: [{ type: 'text', text: JSON.stringify(data, null, 2) }],
|
|
32
|
-
details: data,
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* 获取生成创建定时任务参数工具
|
|
37
|
-
*/
|
|
38
|
-
function getOpenclawWorkclawCronAddParamsTool(api) {
|
|
39
|
-
return (ctx) => {
|
|
40
|
-
return {
|
|
41
|
-
name: 'openclaw-workclaw-cron-add-params',
|
|
42
|
-
label: '智小途生成创建提醒参数',
|
|
43
|
-
description: `【核心工具】生成创建提醒的 cronParams 参数。
|
|
44
|
-
|
|
45
|
-
📋 工作流程(必须按顺序执行):
|
|
46
|
-
1. 调用此工具获取 cronParams 参数
|
|
47
|
-
2. 使用返回的 cronParams 调用 OpenClaw 的 cron 工具
|
|
48
|
-
3. 从 cron 工具返回值中提取 jobId(返回格式:{"success": true, "jobId": "xxx"})
|
|
49
|
-
4. 必须调用 openclaw-workclaw-cron-add-sync 同步到后端
|
|
50
|
-
|
|
51
|
-
⏰ 时间格式(核心!):
|
|
52
|
-
- time 参数支持相对时间(如 "5m"、"1h"、"2d")和 cron 表达式
|
|
53
|
-
- 工具会自动将所有时间统一转换为 cron 表达式
|
|
54
|
-
- 严禁使用 --at 参数或其他绝对时间格式
|
|
55
|
-
- 最终 CLI 命令必须使用 --cron 参数
|
|
56
|
-
|
|
57
|
-
🔒 强制规则:
|
|
58
|
-
- schedule.kind 必须是 "cron"
|
|
59
|
-
- 必须使用 --cron 参数传递 cron 表达式
|
|
60
|
-
|
|
61
|
-
⚠️ 必须从 cron 工具返回值中提取 jobId,不能凭空编造!`,
|
|
62
|
-
parameters: AddParamsSchema,
|
|
63
|
-
execute: async (_toolCallId, params) => {
|
|
64
|
-
const p = params;
|
|
65
|
-
api.logger.info(`[智小途-生成参数] 开始生成创建提醒参数 name=${p.name} time=${p.time}`);
|
|
66
|
-
// 参数校验
|
|
67
|
-
if (!p.time) {
|
|
68
|
-
api.logger.warn('[智小途-生成参数] 缺少时间参数');
|
|
69
|
-
return json({ error: 'time(时间)为必填参数' });
|
|
70
|
-
}
|
|
71
|
-
if (!p.name) {
|
|
72
|
-
api.logger.warn('[智小途-生成参数] 缺少任务名称参数');
|
|
73
|
-
return json({ error: 'name(任务名称)为必填参数' });
|
|
74
|
-
}
|
|
75
|
-
if (!p.message) {
|
|
76
|
-
api.logger.warn('[智小途-生成参数] 缺少用户消息参数');
|
|
77
|
-
return json({ error: 'message(用户消息)为必填参数' });
|
|
78
|
-
}
|
|
79
|
-
// 从 ctx 获取必要参数
|
|
80
|
-
const accountId = ctx?.agentAccountId;
|
|
81
|
-
if (!accountId) {
|
|
82
|
-
api.logger.warn('[智小途-生成参数] 无法获取账户 ID');
|
|
83
|
-
return json({ error: '无法获取账户 ID(accountId),请确保已配置账户' });
|
|
84
|
-
}
|
|
85
|
-
api.logger.info(`[智小途-生成参数] accountId=${accountId} name=${p.name}`);
|
|
86
|
-
// 校验时间格式
|
|
87
|
-
const timeValidation = validateTimeFormat(p.time);
|
|
88
|
-
if (!timeValidation.valid) {
|
|
89
|
-
api.logger.warn(`[智小途-生成参数] 时间格式校验失败: ${timeValidation.error}`);
|
|
90
|
-
return json({ error: timeValidation.error });
|
|
91
|
-
}
|
|
92
|
-
// 判断时间类型并转换为 cron 表达式
|
|
93
|
-
const isCron = isCronExpression(p.time);
|
|
94
|
-
let isOneTime = false;
|
|
95
|
-
let cronExpr;
|
|
96
|
-
if (!isCron) {
|
|
97
|
-
// 相对时间转换为 cron 表达式
|
|
98
|
-
isOneTime = true;
|
|
99
|
-
cronExpr = relativeToCron(p.time.trim());
|
|
100
|
-
api.logger.info(`[智小途-生成参数] 相对时间转换为 cron 表达式 cronExpr=${cronExpr}`);
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
cronExpr = p.time.trim();
|
|
104
|
-
}
|
|
105
|
-
// 构建 cron 参数
|
|
106
|
-
const cronParams = {
|
|
107
|
-
action: 'add',
|
|
108
|
-
account: accountId,
|
|
109
|
-
job: {
|
|
110
|
-
name: p.name,
|
|
111
|
-
schedule: {
|
|
112
|
-
kind: 'cron',
|
|
113
|
-
expr: cronExpr,
|
|
114
|
-
tz: 'Asia/Shanghai',
|
|
115
|
-
},
|
|
116
|
-
sessionTarget: 'isolated',
|
|
117
|
-
wakeMode: 'now',
|
|
118
|
-
deleteAfterRun: isOneTime ? true : undefined,
|
|
119
|
-
payload: {
|
|
120
|
-
kind: 'agentTurn',
|
|
121
|
-
message: p.message,
|
|
122
|
-
},
|
|
123
|
-
delivery: {
|
|
124
|
-
mode: 'announce',
|
|
125
|
-
channel: 'openclaw-workclaw',
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
};
|
|
129
|
-
api.logger.info(`[智小途-生成参数] 构建 cron 参数 cronParams=${JSON.stringify(cronParams)}`);
|
|
130
|
-
return json({
|
|
131
|
-
cronParams,
|
|
132
|
-
meta: {
|
|
133
|
-
accountId,
|
|
134
|
-
name: p.name,
|
|
135
|
-
kind: 'cron',
|
|
136
|
-
expr: cronExpr,
|
|
137
|
-
message: p.message,
|
|
138
|
-
},
|
|
139
|
-
summary: `⏰ 提醒已生成: "${p.name}" (${p.time})`,
|
|
140
|
-
});
|
|
141
|
-
},
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* 注册生成创建定时任务参数工具
|
|
147
|
-
*/
|
|
148
|
-
export function registerOpenclawWorkclawCronAddParamsTool(api) {
|
|
149
|
-
api.registerTool(getOpenclawWorkclawCronAddParamsTool(api), {
|
|
150
|
-
name: 'openclaw-workclaw-cron-add-params',
|
|
151
|
-
});
|
|
152
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 智小途定时任务工具 - 同步创建定时任务到后端
|
|
3
|
-
*/
|
|
4
|
-
import { resolveWorkclawAccountWithCache } from '../../../../accounts.js';
|
|
5
|
-
import { callCronJobAdd } from '../../api/index.js';
|
|
6
|
-
/**
|
|
7
|
-
* 参数 Schema 定义
|
|
8
|
-
*/
|
|
9
|
-
const AddSyncSchema = {
|
|
10
|
-
type: 'object',
|
|
11
|
-
properties: {
|
|
12
|
-
jobId: {
|
|
13
|
-
type: 'string',
|
|
14
|
-
description: `⛔ 重要:jobId 必须从 OpenClaw cron 工具返回值中提取,格式:{"success": true, "jobId": "123456"}
|
|
15
|
-
|
|
16
|
-
常见错误:
|
|
17
|
-
- 把 cron 表达式(如 "31 12 11 31 3 *")当作 jobId
|
|
18
|
-
- 把 name 当作 jobId
|
|
19
|
-
- 编造 jobId
|
|
20
|
-
|
|
21
|
-
正确做法:
|
|
22
|
-
1. 调用 openclaw-workclaw-cron-add-params
|
|
23
|
-
2. 用返回的 cronParams 调用 cron 工具
|
|
24
|
-
3. 从返回值提取 jobId(如 "7382945612345")
|
|
25
|
-
4. 用提取到的 jobId 调用此工具`,
|
|
26
|
-
},
|
|
27
|
-
name: {
|
|
28
|
-
type: 'string',
|
|
29
|
-
description: '任务名称,与 add-params 中传入的 name 一致',
|
|
30
|
-
},
|
|
31
|
-
kind: {
|
|
32
|
-
type: 'string',
|
|
33
|
-
description: '任务类型',
|
|
34
|
-
enum: ['cron'],
|
|
35
|
-
},
|
|
36
|
-
expr: {
|
|
37
|
-
type: 'string',
|
|
38
|
-
description: 'Cron 表达式',
|
|
39
|
-
},
|
|
40
|
-
message: {
|
|
41
|
-
type: 'string',
|
|
42
|
-
description: '提醒消息,与 add-params 中传入的 message 一致',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
required: ['jobId', 'name', 'kind', 'message'],
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* 构造工具返回结果
|
|
49
|
-
*/
|
|
50
|
-
function json(data) {
|
|
51
|
-
return {
|
|
52
|
-
content: [{ type: 'text', text: JSON.stringify(data, null, 2) }],
|
|
53
|
-
details: data,
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* 获取同步创建定时任务到后端工具
|
|
58
|
-
*/
|
|
59
|
-
function getOpenclawWorkclawCronAddSyncTool(api) {
|
|
60
|
-
return (ctx) => {
|
|
61
|
-
return {
|
|
62
|
-
name: 'openclaw-workclaw-cron-add-sync',
|
|
63
|
-
label: '智小途同步创建提醒',
|
|
64
|
-
description: `【后端同步步骤】将创建定时任务同步到后端。必须在上一步 openclaw-workclaw-cron-add-params 执行后调用此工具完成同步。
|
|
65
|
-
|
|
66
|
-
⚠️ jobId 必须是 cron 工具返回值 {"success": true, "jobId": "xxx"} 中的 jobId 字段!`,
|
|
67
|
-
parameters: AddSyncSchema,
|
|
68
|
-
execute: async (_toolCallId, params) => {
|
|
69
|
-
const p = params;
|
|
70
|
-
api.logger.info(`[智小途-同步创建] 开始同步 jobId=${p.jobId} name=${p.name}`);
|
|
71
|
-
// 参数校验
|
|
72
|
-
if (!p.jobId) {
|
|
73
|
-
api.logger.warn('[智小途-同步创建] 缺少 jobId 参数');
|
|
74
|
-
return json({ error: 'jobId 为必填参数' });
|
|
75
|
-
}
|
|
76
|
-
// 检查 jobId 是否被错误地设置为 cron 表达式
|
|
77
|
-
const jobIdTrimmed = p.jobId.trim();
|
|
78
|
-
const parts = jobIdTrimmed.split(/\s+/);
|
|
79
|
-
const isCronExpression = parts.length >= 5 && parts.length <= 6 && jobIdTrimmed.includes('*');
|
|
80
|
-
if (isCronExpression) {
|
|
81
|
-
api.logger.error(`[智小途-同步创建] jobId 格式错误!jobId=${p.jobId},看起来像 cron 表达式`);
|
|
82
|
-
return json({
|
|
83
|
-
error: `jobId="${p.jobId}" 是 cron 表达式,不是任务 ID!jobId 应来自 cron 工具返回值,如 "123456" 或 "abc123"`,
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
if (!p.name) {
|
|
87
|
-
api.logger.warn('[智小途-同步创建] 缺少 name 参数');
|
|
88
|
-
return json({ error: 'name 为必填参数' });
|
|
89
|
-
}
|
|
90
|
-
if (!p.message) {
|
|
91
|
-
api.logger.warn('[智小途-同步创建] 缺少 message 参数');
|
|
92
|
-
return json({ error: 'message 为必填参数' });
|
|
93
|
-
}
|
|
94
|
-
// 从 ctx 获取必要参数
|
|
95
|
-
const accountId = ctx?.agentAccountId;
|
|
96
|
-
if (!accountId) {
|
|
97
|
-
api.logger.warn('[智小途-同步创建] 无法获取账户 ID');
|
|
98
|
-
return json({ error: '无法获取账户 ID(accountId),请确保已配置账户' });
|
|
99
|
-
}
|
|
100
|
-
const accountConfig = resolveWorkclawAccountWithCache({
|
|
101
|
-
cfg: ctx.config,
|
|
102
|
-
accountId,
|
|
103
|
-
});
|
|
104
|
-
if (accountConfig.configured) {
|
|
105
|
-
try {
|
|
106
|
-
const channelAgentId = String(accountConfig.config.agentId);
|
|
107
|
-
api.logger.info(`[智小途-同步创建] accountId=${accountId} channelAgentId=${channelAgentId}`);
|
|
108
|
-
const result = await callCronJobAdd(api, accountId, {
|
|
109
|
-
jobId: p.jobId,
|
|
110
|
-
name: p.name,
|
|
111
|
-
kind: p.kind,
|
|
112
|
-
expr: p.expr,
|
|
113
|
-
message: p.message,
|
|
114
|
-
messageId: channelAgentId,
|
|
115
|
-
});
|
|
116
|
-
if (result.success) {
|
|
117
|
-
api.logger.info(`[智小途-同步创建] 后端同步成功 jobId=${p.jobId}`);
|
|
118
|
-
return json({
|
|
119
|
-
code: 0,
|
|
120
|
-
message: '定时任务已创建并同步到后端',
|
|
121
|
-
data: {
|
|
122
|
-
jobId: p.jobId,
|
|
123
|
-
name: p.name,
|
|
124
|
-
message: p.message,
|
|
125
|
-
backendSynced: true,
|
|
126
|
-
},
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
api.logger.error(`[智小途-同步创建] 后端同步失败 ${result.error}`);
|
|
131
|
-
return json({
|
|
132
|
-
code: -1,
|
|
133
|
-
error: result.error || '后端同步失败',
|
|
134
|
-
data: { jobId: p.jobId, name: p.name },
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
catch (error) {
|
|
139
|
-
api.logger.error(`[智小途-同步创建] 后端同步异常 ${error.message}`);
|
|
140
|
-
return json({
|
|
141
|
-
code: -1,
|
|
142
|
-
error: error.message,
|
|
143
|
-
data: { jobId: p.jobId, name: p.name },
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
api.logger.error(`[智小途-同步创建] 无法获取渠道配置,accountId=${accountId}`);
|
|
149
|
-
return json({ error: '无法获取渠道配置,请检查账户配置' });
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* 注册同步创建定时任务到后端工具
|
|
157
|
-
*/
|
|
158
|
-
export function registerOpenclawWorkclawCronAddSyncTool(api) {
|
|
159
|
-
api.registerTool(getOpenclawWorkclawCronAddSyncTool(api), {
|
|
160
|
-
name: 'openclaw-workclaw-cron-add-sync',
|
|
161
|
-
});
|
|
162
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 智小途定时任务工具 - 生成禁用定时任务参数
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* 参数 Schema 定义
|
|
6
|
-
*/
|
|
7
|
-
const DisableParamsSchema = {
|
|
8
|
-
type: 'object',
|
|
9
|
-
properties: {
|
|
10
|
-
jobId: {
|
|
11
|
-
type: 'string',
|
|
12
|
-
description: `OpenClaw 任务 ID(必须是数字或字符串,不是 cron 表达式)`,
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
required: ['jobId'],
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* 构造工具返回结果
|
|
19
|
-
*/
|
|
20
|
-
function json(data) {
|
|
21
|
-
return {
|
|
22
|
-
content: [{ type: 'text', text: JSON.stringify(data, null, 2) }],
|
|
23
|
-
details: data,
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* 获取生成禁用定时任务参数工具
|
|
28
|
-
*/
|
|
29
|
-
function getOpenclawWorkclawCronDisableParamsTool(api) {
|
|
30
|
-
return (ctx) => {
|
|
31
|
-
return {
|
|
32
|
-
name: 'openclaw-workclaw-cron-disable-params',
|
|
33
|
-
label: '智小途生成禁用提醒参数',
|
|
34
|
-
description: `生成禁用提醒的 CLI 命令参数。
|
|
35
|
-
|
|
36
|
-
📋 工作流程:
|
|
37
|
-
1. 调用此工具获取 CLI 命令参数
|
|
38
|
-
2. 使用返回的 cronParams 调用 OpenClaw 的 cron 工具
|
|
39
|
-
3. 调用 openclaw-workclaw-cron-disable-sync 同步到后端`,
|
|
40
|
-
parameters: DisableParamsSchema,
|
|
41
|
-
execute: async (_toolCallId, params) => {
|
|
42
|
-
const p = params;
|
|
43
|
-
api.logger.info(`[智小途-生成禁用参数] 开始处理 jobId=${p.jobId}`);
|
|
44
|
-
// 参数校验
|
|
45
|
-
if (!p.jobId) {
|
|
46
|
-
api.logger.warn('[智小途-生成禁用参数] 缺少 jobId 参数');
|
|
47
|
-
return json({ error: 'jobId 为必填参数' });
|
|
48
|
-
}
|
|
49
|
-
// 从 ctx 获取必要参数
|
|
50
|
-
const accountId = ctx?.agentAccountId;
|
|
51
|
-
if (!accountId) {
|
|
52
|
-
api.logger.warn('[智小途-生成禁用参数] 无法获取账户 ID');
|
|
53
|
-
return json({ error: '无法获取账户 ID(accountId),请确保已配置账户' });
|
|
54
|
-
}
|
|
55
|
-
api.logger.info(`[智小途-生成禁用参数] accountId=${accountId} jobId=${p.jobId}`);
|
|
56
|
-
const cronParams = {
|
|
57
|
-
action: 'disable',
|
|
58
|
-
jobId: p.jobId,
|
|
59
|
-
};
|
|
60
|
-
api.logger.info(`[智小途-生成禁用参数] 构建 cron 参数 cronParams=${JSON.stringify(cronParams)}`);
|
|
61
|
-
return json({
|
|
62
|
-
cronParams,
|
|
63
|
-
meta: {
|
|
64
|
-
accountId,
|
|
65
|
-
jobId: p.jobId,
|
|
66
|
-
},
|
|
67
|
-
summary: `⏸️ 提醒已禁用: jobId=${p.jobId}`,
|
|
68
|
-
});
|
|
69
|
-
},
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* 注册生成禁用定时任务参数工具
|
|
75
|
-
*/
|
|
76
|
-
export function registerOpenclawWorkclawCronDisableParamsTool(api) {
|
|
77
|
-
api.registerTool(getOpenclawWorkclawCronDisableParamsTool(api), {
|
|
78
|
-
name: 'openclaw-workclaw-cron-disable-params',
|
|
79
|
-
});
|
|
80
|
-
}
|