openclaw-multi-auto 1.4.2 → 1.4.3

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 (128) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/control-ui/assets/{index-7XbUBC_m.js → index-Ql_obQqk.js} +2 -2
  4. package/dist/control-ui/assets/{index-7XbUBC_m.js.map → index-Ql_obQqk.js.map} +1 -1
  5. package/dist/control-ui/index.html +1 -1
  6. package/dist/plugin-sdk/{accounts-DyFCXtHv.js → accounts-BslAlVYS.js} +2 -2
  7. package/dist/plugin-sdk/{accounts-BJAXxY46.js → accounts-C3m65--E.js} +2 -2
  8. package/dist/plugin-sdk/{accounts-C1j7HSL0.js → accounts-CNCCkdEF.js} +3 -3
  9. package/dist/plugin-sdk/{active-listener-CftX5jLD.js → active-listener-CkPnMUkB.js} +2 -2
  10. package/dist/plugin-sdk/{api-key-rotation-8nyyt1kx.js → api-key-rotation-BXnNsojA.js} +2 -2
  11. package/dist/plugin-sdk/{audio-preflight-C_aSAPR1.js → audio-preflight-CtO4fFvp.js} +26 -26
  12. package/dist/plugin-sdk/{audio-transcription-runner-CB53F7_7.js → audio-transcription-runner-DnxvOS1-.js} +11 -11
  13. package/dist/plugin-sdk/{audit-membership-runtime-BXndI4LG.js → audit-membership-runtime-BpfoSk8M.js} +2 -2
  14. package/dist/plugin-sdk/{channel-activity-C5y8AgAV.js → channel-activity-WJYxcJ3S.js} +3 -3
  15. package/dist/plugin-sdk/{channel-web-DBTRO03V.js → channel-web-dO5k3ubM.js} +18 -18
  16. package/dist/plugin-sdk/{chrome-f00sZkDX.js → chrome-CjNTuJML.js} +6 -6
  17. package/dist/plugin-sdk/{commands-registry-BJ_NxG2F.js → commands-registry-CdYjoI0i.js} +4 -4
  18. package/dist/plugin-sdk/{common-Cf27Jwxu.js → common-oYc5vPFl.js} +2 -2
  19. package/dist/plugin-sdk/{config-CHQrpx-Q.js → config-B1z-UxQ3.js} +7 -7
  20. package/dist/plugin-sdk/{deliver-DNEuetST.js → deliver-D5_6T567.js} +10 -10
  21. package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +32 -0
  22. package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +23 -0
  23. package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +22 -0
  24. package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +21 -0
  25. package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +19 -0
  26. package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +24 -0
  27. package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +57 -0
  28. package/dist/plugin-sdk/{diagnostic-LYUUmjJ5.js → diagnostic-Bxxu0ig-.js} +2 -2
  29. package/dist/plugin-sdk/discord.js +6 -6
  30. package/dist/plugin-sdk/{errors-CtMWwS2Z.js → errors-B3cHyZZA.js} +1 -1
  31. package/dist/plugin-sdk/{fetch-guard-CxYB5Kg6.js → fetch-guard-Dcgod0tg.js} +2 -2
  32. package/dist/plugin-sdk/{fs-safe-DtfhxbrI.js → fs-safe-BaKqI3G4.js} +3 -3
  33. package/dist/plugin-sdk/{image-BwjYjRHx.js → image-B2mQW9Rb.js} +6 -6
  34. package/dist/plugin-sdk/{image-ops-BnZKcbd6.js → image-ops-Cbzr4U9l.js} +2 -2
  35. package/dist/plugin-sdk/image-runtime-BFm45j49.js +25 -0
  36. package/dist/plugin-sdk/{ir-Z4hX67TJ.js → ir-ZEmrTr4J.js} +7 -7
  37. package/dist/plugin-sdk/{local-roots-KhjQw04O.js → local-roots-CIPRxA-4.js} +4 -4
  38. package/dist/plugin-sdk/{logger-DHIIvMxj.js → logger-CvPFVOgT.js} +2 -2
  39. package/dist/plugin-sdk/{login-C31642Ld.js → login-CCTew9bt.js} +4 -4
  40. package/dist/plugin-sdk/{login-qr--y2SG_Ue.js → login-qr-BI3Vi_wJ.js} +5 -5
  41. package/dist/plugin-sdk/{manager-2UZBMCc7.js → manager-BEoYPn7R.js} +8 -8
  42. package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +15 -0
  43. package/dist/plugin-sdk/{outbound-Ba0QUI5h.js → outbound-ByOw1K6W.js} +5 -5
  44. package/dist/plugin-sdk/{outbound-attachment-B1Laso-8.js → outbound-attachment-BzVhxRRw.js} +2 -2
  45. package/dist/plugin-sdk/{path-alias-guards-C7Vm5DZ1.js → path-alias-guards-sWayacde.js} +1 -1
  46. package/dist/plugin-sdk/{paths-DopV9PQG.js → paths-Dpg3qxcl.js} +1 -1
  47. package/dist/plugin-sdk/{pi-embedded-helpers-DnA_OCzP.js → pi-embedded-helpers-DIxXkGJf.js} +16 -16
  48. package/dist/plugin-sdk/{pi-model-discovery-DdPqXk8f.js → pi-model-discovery-DM_2uFtj.js} +1 -1
  49. package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +8 -0
  50. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DxFHiLUE.js → pi-tools.before-tool-call.runtime-w1dqL_ty.js} +4 -4
  51. package/dist/plugin-sdk/{plugins-CbCt4osF.js → plugins-C4USiH29.js} +4 -4
  52. package/dist/plugin-sdk/{proxy-env-C63mMdas.js → proxy-env-ET-rp8eg.js} +1 -1
  53. package/dist/plugin-sdk/{proxy-fetch-Ch95c_Y2.js → proxy-fetch-uDXGKG3Z.js} +1 -1
  54. package/dist/plugin-sdk/{pw-ai-DpJk62D4.js → pw-ai-CyOt3RDA.js} +9 -9
  55. package/dist/plugin-sdk/{qmd-manager-Ca-iSfEE.js → qmd-manager-BySdoVR7.js} +7 -7
  56. package/dist/plugin-sdk/{query-expansion-B_Xe41Ab.js → query-expansion-C6uS-7lj.js} +4 -4
  57. package/dist/plugin-sdk/{redact-hp9TOulW.js → redact-Bvxt1T_Q.js} +1 -1
  58. package/dist/plugin-sdk/{reply-CovBlFea.js → reply-CTCSeQqW.js} +73 -73
  59. package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js} +2 -2
  60. package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js} +1 -1
  61. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +10 -0
  62. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +19 -0
  63. package/dist/plugin-sdk/{send-BvAtLLPl.js → send-BZ6nYFZr.js} +5 -5
  64. package/dist/plugin-sdk/{send-BTztm3D2.js → send-C0w6xP2x.js} +6 -6
  65. package/dist/plugin-sdk/{send-CWJUuG0i.js → send-CFf-1V89.js} +8 -8
  66. package/dist/plugin-sdk/{send-EcglC4cG.js → send-CY-Qfwia.js} +7 -7
  67. package/dist/plugin-sdk/{send-BXpXBwM_.js → send-qPyNGSe4.js} +13 -13
  68. package/dist/plugin-sdk/{session-k256LJZT.js → session-COrvpvUQ.js} +3 -3
  69. package/dist/plugin-sdk/{skill-commands-DoRqLzxm.js → skill-commands-DZqhtmiv.js} +4 -4
  70. package/dist/plugin-sdk/{skills-QudILG6e.js → skills-Cw_vXEJb.js} +6 -6
  71. package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +13 -0
  72. package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +52 -0
  73. package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +16 -0
  74. package/dist/plugin-sdk/{store-BbDQw3g6.js → store-CMHj6IIw.js} +2 -2
  75. package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +52 -0
  76. package/dist/plugin-sdk/{tables-BhvloMKN.js → tables-CSqrHsKL.js} +1 -1
  77. package/dist/plugin-sdk/{thinking-URzkT-3p.js → thinking-DOnsR_A8.js} +7 -7
  78. package/dist/plugin-sdk/{tokens-B1PW5Ayy.js → tokens-BDr0Z9o3.js} +1 -1
  79. package/dist/plugin-sdk/{tool-images-xpqbP6RR.js → tool-images-eEfOVkzf.js} +2 -2
  80. package/dist/plugin-sdk/web-BLyT64pW.js +56 -0
  81. package/dist/plugin-sdk/{whatsapp-actions-RcZ6vp61.js → whatsapp-actions-xcleMoMv.js} +17 -17
  82. package/dist/plugin-sdk/whatsapp.js +50 -50
  83. package/extensions/acpx/node_modules/.bin/acpx +2 -2
  84. package/extensions/diagnostics-otel/node_modules/.bin/acorn +2 -2
  85. package/extensions/diffs/node_modules/.bin/playwright-core +2 -2
  86. package/extensions/googlechat/node_modules/.bin/nlc +2 -2
  87. package/extensions/googlechat/node_modules/.bin/node-llama-cpp +2 -2
  88. package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
  89. package/extensions/googlechat/node_modules/.bin/tsc +2 -2
  90. package/extensions/googlechat/node_modules/.bin/tsserver +2 -2
  91. package/extensions/matrix/node_modules/.bin/markdown-it +2 -2
  92. package/extensions/memory-core/node_modules/.bin/nlc +2 -2
  93. package/extensions/memory-core/node_modules/.bin/node-llama-cpp +2 -2
  94. package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
  95. package/extensions/memory-core/node_modules/.bin/tsc +2 -2
  96. package/extensions/memory-core/node_modules/.bin/tsserver +2 -2
  97. package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +2 -2
  98. package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
  99. package/extensions/nostr/node_modules/.bin/tsc +2 -2
  100. package/extensions/nostr/node_modules/.bin/tsserver +2 -2
  101. package/extensions/tlon/node_modules/.bin/tlon +2 -2
  102. package/package.json +1 -1
  103. package/scripts/create-instance.sh +27 -1
  104. package/scripts/install-maca.sh +104 -99
  105. package/ui/node_modules/.bin/jiti +2 -2
  106. package/ui/node_modules/.bin/marked +2 -2
  107. package/ui/node_modules/.bin/playwright +2 -2
  108. package/ui/node_modules/.bin/tsx +2 -2
  109. package/ui/node_modules/.bin/vite +2 -2
  110. package/ui/node_modules/.bin/vitest +2 -2
  111. package/ui/node_modules/.bin/yaml +2 -2
  112. package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +0 -32
  113. package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +0 -23
  114. package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +0 -22
  115. package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +0 -21
  116. package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +0 -19
  117. package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +0 -24
  118. package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +0 -57
  119. package/dist/plugin-sdk/image-runtime-B8twoubs.js +0 -25
  120. package/dist/plugin-sdk/manager-runtime-CMeLwose.js +0 -15
  121. package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +0 -8
  122. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +0 -10
  123. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +0 -19
  124. package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +0 -13
  125. package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +0 -52
  126. package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +0 -16
  127. package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +0 -52
  128. package/dist/plugin-sdk/web-B74yhL2N.js +0 -56
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/cli.js" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/node-llama-cpp@3.16.2_typescript@5.9.3/node_modules/node-llama-cpp/dist/cli/cli.js" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules/openclaw/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules/openclaw/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules/openclaw/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules/openclaw/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openclaw@2026.3.8_@napi-rs+canvas@0.1.96_@types+express@5.0.6_hono@4.12.7_node-llama-cpp@3.16.2_typescript@5.9.3_/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../openclaw/openclaw.mjs" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/apache-arrow@18.1.0/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/apache-arrow@18.1.0/node_modules/apache-arrow/bin/arrow2csv.js" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules/openai/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/openai@6.27.0_ws@8.19.0_zod@4.3.6/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../openai/bin/cli" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsc" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/tsserver" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/tlon-skill/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules/@tloncorp/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/@tloncorp+tlon-skill@0.1.9/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../@tloncorp/tlon-skill/bin/tlon.js" "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-multi-auto",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Multi-channel AI gateway with extensible messaging integrations",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/openclaw/openclaw#readme",
@@ -3,6 +3,7 @@
3
3
  # OpenClaw 深度集成初始化工具 (create-instance.sh)
