openclaw-multi-auto 1.5.1 → 1.5.4

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 (301) hide show
  1. package/dist/{accounts-L9ByEpnP.js → accounts-C9HcPI9h.js} +2 -2
  2. package/dist/{accounts-BOzyfwW4.js → accounts-C_lW3Ag9.js} +2 -2
  3. package/dist/{accounts-yfBeCZtS.js → accounts-Tgelvk0C.js} +17 -17
  4. package/dist/{active-listener-D1yqT1cw.js → active-listener-BEdprTkn.js} +2 -2
  5. package/dist/{api-key-rotation-DtsNS2Nb.js → api-key-rotation-BJpKWXy0.js} +2 -2
  6. package/dist/{audio-preflight-DoPfNXDz.js → audio-preflight-BMvgEQ5j.js} +32 -32
  7. package/dist/{audio-preflight-5FEeDooz.js → audio-preflight-DDBLZBdb.js} +4 -4
  8. package/dist/{audio-transcription-runner-B-UvoDjZ.js → audio-transcription-runner-DZbSWT9E.js} +1 -1
  9. package/dist/{audio-transcription-runner-CzjuH3uL.js → audio-transcription-runner-gLFfz8fr.js} +12 -12
  10. package/dist/{audit-membership-runtime-DWyHWAHM.js → audit-membership-runtime-Dntemq07.js} +4 -4
  11. package/dist/build-info.json +3 -3
  12. package/dist/bundled/boot-md/handler.js +51 -51
  13. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  14. package/dist/bundled/command-logger/handler.js +2 -2
  15. package/dist/bundled/session-memory/handler.js +51 -51
  16. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  17. package/dist/{channel-activity-xHOMiarp.js → channel-activity-BDnjYF7B.js} +3 -3
  18. package/dist/{chrome-D45SyhQL.js → chrome-CMU2WVFh.js} +8 -8
  19. package/dist/{chrome-DlhJHqj8.js → chrome-DxxEKrY7.js} +26 -26
  20. package/dist/{commands-registry-V1zZ5pPC.js → commands-registry-D5qXbFJn.js} +4 -4
  21. package/dist/{deliver-B9cys0EZ.js → deliver-BXVcFIHL.js} +1 -1
  22. package/dist/{deliver-CApVJA_l.js → deliver-DbdywYJE.js} +21 -21
  23. package/dist/deliver-runtime-BFs7iAZF.js +36 -0
  24. package/dist/{deliver-runtime-DhaQJ0pI.js → deliver-runtime-DTaIS-1i.js} +3 -3
  25. package/dist/deps-send-discord.runtime-DZUccI6Z.js +26 -0
  26. package/dist/deps-send-imessage.runtime-CF3OpoqY.js +25 -0
  27. package/dist/deps-send-signal.runtime-Cw4-ozeO.js +24 -0
  28. package/dist/deps-send-slack.runtime-BDsDhS1P.js +22 -0
  29. package/dist/deps-send-telegram.runtime-D_4xVasO.js +27 -0
  30. package/dist/{deps-send-whatsapp.runtime-DvTL2tzN.js → deps-send-whatsapp.runtime-CIZqFAqb.js} +7 -7
  31. package/dist/deps-send-whatsapp.runtime-DK8jqd14.js +60 -0
  32. package/dist/{diagnostic-Bn4PZjMZ.js → diagnostic-Co6Kghr-.js} +2 -2
  33. package/dist/{errors-CCLeFWAg.js → errors-xt401nuk.js} +1 -1
  34. package/dist/extensionAPI.js +6 -6
  35. package/dist/{fetch-BlJWzEP6.js → fetch-DuraYswo.js} +5 -5
  36. package/dist/{fetch-guard-ChYBwfiy.js → fetch-guard-DWr0d00H.js} +2 -2
  37. package/dist/{frontmatter-CvaMP376.js → frontmatter-BkTfEZ93.js} +3 -3
  38. package/dist/{fs-safe-0jAo_Whb.js → fs-safe-CTYUrIgQ.js} +4 -4
  39. package/dist/{github-copilot-token-D13V9YBz.js → github-copilot-token-BDioPmd6.js} +7 -7
  40. package/dist/{image-DAOPwVXi.js → image-BCVLo0qw.js} +1 -1
  41. package/dist/{image-B3Mz7N5I.js → image-eT7Y-nP5.js} +6 -6
  42. package/dist/{image-ops-CehkHxmW.js → image-ops-BuUnEOE0.js} +2 -2
  43. package/dist/image-runtime-BcAK3n8a.js +29 -0
  44. package/dist/{image-runtime-wlCLVvVv.js → image-runtime-DtCKpMPZ.js} +3 -3
  45. package/dist/{ir-DAP-B-Xw.js → ir-B83looB-.js} +8 -8
  46. package/dist/{legacy-names-TyzbVqa_.js → legacy-names-DOC03BkU.js} +1 -1
  47. package/dist/llm-slug-generator.js +51 -51
  48. package/dist/{logger-DMZQQtxK.js → logger-BfjWMCSD.js} +7 -7
  49. package/dist/{login-DiCctRo1.js → login-CrIwcrVI.js} +5 -5
  50. package/dist/{login-qr-MUbXgjtd.js → login-qr-BpPDZdl_.js} +10 -10
  51. package/dist/{manager-BW_NSIMl.js → manager-1bvuGrNR.js} +13 -13
  52. package/dist/manager-runtime-FO1Sx3W8.js +18 -0
  53. package/dist/{model-selection-idoqPmw0.js → model-selection-Dna0Gz1k.js} +43 -43
  54. package/dist/{outbound-C2kanETZ.js → outbound-ChDjtuD6.js} +6 -6
  55. package/dist/{outbound-attachment-DBrYWX8h.js → outbound-attachment-DqHlD21U.js} +2 -2
  56. package/dist/{path-alias-guards-DqXRZmsL.js → path-alias-guards-BzvdLvTI.js} +1 -1
  57. package/dist/{paths-CCxysrzL.js → paths-Bkr-BCxW.js} +4 -4
  58. package/dist/{paths-C6TxBCvO.js → paths-Cvc9EM8Y.js} +5 -5
  59. package/dist/{pi-embedded-bcjMe3wj.js → pi-embedded-BQQa91aA.js} +167 -167
  60. package/dist/{pi-embedded-DYU79yGe.js → pi-embedded-CgQ_W6Xs.js} +24 -24
  61. package/dist/{pi-embedded-helpers-D5yyGEvA.js → pi-embedded-helpers-CLXm10bV.js} +52 -52
  62. package/dist/{pi-embedded-helpers-uTRAmQ4n.js → pi-embedded-helpers-CwuBTKza.js} +3 -3
  63. package/dist/{pi-model-discovery-BGgOlX8N.js → pi-model-discovery-Dymwdjt0.js} +7 -7
  64. package/dist/pi-model-discovery-runtime-BeY4EUPp.js +11 -0
  65. package/dist/{pi-tools.before-tool-call.runtime-BuLxSyx9.js → pi-tools.before-tool-call.runtime-Cwab_5W1.js} +9 -9
  66. package/dist/plugin-sdk/{accounts-C3m65--E.js → accounts-BJAXxY46.js} +2 -2
  67. package/dist/plugin-sdk/{accounts-CNCCkdEF.js → accounts-C1j7HSL0.js} +3 -3
  68. package/dist/plugin-sdk/{accounts-BslAlVYS.js → accounts-DyFCXtHv.js} +2 -2
  69. package/dist/plugin-sdk/{active-listener-CkPnMUkB.js → active-listener-CftX5jLD.js} +2 -2
  70. package/dist/plugin-sdk/{api-key-rotation-BXnNsojA.js → api-key-rotation-8nyyt1kx.js} +2 -2
  71. package/dist/plugin-sdk/{audio-preflight-CtO4fFvp.js → audio-preflight-C_aSAPR1.js} +26 -26
  72. package/dist/plugin-sdk/{audio-transcription-runner-DnxvOS1-.js → audio-transcription-runner-CB53F7_7.js} +11 -11
  73. package/dist/plugin-sdk/{audit-membership-runtime-BpfoSk8M.js → audit-membership-runtime-BXndI4LG.js} +2 -2
  74. package/dist/plugin-sdk/{channel-activity-WJYxcJ3S.js → channel-activity-C5y8AgAV.js} +3 -3
  75. package/dist/plugin-sdk/{channel-web-dO5k3ubM.js → channel-web-DBTRO03V.js} +18 -18
  76. package/dist/plugin-sdk/{chrome-CjNTuJML.js → chrome-f00sZkDX.js} +6 -6
  77. package/dist/plugin-sdk/{commands-registry-CdYjoI0i.js → commands-registry-BJ_NxG2F.js} +4 -4
  78. package/dist/plugin-sdk/{common-oYc5vPFl.js → common-Cf27Jwxu.js} +2 -2
  79. package/dist/plugin-sdk/{config-B1z-UxQ3.js → config-CHQrpx-Q.js} +7 -7
  80. package/dist/plugin-sdk/{deliver-D5_6T567.js → deliver-DNEuetST.js} +10 -10
  81. package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +32 -0
  82. package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +23 -0
  83. package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +22 -0
  84. package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +21 -0
  85. package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +19 -0
  86. package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +24 -0
  87. package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +57 -0
  88. package/dist/plugin-sdk/{diagnostic-Bxxu0ig-.js → diagnostic-LYUUmjJ5.js} +2 -2
  89. package/dist/plugin-sdk/{errors-B3cHyZZA.js → errors-CtMWwS2Z.js} +1 -1
  90. package/dist/plugin-sdk/{fetch-guard-Dcgod0tg.js → fetch-guard-CxYB5Kg6.js} +2 -2
  91. package/dist/plugin-sdk/{fs-safe-BaKqI3G4.js → fs-safe-DtfhxbrI.js} +3 -3
  92. package/dist/plugin-sdk/{image-B2mQW9Rb.js → image-BwjYjRHx.js} +6 -6
  93. package/dist/plugin-sdk/{image-ops-Cbzr4U9l.js → image-ops-BnZKcbd6.js} +2 -2
  94. package/dist/plugin-sdk/image-runtime-B8twoubs.js +25 -0
  95. package/dist/plugin-sdk/{ir-ZEmrTr4J.js → ir-Z4hX67TJ.js} +7 -7
  96. package/dist/plugin-sdk/{local-roots-CIPRxA-4.js → local-roots-KhjQw04O.js} +4 -4
  97. package/dist/plugin-sdk/{logger-CvPFVOgT.js → logger-DHIIvMxj.js} +2 -2
  98. package/dist/plugin-sdk/{login-CCTew9bt.js → login-C31642Ld.js} +4 -4
  99. package/dist/plugin-sdk/{login-qr-BI3Vi_wJ.js → login-qr--y2SG_Ue.js} +5 -5
  100. package/dist/plugin-sdk/{manager-BEoYPn7R.js → manager-2UZBMCc7.js} +8 -8
  101. package/dist/plugin-sdk/manager-runtime-CMeLwose.js +15 -0
  102. package/dist/plugin-sdk/mattermost.js +3 -3
  103. package/dist/plugin-sdk/{outbound-ByOw1K6W.js → outbound-Ba0QUI5h.js} +5 -5
  104. package/dist/plugin-sdk/{outbound-attachment-BzVhxRRw.js → outbound-attachment-B1Laso-8.js} +2 -2
  105. package/dist/plugin-sdk/{path-alias-guards-sWayacde.js → path-alias-guards-C7Vm5DZ1.js} +1 -1
  106. package/dist/plugin-sdk/{paths-Dpg3qxcl.js → paths-DopV9PQG.js} +1 -1
  107. package/dist/plugin-sdk/{pi-embedded-helpers-DIxXkGJf.js → pi-embedded-helpers-DnA_OCzP.js} +16 -16
  108. package/dist/plugin-sdk/{pi-model-discovery-DM_2uFtj.js → pi-model-discovery-DdPqXk8f.js} +1 -1
  109. package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +8 -0
  110. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-w1dqL_ty.js → pi-tools.before-tool-call.runtime-DxFHiLUE.js} +4 -4
  111. package/dist/plugin-sdk/{plugins-C4USiH29.js → plugins-CbCt4osF.js} +4 -4
  112. package/dist/plugin-sdk/{proxy-env-ET-rp8eg.js → proxy-env-C63mMdas.js} +1 -1
  113. package/dist/{proxy-fetch-CCjEYbFm.js → plugin-sdk/proxy-fetch-Ch95c_Y2.js} +1 -1
  114. package/dist/plugin-sdk/{pw-ai-CyOt3RDA.js → pw-ai-DpJk62D4.js} +9 -9
  115. package/dist/plugin-sdk/{qmd-manager-BySdoVR7.js → qmd-manager-Ca-iSfEE.js} +7 -7
  116. package/dist/plugin-sdk/{query-expansion-C6uS-7lj.js → query-expansion-B_Xe41Ab.js} +4 -4
  117. package/dist/plugin-sdk/{redact-Bvxt1T_Q.js → redact-hp9TOulW.js} +1 -1
  118. package/dist/plugin-sdk/{reply-CTCSeQqW.js → reply-CovBlFea.js} +73 -73
  119. package/dist/plugin-sdk/{resolve-outbound-target-Bw8YNANu.js → resolve-outbound-target-BbrHgyUk.js} +2 -2
  120. package/dist/plugin-sdk/{run-with-concurrency-C_KCHwvf.js → run-with-concurrency-BR1DXa8T.js} +1 -1
  121. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +10 -0
  122. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +19 -0
  123. package/dist/plugin-sdk/{send-C0w6xP2x.js → send-BTztm3D2.js} +6 -6
  124. package/dist/plugin-sdk/{send-qPyNGSe4.js → send-BXpXBwM_.js} +13 -13
  125. package/dist/plugin-sdk/{send-BZ6nYFZr.js → send-BvAtLLPl.js} +5 -5
  126. package/dist/plugin-sdk/{send-CFf-1V89.js → send-CWJUuG0i.js} +8 -8
  127. package/dist/plugin-sdk/{send-CY-Qfwia.js → send-EcglC4cG.js} +7 -7
  128. package/dist/plugin-sdk/{session-COrvpvUQ.js → session-k256LJZT.js} +3 -3
  129. package/dist/plugin-sdk/{skill-commands-DZqhtmiv.js → skill-commands-DoRqLzxm.js} +4 -4
  130. package/dist/plugin-sdk/{skills-Cw_vXEJb.js → skills-QudILG6e.js} +6 -6
  131. package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +13 -0
  132. package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +52 -0
  133. package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +16 -0
  134. package/dist/plugin-sdk/{store-CMHj6IIw.js → store-BbDQw3g6.js} +2 -2
  135. package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +52 -0
  136. package/dist/plugin-sdk/{tables-CSqrHsKL.js → tables-BhvloMKN.js} +1 -1
  137. package/dist/plugin-sdk/{thinking-DOnsR_A8.js → thinking-URzkT-3p.js} +7 -7
  138. package/dist/plugin-sdk/{tokens-BDr0Z9o3.js → tokens-B1PW5Ayy.js} +1 -1
  139. package/dist/plugin-sdk/{tool-images-eEfOVkzf.js → tool-images-xpqbP6RR.js} +2 -2
  140. package/dist/plugin-sdk/web-B74yhL2N.js +56 -0
  141. package/dist/plugin-sdk/{whatsapp-actions-xcleMoMv.js → whatsapp-actions-RcZ6vp61.js} +17 -17
  142. package/dist/plugin-sdk/whatsapp.js +50 -50
  143. package/dist/{plugins-CWkRQYDj.js → plugins-4Rj4OjLY.js} +11 -11
  144. package/dist/{proxy-env-Cq5gdrbj.js → proxy-env-DlmzDx8x.js} +1 -1
  145. package/dist/{plugin-sdk/proxy-fetch-uDXGKG3Z.js → proxy-fetch-B2pEfjbR.js} +1 -1
  146. package/dist/{pw-ai-GcYO6HPE.js → pw-ai-CmphSzHx.js} +1 -1
  147. package/dist/{pw-ai-CDQDCfUa.js → pw-ai-DNMjFMqH.js} +14 -14
  148. package/dist/{qmd-manager-BsYsO9Ii.js → qmd-manager-BtIKUaO9.js} +10 -10
  149. package/dist/{query-expansion-DtLc3wjL.js → query-expansion-CX-1fS52.js} +6 -6
  150. package/dist/{redact-ClbcYG1J.js → redact-COik8ET1.js} +1 -1
  151. package/dist/{run-with-concurrency-D_ZpbgEG.js → run-with-concurrency-BgYfgkXT.js} +4 -4
  152. package/dist/runtime-whatsapp-login.runtime-DUb55byQ.js +13 -0
  153. package/dist/runtime-whatsapp-outbound.runtime-Bii_xSfI.js +22 -0
  154. package/dist/{send-Dx2RkUOZ.js → send-6lz6rNVP.js} +6 -6
  155. package/dist/{send-vmONuVgL.js → send-BHTiZcH3.js} +26 -26
  156. package/dist/{send-Bj776ESJ.js → send-L7gRiwyd.js} +7 -7
  157. package/dist/{send-DcxmcFi_.js → send-PE6cwoTe.js} +8 -8
  158. package/dist/{send-BQERFNyo.js → send-dfu6_rgf.js} +5 -5
  159. package/dist/{session-A4QhBRvH.js → session-D8ImowSs.js} +8 -8
  160. package/dist/{skill-commands-CMzBZKG2.js → skill-commands-DNqJ-kwn.js} +9 -9
  161. package/dist/{skills-CE_iqvM5.js → skills-7ODkHQYp.js} +22 -22
  162. package/dist/slash-commands.runtime-CVw6566g.js +16 -0
  163. package/dist/{slash-dispatch.runtime-Dh053pQK.js → slash-dispatch.runtime-131yup2e.js} +6 -6
  164. package/dist/slash-dispatch.runtime-B9Ygtzi4.js +56 -0
  165. package/dist/slash-skill-commands.runtime-DxZ4z5h6.js +20 -0
  166. package/dist/{store--eR1R_UX.js → store-D89wDcz9.js} +2 -2
  167. package/dist/subagent-registry-runtime-DL1Wv7nA.js +56 -0
  168. package/dist/{subagent-registry-runtime-DSi5mnCQ.js → subagent-registry-runtime-DbSf_Je6.js} +6 -6
  169. package/dist/{subsystem-Di1z8l0Z.js → subsystem-B45WV3qB.js} +14 -14
  170. package/dist/{tables-d739Y1xW.js → tables-mE4cJBN2.js} +1 -1
  171. package/dist/{target-errors-CBI2Ga0y.js → target-errors-mnlwhAjP.js} +2 -2
  172. package/dist/{thinking-DXYisHiZ.js → thinking-BeGmb5k6.js} +7 -7
  173. package/dist/{tokens-DxnY9ui_.js → tokens-q32vI39c.js} +1 -1
  174. package/dist/{tool-images-2cBx1W8h.js → tool-images-RZdHiZcG.js} +2 -2
  175. package/dist/{web-NWKn8ABz.js → web-Btj-e8kN.js} +55 -55
  176. package/dist/{web-1hWJDzNA.js → web-MR9d7KyB.js} +6 -6
  177. package/dist/{whatsapp-actions-iEArE_Ez.js → whatsapp-actions-BHbJJyqw.js} +21 -21
  178. package/dist/{workspace-CUVC6GX1.js → workspace-U-DyR64O.js} +20 -20
  179. package/package.json +1 -1
  180. package/scripts/create-instance.sh +1 -37
  181. package/scripts/npm_publish.sh +0 -65
  182. package/scripts/npm_publish_backup.sh +185 -0
  183. package/dist/deliver-runtime-D1z-h5eg.js +0 -36
  184. package/dist/deps-send-discord.runtime-DnbhTFX9.js +0 -26
  185. package/dist/deps-send-imessage.runtime-BOiQ6mDx.js +0 -25
  186. package/dist/deps-send-signal.runtime-CTcl388M.js +0 -24
  187. package/dist/deps-send-slack.runtime-CCqBz4Kg.js +0 -22
  188. package/dist/deps-send-telegram.runtime-DGSKTCpH.js +0 -27
  189. package/dist/deps-send-whatsapp.runtime-Dz_4fi2D.js +0 -60
  190. package/dist/image-runtime-DWjhow2W.js +0 -29
  191. package/dist/manager-runtime-BN6VevdC.js +0 -18
  192. package/dist/pi-model-discovery-runtime-Bwmi4Ev8.js +0 -11
  193. package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +0 -32
  194. package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +0 -23
  195. package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +0 -22
  196. package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +0 -21
  197. package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +0 -19
  198. package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +0 -24
  199. package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +0 -57
  200. package/dist/plugin-sdk/image-runtime-BFm45j49.js +0 -25
  201. package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +0 -15
  202. package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +0 -8
  203. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +0 -10
  204. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +0 -19
  205. package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +0 -13
  206. package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +0 -52
  207. package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +0 -16
  208. package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +0 -52
  209. package/dist/plugin-sdk/web-BLyT64pW.js +0 -56
  210. package/dist/runtime-whatsapp-login.runtime-IeylZEl4.js +0 -13
  211. package/dist/runtime-whatsapp-outbound.runtime-ClBRuLsq.js +0 -22
  212. package/dist/slash-commands.runtime-Cpn2tYW4.js +0 -16
  213. package/dist/slash-dispatch.runtime-CWbpp23S.js +0 -56
  214. package/dist/slash-skill-commands.runtime-DKMvvdDW.js +0 -20
  215. package/dist/subagent-registry-runtime-DEVpAaAP.js +0 -56
  216. package/extensions/page-action-cache/dist/actions-executor.d.ts +0 -62
  217. package/extensions/page-action-cache/dist/actions-executor.d.ts.map +0 -1
  218. package/extensions/page-action-cache/dist/actions-executor.js +0 -339
  219. package/extensions/page-action-cache/dist/actions-executor.js.map +0 -1
  220. package/extensions/page-action-cache/dist/cache-invalidator.d.ts +0 -70
  221. package/extensions/page-action-cache/dist/cache-invalidator.d.ts.map +0 -1
  222. package/extensions/page-action-cache/dist/cache-invalidator.js +0 -212
  223. package/extensions/page-action-cache/dist/cache-invalidator.js.map +0 -1
  224. package/extensions/page-action-cache/dist/cache-store.d.ts +0 -80
  225. package/extensions/page-action-cache/dist/cache-store.d.ts.map +0 -1
  226. package/extensions/page-action-cache/dist/cache-store.js +0 -361
  227. package/extensions/page-action-cache/dist/cache-store.js.map +0 -1
  228. package/extensions/page-action-cache/dist/cache-strategy.d.ts +0 -65
  229. package/extensions/page-action-cache/dist/cache-strategy.d.ts.map +0 -1
  230. package/extensions/page-action-cache/dist/cache-strategy.js +0 -237
  231. package/extensions/page-action-cache/dist/cache-strategy.js.map +0 -1
  232. package/extensions/page-action-cache/dist/hooks-entry.d.ts +0 -18
  233. package/extensions/page-action-cache/dist/hooks-entry.d.ts.map +0 -1
  234. package/extensions/page-action-cache/dist/hooks-entry.js +0 -27
  235. package/extensions/page-action-cache/dist/hooks-entry.js.map +0 -1
  236. package/extensions/page-action-cache/dist/hooks.d.ts +0 -10
  237. package/extensions/page-action-cache/dist/hooks.d.ts.map +0 -1
  238. package/extensions/page-action-cache/dist/hooks.js +0 -277
  239. package/extensions/page-action-cache/dist/hooks.js.map +0 -1
  240. package/extensions/page-action-cache/dist/index.d.ts +0 -24
  241. package/extensions/page-action-cache/dist/index.d.ts.map +0 -1
  242. package/extensions/page-action-cache/dist/index.js +0 -34
  243. package/extensions/page-action-cache/dist/index.js.map +0 -1
  244. package/extensions/page-action-cache/dist/scenario-recognizer.d.ts +0 -45
  245. package/extensions/page-action-cache/dist/scenario-recognizer.d.ts.map +0 -1
  246. package/extensions/page-action-cache/dist/scenario-recognizer.js +0 -213
  247. package/extensions/page-action-cache/dist/scenario-recognizer.js.map +0 -1
  248. package/extensions/page-action-cache/dist/security-policy.d.ts +0 -62
  249. package/extensions/page-action-cache/dist/security-policy.d.ts.map +0 -1
  250. package/extensions/page-action-cache/dist/security-policy.js +0 -219
  251. package/extensions/page-action-cache/dist/security-policy.js.map +0 -1
  252. package/extensions/page-action-cache/dist/tools.d.ts +0 -209
  253. package/extensions/page-action-cache/dist/tools.d.ts.map +0 -1
  254. package/extensions/page-action-cache/dist/tools.js +0 -383
  255. package/extensions/page-action-cache/dist/tools.js.map +0 -1
  256. package/extensions/page-action-cache/dist/types.d.ts +0 -336
  257. package/extensions/page-action-cache/dist/types.d.ts.map +0 -1
  258. package/extensions/page-action-cache/dist/types.js +0 -8
  259. package/extensions/page-action-cache/dist/types.js.map +0 -1
  260. package/extensions/page-action-cache/dist/ux-enhancer.d.ts +0 -60
  261. package/extensions/page-action-cache/dist/ux-enhancer.d.ts.map +0 -1
  262. package/extensions/page-action-cache/dist/ux-enhancer.js +0 -218
  263. package/extensions/page-action-cache/dist/ux-enhancer.js.map +0 -1
  264. package/extensions/page-action-cache/dist/variable-resolver.d.ts +0 -28
  265. package/extensions/page-action-cache/dist/variable-resolver.d.ts.map +0 -1
  266. package/extensions/page-action-cache/dist/variable-resolver.js +0 -201
  267. package/extensions/page-action-cache/dist/variable-resolver.js.map +0 -1
  268. package/extensions/page-action-cache/docs/API.md +0 -555
  269. package/extensions/page-action-cache/docs/IMPLEMENTATION.md +0 -1792
  270. package/extensions/page-action-cache/docs/INTEGRATION.md +0 -387
  271. package/extensions/page-action-cache/docs/README.md +0 -183
  272. package/extensions/page-action-cache/index.ts +0 -118
  273. package/extensions/page-action-cache/node_modules/.bin/nlc +0 -21
  274. package/extensions/page-action-cache/node_modules/.bin/node-llama-cpp +0 -21
  275. package/extensions/page-action-cache/node_modules/.bin/openclaw +0 -21
  276. package/extensions/page-action-cache/node_modules/.bin/tsc +0 -21
  277. package/extensions/page-action-cache/node_modules/.bin/tsserver +0 -21
  278. package/extensions/page-action-cache/node_modules/.bin/vitest +0 -21
  279. package/extensions/page-action-cache/openclaw.plugin.json +0 -208
  280. package/extensions/page-action-cache/package.json +0 -74
  281. package/extensions/page-action-cache/scripts/npm_publish.sh +0 -80
  282. package/extensions/page-action-cache/skills/page-action-cache/SKILL.md +0 -216
  283. package/extensions/page-action-cache/src/actions-executor.ts +0 -441
  284. package/extensions/page-action-cache/src/cache-invalidator.ts +0 -271
  285. package/extensions/page-action-cache/src/cache-store.ts +0 -457
  286. package/extensions/page-action-cache/src/cache-strategy.ts +0 -327
  287. package/extensions/page-action-cache/src/hooks-entry.ts +0 -114
  288. package/extensions/page-action-cache/src/hooks.ts +0 -332
  289. package/extensions/page-action-cache/src/index.ts +0 -104
  290. package/extensions/page-action-cache/src/scenario-recognizer.ts +0 -259
  291. package/extensions/page-action-cache/src/security-policy.ts +0 -268
  292. package/extensions/page-action-cache/src/tools.ts +0 -437
  293. package/extensions/page-action-cache/src/types.ts +0 -482
  294. package/extensions/page-action-cache/src/ux-enhancer.ts +0 -266
  295. package/extensions/page-action-cache/src/variable-resolver.ts +0 -258
  296. package/extensions/page-action-cache/tests/actions-executor.test.ts +0 -424
  297. package/extensions/page-action-cache/tests/cache-store.test.ts +0 -267
  298. package/extensions/page-action-cache/tests/integration-test.ts +0 -62
  299. package/extensions/page-action-cache/tests/scenario-recognizer.test.ts +0 -140
  300. package/extensions/page-action-cache/tests/variable-resolver.test.ts +0 -187
  301. package/extensions/page-action-cache/tsconfig.json +0 -39
