@lawpath-tech/openclaw 2026.2.21-4 → 2026.2.21-6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-CQT5u65w.js → accounts-CJEDkyd7.js} +1 -1
- package/dist/{accounts-DFrH9IVU.js → accounts-CaJg9v7D.js} +1 -1
- package/dist/{accounts-C8m4ADkw.js → accounts-DQo5uGA3.js} +14 -14
- package/dist/{active-listener-BKTctYlH.js → active-listener-Bhmh-BBe.js} +1 -1
- package/dist/{agent-scope-D-SlG1bQ.js → agent-scope-CKu-vMMp.js} +3 -3
- package/dist/{agents-BtqLW18n.js → agents-5gS4Morq.js} +4 -4
- package/dist/{agents.config-B-tuPgrg.js → agents.config-DGVdd0H4.js} +1 -1
- package/dist/{agents.config-ICVDwC0C.js → agents.config-Dy2Tojo2.js} +1 -1
- package/dist/{audio-preflight-BAupR5wm.js → audio-preflight-BoDf-OA5.js} +4 -4
- package/dist/{audio-preflight-DSln0Zsg.js → audio-preflight-yQKupU0M.js} +29 -29
- package/dist/{auth-choice-BjZRva43.js → auth-choice-CujjjpDj.js} +1 -1
- package/dist/{auth-choice-6iuXqwcN.js → auth-choice-CyeueHh0.js} +1 -1
- package/dist/{banner-B3WC17dn.js → banner-BB3Z8Akj.js} +1 -1
- package/dist/{bindings-DL-vZcXK.js → bindings-pn9FkE0Z.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-BgsTqLau.js → channel-activity-pOw1s-fe.js} +1 -1
- package/dist/{channel-options-BDj65ZyO.js → channel-options-C1Z6nQwx.js} +1 -1
- package/dist/{channel-options-G8V1c6AS.js → channel-options-DxnRn3HQ.js} +1 -1
- package/dist/{channel-web-B_ZYKCEQ.js → channel-web-Bkp-VxtT.js} +1 -1
- package/dist/{channels-cli-raxsTCN2.js → channels-cli-B7GOmHwj.js} +4 -4
- package/dist/{channels-cli-DqFbn6qS.js → channels-cli-DGUKSzax.js} +4 -4
- package/dist/{chrome-_026ohiG.js → chrome-Bnq0CyY4.js} +20 -20
- package/dist/{chrome-CzHty2tf.js → chrome-CQlDoNNk.js} +7 -7
- package/dist/{chunk-fZrBDWYg.js → chunk-BkGjWi6P.js} +1 -1
- package/dist/{cli-E0T5u43Z.js → cli-DSVcE01B.js} +1 -1
- package/dist/{cli-CR9BTL9c.js → cli-RMmIna0L.js} +1 -1
- package/dist/{command-format-BOHIfoCX.js → command-format-CM0AxuCk.js} +1 -1
- package/dist/{command-registry-BmpWsMTW.js → command-registry-C8m3qBQR.js} +9 -9
- package/dist/{commands-registry-3kTkR4r1.js → commands-registry-BoKLuuwG.js} +4 -4
- package/dist/{completion-cli-S4G6qt8g.js → completion-cli-DDqcpVLn.js} +1 -1
- package/dist/{completion-cli-ilRVVz-z.js → completion-cli-Dto_ttBF.js} +2 -2
- package/dist/{config-CScuPNjn.js → config-D0UwRKru.js} +12 -12
- package/dist/{config-cli-Cko5ncf5.js → config-cli-5dIx4eBy.js} +1 -1
- package/dist/{config-cli-WbPlELKk.js → config-cli-daCg9d8E.js} +1 -1
- package/dist/{configure-B-GCDUGh.js → configure-C8s3_7RF.js} +3 -3
- package/dist/{configure-BBkx0Gee.js → configure-DOvWFudD.js} +3 -3
- package/dist/{deliver-CChv42uL.js → deliver--EhsFXv7.js} +20 -20
- package/dist/{deliver-IOU5_B6z.js → deliver-DXUDTvJu.js} +1 -1
- package/dist/{diagnostic-DriDPU6M.js → diagnostic-DTfVTKJM.js} +1 -1
- package/dist/{doctor-completion-7mRw3cHh.js → doctor-completion-Dwy9h3mp.js} +1 -1
- package/dist/{doctor-completion-CJKoQcYI.js → doctor-completion-PJG8ramM.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-CdkBcBAo.js → frontmatter-Dab6NVCF.js} +2 -2
- package/dist/{gateway-cli-CmSTW0ue.js → gateway-cli-08bLT4Lm.js} +14 -9
- package/dist/{gateway-cli-AhPjzNqQ.js → gateway-cli-Y7MMw6f2.js} +14 -9
- package/dist/{gemini-auth-cD8BrH5d.js → gemini-auth-jiCC1_gO.js} +1 -1
- package/dist/{github-copilot-token-Dgb9dAHW.js → github-copilot-token-DAycnoAs.js} +7 -7
- package/dist/{health-ADwLM-Or.js → health-BuZYFEjf.js} +1 -1
- package/dist/{health-fiXB0fGK.js → health-C47gv6Ik.js} +1 -1
- package/dist/{hooks-cli-DRoJbg8P.js → hooks-cli-COO_JTQt.js} +2 -2
- package/dist/{hooks-cli-XfbsybsC.js → hooks-cli-D0f1i-sv.js} +2 -2
- package/dist/{image-CdTrSqaH.js → image-BHIZnUgU.js} +1 -1
- package/dist/{image-B9TdLqUC.js → image-Bxlb76-w.js} +4 -4
- package/dist/{image-ops-DSHe7MDO.js → image-ops-Bgwps3ZY.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{ir-p6xtdC2E.js → ir-C12Waxsc.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-DxIZcL-f.js → local-roots-BXHtS1lV.js} +5 -5
- package/dist/{login-D1xDylNg.js → login-CSOqZ7U4.js} +7 -7
- package/dist/{login-qr-DuFTjxNo.js → login-qr-C0P5yf2R.js} +12 -12
- package/dist/{manager-CHKGgP5H.js → manager-iCRgH8LP.js} +13 -13
- package/dist/{manifest-registry-Dhk4A5vb.js → manifest-registry-D31TP66o.js} +19 -19
- package/dist/{markdown-tables-_e0OifWF.js → markdown-tables-DfvQjS1F.js} +1 -1
- package/dist/{message-channel-CHYSjmbr.js → message-channel-BckS8bQ9.js} +1 -1
- package/dist/{model-auth-3yb_4VXX.js → model-auth-4U7dwHzy.js} +9 -9
- package/dist/{models-2tG63q_V.js → models-DogF-UP8.js} +2 -2
- package/dist/{models-cli-CR_SMGJ0.js → models-cli-DIDuJyRY.js} +2 -2
- package/dist/{models-cli-BWxHuaVU.js → models-cli-hTpwPgdx.js} +3 -3
- package/dist/{onboard-DBSlZhzk.js → onboard-CAaMOWVz.js} +2 -2
- package/dist/{onboard-a3lJkMHB.js → onboard-Dnbsa0t_.js} +2 -2
- package/dist/{onboard-channels-B8j2CJsJ.js → onboard-channels-Ck5vewaM.js} +1 -1
- package/dist/{onboard-channels-BUE80D3V.js → onboard-channels-CxXKKyqy.js} +1 -1
- package/dist/{onboarding-vEEafQpu.js → onboarding-CiHD_RlU.js} +3 -3
- package/dist/{onboarding-BPiYCwYW.js → onboarding-CoiWlTdt.js} +3 -3
- package/dist/{onboarding.finalize-ASGzuJ_m.js → onboarding.finalize-DsFwibvU.js} +6 -6
- package/dist/{onboarding.finalize-C7185nuS.js → onboarding.finalize-dcJBGnBz.js} +5 -5
- package/dist/{outbound-BqU-pis3.js → outbound-CyTM7y9i.js} +7 -7
- package/dist/{outbound-attachment-D9iNB8-3.js → outbound-attachment-egG5Hv4A.js} +2 -2
- package/dist/{paths-CyR9Pa1R.js → paths-CkkDESQ2.js} +5 -5
- package/dist/{paths-BEAbheM8.js → paths-Cv2Q0cX2.js} +1 -1
- package/dist/{pi-auth-json-B22wYwcC.js → pi-auth-json-DPksdYT4.js} +8 -8
- package/dist/{pi-embedded-DtVM2K0j.js → pi-embedded-CrYPeE2s.js} +53 -19
- package/dist/{pi-embedded-BfX7An0n.js → pi-embedded-DRWWBoNo.js} +199 -165
- package/dist/{pi-embedded-helpers-Mzn8kkGx.js → pi-embedded-helpers-BxT45zZ8.js} +52 -52
- package/dist/{pi-embedded-helpers-DChC7Q7D.js → pi-embedded-helpers-F2YKLBnV.js} +4 -4
- package/dist/{plugin-registry-CDCLBIsW.js → plugin-registry-BJ7SMd60.js} +1 -1
- package/dist/{plugin-registry-DAvWT8O2.js → plugin-registry-BvNBkzNY.js} +1 -1
- package/dist/plugin-sdk/{accounts-fnLsjAOi.js → accounts-Ciwy7Yxd.js} +3 -3
- package/dist/plugin-sdk/{accounts-BcQo4OUu.js → accounts-DUBJHEgi.js} +1 -1
- package/dist/plugin-sdk/{accounts-DEsAwvaZ.js → accounts-wSu5JyDM.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CeaKSm29.js → active-listener-Bnau4oiu.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DSex4wfg.js → agent-scope-B_K0lnIZ.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-DVRFDYWE.js → api-key-rotation-ubwcEE3L.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-rT8tAkD-.js → audio-preflight-BS8n82KZ.js} +24 -24
- package/dist/plugin-sdk/{bindings-DeKqzYUw.js → bindings-y5ob6sm3.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WgE8Z4Bb.js → channel-activity-CCnr-9bS.js} +1 -1
- package/dist/plugin-sdk/{channel-web-D7oXjz9F.js → channel-web-C6TCmDNo.js} +22 -22
- package/dist/plugin-sdk/{chrome-CmTDPHBP.js → chrome-BY2jt7nz.js} +3 -3
- package/dist/plugin-sdk/{chunk-CQk9vawA.js → chunk-DyzO7IVo.js} +1 -1
- package/dist/plugin-sdk/{command-format-DHXa0Clc.js → command-format-DcBXOX9Z.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-lvrJ62DW.js → commands-registry-BlifvuiT.js} +4 -4
- package/dist/plugin-sdk/{config-BT7sZurc.js → config-c9LTBVr8.js} +9 -9
- package/dist/plugin-sdk/{deliver-CJxTyTAX.js → deliver-B0aMj415.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-Up1aMyxZ.js → diagnostic-DKyVS3IK.js} +1 -1
- package/dist/plugin-sdk/{image-DN02b1Un.js → image-C2wTkNPw.js} +4 -4
- package/dist/plugin-sdk/{image-ops-CZqefviF.js → image-ops-DvH046F-.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-B7rkHLE2.js → ir-CKLBdoDN.js} +4 -4
- package/dist/plugin-sdk/{local-roots-BQE1Ebnw.js → local-roots-Com8GhnT.js} +3 -3
- package/dist/plugin-sdk/{login-De0S3iEe.js → login-Bg_WVfHE.js} +7 -7
- package/dist/plugin-sdk/{login-qr-DbAmVoVd.js → login-qr-0RXOeFuV.js} +9 -9
- package/dist/plugin-sdk/{manager-NrAHkxhT.js → manager-0ITt6KKN.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-DvEm2HHf.js → manifest-registry-sgHvjA6E.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-FPKU-GAf.js → markdown-tables-CTgITejf.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DY9wVB2A.js → message-channel-DmB4bGFh.js} +1 -1
- package/dist/plugin-sdk/{model-selection-D74TGHOt.js → model-selection-eaUqWB9v.js} +4 -4
- package/dist/plugin-sdk/{outbound-hovTyykv.js → outbound-YogvVnLx.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-t84PRHhe.js → outbound-attachment-DFlJJUUs.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-3M5ZaNhl.js → pi-auth-json-BNYV9v5Z.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-HEdGJVz9.js → pi-embedded-helpers-D-zgah-f.js} +17 -17
- package/dist/plugin-sdk/{plugins-a8_TtkpO.js → plugins-Bi3zjb1D.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CBpL2WWS.js → pw-ai-D17TBpla.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-Hv8FbJlj.js → qmd-manager-C5jlBI8H.js} +4 -4
- package/dist/plugin-sdk/{registry-DL-33c9X.js → registry-O1yza0Vh.js} +2 -2
- package/dist/{replies-AytmsAUn.js → plugin-sdk/replies-Bi2MUExf.js} +3 -3
- package/dist/plugin-sdk/{reply-CcZVzbxJ.js → reply-DRhWRalB.js} +115 -81
- package/dist/plugin-sdk/{reply-prefix-DNtb4_wd.js → reply-prefix-D9Vp9XsI.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-EACA6DIF.js → resolve-outbound-target-4LJSOI03.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-Cqj4b_M3.js → resolve-route-DGSGaQkJ.js} +3 -3
- package/dist/plugin-sdk/{retry-5P3d0rYw.js → retry-JFNwfUew.js} +1 -1
- package/dist/plugin-sdk/{runner-CF0Vfhdz.js → runner-DVSsxWbK.js} +9 -9
- package/dist/plugin-sdk/{send-jhlw6FJR.js → send-7v9Tg-1N.js} +10 -10
- package/dist/plugin-sdk/{send-4EuOqK3R.js → send-CuVP5yhW.js} +7 -7
- package/dist/plugin-sdk/{send-B3LOEv4r.js → send-Cy2TYbta.js} +6 -6
- package/dist/plugin-sdk/{send-Cz-EZBfd.js → send-e4x0TcgT.js} +10 -10
- package/dist/plugin-sdk/{send-Czuwer1y.js → send-iHZz9oKf.js} +6 -6
- package/dist/plugin-sdk/{session-BjNuud8u.js → session-CHV-qoDA.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-B5t3dEA3.js → skill-commands-uBEgxRtL.js} +5 -5
- package/dist/plugin-sdk/{skills-n6vXaMPn.js → skills-CIpuy3Vv.js} +7 -7
- package/dist/plugin-sdk/{sqlite-ulpcowfN.js → sqlite-DUu0dwic.js} +1 -1
- package/dist/plugin-sdk/{store-CLotPIp_.js → store-BVL3fS5q.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C9WnrKN8.js → subsystem-C4Rh0kdL.js} +1 -1
- package/dist/plugin-sdk/{tables-7y86aoG1.js → tables-DHwGo-4a.js} +1 -1
- package/dist/{target-errors-1-pM-0-N.js → plugin-sdk/target-errors-DGfjmC5j.js} +2 -2
- package/dist/plugin-sdk/{thinking-b64dDuH9.js → thinking-D3o92jol.js} +5 -5
- package/dist/plugin-sdk/{tokens-2475WU2Z.js → tokens-K9ITCatc.js} +1 -1
- package/dist/plugin-sdk/{tool-images-CbUjCJCh.js → tool-images-zxFUoVW3.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-D0ADW0h2.js → tool-loop-detection-BBRtoox8.js} +2 -2
- package/dist/plugin-sdk/web-Ct7mP_gq.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DrC9AVN9.js → whatsapp-actions-DdqYVOos.js} +21 -21
- package/dist/{plugins-BfEZesgD.js → plugins-9d8EqI-y.js} +9 -9
- package/dist/{plugins-cli-ekc2VJ2E.js → plugins-cli--LHZoYj1.js} +2 -2
- package/dist/{plugins-cli-BUojFAGL.js → plugins-cli-C_3vwAkb.js} +2 -2
- package/dist/{program-C6lY3-78.js → program-Da_x_bot.js} +7 -7
- package/dist/{program-context-Cf4DLb4D.js → program-context-Cx1Qh1rs.js} +17 -17
- package/dist/{prompt-select-styled-BB0toldS.js → prompt-select-styled-Bymthwby.js} +4 -4
- package/dist/{prompt-select-styled-DZrDBBvM.js → prompt-select-styled-CW0DXnqy.js} +4 -4
- package/dist/{provider-auth-helpers-DzLX-hrT.js → provider-auth-helpers-BVl_Luuc.js} +1 -1
- package/dist/{provider-auth-helpers-BmRtSzv1.js → provider-auth-helpers-CtRweZXm.js} +1 -1
- package/dist/{push-apns-DRicQb8n.js → push-apns-DUaQ63kJ.js} +1 -1
- package/dist/{push-apns-BoavuUl1.js → push-apns-ekX9ZTw-.js} +1 -1
- package/dist/{pw-ai-BE9RDOQB.js → pw-ai-CbID-iUw.js} +11 -11
- package/dist/{pw-ai-CpnhdYBs.js → pw-ai-DrpEVs06.js} +1 -1
- package/dist/{qmd-manager-ClbsWpec.js → qmd-manager-Cf7kXRay.js} +7 -7
- package/dist/{register.agent-Ddx0H8cv.js → register.agent-CNVcqBdt.js} +6 -6
- package/dist/{register.agent-BmmgT0mN.js → register.agent-DIsFvRR6.js} +5 -5
- package/dist/{register.configure-DJnHqk6O.js → register.configure-BIJfddKS.js} +6 -6
- package/dist/{register.configure-CQU6KgeW.js → register.configure-CJoWBabk.js} +6 -6
- package/dist/{register.maintenance-Cqc5yCQG.js → register.maintenance-BRek-1ya.js} +7 -7
- package/dist/{register.maintenance-BV1xriuR.js → register.maintenance-Cz2zQo7V.js} +8 -8
- package/dist/{register.message-Ihec9Qhj.js → register.message-BXmCfdH1.js} +2 -2
- package/dist/{register.message-CNpNd0Ap.js → register.message-Ctt3_FvF.js} +2 -2
- package/dist/{register.onboard-DIwP9ira.js → register.onboard-461jnfmp.js} +4 -4
- package/dist/{register.onboard-CL9W60Ru.js → register.onboard-MafRy-YC.js} +4 -4
- package/dist/{register.setup-CsdexgyX.js → register.setup-B00v-7zz.js} +4 -4
- package/dist/{register.setup-2GCiWxqM.js → register.setup-DWTcsKRx.js} +4 -4
- package/dist/{register.status-health-sessions-GhqBz76y.js → register.status-health-sessions-GbMD4jFP.js} +3 -3
- package/dist/{register.status-health-sessions-CZoLCevz.js → register.status-health-sessions-X9_7OJkB.js} +3 -3
- package/dist/{register.subclis-B4o6BJ2N.js → register.subclis-u7MHey8m.js} +9 -9
- package/dist/{registry-DpeZG5fo.js → registry-wimgwqAA.js} +18 -18
- package/dist/{plugin-sdk/replies-BsiP6hrm.js → replies-Byh9FfWs.js} +3 -3
- package/dist/{reply-CebOfFpO.js → reply-DMk4EZm4.js} +39 -5
- package/dist/{reply-prefix-CssWitTj.js → reply-prefix-gRdjPOm5.js} +1 -1
- package/dist/{resolve-route-DSDE-n34.js → resolve-route-CyHelKQ0.js} +4 -4
- package/dist/{retry-Bdu4_ZcT.js → retry-DwLEH9x4.js} +1 -1
- package/dist/{run-main-Dhw3C-_j.js → run-main-B7R_5UKA.js} +14 -14
- package/dist/{runner-B-q1xy9_.js → runner-CHDFbZ9T.js} +1 -1
- package/dist/{runner-DU6rPdbF.js → runner-CJ_5xc_x.js} +9 -9
- package/dist/{send-d8Q5AJj9.js → send-BQ-4ogN3.js} +18 -18
- package/dist/{send-CT34cBxw.js → send-DB9VeUuY.js} +10 -10
- package/dist/{send-B0jdgPgL.js → send-DRUbeUiJ.js} +6 -6
- package/dist/{send-DbL1jVFV.js → send-DU-5eFpT.js} +7 -7
- package/dist/{send-CcqTwaor.js → send-DWg2VUt0.js} +6 -6
- package/dist/{server-node-events-Cx6vpHYY.js → server-node-events-BOFr19ex.js} +2 -2
- package/dist/{server-node-events-Cd_Um0Ih.js → server-node-events-CmEqVERQ.js} +2 -2
- package/dist/{session-B17teh6u.js → session-B3K56SrZ.js} +8 -8
- package/dist/{session-dirs-D1JZtaFB.js → session-dirs-B9BYJOI3.js} +1 -1
- package/dist/{session-dirs-BksC_ZJx.js → session-dirs-Dbcjy8I0.js} +1 -1
- package/dist/{skill-commands-BTCEJgtW.js → skill-commands-qdiEBLa5.js} +9 -9
- package/dist/{skills-DgwYCNoi.js → skills-YvF_jQ7u.js} +21 -21
- package/dist/{sqlite-C3XxSzBN.js → sqlite-B6SD9PTM.js} +4 -4
- package/dist/{status-CadxgcYe.js → status-7mnD_0oy.js} +2 -2
- package/dist/{status-BcZRY3RM.js → status-BphM--I6.js} +1 -1
- package/dist/{status-vxjEMgge.js → status-CfB8C1S5.js} +1 -1
- package/dist/{status-UO6LTko9.js → status-OhqCGfGI.js} +2 -2
- package/dist/{store-JuIN_QG_.js → store-Bb9yEhl9.js} +2 -2
- package/dist/{subagent-registry-DxAANdOO.js → subagent-registry-DfNgHH_n.js} +39 -5
- package/dist/{subsystem-BF9jT_Nw.js → subsystem-BEdh_1O5.js} +1 -1
- package/dist/{tables-3Vjm1My5.js → tables-D0LXVaNN.js} +1 -1
- package/dist/{plugin-sdk/target-errors-Bu2PpCSS.js → target-errors-BLDmuN_6.js} +2 -2
- package/dist/{thinking-CYyGFSWd.js → thinking-THRIcxDi.js} +5 -5
- package/dist/{tokens-B-c56SkM.js → tokens-GCiqN5mi.js} +1 -1
- package/dist/{tool-images-i5cb4-nX.js → tool-images-D4n7jwYR.js} +2 -2
- package/dist/{tool-loop-detection-Bu3OGskw.js → tool-loop-detection-BPAeTbUj.js} +3 -3
- package/dist/{update-cli-CidTQDU8.js → update-cli-CjpoNUkt.js} +8 -8
- package/dist/{update-cli-CqsOKfGt.js → update-cli-DLD4tZtd.js} +7 -7
- package/dist/{web-BBMLIpu1.js → web-CN6HZzwn.js} +57 -57
- package/dist/{web-IgO1--qh.js → web-DG1eHpeH.js} +2 -2
- package/dist/{web-IvoqYVGl.js → web-gYLnj19G.js} +6 -6
- package/dist/{web-CxJJ94q0.js → web-ifWeOB6N.js} +1 -1
- package/dist/{whatsapp-actions-55P6E6cS.js → whatsapp-actions-BKmhU2Qu.js} +23 -23
- package/dist/{workspace-D-fnhRGM.js → workspace-BjFHGrDX.js} +6 -6
- package/package.json +1 -1
- package/dist/plugin-sdk/web-DKcOGlkN.js +0 -65
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
4
|
-
import { x as logInfo } from "./workspace-
|
|
5
|
-
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format-
|
|
7
|
-
import { n as loadConfig } from "./config-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-wimgwqAA.js";
|
|
3
|
+
import { r as defaultRuntime } from "./subsystem-BEdh_1O5.js";
|
|
4
|
+
import { x as logInfo } from "./workspace-BjFHGrDX.js";
|
|
5
|
+
import { a as logoutWeb, t as resolveWhatsAppAccount } from "./accounts-DQo5uGA3.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-CM0AxuCk.js";
|
|
7
|
+
import { n as loadConfig } from "./config-D0UwRKru.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-B3K56SrZ.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { G as danger, K as info, Q as success } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import { r as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { x as logInfo } from "./workspace-
|
|
6
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import "./paths-CkkDESQ2.js";
|
|
2
|
+
import { G as danger, K as info, Q as success } from "./registry-wimgwqAA.js";
|
|
3
|
+
import "./agent-scope-CKu-vMMp.js";
|
|
4
|
+
import { r as defaultRuntime } from "./subsystem-BEdh_1O5.js";
|
|
5
|
+
import { x as logInfo } from "./workspace-BjFHGrDX.js";
|
|
6
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists, t as resolveWhatsAppAccount } from "./accounts-DQo5uGA3.js";
|
|
7
7
|
import "./boolean-B8-BqKGQ.js";
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-auth-
|
|
10
|
-
import "./github-copilot-token-
|
|
11
|
-
import { n as loadConfig } from "./config-
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
8
|
+
import "./command-format-CM0AxuCk.js";
|
|
9
|
+
import "./model-auth-4U7dwHzy.js";
|
|
10
|
+
import "./github-copilot-token-DAycnoAs.js";
|
|
11
|
+
import { n as loadConfig } from "./config-D0UwRKru.js";
|
|
12
|
+
import "./manifest-registry-D31TP66o.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-B3K56SrZ.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
3
|
-
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-
|
|
4
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
7
|
-
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CkkDESQ2.js";
|
|
3
|
+
import { I as resolveUserPath, T as clampNumber, U as truncateUtf16Safe, w as clampInt } from "./registry-wimgwqAA.js";
|
|
4
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CKu-vMMp.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BEdh_1O5.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format-CM0AxuCk.js";
|
|
7
|
+
import { i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-4U7dwHzy.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-BoQgnc8X.js";
|
|
9
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
9
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-Cv2Q0cX2.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DDYvbmRV.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
-
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-
|
|
13
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-jiCC1_gO.js";
|
|
12
|
+
import { _ as isFileMissingError, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath, v as statRegularFile } from "./sqlite-B6SD9PTM.js";
|
|
13
|
+
import { n as retryAsync } from "./retry-DwLEH9x4.js";
|
|
14
14
|
import fs from "node:fs/promises";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fsSync from "node:fs";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import { Readable } from "node:stream";
|
|
@@ -511,7 +511,7 @@ function canAutoSelectLocal(options) {
|
|
|
511
511
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
512
512
|
const resolved = resolveUserPath(modelPath);
|
|
513
513
|
try {
|
|
514
|
-
return
|
|
514
|
+
return fsSync.statSync(resolved).isFile();
|
|
515
515
|
} catch {
|
|
516
516
|
return false;
|
|
517
517
|
}
|
|
@@ -1939,7 +1939,7 @@ var MemoryManagerSyncOps = class {
|
|
|
1939
1939
|
]);
|
|
1940
1940
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
1941
1941
|
for (const entry of additionalPaths) try {
|
|
1942
|
-
const stat =
|
|
1942
|
+
const stat = fsSync.lstatSync(entry);
|
|
1943
1943
|
if (stat.isSymbolicLink()) continue;
|
|
1944
1944
|
if (stat.isDirectory()) {
|
|
1945
1945
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-
|
|
1
|
+
import { I as resolveUserPath, P as resolveConfigDir, k as isRecord } from "./registry-wimgwqAA.js";
|
|
2
2
|
import { n as MANIFEST_KEY } from "./legacy-names-Bn-k7U5-.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsSync from "node:fs";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/host-env-security-policy.json
|
|
@@ -59,7 +59,7 @@ function isPathInside$1(basePath, candidatePath) {
|
|
|
59
59
|
}
|
|
60
60
|
function safeRealpathSync$1(filePath) {
|
|
61
61
|
try {
|
|
62
|
-
return
|
|
62
|
+
return fsSync.realpathSync(filePath);
|
|
63
63
|
} catch {
|
|
64
64
|
return null;
|
|
65
65
|
}
|
|
@@ -226,13 +226,13 @@ function resolveBundledPluginsDir() {
|
|
|
226
226
|
try {
|
|
227
227
|
const execDir = path.dirname(process.execPath);
|
|
228
228
|
const sibling = path.join(execDir, "extensions");
|
|
229
|
-
if (
|
|
229
|
+
if (fsSync.existsSync(sibling)) return sibling;
|
|
230
230
|
} catch {}
|
|
231
231
|
try {
|
|
232
232
|
let cursor = path.dirname(fileURLToPath(import.meta.url));
|
|
233
233
|
for (let i = 0; i < 6; i += 1) {
|
|
234
234
|
const candidate = path.join(cursor, "extensions");
|
|
235
|
-
if (
|
|
235
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
236
236
|
const parent = path.dirname(cursor);
|
|
237
237
|
if (parent === cursor) break;
|
|
238
238
|
cursor = parent;
|
|
@@ -251,20 +251,20 @@ function normalizeStringList(value) {
|
|
|
251
251
|
function resolvePluginManifestPath(rootDir) {
|
|
252
252
|
for (const filename of PLUGIN_MANIFEST_FILENAMES) {
|
|
253
253
|
const candidate = path.join(rootDir, filename);
|
|
254
|
-
if (
|
|
254
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
255
255
|
}
|
|
256
256
|
return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
|
|
257
257
|
}
|
|
258
258
|
function loadPluginManifest(rootDir) {
|
|
259
259
|
const manifestPath = resolvePluginManifestPath(rootDir);
|
|
260
|
-
if (!
|
|
260
|
+
if (!fsSync.existsSync(manifestPath)) return {
|
|
261
261
|
ok: false,
|
|
262
262
|
error: `plugin manifest not found: ${manifestPath}`,
|
|
263
263
|
manifestPath
|
|
264
264
|
};
|
|
265
265
|
let raw;
|
|
266
266
|
try {
|
|
267
|
-
raw = JSON.parse(
|
|
267
|
+
raw = JSON.parse(fsSync.readFileSync(manifestPath, "utf-8"));
|
|
268
268
|
} catch (err) {
|
|
269
269
|
return {
|
|
270
270
|
ok: false,
|
|
@@ -331,7 +331,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
331
331
|
const cached = cache?.get(targetPath);
|
|
332
332
|
if (cached) return cached;
|
|
333
333
|
try {
|
|
334
|
-
const resolved =
|
|
334
|
+
const resolved = fsSync.realpathSync(targetPath);
|
|
335
335
|
cache?.set(targetPath, resolved);
|
|
336
336
|
return resolved;
|
|
337
337
|
} catch {
|
|
@@ -340,7 +340,7 @@ function safeRealpathSync(targetPath, cache) {
|
|
|
340
340
|
}
|
|
341
341
|
function safeStatSync(targetPath) {
|
|
342
342
|
try {
|
|
343
|
-
return
|
|
343
|
+
return fsSync.statSync(targetPath);
|
|
344
344
|
} catch {
|
|
345
345
|
return null;
|
|
346
346
|
}
|
|
@@ -454,9 +454,9 @@ function isExtensionFile(filePath) {
|
|
|
454
454
|
}
|
|
455
455
|
function readPackageManifest(dir) {
|
|
456
456
|
const manifestPath = path.join(dir, "package.json");
|
|
457
|
-
if (!
|
|
457
|
+
if (!fsSync.existsSync(manifestPath)) return null;
|
|
458
458
|
try {
|
|
459
|
-
const raw =
|
|
459
|
+
const raw = fsSync.readFileSync(manifestPath, "utf-8");
|
|
460
460
|
return JSON.parse(raw);
|
|
461
461
|
} catch {
|
|
462
462
|
return null;
|
|
@@ -514,10 +514,10 @@ function resolvePackageEntrySource(params) {
|
|
|
514
514
|
return source;
|
|
515
515
|
}
|
|
516
516
|
function discoverInDirectory(params) {
|
|
517
|
-
if (!
|
|
517
|
+
if (!fsSync.existsSync(params.dir)) return;
|
|
518
518
|
let entries = [];
|
|
519
519
|
try {
|
|
520
|
-
entries =
|
|
520
|
+
entries = fsSync.readdirSync(params.dir, { withFileTypes: true });
|
|
521
521
|
} catch (err) {
|
|
522
522
|
params.diagnostics.push({
|
|
523
523
|
level: "warn",
|
|
@@ -579,7 +579,7 @@ function discoverInDirectory(params) {
|
|
|
579
579
|
"index.js",
|
|
580
580
|
"index.mjs",
|
|
581
581
|
"index.cjs"
|
|
582
|
-
].map((candidate) => path.join(fullPath, candidate)).find((candidate) =>
|
|
582
|
+
].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
583
583
|
if (indexFile && isExtensionFile(indexFile)) addCandidate({
|
|
584
584
|
candidates: params.candidates,
|
|
585
585
|
diagnostics: params.diagnostics,
|
|
@@ -597,7 +597,7 @@ function discoverInDirectory(params) {
|
|
|
597
597
|
}
|
|
598
598
|
function discoverFromPath(params) {
|
|
599
599
|
const resolved = resolveUserPath(params.rawPath);
|
|
600
|
-
if (!
|
|
600
|
+
if (!fsSync.existsSync(resolved)) {
|
|
601
601
|
params.diagnostics.push({
|
|
602
602
|
level: "error",
|
|
603
603
|
message: `plugin path not found: ${resolved}`,
|
|
@@ -605,7 +605,7 @@ function discoverFromPath(params) {
|
|
|
605
605
|
});
|
|
606
606
|
return;
|
|
607
607
|
}
|
|
608
|
-
const stat =
|
|
608
|
+
const stat = fsSync.statSync(resolved);
|
|
609
609
|
if (stat.isFile()) {
|
|
610
610
|
if (!isExtensionFile(resolved)) {
|
|
611
611
|
params.diagnostics.push({
|
|
@@ -665,7 +665,7 @@ function discoverFromPath(params) {
|
|
|
665
665
|
"index.js",
|
|
666
666
|
"index.mjs",
|
|
667
667
|
"index.cjs"
|
|
668
|
-
].map((candidate) => path.join(resolved, candidate)).find((candidate) =>
|
|
668
|
+
].map((candidate) => path.join(resolved, candidate)).find((candidate) => fsSync.existsSync(candidate));
|
|
669
669
|
if (indexFile && isExtensionFile(indexFile)) {
|
|
670
670
|
addCandidate({
|
|
671
671
|
candidates: params.candidates,
|
|
@@ -779,7 +779,7 @@ function buildCacheKey(params) {
|
|
|
779
779
|
}
|
|
780
780
|
function safeStatMtimeMs(filePath) {
|
|
781
781
|
try {
|
|
782
|
-
return
|
|
782
|
+
return fsSync.statSync(filePath).mtimeMs;
|
|
783
783
|
} catch {
|
|
784
784
|
return null;
|
|
785
785
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-9d8EqI-y.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-wimgwqAA.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-
|
|
2
|
+
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-CkkDESQ2.js";
|
|
3
3
|
import { t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
4
|
-
import { I as resolveUserPath } from "./registry-
|
|
5
|
-
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-
|
|
4
|
+
import { I as resolveUserPath } from "./registry-wimgwqAA.js";
|
|
5
|
+
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-CKu-vMMp.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-BEdh_1O5.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-CM0AxuCk.js";
|
|
8
|
+
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DAycnoAs.js";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fsSync from "node:fs";
|
|
12
12
|
import { execFileSync } from "node:child_process";
|
|
13
13
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
14
14
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -2899,7 +2899,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
|
|
|
2899
2899
|
return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
|
|
2900
2900
|
}
|
|
2901
2901
|
function ensureAuthStoreFile(pathname) {
|
|
2902
|
-
if (
|
|
2902
|
+
if (fsSync.existsSync(pathname)) return;
|
|
2903
2903
|
saveJsonFile(pathname, {
|
|
2904
2904
|
version: AUTH_STORE_VERSION,
|
|
2905
2905
|
profiles: {}
|
|
@@ -3068,7 +3068,7 @@ function loadAuthProfileStoreForAgent(agentDir, _options) {
|
|
|
3068
3068
|
if (shouldWrite && legacy !== null) {
|
|
3069
3069
|
const legacyPath = resolveLegacyAuthStorePath(agentDir);
|
|
3070
3070
|
try {
|
|
3071
|
-
|
|
3071
|
+
fsSync.unlinkSync(legacyPath);
|
|
3072
3072
|
} catch (err) {
|
|
3073
3073
|
if (err?.code !== "ENOENT") log$1.warn("failed to delete legacy auth.json after migration", {
|
|
3074
3074
|
err,
|
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-BnX14koJ.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-ChKLb_d2.js";
|
|
8
8
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
9
9
|
import { C as parseDurationMs, i as loadConfig } from "./config-D-Tvm4yj.js";
|
|
10
|
-
import { en as loadProviderUsageSummary, gn as formatRemainingShort, hn as buildAuthHealthSummary, mn as DEFAULT_OAUTH_WARN_MS, mt as describeFailoverError, nn as formatUsageWindowSummary, pn as maskApiKey, rn as resolveUsageProviderId, s as runEmbeddedPiAgent } from "./subagent-registry-
|
|
10
|
+
import { en as loadProviderUsageSummary, gn as formatRemainingShort, hn as buildAuthHealthSummary, mn as DEFAULT_OAUTH_WARN_MS, mt as describeFailoverError, nn as formatUsageWindowSummary, pn as maskApiKey, rn as resolveUsageProviderId, s as runEmbeddedPiAgent } from "./subagent-registry-DfNgHH_n.js";
|
|
11
11
|
import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
12
12
|
import { t as ensureOpenClawModelsJson } from "./models-config-Cn16PIi1.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-BArXr_C_.js";
|
|
@@ -21,7 +21,7 @@ import { n as redactSecrets } from "./format-B0yJsjEo.js";
|
|
|
21
21
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-CoT9ivCt.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-ED-ILVvP.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
24
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
24
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BVl_Luuc.js";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
27
27
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as CONFIG_PATH } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Ct as resolveUsageProviderId, Jt as describeFailoverError, St as formatUsageWindowSummary, bt as loadProviderUsageSummary, dr as maskApiKey, fr as DEFAULT_OAUTH_WARN_MS, l as runEmbeddedPiAgent, mr as formatRemainingShort, pr as buildAuthHealthSummary } from "./reply-
|
|
4
|
+
import { Ct as resolveUsageProviderId, Jt as describeFailoverError, St as formatUsageWindowSummary, bt as loadProviderUsageSummary, dr as maskApiKey, fr as DEFAULT_OAUTH_WARN_MS, l as runEmbeddedPiAgent, mr as formatRemainingShort, pr as buildAuthHealthSummary } from "./reply-DMk4EZm4.js";
|
|
5
5
|
import "./registry-Dygi7Azw.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-8bY95KEB.js";
|
|
7
7
|
import "./exec-BmMB8-Xs.js";
|
|
@@ -110,7 +110,7 @@ import { n as redactSecrets } from "./format-DNqZrSx7.js";
|
|
|
110
110
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-CeEsUjjY.js";
|
|
111
111
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DtCLmYKX.js";
|
|
112
112
|
import { n as logConfigUpdated } from "./logging-DNqMaj3H.js";
|
|
113
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
113
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CtRweZXm.js";
|
|
114
114
|
import { t as ensurePiAuthJsonFromAuthProfiles } from "./system-cli-B1UbaLLO.js";
|
|
115
115
|
import path from "node:path";
|
|
116
116
|
import fs from "node:fs/promises";
|
|
@@ -14,7 +14,7 @@ import "./client-DrK7aLru.js";
|
|
|
14
14
|
import "./call-mR3kLwRx.js";
|
|
15
15
|
import "./message-channel-CVHJDItx.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-DfNgHH_n.js";
|
|
18
18
|
import "./sessions-CPk6B4FT.js";
|
|
19
19
|
import "./tokens-ANnYrShl.js";
|
|
20
20
|
import "./plugins-Dhh2a3qc.js";
|
|
@@ -104,8 +104,8 @@ import "./table-C9BoE_4p.js";
|
|
|
104
104
|
import "./shared-CoT9ivCt.js";
|
|
105
105
|
import "./auth-token-ED-ILVvP.js";
|
|
106
106
|
import "./logging-PVQxLC6I.js";
|
|
107
|
-
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-
|
|
108
|
-
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-
|
|
107
|
+
import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-BVl_Luuc.js";
|
|
108
|
+
import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-DogF-UP8.js";
|
|
109
109
|
|
|
110
110
|
//#region src/cli/models-cli.ts
|
|
111
111
|
function runModelsCommand(action) {
|
|
@@ -9,8 +9,8 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-Cs_ClFhP.js";
|
|
10
10
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BrybH4HV.js";
|
|
11
11
|
import { t as resolveGatewayService } from "./service-DcFI40_W.js";
|
|
12
|
-
import { r as healthCommand } from "./health-
|
|
13
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
12
|
+
import { r as healthCommand } from "./health-C47gv6Ik.js";
|
|
13
|
+
import { t as runOnboardingWizard } from "./onboarding-CiHD_RlU.js";
|
|
14
14
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-ED-ILVvP.js";
|
|
15
15
|
import { n as logConfigUpdated } from "./logging-PVQxLC6I.js";
|
|
16
16
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-DxCamFcQ.js";
|
|
@@ -11,8 +11,8 @@ import { t as createClackPrompter } from "./clack-prompter-Cpl8cd_B.js";
|
|
|
11
11
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D5lkiu2O.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-Dq5fANx0.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-CJGWS46r.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
14
|
+
import { r as healthCommand } from "./health-BuZYFEjf.js";
|
|
15
|
+
import { t as runOnboardingWizard } from "./onboarding-CoiWlTdt.js";
|
|
16
16
|
import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DtCLmYKX.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-DNqMaj3H.js";
|
|
18
18
|
import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-aJ8D6F_s.js";
|
|
@@ -3,7 +3,7 @@ import { E as formatChannelSelectionLine, O as listChatChannels, T as formatChan
|
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-D3syQOZg.js";
|
|
4
4
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DjZ7Z1hW.js";
|
|
5
5
|
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-DhajVyRS.js";
|
|
6
|
-
import { g as loadOpenClawPlugins, h as createPluginLoaderLogger } from "./subagent-registry-
|
|
6
|
+
import { g as loadOpenClawPlugins, h as createPluginLoaderLogger } from "./subagent-registry-DfNgHH_n.js";
|
|
7
7
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Dhh2a3qc.js";
|
|
8
8
|
import { t as formatDocsLink } from "./links-CW8Bx7rK.js";
|
|
9
9
|
import { r as listChannelPluginCatalogEntries } from "./catalog-Da8o-cxw.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { gt as loadOpenClawPlugins, ht as createPluginLoaderLogger } from "./reply-
|
|
2
|
+
import { gt as loadOpenClawPlugins, ht as createPluginLoaderLogger } from "./reply-DMk4EZm4.js";
|
|
3
3
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-DCt45XZa.js";
|
|
4
4
|
import { a as formatChannelSelectionLine, i as formatChannelPrimerLine, s as listChatChannels } from "./registry-Dygi7Azw.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-8bY95KEB.js";
|
|
@@ -223,7 +223,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
223
223
|
const { ensureAuthProfileStore } = await import("./auth-profiles-C7RTY9Sv.js").then((n) => n.t);
|
|
224
224
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-DF6R_pgV.js").then((n) => n.t);
|
|
225
225
|
const { promptCustomApiConfig } = await import("./onboard-custom-zhlfzOTA.js").then((n) => n.r);
|
|
226
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
226
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-CujjjpDj.js").then((n) => n.t);
|
|
227
227
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-CpR4F3Tp.js").then((n) => n.i);
|
|
228
228
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
229
229
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -276,7 +276,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
276
276
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
277
277
|
else {
|
|
278
278
|
const { listChannelPlugins } = await import("./plugins-Dhh2a3qc.js").then((n) => n.i);
|
|
279
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
279
|
+
const { setupChannels } = await import("./onboard-channels-Ck5vewaM.js").then((n) => n.n);
|
|
280
280
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
281
281
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
282
282
|
allowSignalInstall: true,
|
|
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
mode
|
|
303
303
|
});
|
|
304
304
|
await writeConfigFile(nextConfig);
|
|
305
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
305
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DsFwibvU.js");
|
|
306
306
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
307
307
|
flow,
|
|
308
308
|
opts,
|
|
@@ -225,7 +225,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
225
225
|
const { ensureAuthProfileStore } = await import("./model-selection-LsyfCl3e.js").then((n) => n.dt);
|
|
226
226
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-Cn6U3t8O.js").then((n) => n.t);
|
|
227
227
|
const { promptCustomApiConfig } = await import("./onboard-custom-BxSvKcCx.js").then((n) => n.r);
|
|
228
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
228
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-CyeueHh0.js").then((n) => n.t);
|
|
229
229
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-7lns6xv3.js").then((n) => n.i);
|
|
230
230
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
231
231
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -278,7 +278,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
278
278
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
279
279
|
else {
|
|
280
280
|
const { listChannelPlugins } = await import("./plugins-C-_54oRw.js").then((n) => n.i);
|
|
281
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
281
|
+
const { setupChannels } = await import("./onboard-channels-CxXKKyqy.js").then((n) => n.n);
|
|
282
282
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
283
283
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
284
284
|
allowSignalInstall: true,
|
|
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
304
304
|
mode
|
|
305
305
|
});
|
|
306
306
|
await writeConfigFile(nextConfig);
|
|
307
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
307
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-dcJBGnBz.js");
|
|
308
308
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
309
309
|
flow,
|
|
310
310
|
opts,
|
|
@@ -14,7 +14,7 @@ import "./client-DrK7aLru.js";
|
|
|
14
14
|
import "./call-mR3kLwRx.js";
|
|
15
15
|
import "./message-channel-CVHJDItx.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-DfNgHH_n.js";
|
|
18
18
|
import "./sessions-CPk6B4FT.js";
|
|
19
19
|
import "./tokens-ANnYrShl.js";
|
|
20
20
|
import "./plugins-Dhh2a3qc.js";
|
|
@@ -99,18 +99,18 @@ import "./prompt-style-DwCXob2h.js";
|
|
|
99
99
|
import "./pairing-labels-D5pZ7KsY.js";
|
|
100
100
|
import "./pi-tools.policy-C4HlSnsO.js";
|
|
101
101
|
import "./note-DDecZomM.js";
|
|
102
|
-
import "./register.subclis-
|
|
103
|
-
import "./command-registry-
|
|
102
|
+
import "./register.subclis-u7MHey8m.js";
|
|
103
|
+
import "./command-registry-C8m3qBQR.js";
|
|
104
104
|
import "./program-context-5q-A0wbP.js";
|
|
105
|
-
import { r as installCompletion } from "./completion-cli-
|
|
105
|
+
import { r as installCompletion } from "./completion-cli-Dto_ttBF.js";
|
|
106
106
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DAGH3gDr.js";
|
|
107
107
|
import "./runtime-guard-Cs_ClFhP.js";
|
|
108
108
|
import { r as isSystemdUserServiceAvailable } from "./systemd-BrybH4HV.js";
|
|
109
109
|
import { t as resolveGatewayService } from "./service-DcFI40_W.js";
|
|
110
|
-
import { r as healthCommand } from "./health-
|
|
110
|
+
import { r as healthCommand } from "./health-C47gv6Ik.js";
|
|
111
111
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BC2GSxMJ.js";
|
|
112
112
|
import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
|
|
113
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
113
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Dwy9h3mp.js";
|
|
114
114
|
import { t as runTui } from "./tui-BE7l4bos.js";
|
|
115
115
|
import os from "node:os";
|
|
116
116
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-BlC2Fskb.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-DMk4EZm4.js";
|
|
5
5
|
import "./registry-Dygi7Azw.js";
|
|
6
6
|
import { p as restoreTerminalState } from "./subsystem-8bY95KEB.js";
|
|
7
7
|
import "./exec-BmMB8-Xs.js";
|
|
@@ -103,16 +103,16 @@ import "./stagger-B6VQyn1F.js";
|
|
|
103
103
|
import "./channel-selection-C27fdBDC.js";
|
|
104
104
|
import "./pi-tools.policy-B3nJHwWp.js";
|
|
105
105
|
import "./runtime-guard-BYGIYhEa.js";
|
|
106
|
-
import "./program-context-
|
|
106
|
+
import "./program-context-Cx1Qh1rs.js";
|
|
107
107
|
import "./note-DRZSQe0n.js";
|
|
108
|
-
import { r as installCompletion } from "./completion-cli-
|
|
108
|
+
import { r as installCompletion } from "./completion-cli-DDqcpVLn.js";
|
|
109
109
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D5lkiu2O.js";
|
|
110
110
|
import { r as isSystemdUserServiceAvailable } from "./systemd-Dq5fANx0.js";
|
|
111
111
|
import { t as resolveGatewayService } from "./service-CJGWS46r.js";
|
|
112
|
-
import { r as healthCommand } from "./health-
|
|
112
|
+
import { r as healthCommand } from "./health-BuZYFEjf.js";
|
|
113
113
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CjH2ywP0.js";
|
|
114
114
|
import { t as formatHealthCheckFailure } from "./health-format-D6i_RyWd.js";
|
|
115
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
115
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-PJG8ramM.js";
|
|
116
116
|
import { t as runTui } from "./tui-CtmZFfLN.js";
|
|
117
117
|
import os from "node:os";
|
|
118
118
|
import path from "node:path";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
+
import { D as escapeRegExp, H as toWhatsappJid, rt as getChildLogger } from "./registry-wimgwqAA.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BEdh_1O5.js";
|
|
4
|
+
import { n as loadConfig } from "./config-D0UwRKru.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DfvQjS1F.js";
|
|
6
|
+
import { a as loadWebMedia } from "./ir-C12Waxsc.js";
|
|
7
7
|
import { n as normalizePollInput } from "./polls-CCuCaqgv.js";
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-D0LXVaNN.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-Bhmh-BBe.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { r as saveMediaBuffer } from "./store-Bb9yEhl9.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-C12Waxsc.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import os from "node:os";
|
|
2
2
|
import path from "node:path";
|
|
3
|
-
import
|
|
3
|
+
import fsSync from "node:fs";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/home-dir.ts
|
|
6
6
|
function normalize(value) {
|
|
@@ -93,10 +93,10 @@ function resolveStateDir(env = process.env, homedir = envHomedir(env)) {
|
|
|
93
93
|
if (override) return resolveUserPath(override, env, effectiveHomedir);
|
|
94
94
|
const newDir = newStateDir(effectiveHomedir);
|
|
95
95
|
const legacyDirs = legacyStateDirs(effectiveHomedir);
|
|
96
|
-
if (
|
|
96
|
+
if (fsSync.existsSync(newDir)) return newDir;
|
|
97
97
|
const existingLegacy = legacyDirs.find((dir) => {
|
|
98
98
|
try {
|
|
99
|
-
return
|
|
99
|
+
return fsSync.existsSync(dir);
|
|
100
100
|
} catch {
|
|
101
101
|
return false;
|
|
102
102
|
}
|
|
@@ -135,7 +135,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
|
|
|
135
135
|
function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
|
|
136
136
|
const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
|
|
137
137
|
try {
|
|
138
|
-
return
|
|
138
|
+
return fsSync.existsSync(candidate);
|
|
139
139
|
} catch {
|
|
140
140
|
return false;
|
|
141
141
|
}
|
|
@@ -152,7 +152,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
|
|
|
152
152
|
const stateOverride = env.OPENCLAW_STATE_DIR?.trim();
|
|
153
153
|
const existing = [path.join(stateDir, CONFIG_FILENAME), ...LEGACY_CONFIG_FILENAMES.map((name) => path.join(stateDir, name))].find((candidate) => {
|
|
154
154
|
try {
|
|
155
|
-
return
|
|
155
|
+
return fsSync.existsSync(candidate);
|
|
156
156
|
} catch {
|
|
157
157
|
return false;
|
|
158
158
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-CkkDESQ2.js";
|
|
2
2
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
3
3
|
import os from "node:os";
|
|
4
4
|
import path from "node:path";
|