4
4
  # 功能:创建实例目录、复制文件、安装依赖、配置模型、启动服务
5
5
  # 增强:支持环境变量 OPENCLAW_SOURCE_DIR 定位源码,自动复制 docs 到根目录供 TUI 使用
6
+ # 增强:支持 --profile 命令行习惯,自动配置 profile 软链接
6
7
  # =================================================================
7
8
 
8
9
  set -e
@@ -58,7 +59,7 @@ if [ -n "$2" ]; then
58
59
  PORT="$2"
59
60
  else
60
61
  EXISTING_COUNT=$(find "$INSTANCES_BASE" -maxdepth 1 -type d -name "*" ! -name ".*" 2>/dev/null | wc -l | tr -d ' ')
61
- PORT=$((18790 + EXISTING_COUNT))
62
+ PORT=$((18789 + EXISTING_COUNT * 100))
62
63
  fi
63
64
 
64
65
  # --- 4. 定义实例目录并清理旧残留 ---
@@ -77,6 +78,7 @@ fi
77
78
 
78
79
  # --- 5. 完整目录结构创建 ---
79
80
  mkdir -p "${INSTANCE_DIR}/config" "${INSTANCE_DIR}/tmp" "${INSTANCE_DIR}/workspace"
81
+ mkdir -p "${INSTANCE_DIR}/state"
80
82
  mkdir -p "${INSTANCE_DIR}/workspace/memory"
