@workclaw/openclaw-workclaw 1.0.202 → 1.0.331

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.
Files changed (534) hide show
  1. package/README.md +3 -4
  2. package/dist/_virtual/_commonjsHelpers.js +8 -0
  3. package/dist/_virtual/ipaddr.js +4 -0
  4. package/dist/_virtual/jiti.js +4 -0
  5. package/dist/_virtual/main.js +4 -0
  6. package/dist/api.d.ts +4 -3
  7. package/dist/api.d.ts.map +1 -0
  8. package/dist/api.js +10 -3
  9. package/dist/index.d.ts +6 -5
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +250 -243
  12. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.js +163 -0
  13. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.js +32 -0
  14. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.js +188 -0
  15. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/browser.js +25 -0
  16. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/account-id-C6v13Xic.js +4 -0
  17. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/auth-profiles-Db4Eg6ht.js +24 -0
  18. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bash-tools.exec-runtime--1hhz8C_.js +46 -0
  19. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bash-tools.schemas-BqpDemKo.js +32 -0
  20. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/boolean-DbfRNnYl.js +14 -0
  21. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/boundary-file-read-BymsBHso.js +172 -0
  22. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bundled-Cuj8sKt6.js +18 -0
  23. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bundled-dir-Cq5y_NKM.js +109 -0
  24. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/bundled-plugin-metadata-BJMD48hn.js +260 -0
  25. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/channel-entry-contract-BoTfqLnn.js +176 -0
  26. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/cli-name-DPC4W7Fo.js +22 -0
  27. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/command-format-LqDv8ows.js +24 -0
  28. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/command-registration-Dxq1bCXM.js +16 -0
  29. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/commands-registry-normalize-Bk0WYUI0.js +94 -0
  30. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/commands-registry.data-D99VdOlX.js +940 -0
  31. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/config--3Msyf4f.js +20 -0
  32. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/config-schema-C6kUPI7B.js +33 -0
  33. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/config-schema-DB8FqQH8.js +82 -0
  34. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/conversation-binding-C3EIaK9Z.js +19 -0
  35. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/core-DpZtjMWz.js +51 -0
  36. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/dedupe-DM7iBj7C.js +60 -0
  37. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/discovery-Cgp95o2R.js +649 -0
  38. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/dispatch-2DAqwFVE.js +33 -0
  39. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/errors-Dyla6m1G.js +13 -0
  40. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-approvals-CLXc_BYU.js +212 -0
  41. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-defaults-DBnaZeLQ.js +13 -0
  42. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-jRxy02_4.js +9 -0
  43. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-safe-bin-trust-DOmID2EO.js +638 -0
  44. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/exec-safety-C8v0dsfc.js +24 -0
  45. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/facade-loader-B83leEeb.js +10 -0
  46. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/facade-runtime-B04URCVZ.js +14 -0
  47. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/file-identity-sp9axE-E.js +411 -0
  48. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/file-lock-D016H3tC.js +5 -0
  49. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/gateway-control-ui-origins-B-lkqr3D.js +23 -0
  50. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/gateway-request-scope-BEWoJTx4.js +3 -0
  51. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/global-singleton-DhGoboiG.js +14 -0
  52. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/helpers-CI2CkXhU.js +7 -0
  53. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/home-dir-BEqRdfoa.js +67 -0
  54. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/host-env-security-B-Ebh6At.js +334 -0
  55. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/ids-By7Nkc8R.js +76 -0
  56. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/inbound-path-policy-CQkSSeSi.js +26 -0
  57. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/internal-hooks-D52pUqod.js +5 -0
  58. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/io-DDkf_FUu.js +14328 -0
  59. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/ip-CdfoCORt.js +2 -0
  60. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/json-files-DACY7Zw5.js +22 -0
  61. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/legacy-names-C7VUgVdg.js +5 -0
  62. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/links-BlUEqVE8.js +15 -0
  63. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/loader-DYJR63Q1.js +27 -0
  64. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/logger-BMuqDP66.js +26 -0
  65. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/manager-szyCqvou.js +22 -0
  66. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/manifest-CjPIwluH.js +409 -0
  67. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/manifest-registry-CK0zNybm.js +394 -0
  68. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/map-size-DhG4ditB.js +15 -0
  69. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/message-channel-DXsjCySM.js +32 -0
  70. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/mime-BjR-Aw-Q.js +42 -0
  71. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/min-host-version-CmguvhGB.js +49 -0
  72. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/model-auth-markers-YVQDqG1J.js +8 -0
  73. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/model-selection-cli-U7l5Ifek.js +14 -0
  74. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/models-config-B-YHRI3g.js +40 -0
  75. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/native-command-session-targets-BW3SPx-T.js +11 -0
  76. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/network-mode-D3yzFBsD.js +15 -0
  77. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/node-require-DvwmVoHm.js +14 -0
  78. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/node-sqlite-FGjwOqiS.js +3 -0
  79. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/openclaw-root-BNWw3cXT.js +69 -0
  80. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/order-6WHL2fZu.js +26 -0
  81. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/parse-duration-amE_QFsj.js +42 -0
  82. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/path-safety-CKqzLERR.js +308 -0
  83. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/paths-LCYGfrV7.js +95 -0
  84. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/process-scoped-map-Cv-PkzaO.js +11 -0
  85. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/profile-utils-Dh8DVvPv.js +17 -0
  86. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/prototype-keys-BKGE_uzN.js +11 -0
  87. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/provider-env-vars-DDfJbkrO.js +150 -0
  88. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/provider-id-B3nZBDJJ.js +15 -0
  89. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/provider-runtime-O-n0cjZo.js +22 -0
  90. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/public-surface-loader-CSDxBey4.js +14 -0
  91. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/redact-D4nea1HF.js +2 -0
  92. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/ref-contract-B1q5N0Lz.js +35 -0
  93. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/registry-DE4nHTjg.js +54 -0
  94. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/registry-loaded-B8D6rQiJ.js +62 -0
  95. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/registry-nEl7QZ30.js +3 -0
  96. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-Clo2XF6T.js +27 -0
  97. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-channel-state-Ck2VkX9T.js +20 -0
  98. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-guard-DqVOvWAZ.js +23 -0
  99. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/runtime-state-Cd3jnHgw.js +4 -0
  100. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/schema-validator-Bo7NeV8w.js +3 -0
  101. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/scp-host-CiFVRWHy.js +38 -0
  102. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/sdk-alias-Bo1huP7M.js +315 -0
  103. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/session-binding-service-D6sb-LrK.js +9 -0
  104. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/session-write-lock-Dk7FbMr_.js +6 -0
  105. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/setup-helpers-ChrkNnYE.js +5 -0
  106. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/setup-registry-BPL6c_Zk.js +16 -0
  107. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/setup-wizard-helpers-DnMkYslk.js +19 -0
  108. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/skills-Djbt9HGh.js +21 -0
  109. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/slots-PynIdqZ_.js +10 -0
  110. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/string-coerce-BUSzWgUA.js +25 -0
  111. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/string-normalization-DIJRAo0o.js +20 -0
  112. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/strip-inbound-meta-WCHWW8is.js +12 -0
  113. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/subsystem-BHv2zSx6.js +15 -0
  114. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/system-events-CfifhXT7.js +3 -0
  115. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/tailscale-status-Ch1LdrMM.js +5 -0
  116. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/task-registry-2LJDZL29.js +15 -0
  117. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/telegram-command-config-TdpOuZ__.js +66 -0
  118. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/terminal-link-B3nCYQJi.js +10 -0
  119. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/theme-CVJvORNs.js +27 -0
  120. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/thinking-_rqwdGD8.js +44 -0
  121. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/thinking.shared-Dginn1He.js +14 -0
  122. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/tmp-openclaw-dir-DrKSsX71.js +103 -0
  123. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/tool-policy-CwZyJfFc.js +300 -0
  124. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/types-BfKfz-lz.js +38 -0
  125. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/types.secrets-C9RpLzA0.js +53 -0
  126. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/utils-DGFSjtQF.js +36 -0
  127. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/version-b06Uhxnq.js +82 -0
  128. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/workspace-oVBetctb.js +20 -0
  129. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema-Cpw1qu03.js +1299 -0
  130. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.agent-runtime-D48J52r_.js +620 -0
  131. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.core-BrzjtZhM.js +597 -0
  132. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.providers-core-CX8AFeyJ.js +1354 -0
  133. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.providers-whatsapp-7E9bf9oA.js +130 -0
  134. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/dist/zod-schema.sensitive-BFZ4qze6.js +5 -0
  135. 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
  136. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/@mariozechner/pi-ai/dist/models.js +16 -0
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. 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
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. 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
  186. 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
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. 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
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. 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
  210. 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
  211. 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
  212. 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
  213. 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
  214. 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
  215. 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
  216. 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
  217. 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
  218. 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
  219. 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
  220. 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
  221. 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
  222. 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
  223. 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
  224. 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
  225. 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
  226. 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
  227. 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
  228. 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
  229. 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
  230. 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
  231. 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
  232. 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
  233. 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
  234. 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
  235. 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
  236. 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
  237. 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
  238. 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
  239. 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
  240. 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
  241. 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
  242. 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
  243. 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
  244. 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
  245. 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
  246. 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
  247. 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
  248. 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
  249. 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
  250. 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
  251. 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
  252. 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
  253. 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
  254. 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
  255. 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
  256. 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
  257. 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
  258. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/dotenv/lib/main.js +318 -0
  259. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/ipaddr.js/lib/ipaddr.js +805 -0
  260. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/jiti/dist/jiti.js +3869 -0
  261. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/jiti/lib/jiti.js +26 -0
  262. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/json5/dist/index.js +1085 -0
  263. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/doc/anchors.js +12 -0
  264. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/doc/applyReviver.js +45 -0
  265. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/doc/createNode.js +58 -0
  266. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/log.js +8 -0
  267. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Alias.js +111 -0
  268. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Collection.js +138 -0
  269. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Node.js +36 -0
  270. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Pair.js +35 -0
  271. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/Scalar.js +25 -0
  272. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/YAMLMap.js +139 -0
  273. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +111 -0
  274. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +59 -0
  275. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/identity.js +52 -0
  276. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/nodes/toJS.js +25 -0
  277. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/parse/lexer.js +6 -0
  278. 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
  279. 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
  280. 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
  281. 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
  282. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +131 -0
  283. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringify.js +119 -0
  284. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +146 -0
  285. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyComment.js +12 -0
  286. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyPair.js +128 -0
  287. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/stringify/stringifyString.js +278 -0
  288. package/dist/node_modules/.pnpm/openclaw@2026.4.14_@emnapi__48b26e3018d2f6ac73290fb8288ef325/node_modules/openclaw/node_modules/yaml/browser/dist/visit.js +104 -0
  289. package/dist/packages/plugin/src/accounts.js +200 -0
  290. package/dist/packages/plugin/src/api/accounts-api.js +133 -0
  291. package/dist/packages/plugin/src/api/prompts-api.js +105 -0
  292. package/dist/packages/plugin/src/api/session-api.js +172 -0
  293. package/dist/packages/plugin/src/api/skills-api.js +61 -0
  294. package/dist/packages/plugin/src/api/workspace.js +30 -0
  295. package/dist/packages/plugin/src/channel.js +209 -0
  296. package/dist/packages/plugin/src/config-schema.js +51 -0
  297. package/dist/packages/plugin/src/connection/workclaw-client.js +282 -0
  298. package/dist/packages/plugin/src/gateway/agent-handlers.js +408 -0
  299. package/dist/packages/plugin/src/gateway/config-writer.js +158 -0
  300. package/dist/packages/plugin/src/gateway/cron-tasks-handler.js +184 -0
  301. package/dist/packages/plugin/src/gateway/message-context.js +410 -0
  302. package/dist/packages/plugin/src/gateway/message-dispatcher.js +519 -0
  303. package/dist/packages/plugin/src/gateway/reconnect.js +178 -0
  304. package/dist/packages/plugin/src/gateway/skills-handler.js +511 -0
  305. package/dist/packages/plugin/src/gateway/skills-list-handler.js +173 -0
  306. package/dist/packages/plugin/src/gateway/tools-list-handler.js +89 -0
  307. package/dist/packages/plugin/src/gateway/workclaw-gateway.js +244 -0
  308. package/dist/packages/plugin/src/logging.js +68 -0
  309. package/dist/packages/plugin/src/media/upload.js +126 -0
  310. package/dist/packages/plugin/src/outbound/index.js +89 -0
  311. package/dist/packages/plugin/src/outbound/workclaw-sender.js +79 -0
  312. package/dist/packages/plugin/src/setup-core.js +22 -0
  313. package/dist/packages/plugin/src/setup-surface.js +338 -0
  314. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/api/index.js +186 -0
  315. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/index.js +30 -0
  316. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/add/params.js +147 -0
  317. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/add/sync.js +154 -0
  318. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/disable/params.js +62 -0
  319. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/disable/sync.js +86 -0
  320. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/enable/params.js +62 -0
  321. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/enable/sync.js +86 -0
  322. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/notify/sync.js +103 -0
  323. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/remove/params.js +68 -0
  324. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/remove/sync.js +86 -0
  325. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/update/params.js +141 -0
  326. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/src/update/sync.js +114 -0
  327. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/utils/index.js +99 -0
  328. package/dist/packages/plugin/src/tools/openclaw-workclaw-cron/utils/tool-context.js +29 -0
  329. package/dist/setup-entry.d.ts +2 -1
  330. package/dist/setup-entry.d.ts.map +1 -0
  331. package/dist/setup-entry.js +14 -11
  332. package/dist/src/accounts.d.ts +20 -19
  333. package/dist/src/accounts.d.ts.map +1 -0
  334. package/dist/src/api/accounts-api.d.ts +2 -1
  335. package/dist/src/api/accounts-api.d.ts.map +1 -0
  336. package/dist/src/api/prompts-api.d.ts +2 -1
  337. package/dist/src/api/prompts-api.d.ts.map +1 -0
  338. package/dist/src/api/session-api.d.ts +2 -1
  339. package/dist/src/api/session-api.d.ts.map +1 -0
  340. package/dist/src/api/skills-api.d.ts +2 -1
  341. package/dist/src/api/skills-api.d.ts.map +1 -0
  342. package/dist/src/api/workspace.d.ts +2 -1
  343. package/dist/src/api/workspace.d.ts.map +1 -0
  344. package/dist/src/channel.d.ts +3 -2
  345. package/dist/src/channel.d.ts.map +1 -0
  346. package/dist/src/config-schema.d.ts +1 -6
  347. package/dist/src/config-schema.d.ts.map +1 -0
  348. package/dist/src/connection/workclaw-client.d.ts +6 -4
  349. package/dist/src/connection/workclaw-client.d.ts.map +1 -0
  350. package/dist/src/gateway/agent-handlers.d.ts +4 -3
  351. package/dist/src/gateway/agent-handlers.d.ts.map +1 -0
  352. package/dist/src/gateway/config-writer.d.ts +32 -30
  353. package/dist/src/gateway/config-writer.d.ts.map +1 -0
  354. package/dist/src/gateway/cron-tasks-handler.d.ts +3 -1
  355. package/dist/src/gateway/cron-tasks-handler.d.ts.map +1 -0
  356. package/dist/src/gateway/message-context.d.ts +15 -17
  357. package/dist/src/gateway/message-context.d.ts.map +1 -0
  358. package/dist/src/gateway/message-dispatcher.d.ts +3 -4
  359. package/dist/src/gateway/message-dispatcher.d.ts.map +1 -0
  360. package/dist/src/gateway/reconnect.d.ts +6 -8
  361. package/dist/src/gateway/reconnect.d.ts.map +1 -0
  362. package/dist/src/gateway/skills-handler.d.ts +1 -0
  363. package/dist/src/gateway/skills-handler.d.ts.map +1 -0
  364. package/dist/src/gateway/skills-list-handler.d.ts +1 -0
  365. package/dist/src/gateway/skills-list-handler.d.ts.map +1 -0
  366. package/dist/src/gateway/tools-list-handler.d.ts +1 -0
  367. package/dist/src/gateway/tools-list-handler.d.ts.map +1 -0
  368. package/dist/src/gateway/workclaw-gateway.d.ts +2 -7
  369. package/dist/src/gateway/workclaw-gateway.d.ts.map +1 -0
  370. package/dist/src/logging.d.ts +55 -0
  371. package/dist/src/logging.d.ts.map +1 -0
  372. package/dist/src/media/upload.d.ts +1 -0
  373. package/dist/src/media/upload.d.ts.map +1 -0
  374. package/dist/src/outbound/index.d.ts +9 -6
  375. package/dist/src/outbound/index.d.ts.map +1 -0
  376. package/dist/src/outbound/workclaw-sender.d.ts +6 -4
  377. package/dist/src/outbound/workclaw-sender.d.ts.map +1 -0
  378. package/dist/src/runtime.d.ts +4 -17
  379. package/dist/src/runtime.d.ts.map +1 -0
  380. package/dist/src/runtime.js +324 -365
  381. package/dist/src/secret-contract-api.d.ts +1 -0
  382. package/dist/src/secret-contract-api.d.ts.map +1 -0
  383. package/dist/src/secret-contract-api.js +6 -3
  384. package/dist/src/send.d.ts +2 -1
  385. package/dist/src/send.d.ts.map +1 -0
  386. package/dist/src/setup-api.d.ts +4 -3
  387. package/dist/src/setup-api.d.ts.map +1 -0
  388. package/dist/src/setup-core.d.ts +2 -1
  389. package/dist/src/setup-core.d.ts.map +1 -0
  390. package/dist/src/setup-surface.d.ts +3 -2
  391. package/dist/src/setup-surface.d.ts.map +1 -0
  392. package/dist/src/tools/openclaw-workclaw-cron/api/index.d.ts +3 -4
  393. package/dist/src/tools/openclaw-workclaw-cron/api/index.d.ts.map +1 -0
  394. package/dist/src/tools/openclaw-workclaw-cron/index.d.ts +1 -0
  395. package/dist/src/tools/openclaw-workclaw-cron/index.d.ts.map +1 -0
  396. package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts +3 -7
  397. package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts.map +1 -0
  398. package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts +3 -7
  399. package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts.map +1 -0
  400. package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts +2 -7
  401. package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts.map +1 -0
  402. package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts +2 -7
  403. package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts.map +1 -0
  404. package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts +2 -7
  405. package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts.map +1 -0
  406. package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts +2 -7
  407. package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts.map +1 -0
  408. package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts +2 -9
  409. package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts.map +1 -0
  410. package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts +2 -7
  411. package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts.map +1 -0
  412. package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts +2 -7
  413. package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts.map +1 -0
  414. package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts +2 -7
  415. package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts.map +1 -0
  416. package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts +2 -7
  417. package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts.map +1 -0
  418. package/dist/src/tools/openclaw-workclaw-cron/types/index.d.ts +2 -1
  419. package/dist/src/tools/openclaw-workclaw-cron/types/index.d.ts.map +1 -0
  420. package/dist/src/tools/openclaw-workclaw-cron/utils/index.d.ts +1 -0
  421. package/dist/src/tools/openclaw-workclaw-cron/utils/index.d.ts.map +1 -0
  422. package/dist/src/tools/openclaw-workclaw-cron/utils/tool-context.d.ts +10 -0
  423. package/dist/src/tools/openclaw-workclaw-cron/utils/tool-context.d.ts.map +1 -0
  424. package/dist/src/tools/openclaw-workclaw-system/index.d.ts +1 -0
  425. package/dist/src/tools/openclaw-workclaw-system/index.d.ts.map +1 -0
  426. package/dist/src/tools/openclaw-workclaw-system/src/get/index.d.ts +2 -4
  427. package/dist/src/tools/openclaw-workclaw-system/src/get/index.d.ts.map +1 -0
  428. package/dist/src/tools/openclaw-workclaw-system/src/token/index.d.ts +2 -4
  429. package/dist/src/tools/openclaw-workclaw-system/src/token/index.d.ts.map +1 -0
  430. package/dist/src/types.d.ts +7 -7
  431. package/dist/src/types.d.ts.map +1 -0
  432. package/dist/src/utils/content.d.ts +6 -5
  433. package/dist/src/utils/content.d.ts.map +1 -0
  434. package/openclaw.plugin.json +45 -0
  435. package/package.json +71 -45
  436. package/skills/openclaw-workclaw-cron/SKILL.md +6 -3
  437. package/api.ts +0 -3
  438. package/dist/src/accounts.js +0 -279
  439. package/dist/src/api/accounts-api.js +0 -130
  440. package/dist/src/api/prompts-api.js +0 -103
  441. package/dist/src/api/session-api.js +0 -207
  442. package/dist/src/api/skills-api.js +0 -64
  443. package/dist/src/api/workspace.js +0 -30
  444. package/dist/src/channel.js +0 -199
  445. package/dist/src/config-schema.js +0 -56
  446. package/dist/src/connection/workclaw-client.js +0 -351
  447. package/dist/src/gateway/agent-handlers.js +0 -433
  448. package/dist/src/gateway/config-writer.js +0 -302
  449. package/dist/src/gateway/cron-tasks-handler.js +0 -188
  450. package/dist/src/gateway/message-context.js +0 -509
  451. package/dist/src/gateway/message-dispatcher.js +0 -572
  452. package/dist/src/gateway/reconnect.js +0 -210
  453. package/dist/src/gateway/skills-handler.js +0 -615
  454. package/dist/src/gateway/skills-list-handler.js +0 -233
  455. package/dist/src/gateway/tools-list-handler.js +0 -101
  456. package/dist/src/gateway/workclaw-gateway.js +0 -237
  457. package/dist/src/media/upload.js +0 -125
  458. package/dist/src/outbound/index.js +0 -123
  459. package/dist/src/outbound/workclaw-sender.js +0 -95
  460. package/dist/src/send.js +0 -1
  461. package/dist/src/setup-api.js +0 -3
  462. package/dist/src/setup-core.js +0 -13
  463. package/dist/src/setup-surface.js +0 -363
  464. package/dist/src/tools/openclaw-workclaw-cron/api/index.js +0 -209
  465. package/dist/src/tools/openclaw-workclaw-cron/index.js +0 -33
  466. package/dist/src/tools/openclaw-workclaw-cron/src/add/params.js +0 -152
  467. package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.js +0 -162
  468. package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.js +0 -80
  469. package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.js +0 -107
  470. package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.js +0 -80
  471. package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.js +0 -107
  472. package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.js +0 -127
  473. package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.js +0 -87
  474. package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.js +0 -107
  475. package/dist/src/tools/openclaw-workclaw-cron/src/update/params.js +0 -164
  476. package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.js +0 -135
  477. package/dist/src/tools/openclaw-workclaw-cron/types/index.js +0 -4
  478. package/dist/src/tools/openclaw-workclaw-cron/utils/index.js +0 -122
  479. package/dist/src/tools/openclaw-workclaw-system/index.js +0 -15
  480. package/dist/src/tools/openclaw-workclaw-system/src/get/index.js +0 -64
  481. package/dist/src/tools/openclaw-workclaw-system/src/token/index.js +0 -78
  482. package/dist/src/types.js +0 -1
  483. package/dist/src/utils/content.js +0 -38
  484. package/index.ts +0 -326
  485. package/setup-entry.ts +0 -13
  486. package/src/accounts.ts +0 -360
  487. package/src/api/accounts-api.ts +0 -156
  488. package/src/api/prompts-api.ts +0 -122
  489. package/src/api/session-api.ts +0 -246
  490. package/src/api/skills-api.ts +0 -74
  491. package/src/api/workspace.ts +0 -45
  492. package/src/channel.ts +0 -226
  493. package/src/config-schema.ts +0 -62
  494. package/src/connection/workclaw-client.ts +0 -618
  495. package/src/gateway/agent-handlers.ts +0 -551
  496. package/src/gateway/config-writer.ts +0 -378
  497. package/src/gateway/cron-tasks-handler.ts +0 -230
  498. package/src/gateway/message-context.ts +0 -645
  499. package/src/gateway/message-dispatcher.ts +0 -688
  500. package/src/gateway/reconnect.ts +0 -260
  501. package/src/gateway/skills-handler.ts +0 -805
  502. package/src/gateway/skills-list-handler.ts +0 -332
  503. package/src/gateway/tools-list-handler.ts +0 -161
  504. package/src/gateway/workclaw-gateway.ts +0 -305
  505. package/src/media/upload.ts +0 -168
  506. package/src/outbound/index.ts +0 -191
  507. package/src/outbound/workclaw-sender.ts +0 -161
  508. package/src/runtime.ts +0 -520
  509. package/src/secret-contract-api.ts +0 -4
  510. package/src/send.ts +0 -1
  511. package/src/setup-api.ts +0 -3
  512. package/src/setup-core.ts +0 -25
  513. package/src/setup-surface.ts +0 -499
  514. package/src/tools/openclaw-workclaw-cron/api/index.ts +0 -326
  515. package/src/tools/openclaw-workclaw-cron/index.ts +0 -39
  516. package/src/tools/openclaw-workclaw-cron/src/add/params.ts +0 -177
  517. package/src/tools/openclaw-workclaw-cron/src/add/sync.ts +0 -188
  518. package/src/tools/openclaw-workclaw-cron/src/disable/params.ts +0 -100
  519. package/src/tools/openclaw-workclaw-cron/src/disable/sync.ts +0 -127
  520. package/src/tools/openclaw-workclaw-cron/src/enable/params.ts +0 -100
  521. package/src/tools/openclaw-workclaw-cron/src/enable/sync.ts +0 -127
  522. package/src/tools/openclaw-workclaw-cron/src/notify/sync.ts +0 -148
  523. package/src/tools/openclaw-workclaw-cron/src/remove/params.ts +0 -109
  524. package/src/tools/openclaw-workclaw-cron/src/remove/sync.ts +0 -127
  525. package/src/tools/openclaw-workclaw-cron/src/update/params.ts +0 -195
  526. package/src/tools/openclaw-workclaw-cron/src/update/sync.ts +0 -161
  527. package/src/tools/openclaw-workclaw-cron/types/index.ts +0 -55
  528. package/src/tools/openclaw-workclaw-cron/utils/index.ts +0 -141
  529. package/src/tools/openclaw-workclaw-system/index.ts +0 -17
  530. package/src/tools/openclaw-workclaw-system/src/get/index.ts +0 -77
  531. package/src/tools/openclaw-workclaw-system/src/token/index.ts +0 -93
  532. package/src/types.ts +0 -52
  533. package/src/utils/content.ts +0 -40
  534. package/tsconfig.json +0 -34