@@ -1,555 +0,0 @@
1
- # Page Action Cache API Reference
2
-
3
- 完整的 API 参考文档。
4
-
5
- ## 目录
6
-
7
- - [缓存存储 API](#缓存存储-api-cachestore)
8
- - [场景识别 API](#场景识别-api-scenariorecognizer)
9
- - [变量解析 API](#变量解析-api-variableresolver)
10
- - [操作执行 API](#操作执行-api-actionsexecutor)
11
- - [安全策略 API](#安全策略-api-securitypolicy)
12
- - [缓存失效 API](#缓存失效-api-cacheinvalidator)
13
- - [用户体验 API](#用户体验-api-uxenhancer)
14
- - [Hooks API](#hooks-api-hooks)
15
- - [缓存策略 API](#缓存策略-api-cachestrategy)
16
-
17
- ---
18
-
19
- ## 缓存存储 API (CacheStore)
20
-
21
- ### 初始化
22
-
23
- ```typescript
24
- import { getCacheStore } from "@openclaw/page-action-cache";
25
-
26
- const cacheStore = getCacheStore();
27
- ```
28
-
29
- ### 主要方法
30
-
31
- #### `set(url, viewport, actions, metadata): string`
32
-
33
- 保存缓存条目。
34
-
35
- ```typescript
36
- const key = cacheStore.set(
37
- "https://example.com/login",
38
- { width: 1920, height: 1080 },
39
- [
40
- { type: "click", ref: "#username", order: 1 },
41
- { type: "type", ref: "#password", text: "...", order: 2 },
42
- { type: "click", ref: "#submit", order: 3 }
43
- ],
44
- {
45
- scenario: "login",
46
- cacheLevel: "L3",
47
- description: "登录操作",
48
- variables: { username: "user" }
49
- }
50
- );
51
- ```
52
-
53
- **参数:**
54
- - `url: string` - 页面 URL
55
- - `viewport: PageViewport` - 视口尺寸
56
- - `actions: AtomicAction[]` - 操作序列
57
- - `metadata: CacheEntryMetadata` - 元数据
58
-
59
- **返回值:** 缓存键 (MD5 hash)
60
-
61
- ---
62
-
63
- #### `get(url, viewport): PageActionCacheEntry | null`
64
-
65
- 获取缓存条目。
66
-
67
- ```typescript
68
- const entry = cacheStore.get(
69
- "https://example.com/login",
70
- { width: 1920, height: 1080 }
71
- );
72
- ```
73
-
74
- **返回值:** 缓存条目,如果不存在则返回 `null`
75
-
76
- ---
77
-
78
- #### `listEntries(): PageActionCacheEntry[]`
79
-
80
- 列出所有缓存条目。
81
-
82
- ```typescript
83
- const entries = cacheStore.listEntries();
84
- ```
85
-
86
- ---
87
-
88
- #### `delete(url, viewport): boolean`
89
-
90
- 删除缓存条目。
91
-
92
- ```typescript
93
- const deleted = cacheStore.delete(
94
- "https://example.com/login",
95
- { width: 1920, height: 1080 }
96
- );
97
- console.log(`删除: ${deleted}`);
98
- ```
99
-
100
- ---
101
-
102
- #### `clear(): void`
103
-
104
- 清空所有缓存。
105
-
106
- ```typescript
107
- cacheStore.clear();
108
- ```
109
-
110
- ---
111
-
112
- #### `getStats(): CacheStats`
113
-
114
- 获取缓存统计信息。
115
-
116
- ```typescript
117
- const stats = cacheStore.getStats();
118
- console.log(`命中率: ${stats.hitRate}%`);
119
- console.log(`节省 tokens: ${stats.savedTokens}`);
120
- console.log(`节省时间: ${stats.savedTime}ms`);
121
- ```
122
-
123
- **统计字段:**
124
- - `totalEntries` - 总条目数
125
- - `totalHits` - 总命中数
126
- - `totalMisses` - 总未命中数
127
- - `hitRate` - 命中率 (0-100)
128
- - `l3Hits` - L3 缓存命中数
129
- - `l2Hits` - L2 缓存命中数
130
- - `l1Hits` - L1 缓存命中数
131
- - `scenarioMatches` - 场景识别匹配数
132
- - `savedTokens` - 节省的 tokens 数量
133
- - `savedTime` - 节省的时间(毫秒)
134
-
135
- ---
136
-
137
- ## 场景识别 API (ScenarioRecognizer)
138
-
139
- ### 初始化
140
-
141
- ```typescript
142
- import { getScenarioRecognizer } from "@openclaw/page-action-cache";
143
-
144
- const recognizer = getScenarioRecognizer();
145
- ```
146
-
147
- ### 主要方法
148
-
149
- #### `recognize(userInput, currentUrl): Promise<ScenarioMatch | null>`
150
-
151
- 识别用户场景。
152
-
153
- ```typescript
154
- const match = await recognizer.recognize(
155
- "请帮我登录",
156
- "https://example.com/page"
157
- );
158
-
159
- if (match) {
160
- console.log(`场景: ${match.scenario}`);
161
- console.log(`置信度: ${match.confidence}`);
162
- console.log(`方法: ${match.method}`);
163
- }
164
- ```
165
-
166
- **返回值:** 场景匹配结果,包含:
167
- - `scenario` - 场景名称
168
- - `confidence` - 置信度 (0-100)
169
- - `method` - 匹配方法
170
- - `matchedPattern` - 匹配的模式
171
-
172
- ---
173
-
174
- ## 变量解析 API (VariableResolver)
175
-
176
- ### 初始化
177
-
178
- ```typescript
179
- import { getVariableResolver } from "@openclaw/page-action-cache";
180
-
181
- const resolver = getVariableResolver();
182
- ```
183
-
184
- ### 主要方法
185
-
186
- #### `resolveVariables(userInput, scenario): VariableMap`
187
-
188
- 从用户输入解析变量。
189
-
190
- ```typescript
191
- const variables = resolver.resolveVariables(
192
- "用户名是 admin,密码是 secret123",
193
- "login"
194
- );
195
-
196
- console.log(variables);
197
- // { username: "admin", password: "secret123" }
198
- ```
199
-
200
- ---
201
-
202
- #### `validateVariables(variables, scenario): boolean`
203
-
204
- 验证变量是否有效。
205
-
206
- ```typescript
207
- const isValid = resolver.validateVariables(variables, "login");
208
- ```
209
-
210
- ---
211
-
212
- #### `mergeVariables(base, override): VariableMap`
213
-
214
- 合并变量映射。
215
-
216
- ```typescript
217
- const merged = resolver.mergeVariables(baseVariables, overrideVariables);
218
- ```
219
-
220
- ---
221
-
222
- ## 操作执行 API (ActionsExecutor)
223
-
224
- ### 初始化
225
-
226
- ```typescript
227
- import { getActionsExecutor } from "@openclaw/page-action-cache";
228
-
229
- const executor = getActionsExecutor(cdpUrl);
230
- executor.setPlaywrightClient(pwClient);
231
- ```
232
-
233
- ### 主要方法
234
-
235
- #### `execute(action, variables?): Promise<ExecutionResult>`
236
-
237
- 执行单个操作。
238
-
239
- ```typescript
240
- const result = await executor.execute(action, {
241
- username: "...",
242
- password: "..."
243
- });
244
- ```
245
-
246
- ---
247
-
248
- #### `executeBatch(actions, variables?, options?): Promise<ExecutionResult[]>`
249
-
250
- 批量执行操作。
251
-
252
- ```typescript
253
- const results = await executor.executeBatch(actions, variables, {
254
- fromIndex: 0,
255
- toIndex: 2,
256
- atomic: true // 全部成功或全部失败
257
- });
258
- ```
259
-
260
- ---
261
-
262
- #### `formatActions(actions): string`
263
-
264
- 格式化操作列表为可读字符串。
265
-
266
- ```typescript
267
- const text = executor.formatActions(actions);
268
- console.log(text);
269
- ```
270
-
271
- ---
272
-
273
- #### `formatExecutionResults(results): string`
274
-
275
- 格式化执行结果。
276
-
277
- ```typescript
278
- const text = executor.formatExecutionResults(results);
279
- console.log(text);
280
- ```
281
-
282
- ---
283
-
284
- ## 安全策略 API (SecurityPolicy)
285
-
286
- ### 初始化
287
-
288
- ```typescript
289
- import { getSecurityPolicy } from "@openclaw/page-action-cache";
290
-
291
- const policy = getSecurityPolicy();
292
- ```
293
-
294
- ### 主要方法
295
-
296
- #### `isSensitiveAction(action): boolean`
297
-
298
- 检查操作是否包含敏感变量。
299
-
300
- ```typescript
301
- const isSensitive = policy.isSensitiveAction({
302
- type: "type",
303
- ref: "#password",
304
- variable: "password",
305
- text: "..."
306
- });
307
- // true - 密码字段,应该加密
308
- ```
309
-
310
- ---
311
-
312
- #### `encrypt(data): string`
313
-
314
- 加密数据。
315
-
316
- ```typescript
317
- const encrypted = policy.encrypt("sensitive-data");
318
- ```
319
-
320
- ---
321
-
322
- #### `decrypt(encrypted): string`
323
-
324
- 解密数据。
325
-
326
- ```typescript
327
- const decrypted = policy.decrypt(encrypted);
328
- ```
329
-
330
- ---
331
-
332
- #### `sanitizeForLogging(data): any`
333
-
334
- 脱敏数据用于日志输出。
335
-
336
- ```typescript
337
- const sanitized = policy.sanitizeForLogging({
338
- username: "...",
339
- password: "..."
340
- });
341
- // { username: "...", password: "***REDACTED***" }
342
- ```
343
-
344
- ---
345
-
346
- ## 缓存失效 API (CacheInvalidator)
347
-
348
- ### 初始化
349
-
350
- ```typescript
351
- import { getCacheInvalidator } from "@openclaw/page-action-cache";
352
-
353
- const invalidator = getCacheInvalidator();
354
- ```
355
-
356
- ### 主要方法
357
-
358
- #### `detectPageChange(html, url, viewport, cachedEntry?): Promise<PageChangeDetection>`
359
-
360
- 检测页面是否发生变化。
361
-
362
- ```typescript
363
- const detection = await invalidator.detectPageChange(
364
- html,
365
- url,
366
- viewport,
367
- cachedEntry
368
- );
369
-
370
- if (detection.hasChanged) {
371
- console.log(`页面已变化: ${detection.changeType}`);
372
- console.log(`置信度: ${detection.confidence}`);
373
- }
374
- ```
375
-
376
- ---
377
-
378
- ## 用户体验 API (UXEnhancer)
379
-
380
- ### 初始化
381
-
382
- ```typescript
383
- import { getUXEnhancer } from "@openclaw/page-action-cache";
384
-
385
- const enhancer = getUXEnhancer();
386
- ```
387
-
388
- ### 主要方法
389
-
390
- #### `generateStatsReport(): string`
391
-
392
- 生成统计报告。
393
-
394
- ```typescript
395
- const report = enhancer.generateStatsReport();
396
- console.log(report);
397
- ```
398
-
399
- ---
400
-
401
- #### `formatCacheEntry(entry): string`
402
-
403
- 格式化缓存条目。
404
-
405
- ```typescript
406
- const text = enhancer.formatCacheEntry(entry);
407
- ```
408
-
409
- ---
410
-
411
- ## Hooks API (Hooks)
412
-
413
- ### 初始化
414
-
415
- ```typescript
416
- import { registerPageActionCacheHooks } from "@openclaw/page-action-cache";
417
-
418
- // 注册 hooks
419
- registerPageActionCacheHooks(api, config);
420
- ```
421
-
422
- ### 注册的 Hooks
423
-
424
- #### `before_tool_call`
425
-
426
- - **触发时机:** 在任何工具调用之前
427
- - **用途:** 场景识别和缓存拦截
428
- - **返回值:** `{ block: false, result?: { cacheInfo, stats } }`
429
-
430
- **示例响应:**
431
-
432
- ```typescript
433
- {
434
- block: false,
435
- result: {
436
- cacheInfo: {
437
- exists: true,
438
- scenario: "login",
439
- confidence: 90,
440
- method: "keyword",
441
- cacheLevel: "L3",
442
- actions: [...],
443
- cacheKey: "abc123..."
444
- },
445
- stats: {
446
- hitRate: 75.5,
447
- savedTokens: 15000
448
- }
449
- }
450
- }
451
- ```
452
-
453
- ---
454
-
455
- #### `after_tool_call`
456
-
457
- - **触发时机:** 在工具调用完成之后
458
- - **用途:** 保存 LLM 分析结果到缓存
459
- - **返回值:** 无返回值
460
-
461
- **功能:**
462
- - 提取 LLM 返回的场景类型
463
- - 解析用户输入中的变量
464
- - 根据场景匹配决定缓存层级
465
- - 保存到缓存存储
466
-
467
- ---
468
-
469
- #### `before_prompt_build`
470
-
471
- - **触发时机:** 在构建提示之前
472
- - **用途:** 注入缓存使用指南
473
- - **返回值:** `{ prependContext?: string }`
474
-
475
- **示例响应:**
476
-
477
- ```typescript
478
- {
479
- prependContext: `
480
- 【页面操作缓存系统】
481
-
482
- 当前缓存统计:
483
- - 总条目数:42
484
- - 总命中:28
485
- - 命中率:66.7%
486
-
487
- 已缓存的场景:
488
- 1. login (命中率: 85%)
489
- 2. search (命中率: 72%)
490
- 3. checkout (命中率: 68%)
491
-
492
- 使用方式:
493
- 1. 如果工具返回 cacheInfo 信息,优先使用缓存的操作
494
- 2. 执行缓存操作可以大幅降低 token 消耗和操作延迟
495
- `
496
- }
497
- ```
498
-
499
- ---
500
-
501
- ## 缓存策略 API (CacheStrategy)
502
-
503
- ### 策略类型
504
-
505
- #### `AutoCacheStrategy`
506
-
507
- 自动选择缓存层级。
508
-
509
- ```typescript
510
- import { AutoCacheStrategy } from "@openclaw/page-action-cache";
511
-
512
- const strategy = new AutoCacheStrategy();
513
- ```
514
-
515
- ---
516
-
517
- #### `L3OnlyCacheStrategy`
518
-
519
- 仅使用 L3 缓存。
520
-
521
- ```typescript
522
- import { L3OnlyCacheStrategy } from "@openclaw/page-action-cache";
523
-
524
- const strategy = new L3OnlyCacheStrategy();
525
- ```
526
-
527
- ---
528
-
529
- #### `L2OnlyCacheStrategy`
530
-
531
- 仅使用 L2 和 L3 缓存。
532
-
533
- ```typescript
534
- import { L2OnlyCacheStrategy } from "@openclaw/page-action-cache";
535
-
536
- const strategy = new L2OnlyCacheStrategy();
537
- ```
538
-
539
- ---
540
-
541
- #### `L1OnlyCacheStrategy`
542
-
543
- 仅使用 L1、L2 和 L3 缓存。
544
-
545
- ```typescript
546
- import { L1OnlyCacheStrategy } from "@openclaw/page-action-cache";
547
-
548
- const strategy = new L1OnlyCacheStrategy();
549
- ```
550
-
551
- ---
552
-
553
- ## 类型定义
554
-
555
- 所有 API 都使用统一的类型定义。详见 [类型定义](../src/types.ts)。