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,209 +0,0 @@
1
- /**
2
- * Custom Tools
3
- * 自定义工具 - 提供给 LLM 使用的工具接口
4
- */
5
- /**
6
- * execute_cached 工具 - 执行缓存的页面操作序列
7
- */
8
- export declare function createExecuteCachedTool(): {
9
- name: string;
10
- label: string;
11
- description: string;
12
- parameters: {
13
- type: string;
14
- properties: {
15
- cacheKey: {
16
- type: string;
17
- description: string;
18
- };
19
- fromIndex: {
20
- type: string;
21
- description: string;
22
- };
23
- toIndex: {
24
- type: string;
25
- description: string;
26
- };
27
- dryRun: {
28
- type: string;
29
- description: string;
30
- };
31
- force: {
32
- type: string;
33
- description: string;
34
- };
35
- };
36
- };
37
- required: string[];
38
- };
39
- /**
40
- * execute_cached 工具执行函数
41
- */
42
- export declare function executeCached(_toolCallId: string, args: any): Promise<{
43
- content: {
44
- type: string;
45
- text: string;
46
- }[];
47
- }>;
48
- /**
49
- * cache_stats 工具 - 查看缓存统计
50
- */
51
- export declare function createCacheStatsTool(): {
52
- name: string;
53
- label: string;
54
- description: string;
55
- parameters: {
56
- type: string;
57
- properties: {};
58
- };
59
- };
60
- /**
61
- * cache_stats 工具执行函数
62
- */
63
- export declare function cacheStats(_toolCallId: string, _args: any): Promise<{
64
- content: {
65
- type: string;
66
- text: string;
67
- }[];
68
- }>;
69
- /**
70
- * cache_list 工具 - 列出所有缓存
71
- */
72
- export declare function createCacheListTool(): {
73
- name: string;
74
- label: string;
75
- description: string;
76
- parameters: {
77
- type: string;
78
- properties: {
79
- limit: {
80
- type: string;
81
- description: string;
82
- };
83
- filterScenario: {
84
- type: string;
85
- description: string;
86
- };
87
- };
88
- };
89
- };
90
- /**
91
- * cache_list 工具执行函数
92
- */
93
- export declare function cacheList(_toolCallId: string, args: any): Promise<{
94
- content: {
95
- type: string;
96
- text: string;
97
- }[];
98
- }>;
99
- /**
100
- * cache_clear 工具 - 清空缓存
101
- */
102
- export declare function createCacheClearTool(): {
103
- name: string;
104
- label: string;
105
- description: string;
106
- parameters: {
107
- type: string;
108
- properties: {
109
- scenario: {
110
- type: string;
111
- description: string;
112
- };
113
- };
114
- };
115
- };
116
- /**
117
- * cache_clear 工具执行函数
118
- */
119
- export declare function cacheClear(_toolCallId: string, args: any): Promise<{
120
- content: {
121
- type: string;
122
- text: string;
123
- }[];
124
- }>;
125
- /**
126
- * scenario_list 工具 - 列出所有场景
127
- */
128
- export declare function createScenarioListTool(): {
129
- name: string;
130
- label: string;
131
- description: string;
132
- parameters: {
133
- type: string;
134
- properties: {};
135
- };
136
- };
137
- /**
138
- * scenario_list 工具执行函数
139
- */
140
- export declare function scenarioList(_toolCallId: string, _args: any): Promise<{
141
- content: {
142
- type: string;
143
- text: string;
144
- }[];
145
- }>;
146
- /**
147
- * force_refresh 工具 - 强制刷新指定缓存
148
- */
149
- export declare function createForceRefreshTool(): {
150
- name: string;
151
- label: string;
152
- description: string;
153
- parameters: {
154
- type: string;
155
- properties: {
156
- url: {
157
- type: string;
158
- description: string;
159
- };
160
- viewport: {
161
- type: string;
162
- description: string;
163
- properties: {
164
- width: {
165
- type: string;
166
- };
167
- height: {
168
- type: string;
169
- };
170
- };
171
- };
172
- };
173
- };
174
- required: string[];
175
- };
176
- /**
177
- * force_refresh 工具执行函数
178
- */
179
- export declare function forceRefresh(_toolCallId: string, args: any): Promise<{
180
- content: {
181
- type: string;
182
- text: string;
183
- }[];
184
- }>;
185
- export declare const CACHE_TOOLS: {
186
- definition: {
187
- name: string;
188
- label: string;
189
- description: string;
190
- parameters: {
191
- type: string;
192
- properties: {};
193
- };
194
- };
195
- execute: typeof cacheStats;
196
- }[];
197
- /**
198
- * 获取所有工具定义
199
- */
200
- export declare function getToolDefinitions(): {
201
- name: string;
202
- label: string;
203
- description: string;
204
- parameters: {
205
- type: string;
206
- properties: {};
207
- };
208
- }[];
209
- //# sourceMappingURL=tools.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAeH;;GAEG;AACH,wBAAgB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCtC;AAED;;GAEG;AACH,wBAAsB,aAAa,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;;;;;GAgFjE;AAED;;GAEG;AACH,wBAAgB,oBAAoB;;;;;;;;EAUnC;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;;;;;GAW/D;AAED;;GAEG;AACH,wBAAgB,mBAAmB;;;;;;;;;;;;;;;;;EAmBlC;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;;;;;GAgC7D;AAED;;GAEG;AACH,wBAAgB,oBAAoB;;;;;;;;;;;;;EAenC;AAED;;GAEG;AACH,wBAAsB,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;;;;;GAkC9D;AAED;;GAEG;AACH,wBAAgB,sBAAsB;;;;;;;;EAUrC;AAED;;GAEG;AACH,wBAAsB,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;;;;;GAsBjE;AAED;;GAEG;AACH,wBAAgB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBrC;AAED;;GAEG;AACH,wBAAsB,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;;;;;GA2BhE;AAMD,eAAO,MAAM,WAAW;;;;;;;;;;;GAyBvB,CAAC;AAEF;;GAEG;AACH,wBAAgB,kBAAkB;;;;;;;;IAOjC"}
@@ -1,383 +0,0 @@
1
- /**
2
- * Custom Tools
3
- * 自定义工具 - 提供给 LLM 使用的工具接口
4
- */
5
- import { getCacheStore } from "./cache-store.js";
6
- import { getScenarioRecognizer } from "./scenario-recognizer.js";
7
- import { getUXEnhancer } from "./ux-enhancer.js";
8
- import { getActionsExecutor } from "./actions-executor.js";
9
- // ============================================================================
10
- // 工具定义
11
- // ============================================================================
12
- /**
13
- * execute_cached 工具 - 执行缓存的页面操作序列
14
- */
15
- export function createExecuteCachedTool() {
16
- return {
17
- name: "execute_cached",
18
- label: "Execute Cached Actions",
19
- description: "执行缓存的页面操作序列,跳过 LLM 分析。大幅降低 token 消耗和操作延迟。",
20
- parameters: {
21
- type: "object",
22
- properties: {
23
- cacheKey: {
24
- type: "string",
25
- description: "缓存键(从 cache_info 中获取)",
26
- },
27
- fromIndex: {
28
- type: "number",
29
- description: "从第几个操作开始执行(默认 0)",
30
- },
31
- toIndex: {
32
- type: "number",
33
- description: "执行到第几个操作(不指定则执行全部)",
34
- },
35
- dryRun: {
36
- type: "boolean",
37
- description: "试运行模式,不实际执行",
38
- },
39
- force: {
40
- type: "boolean",
41
- description: "强制执行(忽略页面变化检测)",
42
- },
43
- },
44
- },
45
- required: ["cacheKey"],
46
- };
47
- }
48
- /**
49
- * execute_cached 工具执行函数
50
- */
51
- export async function executeCached(_toolCallId, args) {
52
- const { cacheKey, fromIndex, toIndex, dryRun = false, force = false, } = args;
53
- const cacheStore = getCacheStore();
54
- const uxEnhancer = getUXEnhancer();
55
- // 获取缓存条目
56
- const entry = cacheStore.listEntries().find((e) => e.key === cacheKey);
57
- if (!entry) {
58
- return {
59
- content: [
60
- {
61
- type: "text",
62
- text: "缓存不存在或已过期。请重新分析页面。",
63
- },
64
- ],
65
- };
66
- }
67
- // 检查页面变化(强制模式跳过)
68
- if (!force && !dryRun) {
69
- // TODO: 实际获取页面 HTML 进行检测
70
- // const html = await fetchPageHTML(entry.url, entry.viewport);
71
- // const changeResult = await cacheInvalidator.detectPageChange(html, entry.url, entry.viewport, entry);
72
- // 简化处理:暂时跳过检测
73
- console.log(`[execute_cached] Skipping page change detection for ${entry.url}`);
74
- }
75
- // 解析变量
76
- let variables = {};
77
- if (entry.variables) {
78
- variables = entry.variables;
79
- }
80
- // 获取执行器
81
- const executor = getActionsExecutor();
82
- if (dryRun) {
83
- // 试运行模式,只返回不执行
84
- const actionsToExecute = entry.actions.slice(fromIndex || 0, toIndex !== undefined ? toIndex + 1 : undefined);
85
- return {
86
- content: [
87
- {
88
- type: "text",
89
- text: uxEnhancer.generateDryRunResult(actionsToExecute),
90
- },
91
- ],
92
- };
93
- }
94
- // 逐个执行操作
95
- const results = await executor.executeBatch(entry.actions, variables, {
96
- fromIndex,
97
- toIndex,
98
- atomic: true, // 原子执行
99
- });
100
- // 更新缓存统计
101
- cacheStore.updateExecutionStats(cacheKey, results);
102
- return {
103
- content: [
104
- {
105
- type: "text",
106
- text: uxEnhancer.generateExecutionReport(results, force),
107
- },
108
- ],
109
- };
110
- }
111
- /**
112
- * cache_stats 工具 - 查看缓存统计
113
- */
114
- export function createCacheStatsTool() {
115
- return {
116
- name: "cache_stats",
117
- label: "Cache Statistics",
118
- description: "查看页面操作缓存的统计信息,包括命中率、节省的 token 等。",
119
- parameters: {
120
- type: "object",
121
- properties: {},
122
- },
123
- };
124
- }
125
- /**
126
- * cache_stats 工具执行函数
127
- */
128
- export async function cacheStats(_toolCallId, _args) {
129
- const uxEnhancer = getUXEnhancer();
130
- return {
131
- content: [
132
- {
133
- type: "text",
134
- text: uxEnhancer.generateStatsReport(),
135
- },
136
- ],
137
- };
138
- }
139
- /**
140
- * cache_list 工具 - 列出所有缓存
141
- */
142
- export function createCacheListTool() {
143
- return {
144
- name: "cache_list",
145
- label: "List Cache Entries",
146
- description: "列出所有页面操作缓存条目,包括场景、URL、访问次数等。",
147
- parameters: {
148
- type: "object",
149
- properties: {
150
- limit: {
151
- type: "number",
152
- description: "最多返回的条目数(默认 20)",
153
- },
154
- filterScenario: {
155
- type: "string",
156
- description: "按场景过滤(如 login, checkout)",
157
- },
158
- },
159
- },
160
- };
161
- }
162
- /**
163
- * cache_list 工具执行函数
164
- */
165
- export async function cacheList(_toolCallId, args) {
166
- const { limit = 20, filterScenario } = args;
167
- const cacheStore = getCacheStore();
168
- let entries = cacheStore.listEntries();
169
- // 过滤场景
170
- if (filterScenario) {
171
- entries = entries.filter((e) => e.scenario === filterScenario);
172
- }
173
- // 限制数量
174
- entries = entries.slice(0, limit);
175
- let text = `\n【缓存条目列表】(共 ${entries.length} 条)\n\n`;
176
- entries.forEach((entry, i) => {
177
- text += `${i + 1}. ${entry.scenario} (${entry.cacheLevel})\n`;
178
- text += ` URL: ${entry.url}\n`;
179
- text += ` 访问次数: ${entry.accessCount}\n`;
180
- text += ` 成功率: ${((entry.successCount / (entry.successCount + entry.failCount || 1)) * 100).toFixed(0)}%\n`;
181
- text += ` 最后访问: ${new Date(entry.lastAccessTime).toLocaleString()}\n\n`;
182
- });
183
- return {
184
- content: [
185
- {
186
- type: "text",
187
- text,
188
- },
189
- ],
190
- };
191
- }
192
- /**
193
- * cache_clear 工具 - 清空缓存
194
- */
195
- export function createCacheClearTool() {
196
- return {
197
- name: "cache_clear",
198
- label: "Clear Cache",
199
- description: "清空所有页面操作缓存。慎用!",
200
- parameters: {
201
- type: "object",
202
- properties: {
203
- scenario: {
204
- type: "string",
205
- description: "只清空指定场景的缓存(可选)",
206
- },
207
- },
208
- },
209
- };
210
- }
211
- /**
212
- * cache_clear 工具执行函数
213
- */
214
- export async function cacheClear(_toolCallId, args) {
215
- const { scenario } = args;
216
- const cacheStore = getCacheStore();
217
- if (scenario) {
218
- // 清空指定场景
219
- let count = 0;
220
- const entries = cacheStore.listEntries();
221
- for (const entry of entries) {
222
- if (entry.scenario === scenario) {
223
- cacheStore.delete(entry.url, entry.viewport);
224
- count++;
225
- }
226
- }
227
- return {
228
- content: [
229
- {
230
- type: "text",
231
- text: `已清空场景 "${scenario}" 的 ${count} 条缓存。`,
232
- },
233
- ],
234
- };
235
- }
236
- else {
237
- // 清空所有缓存
238
- cacheStore.clear();
239
- return {
240
- content: [
241
- {
242
- type: "text",
243
- text: "已清空所有缓存。",
244
- },
245
- ],
246
- };
247
- }
248
- }
249
- /**
250
- * scenario_list 工具 - 列出所有场景
251
- */
252
- export function createScenarioListTool() {
253
- return {
254
- name: "scenario_list",
255
- label: "List Scenarios",
256
- description: "列出所有支持的缓存场景及其匹配规则。",
257
- parameters: {
258
- type: "object",
259
- properties: {},
260
- },
261
- };
262
- }
263
- /**
264
- * scenario_list 工具执行函数
265
- */
266
- export async function scenarioList(_toolCallId, _args) {
267
- const scenarioRecognizer = getScenarioRecognizer();
268
- const rules = scenarioRecognizer.getRules();
269
- let text = "\n【支持的缓存场景】\n\n";
270
- rules.forEach((rule, i) => {
271
- text += `${i + 1}. ${rule.scenario}\n`;
272
- text += ` 关键词: ${rule.keywords.join(", ")}\n`;
273
- text += ` URL 模式: ${rule.urlPatterns.join(", ") || "无"}\n`;
274
- text += ` 缓存层级: ${rule.cacheLevel}\n`;
275
- text += ` 置信度: ${rule.confidence}\n\n`;
276
- });
277
- return {
278
- content: [
279
- {
280
- type: "text",
281
- text,
282
- },
283
- ],
284
- };
285
- }
286
- /**
287
- * force_refresh 工具 - 强制刷新指定缓存
288
- */
289
- export function createForceRefreshTool() {
290
- return {
291
- name: "force_refresh",
292
- label: "Force Refresh Cache",
293
- description: "强制刷新指定页面的缓存,下次访问将重新分析。",
294
- parameters: {
295
- type: "object",
296
- properties: {
297
- url: {
298
- type: "string",
299
- description: "页面 URL",
300
- },
301
- viewport: {
302
- type: "object",
303
- description: "视口尺寸(可选)",
304
- properties: {
305
- width: { type: "number" },
306
- height: { type: "number" },
307
- },
308
- },
309
- },
310
- },
311
- required: ["url"],
312
- };
313
- }
314
- /**
315
- * force_refresh 工具执行函数
316
- */
317
- export async function forceRefresh(_toolCallId, args) {
318
- const { url, viewport } = args;
319
- const cacheStore = getCacheStore();
320
- const vp = viewport || { width: 1920, height: 1080 };
321
- const deleted = cacheStore.delete(url, vp);
322
- if (deleted) {
323
- return {
324
- content: [
325
- {
326
- type: "text",
327
- text: `已强制刷新缓存:${url}`,
328
- },
329
- ],
330
- };
331
- }
332
- else {
333
- return {
334
- content: [
335
- {
336
- type: "text",
337
- text: `未找到缓存:${url}`,
338
- },
339
- ],
340
- };
341
- }
342
- }
343
- // ============================================================================
344
- // 工具注册表
345
- // ============================================================================
346
- export const CACHE_TOOLS = [
347
- {
348
- definition: createExecuteCachedTool(),
349
- execute: executeCached,
350
- },
351
- {
352
- definition: createCacheStatsTool(),
353
- execute: cacheStats,
354
- },
355
- {
356
- definition: createCacheListTool(),
357
- execute: cacheList,
358
- },
359
- {
360
- definition: createCacheClearTool(),
361
- execute: cacheClear,
362
- },
363
- {
364
- definition: createScenarioListTool(),
365
- execute: scenarioList,
366
- },
367
- {
368
- definition: createForceRefreshTool(),
369
- execute: forceRefresh,
370
- },
371
- ];
372
- /**
373
- * 获取所有工具定义
374
- */
375
- export function getToolDefinitions() {
376
- return CACHE_TOOLS.map((tool) => ({
377
- name: tool.definition.name,
378
- label: tool.definition.label,
379
- description: tool.definition.description,
380
- parameters: tool.definition.parameters,
381
- }));
382
- }
383
- //# sourceMappingURL=tools.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,+EAA+E;AAC/E,OAAO;AACP,+EAA+E;AAE/E;;GAEG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO;QACL,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EACT,2CAA2C;QAC7C,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,uBAAuB;iBACrC;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,kBAAkB;iBAChC;gBACD,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,oBAAoB;iBAClC;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,aAAa;iBAC3B;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,gBAAgB;iBAC9B;aACF;SACF;QACD,QAAQ,EAAE,CAAC,UAAU,CAAC;KACvB,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,WAAmB,EAAE,IAAS;IAChE,MAAM,EACJ,QAAQ,EACR,SAAS,EACT,OAAO,EACP,MAAM,GAAG,KAAK,EACd,KAAK,GAAG,KAAK,GACd,GAAG,IAAI,CAAC;IAET,MAAM,UAAU,GAAG,aAAa,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