81
83
  mkdir -p "${INSTANCE_DIR}/agents/main/agent/sessions"
82
84
  mkdir -p "${INSTANCE_DIR}/credentials" "${INSTANCE_DIR}/media"
@@ -248,6 +250,15 @@ cat > "${INSTANCE_DIR}/config/openclaw.json" << EOF
248
250
  "agents": {
249
251
  "defaults": {
250
252
  "model": { "primary": "${PRIMARY_MODEL}" },
253
+ "imageModel": {
254
+ "primary": "ollama/qwen3-vl:8b",
255
+ "fallbacks": [
256
+ "ollama/qwen3-vl:8b"
257
+ ]
258
+ },
259
+ "models": {
260
+ "ollama/qwen3-vl:8b": {}
261
+ },
251
262
  "workspace": "${INSTANCE_DIR}/workspace",
252
263
  "compaction": { "mode": "safeguard" }
253
264
  }
@@ -313,6 +324,20 @@ if [ "$INSTANCE_NAME" = "yunwei" ]; then
313
324
  rm -rf "$TEMP_ROLE_DIR"
314
325
  fi
315
326
 
327
+ # --- 设置 profile 链接以便 openclaw --profile 使用 ---
328
+ echo -e "${BLUE}🔗 配置 profile 链接以支持 --profile 命令行...${NC}"
329
+ PROFILES_DIR="$HOME/.openclaw/profiles"
330
+ mkdir -p "$PROFILES_DIR"
331
+
332
+ # 配置文件软链接
333
+ ln -sf "$INSTANCE_DIR/config/openclaw.json" "$PROFILES_DIR/$INSTANCE_NAME.json"
334
+
335
+ # 状态目录软链接(profile 默认状态目录为 ~/.openclaw/profiles/<profile>/)
336
+ # 使用 -sfn 以确保目录链接正确
337
+ ln -sfn "$INSTANCE_DIR/state" "$PROFILES_DIR/$INSTANCE_NAME"
338
+
339
+ echo -e "${GREEN}✅ 现在可以使用 'openclaw --profile $INSTANCE_NAME ...' 管理此实例${NC}"
340
+
316
341
  # --- 11. 生成增强型启动脚本 ---
317
342
  cat > "${INSTANCE_DIR}/start.sh" << 'EOF'
318
343
  #!/usr/bin/env bash
@@ -331,6 +356,7 @@ INSTANCE_NAME=$(basename "$SCRIPT_DIR")
331
356
  # 导出核心配置路径
332
357
  export OPENCLAW_CONFIG_PATH="$SCRIPT_DIR/config/openclaw.json"
333
358
  export OPENCLAW_TMP_DIR="$SCRIPT_DIR/tmp"
359
+ export OPENCLAW_STATE_DIR="$SCRIPT_DIR/state"
334
360
 
335
361
  # 从配置中提取 workspace 路径并导出
336
362
  if [ -f "$OPENCLAW_CONFIG_PATH" ]; then
@@ -80,6 +80,110 @@ if ! check_node; then
80
80
  fi
81
81
  echo -e "${GREEN}✅ Node.js 环境已就绪: $(node -v)${NC}"
82
82
 
83
+ echo -e "${BLUE}================================================${NC}"
84
+ echo -e "${BLUE} Ollama 独立安装脚本(带系统检测) ${NC}"
85
+ echo -e "${BLUE}================================================${NC}"
86
+ echo -e "系统: ${YELLOW}$OS${NC}"
87
+ echo -e "架构: ${YELLOW}$ARCH${NC}"
88
+
89
+ # ==================== 询问是否安装 ====================
90
+ echo
91
+ echo -e "${YELLOW}📷 是否安装本地模型用于截屏识图?(需要约6GB内存,模型:qwen3-vl:8b)${NC}"
92
+ read -p "请输入 y/N: " install_model_choice
93
+
94
+ if [[ "$install_model_choice" == "y" || "$install_model_choice" == "Y" ]]; then
95
+ # ==================== 系统兼容性检查 ====================
96
+ echo -e "${YELLOW}🔍 检查系统兼容性...${NC}"
97
+
98
+ SUPPORTED=0
99
+ case "$OS" in
100
+ Linux)
101
+ case "$ARCH" in
102
+ x86_64|amd64|aarch64|arm64)
103
+ SUPPORTED=1
104
+ ;;
105
+ *)
106
+ echo -e "${RED}❌ Linux 架构 $ARCH 暂不被官方安装脚本支持${NC}"
107
+ echo -e "${YELLOW}请尝试手动安装:https://ollama.com/download${NC}"
108
+ ;;
109
+ esac
110
+ ;;
111
+ Darwin)
112
+ case "$ARCH" in
113
+ x86_64|arm64)
114
+ SUPPORTED=1
115
+ ;;
116
+ *)
117
+ echo -e "${RED}❌ macOS 架构 $ARCH 暂不被官方安装脚本支持${NC}"
118
+ echo -e "${YELLOW}请尝试手动安装:https://ollama.com/download${NC}"
119
+ ;;
120
+ esac
121
+ ;;
122
+ *)
123
+ echo -e "${RED}❌ 不支持的操作系统: $OS${NC}"
124
+ ;;
125
+ esac
126
+
127
+ if [ $SUPPORTED -ne 1 ]; then
128
+ echo -e "${YELLOW}⚠️ 当前系统不被官方安装脚本支持,请手动安装 ${NC}"
129
+
130
+ fi
131
+
132
+ echo -e "${GREEN}✅ 系统兼容性通过 (${OS}-${ARCH})${NC}"
133
+
134
+ # ==================== 安装 Ollama ====================
135
+ if ! command -v ollama &> /dev/null; then
136
+ echo -e "${YELLOW}未检测到 Ollama,正在安装 Ollama...${NC}"
137
+ echo -e "${BLUE}将使用官方安装脚本:https://ollama.com/install.sh${NC}"
138
+ echo -e "${YELLOW}注:如果网络访问 GitHub 不稳定,安装可能失败。若失败请手动下载安装包。${NC}"
139
+
140
+ if curl -fsSL https://ollama.com/install.sh | sh; then
141
+ # 强制让当前脚本重新识别一遍环境变量
142
+ [ -f /etc/profile ] && . /etc/profile
143
+ [ -f ~/.zshrc ] && . ~/.zshrc 2>/dev/null
144
+
145
+ # 给系统一点点响应时间
146
+ sleep 2
147
+
148
+ if command -v ollama &> /dev/null; then
149
+ echo -e "${GREEN}✅ Ollama 安装并识别成功${NC}"
150
+ else
151
+ echo -e "${YELLOW}⚠️ 脚本已运行但命令未直接生效,尝试使用全路径:${NC}"
152
+ /usr/local/bin/ollama --version && echo -e "${GREEN}全路径可用!${NC}"
153
+ fi
154
+ else
155
+ echo -e "${RED}❌ 脚本执行异常${NC}"
156
+ fi
157
+ else
158
+ echo -e "${GREEN}✅ Ollama 已安装${NC}"
159
+ fi
160
+
161
+ # ==================== 拉取模型 ====================
162
+ # 1. 尝试将 /usr/local/bin 加入临时路径(防止安装后未刷新环境)
163
+ export PATH=$PATH:/usr/local/bin
164
+ if command -v ollama &> /dev/null; then
165
+ # 2. 检查 Ollama 服务是否启动,没启动则尝试后台启动
166
+ if ! pgrep -x "ollama" > /dev/null; then
167
+ echo -e "${YELLOW}正在启动 Ollama 后台服务...${NC}"
168
+ # macOS 下启动命令,Linux 下通常是 systemctl start ollama
169
+ open -a Ollama.app --args serve > /dev/null 2>&1 &
170
+ sleep 5 # 等待服务初始化
171
+ fi
172
+
173
+ echo -e "${YELLOW}正在拉取模型 qwen3vl:8b,这可能需要一些时间...${NC}"
174
+
175
+ # 3. 执行拉取(修正拼写:qwen3vl)
176
+ if ollama pull qwen3vl:8b; then
177
+ echo -e "${GREEN}✅ 模型 qqwen3-vl:8b 拉取成功${NC}"
178
+ else
179
+ echo -e "${RED}❌ 模型拉取失败。${NC}"
180
+ echo -e "${YELLOW}手动尝试:export https_proxy=http://127.0.0.1:你的代理端口 && ollama pull qwen3vl:8b${NC}"
181
+ fi
182
+ else
183
+ echo -e "${RED}❌ 未检测到 ollama 命令,请确保已安装并添加到 PATH。${NC}"
184
+ fi
185
+ fi
186
+
83
187
  # ==================== 5. 配置用户级全局路径 ====================