@@ -0,0 +1,805 @@
1
+ import { commonjsGlobal, getDefaultExportFromCjs } from "../../../../../../../../_virtual/_commonjsHelpers.js";
2
+ import { __module as ipaddr$1 } from "../../../../../../../../_virtual/ipaddr.js";
3
+ (function(module) {
4
+ (function(root) {
5
+ const ipv4Part = "(0?\\d+|0x[a-f0-9]+)";
6
+ const ipv4Regexes = {
7
+ fourOctet: new RegExp(`^${ipv4Part}\\.${ipv4Part}\\.${ipv4Part}\\.${ipv4Part}$`, "i"),
8
+ threeOctet: new RegExp(`^${ipv4Part}\\.${ipv4Part}\\.${ipv4Part}$`, "i"),
9
+ twoOctet: new RegExp(`^${ipv4Part}\\.${ipv4Part}$`, "i"),
10
+ longValue: new RegExp(`^${ipv4Part}$`, "i")
11
+ };
12
+ const octalRegex = new RegExp(`^0[0-7]+$`, "i");
13
+ const hexRegex = new RegExp(`^0x[a-f0-9]+$`, "i");
14
+ const zoneIndex = "%[0-9a-z]{1,}";
15
+ const ipv6Part = "(?:[0-9a-f]+::?)+";
16
+ const ipv6Regexes = {
17
+ zoneIndex: new RegExp(zoneIndex, "i"),
18
+ "native": new RegExp(`^(::)?(${ipv6Part})?([0-9a-f]+)?(::)?(${zoneIndex})?$`, "i"),
19
+ deprecatedTransitional: new RegExp(`^(?:::)(${ipv4Part}\\.${ipv4Part}\\.${ipv4Part}\\.${ipv4Part}(${zoneIndex})?)$`, "i"),
20
+ transitional: new RegExp(`^((?:${ipv6Part})|(?:::)(?:${ipv6Part})?)${ipv4Part}\\.${ipv4Part}\\.${ipv4Part}\\.${ipv4Part}(${zoneIndex})?$`, "i")
21
+ };
22
+ function expandIPv6(string, parts) {
23
+ if (string.indexOf("::") !== string.lastIndexOf("::")) {
24
+ return null;
25
+ }
26
+ let colonCount = 0;
27
+ let lastColon = -1;
28
+ let zoneId = (string.match(ipv6Regexes.zoneIndex) || [])[0];
29
+ let replacement, replacementCount;
30
+ if (zoneId) {
31
+ zoneId = zoneId.substring(1);
32
+ string = string.replace(/%.+$/, "");
33
+ }
34
+ while ((lastColon = string.indexOf(":", lastColon + 1)) >= 0) {
35
+ colonCount++;
36
+ }
37
+ if (string.substr(0, 2) === "::") {
38
+ colonCount--;
39
+ }
40
+ if (string.substr(-2, 2) === "::") {
41
+ colonCount--;
42
+ }
43
+ if (colonCount > parts) {
44
+ return null;
45
+ }
46
+ replacementCount = parts - colonCount;
47
+ replacement = ":";
48
+ while (replacementCount--) {
49
+ replacement += "0:";
50
+ }
51
+ string = string.replace("::", replacement);
52
+ if (string[0] === ":") {
53
+ string = string.slice(1);
54
+ }
55
+ if (string[string.length - 1] === ":") {
56
+ string = string.slice(0, -1);
57
+ }
58
+ parts = function() {
59
+ const ref = string.split(":");
60
+ const results = [];
61
+ for (let i = 0; i < ref.length; i++) {
62
+ results.push(parseInt(ref[i], 16));
63
+ }
64
+ return results;
65
+ }();
66
+ return {
67
+ parts,
68
+ zoneId
69
+ };
70
+ }
71
+ function matchCIDR(first, second, partSize, cidrBits) {
72
+ if (first.length !== second.length) {
73
+ throw new Error("ipaddr: cannot match CIDR for objects with different lengths");
74
+ }
75
+ let part = 0;
76
+ let shift;
77
+ while (cidrBits > 0) {
78
+ shift = partSize - cidrBits;
79
+ if (shift < 0) {
80
+ shift = 0;
81
+ }
82
+ if (first[part] >> shift !== second[part] >> shift) {
83
+ return false;
84
+ }
85
+ cidrBits -= partSize;
86
+ part += 1;
87
+ }
88
+ return true;
89
+ }
90
+ function parseIntAuto(string) {
91
+ if (hexRegex.test(string)) {
92
+ return parseInt(string, 16);
93
+ }
94
+ if (string[0] === "0" && !isNaN(parseInt(string[1], 10))) {
95
+ if (octalRegex.test(string)) {
96
+ return parseInt(string, 8);
97
+ }
98
+ throw new Error(`ipaddr: cannot parse ${string} as octal`);
99
+ }
100
+ return parseInt(string, 10);
101
+ }
102
+ function padPart(part, length) {
103
+ while (part.length < length) {
104
+ part = `0${part}`;
105
+ }
106
+ return part;
107
+ }
108
+ const ipaddr2 = {};
109
+ ipaddr2.IPv4 = function() {
110
+ function IPv4(octets) {
111
+ if (octets.length !== 4) {
112
+ throw new Error("ipaddr: ipv4 octet count should be 4");
113
+ }
114
+ let i, octet;
115
+ for (i = 0; i < octets.length; i++) {
116
+ octet = octets[i];
117
+ if (!(0 <= octet && octet <= 255)) {
118
+ throw new Error("ipaddr: ipv4 octet should fit in 8 bits");
119
+ }
120
+ }
121
+ this.octets = octets;
122
+ }
123
+ IPv4.prototype.SpecialRanges = {
124
+ unspecified: [[new IPv4([0, 0, 0, 0]), 8]],
125
+ broadcast: [[new IPv4([255, 255, 255, 255]), 32]],
126
+ // RFC3171
127
+ multicast: [[new IPv4([224, 0, 0, 0]), 4]],
128
+ // RFC3927
129
+ linkLocal: [[new IPv4([169, 254, 0, 0]), 16]],
130
+ // RFC5735
131
+ loopback: [[new IPv4([127, 0, 0, 0]), 8]],
132
+ // RFC6598
133
+ carrierGradeNat: [[new IPv4([100, 64, 0, 0]), 10]],
134
+ // RFC1918
135
+ "private": [
136
+ [new IPv4([10, 0, 0, 0]), 8],
137
+ [new IPv4([172, 16, 0, 0]), 12],
138
+ [new IPv4([192, 168, 0, 0]), 16]
139
+ ],
140
+ // Reserved and testing-only ranges; RFCs 5735, 5737, 2544, 1700
141
+ reserved: [
142
+ [new IPv4([192, 0, 0, 0]), 24],
143
+ [new IPv4([192, 0, 2, 0]), 24],
144
+ [new IPv4([192, 88, 99, 0]), 24],
145
+ [new IPv4([198, 18, 0, 0]), 15],
146
+ [new IPv4([198, 51, 100, 0]), 24],
147
+ [new IPv4([203, 0, 113, 0]), 24],
148
+ [new IPv4([240, 0, 0, 0]), 4]
149
+ ],
150
+ // RFC7534, RFC7535
151
+ as112: [
152
+ [new IPv4([192, 175, 48, 0]), 24],
153
+ [new IPv4([192, 31, 196, 0]), 24]
154
+ ],
155
+ // RFC7450
156
+ amt: [
157
+ [new IPv4([192, 52, 193, 0]), 24]
158
+ ]
159
+ };
160
+ IPv4.prototype.kind = function() {
161
+ return "ipv4";
162
+ };
163
+ IPv4.prototype.match = function(other, cidrRange) {
164
+ let ref;
165
+ if (cidrRange === void 0) {
166
+ ref = other;
167
+ other = ref[0];
168
+ cidrRange = ref[1];
169
+ }
170
+ if (other.kind() !== "ipv4") {
171
+ throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");
172
+ }
173
+ return matchCIDR(this.octets, other.octets, 8, cidrRange);
174
+ };
175
+ IPv4.prototype.prefixLengthFromSubnetMask = function() {
176
+ let cidr = 0;
177
+ let stop = false;
178
+ const zerotable = {
179
+ 0: 8,
180
+ 128: 7,
181
+ 192: 6,
182
+ 224: 5,
183
+ 240: 4,
184
+ 248: 3,
185
+ 252: 2,
186
+ 254: 1,
187
+ 255: 0
188
+ };
189
+ let i, octet, zeros;
190
+ for (i = 3; i >= 0; i -= 1) {
191
+ octet = this.octets[i];
192
+ if (octet in zerotable) {
193
+ zeros = zerotable[octet];
194
+ if (stop && zeros !== 0) {
195
+ return null;
196
+ }
197
+ if (zeros !== 8) {
198
+ stop = true;
199
+ }
200
+ cidr += zeros;
201
+ } else {
202
+ return null;
203
+ }
204
+ }
205
+ return 32 - cidr;
206
+ };
207
+ IPv4.prototype.range = function() {
208
+ return ipaddr2.subnetMatch(this, this.SpecialRanges);
209
+ };
210
+ IPv4.prototype.toByteArray = function() {
211
+ return this.octets.slice(0);
212
+ };
213
+ IPv4.prototype.toIPv4MappedAddress = function() {
214
+ return ipaddr2.IPv6.parse(`::ffff:${this.toString()}`);
215
+ };
216
+ IPv4.prototype.toNormalizedString = function() {
217
+ return this.toString();
218
+ };
219
+ IPv4.prototype.toString = function() {
220
+ return this.octets.join(".");
221
+ };
222
+ return IPv4;
223
+ }();
224
+ ipaddr2.IPv4.broadcastAddressFromCIDR = function(string) {
225
+ try {
226
+ const cidr = this.parseCIDR(string);
227
+ const ipInterfaceOctets = cidr[0].toByteArray();
228
+ const subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
229
+ const octets = [];
230
+ let i = 0;
231
+ while (i < 4) {
232
+ octets.push(parseInt(ipInterfaceOctets[i], 10) | parseInt(subnetMaskOctets[i], 10) ^ 255);
233
+ i++;
234
+ }
235
+ return new this(octets);
236
+ } catch (e) {
237
+ throw new Error("ipaddr: the address does not have IPv4 CIDR format");
238
+ }
239
+ };
240
+ ipaddr2.IPv4.isIPv4 = function(string) {
241
+ return this.parser(string) !== null;
242
+ };
243
+ ipaddr2.IPv4.isValid = function(string) {
244
+ try {
245
+ new this(this.parser(string));
246
+ return true;
247
+ } catch (e) {
248
+ return false;
249
+ }
250
+ };
251
+ ipaddr2.IPv4.isValidCIDR = function(string) {
252
+ try {
253
+ this.parseCIDR(string);
254
+ return true;
255
+ } catch (e) {
256
+ return false;
257
+ }
258
+ };
259
+ ipaddr2.IPv4.isValidFourPartDecimal = function(string) {
260
+ if (ipaddr2.IPv4.isValid(string) && string.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/)) {
261
+ return true;
262
+ } else {
263
+ return false;
264
+ }
265
+ };
266
+ ipaddr2.IPv4.isValidCIDRFourPartDecimal = function(string) {
267
+ const match = string.match(/^(.+)\/(\d+)$/);
268
+ if (!ipaddr2.IPv4.isValidCIDR(string) || !match) {
269
+ return false;
270
+ }
271
+ return ipaddr2.IPv4.isValidFourPartDecimal(match[1]);
272
+ };
273
+ ipaddr2.IPv4.networkAddressFromCIDR = function(string) {
274
+ let cidr, i, ipInterfaceOctets, octets, subnetMaskOctets;
275
+ try {
276
+ cidr = this.parseCIDR(string);
277
+ ipInterfaceOctets = cidr[0].toByteArray();
278
+ subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
279
+ octets = [];
280
+ i = 0;
281
+ while (i < 4) {
282
+ octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10));
283
+ i++;
284
+ }
285
+ return new this(octets);
286
+ } catch (e) {
287
+ throw new Error("ipaddr: the address does not have IPv4 CIDR format");
288
+ }
289
+ };
290
+ ipaddr2.IPv4.parse = function(string) {
291
+ const parts = this.parser(string);
292
+ if (parts === null) {
293
+ throw new Error("ipaddr: string is not formatted like an IPv4 Address");
294
+ }
295
+ return new this(parts);
296
+ };
297
+ ipaddr2.IPv4.parseCIDR = function(string) {
298
+ let match;
299
+ if (match = string.match(/^(.+)\/(\d+)$/)) {
300
+ const maskLength = parseInt(match[2]);
301
+ if (maskLength >= 0 && maskLength <= 32) {
302
+ const parsed = [this.parse(match[1]), maskLength];
303
+ Object.defineProperty(parsed, "toString", {
304
+ value: function() {
305
+ return this.join("/");
306
+ }
307
+ });
308
+ return parsed;
309
+ }
310
+ }
311
+ throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range");
312
+ };
313
+ ipaddr2.IPv4.parser = function(string) {
314
+ let match, part, value;
315
+ if (match = string.match(ipv4Regexes.fourOctet)) {
316
+ return function() {
317
+ const ref = match.slice(1, 6);
318
+ const results = [];
319
+ for (let i = 0; i < ref.length; i++) {
320
+ part = ref[i];
321
+ results.push(parseIntAuto(part));
322
+ }
323
+ return results;
324
+ }();
325
+ } else if (match = string.match(ipv4Regexes.longValue)) {
326
+ value = parseIntAuto(match[1]);
327
+ if (value > 4294967295 || value < 0) {
328
+ throw new Error("ipaddr: address outside defined range");
329
+ }
330
+ return function() {
331
+ const results = [];
332
+ let shift;
333
+ for (shift = 0; shift <= 24; shift += 8) {
334
+ results.push(value >> shift & 255);
335
+ }
336
+ return results;
337
+ }().reverse();
338
+ } else if (match = string.match(ipv4Regexes.twoOctet)) {
339
+ return function() {
340
+ const ref = match.slice(1, 4);
341
+ const results = [];
342
+ value = parseIntAuto(ref[1]);
343
+ if (value > 16777215 || value < 0) {
344
+ throw new Error("ipaddr: address outside defined range");
345
+ }
346
+ results.push(parseIntAuto(ref[0]));
347
+ results.push(value >> 16 & 255);
348
+ results.push(value >> 8 & 255);
349
+ results.push(value & 255);
350
+ return results;
351
+ }();
352
+ } else if (match = string.match(ipv4Regexes.threeOctet)) {
353
+ return function() {
354
+ const ref = match.slice(1, 5);
355
+ const results = [];
356
+ value = parseIntAuto(ref[2]);
357
+ if (value > 65535 || value < 0) {
358
+ throw new Error("ipaddr: address outside defined range");
359
+ }
360
+ results.push(parseIntAuto(ref[0]));
361
+ results.push(parseIntAuto(ref[1]));
362
+ results.push(value >> 8 & 255);
363
+ results.push(value & 255);
364
+ return results;
365
+ }();
366
+ } else {
367
+ return null;
368
+ }
369
+ };
370
+ ipaddr2.IPv4.subnetMaskFromPrefixLength = function(prefix) {
371
+ prefix = parseInt(prefix);
372
+ if (prefix < 0 || prefix > 32) {
373
+ throw new Error("ipaddr: invalid IPv4 prefix length");
374
+ }
375
+ const octets = [0, 0, 0, 0];
376
+ let j = 0;
377
+ const filledOctetCount = Math.floor(prefix / 8);
378
+ while (j < filledOctetCount) {
379
+ octets[j] = 255;
380
+ j++;
381
+ }
382
+ if (filledOctetCount < 4) {
383
+ octets[filledOctetCount] = Math.pow(2, prefix % 8) - 1 << 8 - prefix % 8;
384
+ }
385
+ return new this(octets);
386
+ };
387
+ ipaddr2.IPv6 = function() {
388
+ function IPv6(parts, zoneId) {
389
+ let i, part;
390
+ if (parts.length === 16) {
391
+ this.parts = [];
392
+ for (i = 0; i <= 14; i += 2) {
393
+ this.parts.push(parts[i] << 8 | parts[i + 1]);
394
+ }
395
+ } else if (parts.length === 8) {
396
+ this.parts = parts;
397
+ } else {
398
+ throw new Error("ipaddr: ipv6 part count should be 8 or 16");
399
+ }
400
+ for (i = 0; i < this.parts.length; i++) {
401
+ part = this.parts[i];
402
+ if (!(0 <= part && part <= 65535)) {
403
+ throw new Error("ipaddr: ipv6 part should fit in 16 bits");
404
+ }
405
+ }
406
+ if (zoneId) {
407
+ this.zoneId = zoneId;
408
+ }
409
+ }
410
+ IPv6.prototype.SpecialRanges = {
411
+ // RFC4291, here and after
412
+ unspecified: [new IPv6([0, 0, 0, 0, 0, 0, 0, 0]), 128],
413
+ linkLocal: [new IPv6([65152, 0, 0, 0, 0, 0, 0, 0]), 10],
414
+ multicast: [new IPv6([65280, 0, 0, 0, 0, 0, 0, 0]), 8],
415
+ loopback: [new IPv6([0, 0, 0, 0, 0, 0, 0, 1]), 128],
416
+ uniqueLocal: [new IPv6([64512, 0, 0, 0, 0, 0, 0, 0]), 7],
417
+ ipv4Mapped: [new IPv6([0, 0, 0, 0, 0, 65535, 0, 0]), 96],
418
+ // RFC3879
419
+ deprecatedSiteLocal: [new IPv6([65216, 0, 0, 0, 0, 0, 0, 0]), 10],
420
+ // RFC6666
421
+ discard: [new IPv6([256, 0, 0, 0, 0, 0, 0, 0]), 64],
422
+ // RFC6145
423
+ rfc6145: [new IPv6([0, 0, 0, 0, 65535, 0, 0, 0]), 96],
424
+ rfc6052: [
425
+ // RFC6052
426
+ [new IPv6([100, 65435, 0, 0, 0, 0, 0, 0]), 96],
427
+ // RFC8215
428
+ [new IPv6([100, 65435, 1, 0, 0, 0, 0, 0]), 48]
429
+ ],
430
+ // RFC3056
431
+ "6to4": [new IPv6([8194, 0, 0, 0, 0, 0, 0, 0]), 16],
432
+ // RFC6052, RFC6146
433
+ teredo: [new IPv6([8193, 0, 0, 0, 0, 0, 0, 0]), 32],
434
+ // RFC5180
435
+ benchmarking: [new IPv6([8193, 2, 0, 0, 0, 0, 0, 0]), 48],
436
+ // RFC7450
437
+ amt: [new IPv6([8193, 3, 0, 0, 0, 0, 0, 0]), 32],
438
+ as112v6: [
439
+ // RFC7535
440
+ [new IPv6([8193, 4, 274, 0, 0, 0, 0, 0]), 48],
441
+ // RFC7534
442
+ [new IPv6([9760, 79, 32768, 0, 0, 0, 0, 0]), 48]
443
+ ],
444
+ // RFC4843
445
+ deprecatedOrchid: [new IPv6([8193, 16, 0, 0, 0, 0, 0, 0]), 28],
446
+ // RFC7343
447
+ orchid2: [new IPv6([8193, 32, 0, 0, 0, 0, 0, 0]), 28],
448
+ // RFC9374
449
+ droneRemoteIdProtocolEntityTags: [new IPv6([8193, 48, 0, 0, 0, 0, 0, 0]), 28],
450
+ // RFC9602
451
+ segmentRouting: [new IPv6([24320, 0, 0, 0, 0, 0, 0, 0]), 16],
452
+ reserved: [
453
+ // RFC3849
454
+ [new IPv6([8193, 0, 0, 0, 0, 0, 0, 0]), 23],
455
+ // RFC2928
456
+ [new IPv6([8193, 3512, 0, 0, 0, 0, 0, 0]), 32],
457
+ // RFC9637
458
+ [new IPv6([16383, 0, 0, 0, 0, 0, 0, 0]), 20]
459
+ ]
460
+ };
461
+ IPv6.prototype.isIPv4MappedAddress = function() {
462
+ return this.range() === "ipv4Mapped";
463
+ };
464
+ IPv6.prototype.kind = function() {
465
+ return "ipv6";
466
+ };
467
+ IPv6.prototype.match = function(other, cidrRange) {
468
+ let ref;
469
+ if (cidrRange === void 0) {
470
+ ref = other;
471
+ other = ref[0];
472
+ cidrRange = ref[1];
473
+ }
474
+ if (other.kind() !== "ipv6") {
475
+ throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");
476
+ }
477
+ return matchCIDR(this.parts, other.parts, 16, cidrRange);
478
+ };
479
+ IPv6.prototype.prefixLengthFromSubnetMask = function() {
480
+ let cidr = 0;
481
+ let stop = false;
482
+ const zerotable = {
483
+ 0: 16,
484
+ 32768: 15,
485
+ 49152: 14,
486
+ 57344: 13,
487
+ 61440: 12,
488
+ 63488: 11,
489
+ 64512: 10,
490
+ 65024: 9,
491
+ 65280: 8,
492
+ 65408: 7,
493
+ 65472: 6,
494
+ 65504: 5,
495
+ 65520: 4,
496
+ 65528: 3,
497
+ 65532: 2,
498
+ 65534: 1,
499
+ 65535: 0
500
+ };
501
+ let part, zeros;
502
+ for (let i = 7; i >= 0; i -= 1) {
503
+ part = this.parts[i];
504
+ if (part in zerotable) {
505
+ zeros = zerotable[part];
506
+ if (stop && zeros !== 0) {
507
+ return null;
508
+ }
509
+ if (zeros !== 16) {
510
+ stop = true;
511
+ }
512
+ cidr += zeros;
513
+ } else {
514
+ return null;
515
+ }
516
+ }
517
+ return 128 - cidr;
518
+ };
519
+ IPv6.prototype.range = function() {
520
+ return ipaddr2.subnetMatch(this, this.SpecialRanges);
521
+ };
522
+ IPv6.prototype.toByteArray = function() {
523
+ let part;
524
+ const bytes = [];
525
+ const ref = this.parts;
526
+ for (let i = 0; i < ref.length; i++) {
527
+ part = ref[i];
528
+ bytes.push(part >> 8);
529
+ bytes.push(part & 255);
530
+ }
531
+ return bytes;
532
+ };
533
+ IPv6.prototype.toFixedLengthString = function() {
534
+ const addr = function() {
535
+ const results = [];
536
+ for (let i = 0; i < this.parts.length; i++) {
537
+ results.push(padPart(this.parts[i].toString(16), 4));
538
+ }
539
+ return results;
540
+ }.call(this).join(":");
541
+ let suffix = "";
542
+ if (this.zoneId) {
543
+ suffix = `%${this.zoneId}`;
544
+ }
545
+ return addr + suffix;
546
+ };
547
+ IPv6.prototype.toIPv4Address = function() {
548
+ if (!this.isIPv4MappedAddress()) {
549
+ throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");
550
+ }
551
+ const ref = this.parts.slice(-2);
552
+ const high = ref[0];
553
+ const low = ref[1];
554
+ return new ipaddr2.IPv4([high >> 8, high & 255, low >> 8, low & 255]);
555
+ };
556
+ IPv6.prototype.toNormalizedString = function() {
557
+ const addr = function() {
558
+ const results = [];
559
+ for (let i = 0; i < this.parts.length; i++) {
560
+ results.push(this.parts[i].toString(16));
561
+ }
562
+ return results;
563
+ }.call(this).join(":");
564
+ let suffix = "";
565
+ if (this.zoneId) {
566
+ suffix = `%${this.zoneId}`;
567
+ }
568
+ return addr + suffix;
569
+ };
570
+ IPv6.prototype.toRFC5952String = function() {
571
+ const regex = /((^|:)(0(:|$)){2,})/g;
572
+ const string = this.toNormalizedString();
573
+ let bestMatchIndex = 0;
574
+ let bestMatchLength = -1;
575
+ let match;
576
+ while (match = regex.exec(string)) {
577
+ if (match[0].length > bestMatchLength) {
578
+ bestMatchIndex = match.index;
579
+ bestMatchLength = match[0].length;
580
+ }
581
+ }
582
+ if (bestMatchLength < 0) {
583
+ return string;
584
+ }
585
+ return `${string.substring(0, bestMatchIndex)}::${string.substring(bestMatchIndex + bestMatchLength)}`;
586
+ };
587
+ IPv6.prototype.toString = function() {
588
+ return this.toRFC5952String();
589
+ };
590
+ return IPv6;
591
+ }();
592
+ ipaddr2.IPv6.broadcastAddressFromCIDR = function(string) {
593
+ try {
594
+ const cidr = this.parseCIDR(string);
595
+ const ipInterfaceOctets = cidr[0].toByteArray();
596
+ const subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
597
+ const octets = [];
598
+ let i = 0;
599
+ while (i < 16) {
600
+ octets.push(parseInt(ipInterfaceOctets[i], 10) | parseInt(subnetMaskOctets[i], 10) ^ 255);
601
+ i++;
602
+ }
603
+ return new this(octets);
604
+ } catch (e) {
605
+ throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`);
606
+ }
607
+ };
608
+ ipaddr2.IPv6.isIPv6 = function(string) {
609
+ return this.parser(string) !== null;
610
+ };
611
+ ipaddr2.IPv6.isValid = function(string) {
612
+ if (typeof string === "string" && string.indexOf(":") === -1) {
613
+ return false;
614
+ }
615
+ try {
616
+ const addr = this.parser(string);
617
+ new this(addr.parts, addr.zoneId);
618
+ return true;
619
+ } catch (e) {
620
+ return false;
621
+ }
622
+ };
623
+ ipaddr2.IPv6.isValidCIDR = function(string) {
624
+ if (typeof string === "string" && string.indexOf(":") === -1) {
625
+ return false;
626
+ }
627
+ try {
628
+ this.parseCIDR(string);
629
+ return true;
630
+ } catch (e) {
631
+ return false;
632
+ }
633
+ };
634
+ ipaddr2.IPv6.networkAddressFromCIDR = function(string) {
635
+ let cidr, i, ipInterfaceOctets, octets, subnetMaskOctets;
636
+ try {
637
+ cidr = this.parseCIDR(string);
638
+ ipInterfaceOctets = cidr[0].toByteArray();
639
+ subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
640
+ octets = [];
641
+ i = 0;
642
+ while (i < 16) {
643
+ octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10));
644
+ i++;
645
+ }
646
+ return new this(octets);
647
+ } catch (e) {
648
+ throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${e})`);
649
+ }
650
+ };
651
+ ipaddr2.IPv6.parse = function(string) {
652
+ const addr = this.parser(string);
653
+ if (addr.parts === null) {
654
+ throw new Error("ipaddr: string is not formatted like an IPv6 Address");
655
+ }
656
+ return new this(addr.parts, addr.zoneId);
657
+ };
658
+ ipaddr2.IPv6.parseCIDR = function(string) {
659
+ let maskLength, match, parsed;
660
+ if (match = string.match(/^(.+)\/(\d+)$/)) {
661
+ maskLength = parseInt(match[2]);
662
+ if (maskLength >= 0 && maskLength <= 128) {
663
+ parsed = [this.parse(match[1]), maskLength];
664
+ Object.defineProperty(parsed, "toString", {
665
+ value: function() {
666
+ return this.join("/");
667
+ }
668
+ });
669
+ return parsed;
670
+ }
671
+ }
672
+ throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range");
673
+ };
674
+ ipaddr2.IPv6.parser = function(string) {
675
+ let addr, i, match, octet, octets, zoneId;
676
+ if (match = string.match(ipv6Regexes.deprecatedTransitional)) {
677
+ return this.parser(`::ffff:${match[1]}`);
678
+ }
679
+ if (ipv6Regexes.native.test(string)) {
680
+ return expandIPv6(string, 8);
681
+ }
682
+ if (match = string.match(ipv6Regexes.transitional)) {
683
+ zoneId = match[6] || "";
684
+ addr = match[1];
685
+ if (!match[1].endsWith("::")) {
686
+ addr = addr.slice(0, -1);
687
+ }
688
+ addr = expandIPv6(addr + zoneId, 6);
689
+ if (addr.parts) {
690
+ octets = [
691
+ parseInt(match[2]),
692
+ parseInt(match[3]),
693
+ parseInt(match[4]),
694
+ parseInt(match[5])
695
+ ];
696
+ for (i = 0; i < octets.length; i++) {
697
+ octet = octets[i];
698
+ if (!(0 <= octet && octet <= 255)) {
699
+ return null;
700
+ }
701
+ }
702
+ addr.parts.push(octets[0] << 8 | octets[1]);
703
+ addr.parts.push(octets[2] << 8 | octets[3]);
704
+ return {
705
+ parts: addr.parts,
706
+ zoneId: addr.zoneId
707
+ };
708
+ }
709
+ }
710
+ return null;
711
+ };
712
+ ipaddr2.IPv6.subnetMaskFromPrefixLength = function(prefix) {
713
+ prefix = parseInt(prefix);
714
+ if (prefix < 0 || prefix > 128) {
715
+ throw new Error("ipaddr: invalid IPv6 prefix length");
716
+ }
717
+ const octets = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
718
+ let j = 0;
719
+ const filledOctetCount = Math.floor(prefix / 8);
720
+ while (j < filledOctetCount) {
721
+ octets[j] = 255;
722
+ j++;
723
+ }
724
+ if (filledOctetCount < 16) {
725
+ octets[filledOctetCount] = Math.pow(2, prefix % 8) - 1 << 8 - prefix % 8;
726
+ }
727
+ return new this(octets);
728
+ };
729
+ ipaddr2.fromByteArray = function(bytes) {
730
+ const length = bytes.length;
731
+ if (length === 4) {
732
+ return new ipaddr2.IPv4(bytes);
733
+ } else if (length === 16) {
734
+ return new ipaddr2.IPv6(bytes);
735
+ } else {
736
+ throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address");
737
+ }
738
+ };
739
+ ipaddr2.isValid = function(string) {
740
+ return ipaddr2.IPv6.isValid(string) || ipaddr2.IPv4.isValid(string);
741
+ };
742
+ ipaddr2.isValidCIDR = function(string) {
743
+ return ipaddr2.IPv6.isValidCIDR(string) || ipaddr2.IPv4.isValidCIDR(string);
744
+ };
745
+ ipaddr2.parse = function(string) {
746
+ if (ipaddr2.IPv6.isValid(string)) {
747
+ return ipaddr2.IPv6.parse(string);
748
+ } else if (ipaddr2.IPv4.isValid(string)) {
749
+ return ipaddr2.IPv4.parse(string);
750
+ } else {
751
+ throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format");
752
+ }
753
+ };
754
+ ipaddr2.parseCIDR = function(string) {
755
+ try {
756
+ return ipaddr2.IPv6.parseCIDR(string);
757
+ } catch (e) {
758
+ try {
759
+ return ipaddr2.IPv4.parseCIDR(string);
760
+ } catch (e2) {
761
+ throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format");
762
+ }
763
+ }
764
+ };
765
+ ipaddr2.process = function(string) {
766
+ const addr = this.parse(string);
767
+ if (addr.kind() === "ipv6" && addr.isIPv4MappedAddress()) {
768
+ return addr.toIPv4Address();
769
+ } else {
770
+ return addr;
771
+ }
772
+ };
773
+ ipaddr2.subnetMatch = function(address, rangeList, defaultName) {
774
+ let i, rangeName, rangeSubnets, subnet;
775
+ if (defaultName === void 0 || defaultName === null) {
776
+ defaultName = "unicast";
777
+ }
778
+ for (rangeName in rangeList) {
779
+ if (Object.prototype.hasOwnProperty.call(rangeList, rangeName)) {
780
+ rangeSubnets = rangeList[rangeName];
781
+ if (rangeSubnets[0] && !(rangeSubnets[0] instanceof Array)) {
782
+ rangeSubnets = [rangeSubnets];
783
+ }
784
+ for (i = 0; i < rangeSubnets.length; i++) {
785
+ subnet = rangeSubnets[i];
786
+ if (address.kind() === subnet[0].kind() && address.match.apply(address, subnet)) {
787
+ return rangeName;
788
+ }
789
+ }
790
+ }
791
+ }
792
+ return defaultName;
793
+ };
794
+ if (module.exports) {
795
+ module.exports = ipaddr2;
796
+ } else {
797
+ root.ipaddr = ipaddr2;
798
+ }
799
+ })(commonjsGlobal);
800
+ })(ipaddr$1);
801
+ var ipaddrExports = ipaddr$1.exports;
802
+ const ipaddr = /* @__PURE__ */ getDefaultExportFromCjs(ipaddrExports);
803
+ export {
804
+ ipaddr as default
805
+ };