84
188
  echo -e "${YELLOW}🔧 配置用户全局安装路径 ($HOME/.npm-global)...${NC}"
85
189
  NPM_GLOBAL_BIN="$HOME/.npm-global"
@@ -141,105 +245,6 @@ ln -sf "$HOME/openclaw-runtime/node_modules/.bin/openclaw" "$NPM_GLOBAL_BIN/open
141
245
 
142
246
  echo -e "${GREEN}✅ 本地安装完成,openclaw 命令已链接到 $NPM_GLOBAL_BIN/openclaw${NC}"
143
247
 
144
- # ==================== 8. 设置源码路径环境变量供 create-instance.sh 使用 ====================
145
- export OPENCLAW_SOURCE_DIR="$HOME/openclaw-runtime/node_modules/openclaw-multi-auto"
146
-
147
- # 检查源码目录是否存在
148
- if [ ! -d "$OPENCLAW_SOURCE_DIR" ]; then
149
- echo -e "${RED}❌ 错误:未找到源码目录 $OPENCLAW_SOURCE_DIR,请检查安装${NC}"
150
- exit 1
151
- fi
152
- echo -e "${GREEN}✅ 源码路径验证通过${NC}"
153
-
154
- # ==================== 8.5 可选安装本地模型(用于截屏识图)====================
155
- echo
156
- echo -e "${YELLOW}📷 是否安装本地模型用于截屏识图?(需要约6GB内存,模型:qwen2.5-vl:7b-instruct-q4_k_m)${NC}"
157
- read -p "请输入 y/N: " install_model_choice
158
-
159
- if [[ "$install_model_choice" == "y" || "$install_model_choice" == "Y" ]]; then
160
- echo -e "${YELLOW}🔍 检查 Ollama 环境...${NC}"
161
-
162
- # 设置国内镜像源(关键!)
163
- # 使用 GitHub 镜像加速下载安装脚本和二进制文件
164
- export GITHUB_MIRROR="https://ghproxy.com"
165
-
166
- if ! command -v ollama &> /dev/null; then
167
- echo -e "${YELLOW}未检测到 Ollama,正在从国内镜像安装 Ollama...${NC}"
168
-
169
- # 方法1:使用官方安装脚本(通过镜像加速)
170
- echo -e "${BLUE}尝试通过镜像加速安装...${NC}"
171
- if curl -fsSL ${GITHUB_MIRROR}/https://ollama.com/install.sh | sh; then
172
- echo -e "${GREEN}✅ Ollama 安装成功${NC}"
173
- else
174
- echo -e "${YELLOW}脚本安装失败,尝试直接下载二进制包...${NC}"
175
- # 方法2:直接下载二进制包(适用于 Linux/macOS)
176
- if [[ "$OS" == "Linux" ]]; then
177
- wget ${GITHUB_MIRROR}/https://github.com/ollama/ollama/releases/latest/download/ollama-linux-amd64.tgz
178
- sudo tar -C /usr -xzf ollama-linux-amd64.tgz
179
- rm ollama-linux-amd64.tgz
180
- elif [[ "$OS" == "Darwin" ]]; then
181
- # macOS 用户建议直接访问官网下载,或使用 homebrew
182
- echo -e "${YELLOW}macOS 用户请手动下载安装包:${NC}"
183
- echo -e "${BLUE}访问 https://ollama.com/download 或使用镜像:${NC}"
184
- echo -e "${BLUE}curl -L ${GITHUB_MIRROR}/https://ollama.com/download/Ollama-darwin.zip -o Ollama.zip${NC}"
185
- echo -e "${YELLOW}安装完成后重新运行此脚本${NC}"
186
- exit 1
187
- fi
188
-
189
- if command -v ollama &> /dev/null; then
190
- echo -e "${GREEN}✅ Ollama 二进制安装成功${NC}"
191
- else
192
- echo -e "${RED}❌ Ollama 安装失败,请手动安装后重试。${NC}"
193
- echo -e "${YELLOW}您可以访问 https://ollama.com 下载安装包。${NC}"
194
- fi
195
- fi
196
- else
197
- echo -e "${GREEN}✅ Ollama 已安装${NC}"
198
- fi
199
-
200
- # 再次检查 ollama 是否可用
201
- if command -v ollama &> /dev/null; then
202
- echo -e "${YELLOW}配置国内模型镜像源加速下载...${NC}"
203
-
204
- # 配置模型下载镜像源
205
- # 方法A:通过环境变量(临时生效)
206
- export OLLAMA_MIRROR="https://ollama.modelscope.cn" # 魔搭社区镜像
207
-
208
- # 方法B:创建配置文件(永久生效)
209
- mkdir -p ~/.ollama
210
- cat > ~/.ollama/config.json << EOF
211
- {
212
- "registry": {
213
- "mirrors": {
214
- "registry.ollama.ai": "https://ollama.modelscope.cn"
215
- }
216
- }
217
- }
218
- EOF
219
- echo -e "${GREEN}✅ 镜像源配置完成${NC}"
220
-
221
- echo -e "${YELLOW}正在拉取模型 qwen2.5-vl:7b-instruct-q4_k_m,这可能需要一些时间...${NC}"
222
- echo -e "${BLUE}使用魔搭社区镜像加速下载...${NC}"
223
-
224
- # 使用镜像源拉取模型(如果失败则尝试其他源)
225
- if ollama pull modelscope.cn/qwen/Qwen2.5-7B-Instruct-GGUF; then
226
- echo -e "${GREEN}✅ 模型拉取成功${NC}"
227
- else
228
- echo -e "${YELLOW}从魔搭拉取失败,尝试从官方源(已配置镜像)拉取...${NC}"
229
- if ollama pull qwen2.5-vl:7b-instruct-q4_k_m; then
230
- echo -e "${GREEN}✅ 模型拉取成功${NC}"
231
- else
232
- echo -e "${RED}❌ 模型拉取失败,您稍后可以手动运行以下命令重试:${NC}"
233
- echo -e "${YELLOW}export OLLAMA_MIRROR=https://ollama.modelscope.cn${NC}"
234
- echo -e "${YELLOW}ollama pull qwen2.5-vl:7b-instruct-q4_k_m${NC}"
235
- fi
236
- fi
237
- else
238
- echo -e "${YELLOW}⚠️ Ollama 不可用,跳过模型安装。${NC}"
239
- fi
240
- else
241
- echo -e "${BLUE}跳过本地模型安装。${NC}"
242
- fi
243
248
 
244
249
  # ==================== 9. 自动化实例初始化 (直接调用 create-instance.sh) ====================
245
250
  CREATE_SCRIPT="$OPENCLAW_SOURCE_DIR/scripts/create-instance.sh"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/jiti@2.6.1/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti-cli.mjs" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/marked@17.0.4/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/marked@17.0.4/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/marked@17.0.4/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/marked@17.0.4/node_modules/marked/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/marked@17.0.4/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../marked/bin/marked.js" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/playwright@1.58.2/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/playwright@1.58.2/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/playwright@1.58.2/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/playwright@1.58.2/node_modules/playwright/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/playwright@1.58.2/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../playwright/cli.js" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/tsx@4.21.0/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/tsx@4.21.0/node_modules/tsx/dist/cli.mjs" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/bin/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules/vite/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vite@7.3.1_@types+node@25.4.0_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules/vitest/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules/vitest/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules/vitest/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules/vitest/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@types+node@25.4.0_@vitest+browser-playwright@4._0689576d17408b4731df8353247254c0/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/yaml@2.8.2/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/yaml@2.8.2/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/yaml@2.8.2/node_modules:/Users/zhoujinyu/openclaws/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/yaml@2.8.2/node_modules:/Users/zhoujinyu/Documents/projects/repo/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/bin.mjs" "$@"