@fased/fased 0.1.10 → 0.1.11
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/README.md +7 -5
- package/dist/{active-listener-BC05EmaA.js → active-listener-CNrLAfOg.js} +1 -1
- package/dist/{agent-scope-DVw8mi_i.js → agent-scope-T2X-I1lP.js} +124 -124
- package/dist/{agents-CsxQP5xg.js → agents-CMJVD0OP.js} +8 -8
- package/dist/{attachment-normalize-CSxeaVcP.js → attachment-normalize-CJ8osx0y.js} +1 -1
- package/dist/{attachment-normalize-f9lQXrZo.js → attachment-normalize-Dqpm6stW.js} +1 -1
- package/dist/{audio-preflight-DD1zXhwM.js → audio-preflight-B2FUM6w4.js} +2 -2
- package/dist/{audio-preflight-C_g_wQAc.js → audio-preflight-BaItcO_S.js} +31 -31
- package/dist/{audio-preflight-BeJd4YPQ.js → audio-preflight-CMBypKf2.js} +2 -2
- package/dist/{audio-preflight-CVU3GLti.js → audio-preflight-Cf6hrG6Y.js} +2 -2
- package/dist/{audio-preflight-DBtzpOL_.js → audio-preflight-JNkJegO7.js} +1 -1
- package/dist/{audit-BB2lDlNb.js → audit-BjCVaoog.js} +1 -1
- package/dist/{audit-CDgqnjys.js → audit-Dm9_Y9ek.js} +1 -1
- package/dist/{auth-Bfgwy6TQ.js → auth-CmR3RRfx.js} +5 -5
- package/dist/{auth-choice-DlcbJgp_.js → auth-choice-C-sID0RY.js} +1 -1
- package/dist/{auth-choice-DbEAsUsi.js → auth-choice-DPEogMvC.js} +1 -1
- package/dist/{auth-choice-prompt-CcOEzXoi.js → auth-choice-prompt-Cbcp3Ee2.js} +1 -1
- package/dist/{auth-choice-prompt-DMlwK9kF.js → auth-choice-prompt-CzCpmXZF.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +31 -31
- package/dist/bundled/bootstrap-extra-files/handler.js +3 -3
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +31 -31
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-D2IwnDWk.js → channel-activity-C0DEUhUn.js} +1 -1
- package/dist/{channel-web-qHKfuCHE.js → channel-web-BTEzRgur.js} +1 -1
- package/dist/{channel-web-CMZFjZzU.js → channel-web-DBR7OGrA.js} +1 -1
- package/dist/{channels-DvT6s1kl.js → channels-DsRKZ6NL.js} +6 -6
- package/dist/{channels-BoOF2dAy.js → channels-FmXyntMa.js} +6 -6
- package/dist/{channels-cli-CNhEFKbn.js → channels-cli-D3X_07NV.js} +5 -5
- package/dist/{channels-cli-NoUnbEgC.js → channels-cli-DvmzEcUf.js} +5 -5
- package/dist/{chunk-BFGwq8HC.js → chunk-Q3WlKwcl.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-Ctvy4-cz.js → cli-BvLMhUPA.js} +2 -2
- package/dist/{cli-CE8pVYeA.js → cli-DMsf3uMe.js} +2 -2
- package/dist/{command-registry-fqlYdOTI.js → command-registry-DXN6Gm6U.js} +9 -9
- package/dist/{commands-registry-C7qLmjBS.js → commands-registry-CwvSkARW.js} +1 -1
- package/dist/{completion-cli-CKzB1lB1.js → completion-cli-BakZ-vJj.js} +2 -2
- package/dist/{completion-cli-Bd9iPo4A.js → completion-cli-is3s-YXN.js} +1 -1
- package/dist/{config-cli-CQpqSVFS.js → config-cli-CHZ9egMQ.js} +1 -1
- package/dist/{config-cli-DUNkddbL.js → config-cli-DTCrEIaK.js} +1 -1
- package/dist/{config-eval-CG37crOn.js → config-eval-BMGRKCyr.js} +3 -3
- package/dist/{configure-B2WT8-lE.js → configure-AXjfwCbC.js} +12 -12
- package/dist/{configure-DxDNasaD.js → configure-t0_VefWH.js} +12 -12
- package/dist/control-ui/assets/app-wpJSg6bV.js.map +1 -1
- package/dist/{cron-cli-DYWW7cv1.js → cron-cli-BHTg4HPO.js} +2 -2
- package/dist/{cron-cli-D3Dznk0V.js → cron-cli-DIedHCwY.js} +2 -2
- package/dist/{daemon-cli-DFjCvbUo.js → daemon-cli-DUMUVnTJ.js} +1 -1
- package/dist/{daemon-cli-DDUjmEow.js → daemon-cli-lv-0kuHT.js} +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/{deps-4rCQ5SBd.js → deps-5PYELVCT.js} +1 -1
- package/dist/{deps-CBapZnsi.js → deps-7Xjk7uTn.js} +1 -1
- package/dist/{diagnostic-DWKSfm_q.js → diagnostic-PXNTTbiu.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-DyKd0D6V.js → fetch-D6yXePhv.js} +1 -1
- package/dist/{fetch-guard-Ztzfiio9.js → fetch-guard-B-XqKRhJ.js} +1 -1
- package/dist/{filesystem-manager-9uqWGvqg.js → filesystem-manager-_ccVdKHj.js} +4 -4
- package/dist/{fs-safe--dkmYAev.js → fs-safe-CkRcL-Cg.js} +2 -2
- package/dist/{gateway-cli-BXl9lmch.js → gateway-cli-COUUlBN5.js} +27 -27
- package/dist/{gateway-cli-CNCA_gcT.js → gateway-cli-a_LcL_Yi.js} +27 -27
- package/dist/{github-copilot-token-DYrFvncE.js → github-copilot-token-eyrRGmGp.js} +8 -8
- package/dist/{health-DTTfLYjl.js → health-DQlfle1u.js} +2 -2
- package/dist/{health-C_g99tp_.js → health-DZ82kGpi.js} +2 -2
- package/dist/{heartbeat-runner-DXh84Wuy.js → heartbeat-runner-BDe0KJF7.js} +1 -1
- package/dist/{heartbeat-runner-D04n14H-.js → heartbeat-runner-C2n7G095.js} +1 -1
- package/dist/{hooks-cli-FhVd5CE-.js → hooks-cli-8GN0KlvM.js} +3 -3
- package/dist/{hooks-cli-BDpBNlPV.js → hooks-cli-yMMxy-yo.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{internal-yBWuTfFC.js → internal-CtV-S2kE.js} +3 -3
- package/dist/{ipv4-Citn8Cno.js → ipv4-D1FYQ4Mk.js} +2 -2
- package/dist/{ipv4-P47TSJIK.js → ipv4-DgQOUcwH.js} +2 -2
- package/dist/{lifecycle-Bgh3V8Jt.js → lifecycle-BxdJxsFv.js} +1 -1
- package/dist/{lifecycle-B4RibYD4.js → lifecycle-DUQ2P6lB.js} +1 -1
- package/dist/{list.auth-overview-BQzrIpgk.js → list.auth-overview-C9QoS2ou.js} +1 -1
- package/dist/{list.auth-overview-fBVXihg0.js → list.auth-overview-CrlYcU_A.js} +1 -1
- package/dist/llm-slug-generator.js +31 -31
- package/dist/{login-DPlzYTXi.js → login-C4KKxuM4.js} +2 -2
- package/dist/{login-qr-c2Drd9vA.js → login-qr-DMxUP87H.js} +3 -3
- package/dist/{manager-XJq9ONvb.js → manager-O_PUm8xA.js} +8 -8
- package/dist/{markdown-tables-7kI-7mng.js → markdown-tables-QOHpjP76.js} +1 -1
- package/dist/{media-D4nEnyX9.js → media-KeWZMCmf.js} +5 -5
- package/dist/{memory-search-Z2b0d-jA.js → memory-search-BVlFBMLd.js} +2 -2
- package/dist/{model-catalog-B2mRe6cZ.js → model-catalog-D4rEoh5e.js} +9 -9
- package/dist/{models-cli-CXdCnyks.js → models-cli-C8qP0w3J.js} +5 -5
- package/dist/{models-cli-Bl8xk6-0.js → models-cli-Cq7UxTbg.js} +4 -4
- package/dist/{models-D8MTK6SG.js → models-jVuLblxp.js} +4 -4
- package/dist/{node-cli-DkgKrYS1.js → node-cli-DScZRTL7.js} +2 -2
- package/dist/{node-cli-Cqh8buCU.js → node-cli-o6uY0qaP.js} +2 -2
- package/dist/{onboard-Dz8z4vBi.js → onboard-Ddf5Pf9K.js} +6 -6
- package/dist/{onboard-channels-DUa2qkms.js → onboard-channels-D8ENQiPK.js} +2 -2
- package/dist/{onboard-channels-CPh2EJOi.js → onboard-channels-Doc5AjLd.js} +2 -2
- package/dist/{onboard-BD0MOrv7.js → onboard-feH8VdPn.js} +6 -6
- package/dist/{onboard-search-CqiDzWQw.js → onboard-search-DuxAp1aK.js} +5 -5
- package/dist/{onboard-search-BnHMgV2k.js → onboard-search-GxWu-SFZ.js} +5 -5
- package/dist/{onboarding-DgTB_zq7.js → onboarding-BR7OHJ2H.js} +100 -63
- package/dist/{onboarding-BC-5Pv9o.js → onboarding-Cxkh1WwH.js} +100 -63
- package/dist/{openresponses-http-CcawkBY4.js → openresponses-http-BL1pUdQf.js} +2 -2
- package/dist/{openresponses-http-BQa9rI-N.js → openresponses-http-CzuT0O2I.js} +31 -31
- package/dist/{openresponses-http-BYiaPg-e.js → openresponses-http-DCHdi7mF.js} +2 -2
- package/dist/{openresponses-http-BirGBJTm.js → openresponses-http-DQ3c6n1-.js} +2 -2
- package/dist/{openresponses-http-BsQmM8zM.js → openresponses-http-MJ14c-46.js} +1 -1
- package/dist/{outbound-attachment-BnC5ITTB.js → outbound-attachment-DO7UVxZm.js} +2 -2
- package/dist/{outbound-vYt3OL7q.js → outbound-nrqaUQPn.js} +6 -6
- package/dist/{parent-default-help-CpfuGajV.js → parent-default-help-BKBeFc1_.js} +1 -1
- package/dist/{parent-default-help-DbMf7NQe.js → parent-default-help-BRMZI4YX.js} +1 -1
- package/dist/{path-alias-guards-BgsaoH-B.js → path-alias-guards-BVcGMct5.js} +1 -1
- package/dist/{paths-0bvQb_LS.js → paths-C2qpRqKS.js} +22 -22
- package/dist/{paths-BxKqczZV.js → paths-Dwg5yVao.js} +9 -9
- package/dist/{pi-embedded-DlBsi5bC.js → pi-embedded-Bqi9f0et.js} +14 -14
- package/dist/{pi-embedded-Bapdl5Mb.js → pi-embedded-D2PqvAO_.js} +239 -239
- package/dist/{pi-model-discovery-DpUv4v_r.js → pi-model-discovery-B1-QPAbn.js} +7 -7
- package/dist/pi-model-discovery-runtime-C3EP4IIA.js +5 -0
- package/dist/{plugin-registry-2aqMgXpl.js → plugin-registry-CmfUTKxt.js} +1 -1
- package/dist/{plugin-registry-C7oTQytM.js → plugin-registry-VukRFBIJ.js} +1 -1
- package/dist/plugin-sdk/{active-listener-C5ltqLGu.js → active-listener-DoYouR42.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-Vg4EuYfg.js → audio-preflight-CVzfTzWu.js} +29 -29
- package/dist/plugin-sdk/{audio-preflight-BbjERcpR.js → audio-preflight-CfNG6Wtw.js} +1 -1
- package/dist/plugin-sdk/{channel-activity-C1o4f6CQ.js → channel-activity-DO70gTOL.js} +1 -1
- package/dist/plugin-sdk/{channel-web-JBsCrpEe.js → channel-web-DksUuYJT.js} +14 -14
- package/dist/plugin-sdk/{chunk-CLhP_PY2.js → chunk-RXEaIS7Q.js} +1 -1
- package/dist/plugin-sdk/command-status.js +1 -1
- package/dist/plugin-sdk/{commands-registry-rxhYCn3h.js → commands-registry-Cc-MsC0s.js} +1 -1
- package/dist/plugin-sdk/{diagnostic-B18Fb_x_.js → diagnostic-B49XKTb2.js} +1 -1
- package/dist/plugin-sdk/{fetch-IDUrNG4h.js → fetch-5yC4s4HB.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CNvu0czC.js → fetch-guard-D-xE9VSj.js} +1 -1
- package/dist/plugin-sdk/{filesystem-manager-BeVVhJWO.js → filesystem-manager-CJboYM0S.js} +3 -3
- package/dist/plugin-sdk/{fs-safe-DQ3_54XI.js → fs-safe-UcucKJic.js} +2 -2
- package/dist/plugin-sdk/index.js +34 -34
- package/dist/plugin-sdk/{internal-B5WwMXvo.js → internal-BPIA30Uo.js} +1 -1
- package/dist/plugin-sdk/{ir-wu6kjYKs.js → ir-DChJP1Kb.js} +4 -4
- package/dist/plugin-sdk/{login-D4XFYPCP.js → login-Blc_5Mfx.js} +2 -2
- package/dist/plugin-sdk/{login-qr-B9DNJMzT.js → login-qr-BQz8yyAp.js} +2 -2
- package/dist/plugin-sdk/{manager-DosJYKNm.js → manager-E2u7eTdN.js} +5 -5
- package/dist/plugin-sdk/{markdown-tables-BPDFC99a.js → markdown-tables-nBLwWu-q.js} +1 -1
- package/dist/plugin-sdk/{memory-search-BRc1w0pH.js → memory-search-BMfxsZst.js} +1 -1
- package/dist/plugin-sdk/{openresponses-http-dj-a8V7Z.js → openresponses-http-DFcst5ak.js} +29 -29
- package/dist/plugin-sdk/{openresponses-http-ihpGpya5.js → openresponses-http-G9zNQzxR.js} +1 -1
- package/dist/plugin-sdk/{outbound-DPWNpSQ2.js → outbound-D3S8AyO5.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-sc88JFtf.js → outbound-attachment-Jnv1CNZB.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-DVDPpKaI.js → path-alias-guards-B4FeK1hV.js} +1 -1
- package/dist/plugin-sdk/{paths-DPJkB1Zo.js → paths-DfSR5y6m.js} +2 -2
- package/dist/plugin-sdk/{pi-model-discovery-Bt88hotH.js → pi-model-discovery-CPfojvUt.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-C_BkP4_p.js → pi-model-discovery-runtime-BtVqhePh.js} +2 -2
- package/dist/plugin-sdk/{pw-ai-z7u9z0Gl.js → pw-ai-Cy5GL4BO.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-CR7ZrE4D.js → qmd-manager-DTLLD9QF.js} +4 -4
- package/dist/plugin-sdk/{qmd-scope-D5pfYpTx.js → qmd-scope-0JoQj00s.js} +1 -1
- package/dist/plugin-sdk/{query-expansion-DMIckuk2.js → query-expansion-bWgC9vRe.js} +2 -2
- package/dist/plugin-sdk/{replies-ChLqx77a.js → replies-BbDYqvSQ.js} +2 -2
- package/dist/plugin-sdk/{reply-CvmqbVx1.js → reply-DvuHwHUJ.js} +67 -67
- package/dist/plugin-sdk/{reply-prefix-BMlximgi.js → reply-prefix-Zqi6lY5T.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CzHPZvQ9.js → resolve-outbound-target-B8kZ51TY.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-DlUpOg3_.js → resolve-route-DR2HJZkT.js} +1 -1
- package/dist/plugin-sdk/{runtime-x71O5s-N.js → runtime-45bZMjLH.js} +8 -8
- package/dist/plugin-sdk/{send-DY9n8pqC.js → send-BWTZZs_g.js} +7 -7
- package/dist/plugin-sdk/{send-DBVp3j7m.js → send-BtnKV_Vt.js} +5 -5
- package/dist/plugin-sdk/{send-DEQVHEZ4.js → send-DES1Q84z.js} +5 -5
- package/dist/plugin-sdk/{send-Ba0KNbhf.js → send-WNg2lRih.js} +4 -4
- package/dist/plugin-sdk/{send-BhMMKWOk.js → send-mGgg18UE.js} +7 -7
- package/dist/plugin-sdk/{session-BsRPv-eK.js → session-CgkSjr1g.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-BctYBY9Z.js → skill-commands-mVqbX-Fs.js} +5 -5
- package/dist/plugin-sdk/src/brand.d.ts +2 -2
- package/dist/plugin-sdk/{status-DsTgMPSP.js → status-6xupAoj-.js} +5 -5
- package/dist/plugin-sdk/{tables-CBeKgNEN.js → tables-BHylyCNS.js} +1 -1
- package/dist/plugin-sdk/{target-errors-B4PsZKb0.js → target-errors-Boue6hd3.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-XlSYI5bB.js → tool-loop-detection-BxnMJJ7B.js} +1 -1
- package/dist/plugin-sdk/{web-CLXmBst6.js → web-Cfri_iT8.js} +1 -1
- package/dist/plugin-sdk/web-Zyzl7IW6.js +40 -0
- package/dist/plugin-sdk/{whatsapp-actions-CSxYzpeM.js → whatsapp-actions-DJ5x-Sd_.js} +12 -12
- package/dist/{plugins-cli-CXa9m7-A.js → plugins-cli-Bx0H7QQU.js} +5 -5
- package/dist/{plugins-cli-Dj-p00ob.js → plugins-cli-HReUJLnn.js} +5 -5
- package/dist/{program-B3cXsVO0.js → program-BY3EZa_c.js} +7 -7
- package/dist/{program-context-Di7qiwOM.js → program-context-MZAw4oo8.js} +24 -24
- package/dist/{prompt-select-styled-C5o0Ff06.js → prompt-select-styled-BasY5XsH.js} +4 -4
- package/dist/{prompt-select-styled-8KBIPNro.js → prompt-select-styled-DBq1-yGB.js} +4 -4
- package/dist/{pw-ai-BzOzOwqG.js → pw-ai-Cjyb5RBL.js} +1 -1
- package/dist/{pw-ai-DAn5Q5Mg.js → pw-ai-D6C45ed-.js} +5 -5
- package/dist/{qmd-manager-BQu_lmJ6.js → qmd-manager--NffQxNh.js} +5 -5
- package/dist/{qmd-scope-Bv2HOfhX.js → qmd-scope-BgLcDW_Q.js} +1 -1
- package/dist/{query-expansion-LNmYRPvI.js → query-expansion-BW1RomSn.js} +2 -2
- package/dist/{register.agent-BYkIkPHf.js → register.agent-C7oqvzMO.js} +8 -8
- package/dist/{register.agent-ll5ykI9x.js → register.agent-DPvilSbD.js} +9 -9
- package/dist/{register.configure-DubkYh7h.js → register.configure-CmawJCq8.js} +12 -12
- package/dist/{register.configure-C0GU1zbA.js → register.configure-Jq4rlEpZ.js} +12 -12
- package/dist/{register.maintenance-Pz6desR4.js → register.maintenance-DauG5FhL.js} +9 -9
- package/dist/{register.maintenance-Corgqhj5.js → register.maintenance-Db7KY5qy.js} +8 -8
- package/dist/{register.message-COK8wYD_.js → register.message-B5itvC4t.js} +3 -3
- package/dist/{register.message-oi2ewJpl.js → register.message-Cy9ynm9n.js} +3 -3
- package/dist/{register.onboard-zwRY0Dsh.js → register.onboard-BRtEN2AH.js} +14 -14
- package/dist/{register.onboard-C7ysxMn6.js → register.onboard-DQVkAX4S.js} +14 -14
- package/dist/{register.setup-B1YGF1bz.js → register.setup-BJtgWkaG.js} +14 -14
- package/dist/{register.setup-J2tUgD6C.js → register.setup-WqEzZMCR.js} +14 -14
- package/dist/{register.status-health-sessions-DCazjMZa.js → register.status-health-sessions-CRLl-Xg2.js} +6 -6
- package/dist/{register.status-health-sessions-DmjjMrJZ.js → register.status-health-sessions-CYft6R-u.js} +6 -6
- package/dist/{register.subclis-Bj8pFyAT.js → register.subclis-Di9x-uQJ.js} +16 -16
- package/dist/{replies-D0__mn7d.js → replies-lgWzXlwM.js} +2 -2
- package/dist/{reply-DQfPM5ia.js → reply-CBhrmRrH.js} +9 -9
- package/dist/{reply-prefix-CteprwTK.js → reply-prefix-BM90m-1s.js} +1 -1
- package/dist/{resolve-route-Twc4mQV7.js → resolve-route-DyTOJJs4.js} +1 -1
- package/dist/{run-main-Cf6N-U3j.js → run-main-BORzDxLY.js} +14 -14
- package/dist/{runtime-helper-grants-DzP6dgWv.js → runtime-helper-grants-Cuybmi1P.js} +1 -1
- package/dist/{runtime-helper-grants-DONSfqWx.js → runtime-helper-grants-neC-6Mp_.js} +1 -1
- package/dist/{sandbox-cli-CqUHfq55.js → sandbox-cli-BAfTtJI-.js} +2 -2
- package/dist/{sandbox-cli-DHHAXWD8.js → sandbox-cli-ZEYXtCXZ.js} +2 -2
- package/dist/{security-cli-CAEEYR8C.js → security-cli-CFmeNE3e.js} +3 -3
- package/dist/{security-cli-DNlCSlQR.js → security-cli-aO7V40WP.js} +3 -3
- package/dist/{send-BVmNzYrR.js → send-B8seeqjd.js} +18 -18
- package/dist/{send-BG45zdAY.js → send-BPleg3km.js} +5 -5
- package/dist/{send-BAtDZt7a.js → send-CAqldeiP.js} +5 -5
- package/dist/{send-DD6K3WP6.js → send-D63evlEI.js} +7 -7
- package/dist/{send-6RE7ZD_B.js → send-M0lHXvC5.js} +4 -4
- package/dist/{server-B67PKank.js → server-CU9N0zVA.js} +2 -2
- package/dist/{server-RYyJ2HTj.js → server-DtSfJaMU.js} +2 -2
- package/dist/{server-cron-V9GBrg1S.js → server-cron-3feKZet8.js} +2 -2
- package/dist/{server-cron-D7rN6EY6.js → server-cron-B8nnjZ6j.js} +2 -2
- package/dist/{server-node-events-eh5LuLg6.js → server-node-events-D4wjAoTI.js} +3 -3
- package/dist/{server-node-events-CAG2ic6e.js → server-node-events-dJRsvJ1e.js} +3 -3
- package/dist/{session-CHL2ptKy.js → session-Cvg_ryor.js} +5 -5
- package/dist/{skill-commands-_zLgADck.js → skill-commands-D_QLBtje.js} +24 -24
- package/dist/{status-CTveTSuF.js → status-B6xlt9hk.js} +1 -1
- package/dist/{status-DIkbKBxH.js → status-CKesh_zv.js} +4 -4
- package/dist/{status-BuGyo-1M.js → status-DsryVrZZ.js} +4 -4
- package/dist/{status-jb8w0SwX.js → status-WM2U3wSq.js} +1 -1
- package/dist/{tables-Dtfop_e5.js → tables-Cif1OeQ1.js} +1 -1
- package/dist/{target-errors-DrHV8jza.js → target-errors-B-8Jf9OT.js} +2 -2
- package/dist/{tool-loop-detection-CPr-VVyD.js → tool-loop-detection-6p0-ziTi.js} +2 -2
- package/dist/{tui-Dinku0o-.js → tui-C_15rImY.js} +1 -1
- package/dist/{tui-cli-dq7xafwR.js → tui-cli-CJ4ktGm6.js} +3 -3
- package/dist/{tui-cli-z5WV3SVg.js → tui-cli-Cf4QMwPG.js} +3 -3
- package/dist/{tui-lmdDZi6Y.js → tui-m7pkF_Gw.js} +1 -1
- package/dist/{update-cli-Cq47v0X_.js → update-cli-BdyzhH15.js} +9 -9
- package/dist/{update-cli-BdQ3mRGs.js → update-cli-CpVUWYIh.js} +10 -10
- package/dist/{update-runner-C0SU1jGT.js → update-runner-Cp2KspVC.js} +1 -1
- package/dist/{update-runner-BnRMhKva.js → update-runner-polOgbQK.js} +1 -1
- package/dist/{web-D9wmjTDC.js → web-BK0Q-Mcx.js} +3 -3
- package/dist/{web-B9YrSF5u.js → web-Bd_VJKf7.js} +2 -2
- package/dist/{web-sBExtZCA.js → web-CD6MuZp1.js} +35 -35
- package/dist/{web-DaMiLN7K.js → web-CnMZHMVF.js} +1 -1
- package/dist/{web-BmjUKJI0.js → web-CnS-eVr9.js} +3 -3
- package/dist/{web-search-providers.runtime-gM-8LIxg.js → web-search-providers.runtime-C0_Og2wh.js} +1 -1
- package/dist/{web-search-providers.runtime-TGCiBzhv.js → web-search-providers.runtime-kvogieHw.js} +1 -1
- package/dist/{whatsapp-actions-C5qguyU5.js → whatsapp-actions-BAux9gs7.js} +12 -12
- package/docs/install/index.md +16 -10
- package/docs/install/installer.md +18 -9
- package/docs/install/node.md +5 -4
- package/docs/install/vps.md +7 -3
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/fased-federation/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/sat-mining/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/scripts/start-managed.sh +28 -5
- package/dist/pi-model-discovery-runtime-9_2G9r_K.js +0 -5
- package/dist/plugin-sdk/web-DHSHEbWK.js +0 -40
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import { H as isRich, U as theme, V as colorize } from "./agent-paths-BySKyq9I.js";
|
|
3
3
|
import { Dn as loadConfig, Et as loadSessionStore, Sn as resolveMainSessionKey, V as normalizeAnyChannelId, bn as resolveAgentMainSessionKey, dd as formatCliCommand, ef as INTERNAL_MESSAGE_CHANNEL, i as resolveAgentConfig } from "./agent-scope-CLn_Ws3B.js";
|
|
4
4
|
import "./commands-registry-DfzoWf4b.js";
|
|
5
|
-
import { $ as listSandboxContainers, Q as listSandboxBrowsers, et as removeSandboxBrowserContainer, is as resolveSandboxConfigForAgent, os as resolveSandboxToolPolicyForAgent, tt as removeSandboxContainer } from "./reply-
|
|
5
|
+
import { $ as listSandboxContainers, Q as listSandboxBrowsers, et as removeSandboxBrowserContainer, is as resolveSandboxConfigForAgent, os as resolveSandboxToolPolicyForAgent, tt as removeSandboxContainer } from "./reply-CBhrmRrH.js";
|
|
6
6
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, w as parseAgentSessionKey } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import "./send-DI5jsj-s.js";
|
|
@@ -38,7 +38,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
38
38
|
import "./outbound-attachment-BHTb_aF7.js";
|
|
39
39
|
import "./fetch-BJWQWfdf.js";
|
|
40
40
|
import "./delivery-queue-9lp1uujZ.js";
|
|
41
|
-
import "./deps-
|
|
41
|
+
import "./deps-7Xjk7uTn.js";
|
|
42
42
|
import "./memory-e9aOXNx1.js";
|
|
43
43
|
import "./memory-search-B8y2GTeB.js";
|
|
44
44
|
import "./manager-DI2w66Ae.js";
|
|
@@ -2,7 +2,7 @@ import { Cu as formatCliCommand, Gt as resolveMainSessionKey, Ru as resolveAgent
|
|
|
2
2
|
import { B as colorize, H as theme, V as isRich } from "./agent-paths-DUHGyU1s.js";
|
|
3
3
|
import "./send-Ditv1VfR.js";
|
|
4
4
|
import "./send-CWM2yWF6.js";
|
|
5
|
-
import { An as listSandboxBrowsers, Eo as resolveSandboxConfigForAgent, Mn as removeSandboxBrowserContainer, Nn as removeSandboxContainer, Oo as resolveSandboxToolPolicyForAgent, jn as listSandboxContainers } from "./model-catalog-
|
|
5
|
+
import { An as listSandboxBrowsers, Eo as resolveSandboxConfigForAgent, Mn as removeSandboxBrowserContainer, Nn as removeSandboxContainer, Oo as resolveSandboxToolPolicyForAgent, jn as listSandboxContainers } from "./model-catalog-D4rEoh5e.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime, H as normalizeMainKey, L as buildAgentMainSessionKey, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, it as parseAgentSessionKey, v as resolveStorePath } from "./entry.js";
|
|
8
8
|
import "./reply-prefix-CCp0C8w4.js";
|
|
@@ -45,7 +45,7 @@ import "./send-Dlj2DghK.js";
|
|
|
45
45
|
import "./outbound-attachment-D2ImFzcm.js";
|
|
46
46
|
import "./fetch-BqA-KBI4.js";
|
|
47
47
|
import "./delivery-queue-CMGPhIoF.js";
|
|
48
|
-
import "./deps-
|
|
48
|
+
import "./deps-5PYELVCT.js";
|
|
49
49
|
import "./frontmatter-DTw-J9er.js";
|
|
50
50
|
import "./skills-CzDvK09q.js";
|
|
51
51
|
import "./skills-remote-CM9uNuu4.js";
|
|
@@ -2,7 +2,7 @@ import { Cu as formatCliCommand, Gu as resolveDefaultAgentId, Xt as loadConfig,
|
|
|
2
2
|
import { C as shortenHomeInString, H as theme, V as isRich, w as shortenHomePath } from "./agent-paths-DUHGyU1s.js";
|
|
3
3
|
import "./send-Ditv1VfR.js";
|
|
4
4
|
import "./send-CWM2yWF6.js";
|
|
5
|
-
import "./model-catalog-
|
|
5
|
+
import "./model-catalog-D4rEoh5e.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime, Ct as resolveStateDir, J as DEFAULT_ACCOUNT_ID, V as normalizeAgentId, ft as resolveConfigPath, xt as resolveOAuthDir } from "./entry.js";
|
|
8
8
|
import "./reply-prefix-CCp0C8w4.js";
|
|
@@ -45,7 +45,7 @@ import "./send-Dlj2DghK.js";
|
|
|
45
45
|
import "./outbound-attachment-D2ImFzcm.js";
|
|
46
46
|
import "./fetch-BqA-KBI4.js";
|
|
47
47
|
import "./delivery-queue-CMGPhIoF.js";
|
|
48
|
-
import "./deps-
|
|
48
|
+
import "./deps-5PYELVCT.js";
|
|
49
49
|
import "./frontmatter-DTw-J9er.js";
|
|
50
50
|
import "./skills-CzDvK09q.js";
|
|
51
51
|
import "./skills-remote-CM9uNuu4.js";
|
|
@@ -74,7 +74,7 @@ import "./progress-BhMUiH4f.js";
|
|
|
74
74
|
import "./replies-BFsEK9FQ.js";
|
|
75
75
|
import "./prompt-style-CWdNyu_Q.js";
|
|
76
76
|
import "./pairing-labels-DBt_OA8C.js";
|
|
77
|
-
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-
|
|
77
|
+
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-Dm9_Y9ek.js";
|
|
78
78
|
import path from "node:path";
|
|
79
79
|
import fs from "node:fs/promises";
|
|
80
80
|
|
|
@@ -2,7 +2,7 @@ import { _ as resolveStateDir, h as resolveOAuthDir, o as resolveConfigPath } fr
|
|
|
2
2
|
import { H as isRich, T as shortenHomePath, U as theme, w as shortenHomeInString } from "./agent-paths-BySKyq9I.js";
|
|
3
3
|
import { Dn as loadConfig, En as createConfigIO, Na as createIcaclsResetCommand, Pa as formatIcaclsResetCommand, d as resolveDefaultAgentId, dd as formatCliCommand, eu as runExec } from "./agent-scope-CLn_Ws3B.js";
|
|
4
4
|
import "./commands-registry-DfzoWf4b.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-CBhrmRrH.js";
|
|
6
6
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import "./send-DI5jsj-s.js";
|
|
@@ -38,7 +38,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
38
38
|
import "./outbound-attachment-BHTb_aF7.js";
|
|
39
39
|
import "./fetch-BJWQWfdf.js";
|
|
40
40
|
import "./delivery-queue-9lp1uujZ.js";
|
|
41
|
-
import "./deps-
|
|
41
|
+
import "./deps-7Xjk7uTn.js";
|
|
42
42
|
import "./memory-e9aOXNx1.js";
|
|
43
43
|
import "./memory-search-B8y2GTeB.js";
|
|
44
44
|
import "./manager-DI2w66Ae.js";
|
|
@@ -77,7 +77,7 @@ import "./skills-remote-DkdYN-8J.js";
|
|
|
77
77
|
import "./skill-commands-CxJHp3z6.js";
|
|
78
78
|
import "./prompt-style-Db5iJoaI.js";
|
|
79
79
|
import "./pairing-labels-sAC1Ty3_.js";
|
|
80
|
-
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-
|
|
80
|
+
import { n as collectIncludePathsRecursive, t as runSecurityAudit } from "./audit-BjCVaoog.js";
|
|
81
81
|
import path from "node:path";
|
|
82
82
|
import fs from "node:fs/promises";
|
|
83
83
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $n as resolveTelegramPreviewStreamMode, Ai as extractErrorCode, Gt as loadConfig, Jt as readConfigFileSnapshotForWrite, La as isTruthyEnvValue, Mi as formatUncaughtError, Na as resolveTelegramAccount, Pi as redactSensitiveText, Ss as danger, Xt as writeConfigFile, Yr as withFileLock$1, es as CONFIG_DIR, ji as formatErrorMessage, k as createSubsystemLogger, lo as DEFAULT_ACCOUNT_ID, ms as safeParseJson, na as listChannelPlugins, ta as getChannelPlugin, uo as normalizeAccountId, ws as logVerbose } from "./agent-scope-
|
|
3
|
-
import { f as resolveStateDir, h as resolveRequiredHomeDir, p as expandHomePrefix, u as resolveOAuthDir } from "./github-copilot-token-
|
|
4
|
-
import { C as normalizeMimeType, E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia, v as getFileExtension, x as isGifMedia } from "./media-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as resolveFetch } from "./fetch-
|
|
2
|
+
import { $n as resolveTelegramPreviewStreamMode, Ai as extractErrorCode, Gt as loadConfig, Jt as readConfigFileSnapshotForWrite, La as isTruthyEnvValue, Mi as formatUncaughtError, Na as resolveTelegramAccount, Pi as redactSensitiveText, Ss as danger, Xt as writeConfigFile, Yr as withFileLock$1, es as CONFIG_DIR, ji as formatErrorMessage, k as createSubsystemLogger, lo as DEFAULT_ACCOUNT_ID, ms as safeParseJson, na as listChannelPlugins, ta as getChannelPlugin, uo as normalizeAccountId, ws as logVerbose } from "./agent-scope-T2X-I1lP.js";
|
|
3
|
+
import { f as resolveStateDir, h as resolveRequiredHomeDir, p as expandHomePrefix, u as resolveOAuthDir } from "./github-copilot-token-eyrRGmGp.js";
|
|
4
|
+
import { C as normalizeMimeType, E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia, v as getFileExtension, x as isGifMedia } from "./media-KeWZMCmf.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-QOHpjP76.js";
|
|
6
|
+
import { t as resolveFetch } from "./fetch-D6yXePhv.js";
|
|
7
7
|
import { t as renderMarkdownWithMarkers } from "./render-BRr7caFG.js";
|
|
8
8
|
import { n as normalizePollInput } from "./polls-CYTwXmA1.js";
|
|
9
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
9
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-C0DEUhUn.js";
|
|
10
10
|
import { t as makeProxyFetch } from "./proxy-DkRPPIHD.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
14
|
-
import
|
|
14
|
+
import syncFs, { readFileSync } from "node:fs";
|
|
15
15
|
import JSON5 from "json5";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
import process$1 from "node:process";
|
|
@@ -150,7 +150,7 @@ function getPairingAdapter(channelId) {
|
|
|
150
150
|
//#region src/plugin-sdk/json-store.ts
|
|
151
151
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
152
152
|
try {
|
|
153
|
-
const parsed = safeParseJson(await
|
|
153
|
+
const parsed = safeParseJson(await syncFs.promises.readFile(filePath, "utf-8"));
|
|
154
154
|
if (parsed == null) return {
|
|
155
155
|
value: fallback,
|
|
156
156
|
exists: true
|
|
@@ -172,14 +172,14 @@ async function readJsonFileWithFallback(filePath, fallback) {
|
|
|
172
172
|
}
|
|
173
173
|
async function writeJsonFileAtomically(filePath, value) {
|
|
174
174
|
const dir = path.dirname(filePath);
|
|
175
|
-
await
|
|
175
|
+
await syncFs.promises.mkdir(dir, {
|
|
176
176
|
recursive: true,
|
|
177
177
|
mode: 448
|
|
178
178
|
});
|
|
179
179
|
const tmp = path.join(dir, `${path.basename(filePath)}.${crypto.randomUUID()}.tmp`);
|
|
180
|
-
await
|
|
181
|
-
await
|
|
182
|
-
await
|
|
180
|
+
await syncFs.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
181
|
+
await syncFs.promises.chmod(tmp, 384);
|
|
182
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
//#endregion
|
|
@@ -240,7 +240,7 @@ async function readPairingRequests(filePath) {
|
|
|
240
240
|
}
|
|
241
241
|
async function ensureJsonFile(filePath, fallback) {
|
|
242
242
|
try {
|
|
243
|
-
await
|
|
243
|
+
await syncFs.promises.access(filePath);
|
|
244
244
|
} catch {
|
|
245
245
|
await writeJsonFile(filePath, fallback);
|
|
246
246
|
}
|
|
@@ -533,7 +533,7 @@ function resolveCronStorePath(storePath) {
|
|
|
533
533
|
}
|
|
534
534
|
async function loadCronStore(storePath) {
|
|
535
535
|
try {
|
|
536
|
-
const raw = await
|
|
536
|
+
const raw = await syncFs.promises.readFile(storePath, "utf-8");
|
|
537
537
|
let parsed;
|
|
538
538
|
try {
|
|
539
539
|
parsed = JSON5.parse(raw);
|
|
@@ -557,14 +557,14 @@ async function loadCronStore(storePath) {
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
async function saveCronStore(storePath, store) {
|
|
560
|
-
await
|
|
560
|
+
await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
561
561
|
const { randomBytes } = await import("node:crypto");
|
|
562
562
|
const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
563
563
|
const json = JSON.stringify(store, null, 2);
|
|
564
|
-
await
|
|
565
|
-
await
|
|
564
|
+
await syncFs.promises.writeFile(tmp, json, "utf-8");
|
|
565
|
+
await syncFs.promises.rename(tmp, storePath);
|
|
566
566
|
try {
|
|
567
|
-
await
|
|
567
|
+
await syncFs.promises.copyFile(storePath, `${storePath}.bak`);
|
|
568
568
|
} catch {}
|
|
569
569
|
}
|
|
570
570
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gt as loadConfig, Wa as resolveIMessageAccount, ps as resolveUserPath, us as normalizeE164 } from "./agent-scope-
|
|
3
|
-
import { E as mediaKindFromMime } from "./media-
|
|
4
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
5
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
2
|
+
import { Gt as loadConfig, Wa as resolveIMessageAccount, ps as resolveUserPath, us as normalizeE164 } from "./agent-scope-T2X-I1lP.js";
|
|
3
|
+
import { E as mediaKindFromMime } from "./media-KeWZMCmf.js";
|
|
4
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-QOHpjP76.js";
|
|
5
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DO7UVxZm.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-Cif1OeQ1.js";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import { createInterface } from "node:readline";
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gt as loadConfig, Ua as resolveSignalAccount } from "./agent-scope-
|
|
2
|
+
import { Gt as loadConfig, Ua as resolveSignalAccount } from "./agent-scope-T2X-I1lP.js";
|
|
3
3
|
import { n as generateSecureUuid } from "./secure-random-CSsVRTTy.js";
|
|
4
|
-
import { E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR } from "./media-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
4
|
+
import { E as mediaKindFromMime, d as chunkMarkdownIR, f as markdownToIR } from "./media-KeWZMCmf.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-QOHpjP76.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-ByUoGUeM.js";
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
-
import { t as resolveFetch } from "./fetch-
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-DO7UVxZm.js";
|
|
8
|
+
import { t as resolveFetch } from "./fetch-D6yXePhv.js";
|
|
9
9
|
|
|
10
10
|
//#region src/signal/format.ts
|
|
11
11
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Dr as retryAsync, Er as resolveRetryConfig, Fs as resolvePreferredFasedAgentTmpDir, Gt as loadConfig, Ja as normalizeDiscordToken, qa as resolveDiscordAccount } from "./agent-scope-
|
|
2
|
+
import { Dr as retryAsync, Er as resolveRetryConfig, Fs as resolvePreferredFasedAgentTmpDir, Gt as loadConfig, Ja as normalizeDiscordToken, qa as resolveDiscordAccount } from "./agent-scope-T2X-I1lP.js";
|
|
3
3
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-B9iqwm4b.js";
|
|
4
|
-
import { T as maxBytesForKind, _ as extensionForMime, n as loadWebMedia, r as loadWebMediaRaw } from "./media-
|
|
5
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as resolveFetch } from "./fetch-
|
|
4
|
+
import { T as maxBytesForKind, _ as extensionForMime, n as loadWebMedia, r as loadWebMediaRaw } from "./media-KeWZMCmf.js";
|
|
5
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-Q3WlKwcl.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-QOHpjP76.js";
|
|
7
|
+
import { t as resolveFetch } from "./fetch-D6yXePhv.js";
|
|
8
8
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-CYTwXmA1.js";
|
|
9
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
10
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-C0DEUhUn.js";
|
|
10
|
+
import { t as convertMarkdownTables } from "./tables-Cif1OeQ1.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { promisify } from "node:util";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Gt as loadConfig, Va as resolveSlackBotToken, as as escapeRegExp, ws as logVerbose, za as resolveSlackAccount } from "./agent-scope-
|
|
2
|
+
import { Gt as loadConfig, Va as resolveSlackBotToken, as as escapeRegExp, ws as logVerbose, za as resolveSlackAccount } from "./agent-scope-T2X-I1lP.js";
|
|
3
3
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-B9iqwm4b.js";
|
|
4
|
-
import { d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia } from "./media-
|
|
5
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
4
|
+
import { d as chunkMarkdownIR, f as markdownToIR, n as loadWebMedia } from "./media-KeWZMCmf.js";
|
|
5
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-Q3WlKwcl.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-QOHpjP76.js";
|
|
7
7
|
import { t as renderMarkdownWithMarkers } from "./render-BRr7caFG.js";
|
|
8
8
|
import { WebClient } from "@slack/web-api";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import { Xt as loadConfig, a as createSubsystemLogger } from "./env-Dlz8aQHP.js"
|
|
|
2
2
|
import "./agent-paths-DUHGyU1s.js";
|
|
3
3
|
import "./send-Ditv1VfR.js";
|
|
4
4
|
import "./send-CWM2yWF6.js";
|
|
5
|
-
import { Fn as installBrowserCommonMiddleware, In as ensureBrowserControlAuth, Ln as resolveBrowserControlAuth, Pn as installBrowserAuthMiddleware, Si as resolveBrowserConfig, bi as stopKnownBrowserProfiles, gi as registerBrowserRoutes, xi as createBrowserRouteContext, yi as ensureExtensionRelayForProfiles } from "./model-catalog-
|
|
5
|
+
import { Fn as installBrowserCommonMiddleware, In as ensureBrowserControlAuth, Ln as resolveBrowserControlAuth, Pn as installBrowserAuthMiddleware, Si as resolveBrowserConfig, bi as stopKnownBrowserProfiles, gi as registerBrowserRoutes, xi as createBrowserRouteContext, yi as ensureExtensionRelayForProfiles } from "./model-catalog-D4rEoh5e.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import "./reply-prefix-CCp0C8w4.js";
|
|
8
8
|
import "./memory-BpNgGSAl.js";
|
|
@@ -44,7 +44,7 @@ import "./send-Dlj2DghK.js";
|
|
|
44
44
|
import "./outbound-attachment-D2ImFzcm.js";
|
|
45
45
|
import "./fetch-BqA-KBI4.js";
|
|
46
46
|
import "./delivery-queue-CMGPhIoF.js";
|
|
47
|
-
import "./deps-
|
|
47
|
+
import "./deps-5PYELVCT.js";
|
|
48
48
|
import "./frontmatter-DTw-J9er.js";
|
|
49
49
|
import "./skills-CzDvK09q.js";
|
|
50
50
|
import "./skills-remote-CM9uNuu4.js";
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-BySKyq9I.js";
|
|
3
3
|
import { Dn as loadConfig, F as createSubsystemLogger } from "./agent-scope-CLn_Ws3B.js";
|
|
4
4
|
import "./commands-registry-DfzoWf4b.js";
|
|
5
|
-
import { Bi as registerBrowserRoutes, Gi as createBrowserRouteContext, Ki as resolveBrowserConfig, Ui as ensureExtensionRelayForProfiles, Wi as stopKnownBrowserProfiles, at as resolveBrowserControlAuth, it as ensureBrowserControlAuth, nt as installBrowserAuthMiddleware, rt as installBrowserCommonMiddleware } from "./reply-
|
|
5
|
+
import { Bi as registerBrowserRoutes, Gi as createBrowserRouteContext, Ki as resolveBrowserConfig, Ui as ensureExtensionRelayForProfiles, Wi as stopKnownBrowserProfiles, at as resolveBrowserControlAuth, it as ensureBrowserControlAuth, nt as installBrowserAuthMiddleware, rt as installBrowserCommonMiddleware } from "./reply-CBhrmRrH.js";
|
|
6
6
|
import "./errors-Dx3S3Nrp.js";
|
|
7
7
|
import "./send-DI5jsj-s.js";
|
|
8
8
|
import "./send-Dg2_aoK-.js";
|
|
@@ -37,7 +37,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
37
37
|
import "./outbound-attachment-BHTb_aF7.js";
|
|
38
38
|
import "./fetch-BJWQWfdf.js";
|
|
39
39
|
import "./delivery-queue-9lp1uujZ.js";
|
|
40
|
-
import "./deps-
|
|
40
|
+
import "./deps-7Xjk7uTn.js";
|
|
41
41
|
import "./memory-e9aOXNx1.js";
|
|
42
42
|
import "./memory-search-B8y2GTeB.js";
|
|
43
43
|
import "./manager-DI2w66Ae.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { W as getChildLogger, k as truncateUtf16Safe } from "./agent-paths-BySKyq9I.js";
|
|
3
3
|
import { Ci as resolveThinkingDefault, Dn as loadConfig, E as ensureAgentWorkspace, Et as loadSessionStore, Gt as archiveSessionTranscripts, Jn as parseDurationMs, N as matchesSkillFilter, Nt as updateSessionStore, Qa as withFileLock, Ru as normalizeWhatsAppTarget, Uu as resolveWhatsAppAccount, a as resolveAgentDir, au as logWarn, bd as buildChannelAccountBindings, bn as resolveAgentMainSessionKey, bo as normalizeSecretInput, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, dp as normalizeThinkLevel, fn as resolveSessionResetPolicy, ft as lookupContextTokens, hi as resolveConfiguredModelRef, i as resolveAgentConfig, l as resolveAgentSkillsFilter, o as resolveAgentEffectiveModelPrimary, oi as getModelRefStatus, pi as resolveAllowedModelRef, pp as supportsXHighThinking, qt as cleanupArchivedSessionTranscripts, si as isCliProvider, u as resolveAgentWorkspaceDir, un as evaluateSessionFreshness, vi as resolveHooksGmailModel, vn as setSessionRuntimeModel, yn as canonicalizeMainSessionAlias } from "./agent-scope-CLn_Ws3B.js";
|
|
4
4
|
import { T as normalizeVerboseLevel } from "./commands-registry-DfzoWf4b.js";
|
|
5
|
-
import { $r as runWithModelFallback, A as retryCronTaskRunQueueItem, Ai as stripLegacyDeliveryFields, C as finishCronTaskRunQueueItem, Ci as normalizeOptionalSessionKey, Ct as runCliAgent, D as recoverExpiredCronTaskRunQueueLeases, Di as migrateLegacyCronPayload, Dr as registerAgentRunContext, E as recoverCronTaskRunQueueItem, Ei as normalizeRequiredName, Et as loadModelCatalog, Fi as getHookType, Fr as readLatestAssistantReply, Ho as resolveAgentAvatar, Ii as isExternalHookSession, Jn as formatWalletCommandReply, L as resolveCronRunLogPath, M as startCronTaskRunQueueStep, N as summarizeCronTaskRunQueue, Ni as buildSafeExternalPrompt, Oi as buildDeliveryFromLegacyPayload, P as appendCronRunLog, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Pi as detectSuspiciousPatterns, Qi as buildOutboundSessionContext, R as resolveCronRunLogPruneOptions, Ra as stripHeartbeatToken, S as enqueueCronTaskRunQueueItem, Si as normalizeOptionalAgentId, Sr as runSubagentAnnounceFlow, St as setCliSessionId, T as readCronTaskRunQueue, Ti as normalizePayloadToSystemText, Wa as resolveSessionAuthProfileOverride, Xi as resolveOutboundTarget, Yr as resolveOutboundSessionRoute, Zi as resolveSessionDeliveryTarget, _ as cancelCronTaskRunQueueItem, _r as spawnSubagentDirect, b as cronTaskRunQueueGraphNodeIdFromStepId, br as listDescendantRunsForRequester, bt as createOutboundSendDeps, c as plannerStrategyModelRole, d as computeNextRunAtMs, dr as createFasedAgentCodingTools, ea as enqueueSystemEvent, fs as resolveAgentTimeoutMs, g as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, h as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, i as resolveCronStyleNow, ia as requestHeartbeatNow, j as retryCronTaskRunQueueStep, k as retryCronTaskRunQueueExecuteStep, ki as hasLegacyDeliveryHints, l as resolveTaskModelRole, m as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, p as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, rr as runEmbeddedPiAgent, to as deliverOutboundPayloads, u as taskExplicitModelRef, v as clearExpiredCronTaskRunQueueLease, vi as normalizeHttpWebhookUrl, vr as countActiveDescendantRuns, w as leaseCronTaskRunQueueExecuteSteps, wi as normalizeOptionalText, x as cronTaskRunQueueGraphStepId, xi as inferLegacyName, xt as getCliSessionId, y as completeCronTaskRunQueueStep } from "./reply-
|
|
5
|
+
import { $r as runWithModelFallback, A as retryCronTaskRunQueueItem, Ai as stripLegacyDeliveryFields, C as finishCronTaskRunQueueItem, Ci as normalizeOptionalSessionKey, Ct as runCliAgent, D as recoverExpiredCronTaskRunQueueLeases, Di as migrateLegacyCronPayload, Dr as registerAgentRunContext, E as recoverCronTaskRunQueueItem, Ei as normalizeRequiredName, Et as loadModelCatalog, Fi as getHookType, Fr as readLatestAssistantReply, Ho as resolveAgentAvatar, Ii as isExternalHookSession, Jn as formatWalletCommandReply, L as resolveCronRunLogPath, M as startCronTaskRunQueueStep, N as summarizeCronTaskRunQueue, Ni as buildSafeExternalPrompt, Oi as buildDeliveryFromLegacyPayload, P as appendCronRunLog, Pa as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, Pi as detectSuspiciousPatterns, Qi as buildOutboundSessionContext, R as resolveCronRunLogPruneOptions, Ra as stripHeartbeatToken, S as enqueueCronTaskRunQueueItem, Si as normalizeOptionalAgentId, Sr as runSubagentAnnounceFlow, St as setCliSessionId, T as readCronTaskRunQueue, Ti as normalizePayloadToSystemText, Wa as resolveSessionAuthProfileOverride, Xi as resolveOutboundTarget, Yr as resolveOutboundSessionRoute, Zi as resolveSessionDeliveryTarget, _ as cancelCronTaskRunQueueItem, _r as spawnSubagentDirect, b as cronTaskRunQueueGraphNodeIdFromStepId, br as listDescendantRunsForRequester, bt as createOutboundSendDeps, c as plannerStrategyModelRole, d as computeNextRunAtMs, dr as createFasedAgentCodingTools, ea as enqueueSystemEvent, fs as resolveAgentTimeoutMs, g as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, h as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, i as resolveCronStyleNow, ia as requestHeartbeatNow, j as retryCronTaskRunQueueStep, k as retryCronTaskRunQueueExecuteStep, ki as hasLegacyDeliveryHints, l as resolveTaskModelRole, m as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, p as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, rr as runEmbeddedPiAgent, to as deliverOutboundPayloads, u as taskExplicitModelRef, v as clearExpiredCronTaskRunQueueLease, vi as normalizeHttpWebhookUrl, vr as countActiveDescendantRuns, w as leaseCronTaskRunQueueExecuteSteps, wi as normalizeOptionalText, x as cronTaskRunQueueGraphStepId, xi as inferLegacyName, xt as getCliSessionId, y as completeCronTaskRunQueueStep } from "./reply-CBhrmRrH.js";
|
|
6
6
|
import { h as normalizeAccountId$1, l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isCronRunSessionKey } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime, n as formatErrorMessage } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import { u as SILENT_REPLY_TOKEN } from "./send-DI5jsj-s.js";
|
|
@@ -18,7 +18,7 @@ import { C as parseAbsoluteTimeMs, S as resolveDefaultCronStaggerMs, a as withTa
|
|
|
18
18
|
import { a as readChannelAllowFromStoreSync } from "./pairing-store-CUPrh2Qy.js";
|
|
19
19
|
import { d as deriveSessionTotalTokens, f as hasNonzeroUsage, l as resolveModelCostConfig, o as estimateUsageCost } from "./session-cost-usage-DQSpjhkP.js";
|
|
20
20
|
import { t as getRemoteSkillEligibility, v as getSkillsSnapshotVersion } from "./skills-remote-DkdYN-8J.js";
|
|
21
|
-
import { n as runHeartbeatOnce } from "./heartbeat-runner-
|
|
21
|
+
import { n as runHeartbeatOnce } from "./heartbeat-runner-BDe0KJF7.js";
|
|
22
22
|
import fs from "node:fs";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import crypto from "node:crypto";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { Ar as isCliProvider, Bu as resolveAgentEffectiveModelPrimary, Ft as resolveSessionResetPolicy, Gu as resolveDefaultAgentId, Ht as canonicalizeMainSessionAlias, Hu as resolveAgentModelFallbacksOverride, I as lookupContextTokens, Ir as resolveAllowedModelRef, Jc as supportsXHighThinking, Kc as normalizeThinkLevel, Kr as resolveThinkingDefault, Md as matchesSkillFilter, Mu as buildChannelAccountBindings, Nt as evaluateSessionFreshness, Rr as resolveConfiguredModelRef, Ru as resolveAgentConfig, Ut as resolveAgentMainSessionKey, Uu as resolveAgentSkillsFilter, Va as normalizeSecretInput, Vr as resolveHooksGmailModel, Vt as setSessionRuntimeModel, Wu as resolveAgentWorkspaceDir, X as loadSessionStore, Xl as normalizeWhatsAppTarget, Xt as loadConfig, _n as parseDurationMs, _t as cleanupArchivedSessionTranscripts, bd as logWarn, ht as archiveSessionTranscripts, kr as getModelRefStatus, od as ensureAgentWorkspace, rt as updateSessionStore, tu as resolveWhatsAppAccount, xa as withFileLock, zu as resolveAgentDir } from "./env-Dlz8aQHP.js";
|
|
3
3
|
import { O as truncateUtf16Safe, U as getChildLogger } from "./agent-paths-DUHGyU1s.js";
|
|
4
4
|
import { a as SILENT_REPLY_TOKEN } from "./send-Ditv1VfR.js";
|
|
5
|
-
import { $n as runSubagentAnnounceFlow, $r as normalizeOptionalSessionKey, At as enqueueCronTaskRunQueueItem, Bt as startCronTaskRunQueueStep, Ct as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, Dn as createFasedAgentCodingTools, Dr as resolveOutboundSessionRoute, Dt as completeCronTaskRunQueueStep, Ea as deliverOutboundPayloads, Et as clearExpiredCronTaskRunQueueLease, Ft as recoverExpiredCronTaskRunQueueLeases, Gi as resolveSessionDeliveryTarget, Gt as resolveCronRunLogPath, Ht as appendCronRunLog, Ji as getCliSessionId, Jn as spawnSubagentDirect, Jr as normalizeHttpWebhookUrl, Kt as resolveCronRunLogPruneOptions, Lt as retryCronTaskRunQueueExecuteStep, Mt as leaseCronTaskRunQueueExecuteSteps, Nt as readCronTaskRunQueue, Ot as cronTaskRunQueueGraphNodeIdFromStepId, Pt as recoverCronTaskRunQueueItem, Qr as normalizeOptionalAgentId, Rt as retryCronTaskRunQueueItem, St as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, Tt as cancelCronTaskRunQueueItem, Vt as summarizeCronTaskRunQueue, Wi as resolveOutboundTarget, Xi as runCliAgent, Yi as setCliSessionId, Yn as countActiveDescendantRuns, Zn as listDescendantRunsForRequester, Zr as inferLegacyName, _t as resolveTaskModelRole, ai as hasLegacyDeliveryHints, di as getHookType, do as resolveAgentAvatar, dt as resolveCronStyleNow, ei as normalizeOptionalText, er as enqueueSystemEvent, fi as isExternalHookSession, gt as plannerStrategyModelRole, ha as resolveSessionAuthProfileOverride, ii as buildDeliveryFromLegacyPayload, jt as finishCronTaskRunQueueItem, kt as cronTaskRunQueueGraphStepId, la as resolveAgentTimeoutMs, li as buildSafeExternalPrompt, mn as formatWalletCommandReply, na as buildOutboundSessionContext, ni as normalizeRequiredName, oi as stripLegacyDeliveryFields, pr as readLatestAssistantReply, qi as createOutboundSendDeps, ri as migrateLegacyCronPayload, rs as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sa as registerAgentRunContext, ss as stripHeartbeatToken, t as loadModelCatalog, ti as normalizePayloadToSystemText, ua as runWithModelFallback, ui as detectSuspiciousPatterns, ur as requestHeartbeatNow, vt as taskExplicitModelRef, wt as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, xn as runEmbeddedPiAgent, xt as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, yt as computeNextRunAtMs, zt as retryCronTaskRunQueueStep } from "./model-catalog-
|
|
5
|
+
import { $n as runSubagentAnnounceFlow, $r as normalizeOptionalSessionKey, At as enqueueCronTaskRunQueueItem, Bt as startCronTaskRunQueueStep, Ct as CRON_TASK_RUN_QUEUE_SYNTHESIZE_STEP_ID, Dn as createFasedAgentCodingTools, Dr as resolveOutboundSessionRoute, Dt as completeCronTaskRunQueueStep, Ea as deliverOutboundPayloads, Et as clearExpiredCronTaskRunQueueLease, Ft as recoverExpiredCronTaskRunQueueLeases, Gi as resolveSessionDeliveryTarget, Gt as resolveCronRunLogPath, Ht as appendCronRunLog, Ji as getCliSessionId, Jn as spawnSubagentDirect, Jr as normalizeHttpWebhookUrl, Kt as resolveCronRunLogPruneOptions, Lt as retryCronTaskRunQueueExecuteStep, Mt as leaseCronTaskRunQueueExecuteSteps, Nt as readCronTaskRunQueue, Ot as cronTaskRunQueueGraphNodeIdFromStepId, Pt as recoverCronTaskRunQueueItem, Qr as normalizeOptionalAgentId, Rt as retryCronTaskRunQueueItem, St as CRON_TASK_RUN_QUEUE_PLAN_ANALYSIS_STEP_ID, Tt as cancelCronTaskRunQueueItem, Vt as summarizeCronTaskRunQueue, Wi as resolveOutboundTarget, Xi as runCliAgent, Yi as setCliSessionId, Yn as countActiveDescendantRuns, Zn as listDescendantRunsForRequester, Zr as inferLegacyName, _t as resolveTaskModelRole, ai as hasLegacyDeliveryHints, di as getHookType, do as resolveAgentAvatar, dt as resolveCronStyleNow, ei as normalizeOptionalText, er as enqueueSystemEvent, fi as isExternalHookSession, gt as plannerStrategyModelRole, ha as resolveSessionAuthProfileOverride, ii as buildDeliveryFromLegacyPayload, jt as finishCronTaskRunQueueItem, kt as cronTaskRunQueueGraphStepId, la as resolveAgentTimeoutMs, li as buildSafeExternalPrompt, mn as formatWalletCommandReply, na as buildOutboundSessionContext, ni as normalizeRequiredName, oi as stripLegacyDeliveryFields, pr as readLatestAssistantReply, qi as createOutboundSendDeps, ri as migrateLegacyCronPayload, rs as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, sa as registerAgentRunContext, ss as stripHeartbeatToken, t as loadModelCatalog, ti as normalizePayloadToSystemText, ua as runWithModelFallback, ui as detectSuspiciousPatterns, ur as requestHeartbeatNow, vt as taskExplicitModelRef, wt as CRON_TASK_RUN_QUEUE_WORKER_STEP_ID, xn as runEmbeddedPiAgent, xt as CRON_TASK_RUN_QUEUE_COLLECT_STEP_ID, yt as computeNextRunAtMs, zt as retryCronTaskRunQueueStep } from "./model-catalog-D4rEoh5e.js";
|
|
6
6
|
import { n as DEFAULT_MODEL, r as DEFAULT_PROVIDER, t as DEFAULT_CONTEXT_TOKENS } from "./defaults-BDW-7D7s.js";
|
|
7
7
|
import { A as defaultRuntime, F as DEFAULT_AGENT_ID, U as resolveAgentIdFromSessionKey, V as normalizeAgentId, Y as normalizeAccountId$1, m as resolveSessionTranscriptPath, q as toAgentStoreSessionKey, tt as isCronRunSessionKey, v as resolveStorePath, x as formatErrorMessage } from "./entry.js";
|
|
8
8
|
import { a as resolveAgentIdentity } from "./reply-prefix-CCp0C8w4.js";
|
|
@@ -16,7 +16,7 @@ import { n as resolveMessageChannelSelection } from "./channel-selection-BSwWHrf
|
|
|
16
16
|
import { d as deriveSessionTotalTokens, f as hasNonzeroUsage, l as resolveModelCostConfig, o as estimateUsageCost } from "./session-cost-usage-Dzc2RiRn.js";
|
|
17
17
|
import { D as parseAbsoluteTimeMs, E as resolveDefaultCronStaggerMs, T as resolveCronStaggerMs, a as withTaskCoordinationRequest, c as matchingTrustedSourcesForTask, d as removeTrustedSource, f as setTrustedSourceActive, i as stopSourcePathInPolicy, l as mergeTrustedSources, n as planTaskExecutionPolicy, o as createTrustedSourceForJob, p as upsertTrustedSource, r as sourceRepairNodeIdForTool, s as listTrustedSources, t as applySourceGraphRepairToPolicy, u as recordTrustedSourceOutcome, w as normalizeCronStaggerMs } from "./task-planner-CkWt6WhX.js";
|
|
18
18
|
import { a as readChannelAllowFromStoreSync } from "./pairing-store-qjH5R_BQ.js";
|
|
19
|
-
import { n as runHeartbeatOnce } from "./heartbeat-runner-
|
|
19
|
+
import { n as runHeartbeatOnce } from "./heartbeat-runner-C2n7G095.js";
|
|
20
20
|
import path from "node:path";
|
|
21
21
|
import fs from "node:fs";
|
|
22
22
|
import crypto from "node:crypto";
|
|
@@ -2,7 +2,7 @@ import { D as pruneLegacyStoreKeys, E as loadSessionEntry, Kl as normalizeChanne
|
|
|
2
2
|
import "./agent-paths-DUHGyU1s.js";
|
|
3
3
|
import "./send-Ditv1VfR.js";
|
|
4
4
|
import "./send-CWM2yWF6.js";
|
|
5
|
-
import { Ea as deliverOutboundPayloads, Li as agentCommand, Wi as resolveOutboundTarget, er as enqueueSystemEvent, na as buildOutboundSessionContext, qi as createOutboundSendDeps, ur as requestHeartbeatNow } from "./model-catalog-
|
|
5
|
+
import { Ea as deliverOutboundPayloads, Li as agentCommand, Wi as resolveOutboundTarget, er as enqueueSystemEvent, na as buildOutboundSessionContext, qi as createOutboundSendDeps, ur as requestHeartbeatNow } from "./model-catalog-D4rEoh5e.js";
|
|
6
6
|
import "./github-copilot-token-A9DiaCB0.js";
|
|
7
7
|
import { A as defaultRuntime, H as normalizeMainKey } from "./entry.js";
|
|
8
8
|
import "./reply-prefix-CCp0C8w4.js";
|
|
@@ -45,7 +45,7 @@ import "./send-Dlj2DghK.js";
|
|
|
45
45
|
import "./outbound-attachment-D2ImFzcm.js";
|
|
46
46
|
import "./fetch-BqA-KBI4.js";
|
|
47
47
|
import "./delivery-queue-CMGPhIoF.js";
|
|
48
|
-
import "./deps-
|
|
48
|
+
import "./deps-5PYELVCT.js";
|
|
49
49
|
import "./frontmatter-DTw-J9er.js";
|
|
50
50
|
import "./skills-CzDvK09q.js";
|
|
51
51
|
import "./skills-remote-CM9uNuu4.js";
|
|
@@ -75,7 +75,7 @@ import "./progress-BhMUiH4f.js";
|
|
|
75
75
|
import "./replies-BFsEK9FQ.js";
|
|
76
76
|
import "./prompt-style-CWdNyu_Q.js";
|
|
77
77
|
import "./pairing-labels-DBt_OA8C.js";
|
|
78
|
-
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-
|
|
78
|
+
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-CJ8osx0y.js";
|
|
79
79
|
import { randomUUID } from "node:crypto";
|
|
80
80
|
|
|
81
81
|
//#region src/gateway/server-node-events.ts
|
|
@@ -2,7 +2,7 @@ import "./paths-C9FmTW1x.js";
|
|
|
2
2
|
import "./agent-paths-BySKyq9I.js";
|
|
3
3
|
import { Dn as loadConfig, Nt as updateSessionStore, Pu as normalizeChannelId, it as resolveGatewaySessionStoreTarget, nt as loadSessionEntry, rt as pruneLegacyStoreKeys } from "./agent-scope-CLn_Ws3B.js";
|
|
4
4
|
import "./commands-registry-DfzoWf4b.js";
|
|
5
|
-
import { Qi as buildOutboundSessionContext, Xi as resolveOutboundTarget, bt as createOutboundSendDeps, ea as enqueueSystemEvent, ht as agentCommand, ia as requestHeartbeatNow, to as deliverOutboundPayloads } from "./reply-
|
|
5
|
+
import { Qi as buildOutboundSessionContext, Xi as resolveOutboundTarget, bt as createOutboundSendDeps, ea as enqueueSystemEvent, ht as agentCommand, ia as requestHeartbeatNow, to as deliverOutboundPayloads } from "./reply-CBhrmRrH.js";
|
|
6
6
|
import { c as normalizeMainKey } from "./session-key-LmCHAJTQ.js";
|
|
7
7
|
import { d as defaultRuntime } from "./errors-Dx3S3Nrp.js";
|
|
8
8
|
import "./send-DI5jsj-s.js";
|
|
@@ -39,7 +39,7 @@ import "./ssrf-Blf4NrHS.js";
|
|
|
39
39
|
import "./outbound-attachment-BHTb_aF7.js";
|
|
40
40
|
import "./fetch-BJWQWfdf.js";
|
|
41
41
|
import "./delivery-queue-9lp1uujZ.js";
|
|
42
|
-
import "./deps-
|
|
42
|
+
import "./deps-7Xjk7uTn.js";
|
|
43
43
|
import "./memory-e9aOXNx1.js";
|
|
44
44
|
import "./memory-search-B8y2GTeB.js";
|
|
45
45
|
import "./manager-DI2w66Ae.js";
|
|
@@ -78,7 +78,7 @@ import "./skills-remote-DkdYN-8J.js";
|
|
|
78
78
|
import "./skill-commands-CxJHp3z6.js";
|
|
79
79
|
import "./prompt-style-Db5iJoaI.js";
|
|
80
80
|
import "./pairing-labels-sAC1Ty3_.js";
|
|
81
|
-
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-
|
|
81
|
+
import { a as registerApnsToken, l as formatForLog, n as parseMessageWithAttachments, t as normalizeRpcAttachmentsToChatAttachments } from "./attachment-normalize-Dqpm6stW.js";
|
|
82
82
|
import { randomUUID } from "node:crypto";
|
|
83
83
|
|
|
84
84
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ds as success, Ms as getChildLogger, Ns as toPinoLikeLogger, Oa as formatCliCommand, Pi as redactSensitiveText, Ss as danger, _a as readCredsJsonRaw, ba as resolveWebCredsBackupPath, ha as maybeRestoreCredsFromBackup, is as ensureDir, ps as resolveUserPath, xa as resolveWebCredsPath, xi as VERSION, ya as resolveDefaultWebAuthDir } from "./agent-scope-
|
|
1
|
+
import { Ds as success, Ms as getChildLogger, Ns as toPinoLikeLogger, Oa as formatCliCommand, Pi as redactSensitiveText, Ss as danger, _a as readCredsJsonRaw, ba as resolveWebCredsBackupPath, ha as maybeRestoreCredsFromBackup, is as ensureDir, ps as resolveUserPath, xa as resolveWebCredsPath, xi as VERSION, ya as resolveDefaultWebAuthDir } from "./agent-scope-T2X-I1lP.js";
|
|
2
2
|
import { n as redactSensitiveUrlLikeString } from "./redact-sensitive-url-Dp_gOi-q.js";
|
|
3
|
-
import
|
|
3
|
+
import syncFs from "node:fs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
6
6
|
import qrcode from "qrcode-terminal";
|
|
@@ -19,16 +19,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
19
19
|
const raw = readCredsJsonRaw(credsPath);
|
|
20
20
|
if (raw) try {
|
|
21
21
|
JSON.parse(raw);
|
|
22
|
-
|
|
22
|
+
syncFs.copyFileSync(credsPath, backupPath);
|
|
23
23
|
try {
|
|
24
|
-
|
|
24
|
+
syncFs.chmodSync(backupPath, 384);
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
try {
|
|
29
29
|
await Promise.resolve(saveCreds());
|
|
30
30
|
try {
|
|
31
|
-
|
|
31
|
+
syncFs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
32
32
|
} catch {}
|
|
33
33
|
} catch (err) {
|
|
34
34
|
logger.warn({ error: formatError(err) }, "failed saving WhatsApp creds");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Bo as resolveEffectiveEnableState, D as resolveEffectiveAgentSkillFilter, Fs as resolvePreferredFasedAgentTmpDir, Gi as isPathInside, Io as normalizeStringEntries, O as normalizeSkillFilter, Qr as loadPluginManifestRegistry, Vo as resolveMemorySlotDecision, Xi as isDangerousHostEnvVarName, es as CONFIG_DIR, k as createSubsystemLogger, l as resolveAgentWorkspaceDir, ps as resolveUserPath, r as listAgentIds, ri as resolveFasedAgentPackageRootSync, zo as normalizePluginsConfig } from "./agent-scope-
|
|
3
|
-
import { f as resolveStateDir } from "./github-copilot-token-
|
|
4
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
5
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
6
|
-
import { a as normalizeStringList, c as resolveFasedAgentManifestBlock, d as resolveFasedAgentManifestRequires, f as parseFrontmatterBlock, i as getFrontmatterString, l as resolveFasedAgentManifestInstall, n as hasBinary, o as parseFasedAgentManifestInstallBase, r as isConfigPathTruthyWithDefaults, s as parseFrontmatterBool, t as evaluateRuntimeEligibility, u as resolveFasedAgentManifestOs } from "./config-eval-
|
|
2
|
+
import { Bo as resolveEffectiveEnableState, D as resolveEffectiveAgentSkillFilter, Fs as resolvePreferredFasedAgentTmpDir, Gi as isPathInside, Io as normalizeStringEntries, O as normalizeSkillFilter, Qr as loadPluginManifestRegistry, Vo as resolveMemorySlotDecision, Xi as isDangerousHostEnvVarName, es as CONFIG_DIR, k as createSubsystemLogger, l as resolveAgentWorkspaceDir, ps as resolveUserPath, r as listAgentIds, ri as resolveFasedAgentPackageRootSync, zo as normalizePluginsConfig } from "./agent-scope-T2X-I1lP.js";
|
|
3
|
+
import { f as resolveStateDir } from "./github-copilot-token-eyrRGmGp.js";
|
|
4
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-BVcGMct5.js";
|
|
5
|
+
import { a as listChatCommands } from "./commands-registry-CwvSkARW.js";
|
|
6
|
+
import { a as normalizeStringList, c as resolveFasedAgentManifestBlock, d as resolveFasedAgentManifestRequires, f as parseFrontmatterBlock, i as getFrontmatterString, l as resolveFasedAgentManifestInstall, n as hasBinary, o as parseFasedAgentManifestInstallBase, r as isConfigPathTruthyWithDefaults, s as parseFrontmatterBool, t as evaluateRuntimeEligibility, u as resolveFasedAgentManifestOs } from "./config-eval-BMGRKCyr.js";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
|
-
import
|
|
10
|
+
import syncFs from "node:fs";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { URL, fileURLToPath } from "node:url";
|
|
13
13
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
@@ -578,13 +578,13 @@ function applySkillEnvOverridesFromSnapshot(params) {
|
|
|
578
578
|
//#region src/agents/skills/bundled-dir.ts
|
|
579
579
|
function looksLikeSkillsDir(dir) {
|
|
580
580
|
try {
|
|
581
|
-
const entries =
|
|
581
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
582
582
|
for (const entry of entries) {
|
|
583
583
|
if (entry.name.startsWith(".")) continue;
|
|
584
584
|
const fullPath = path.join(dir, entry.name);
|
|
585
585
|
if (entry.isFile() && entry.name.endsWith(".md")) return true;
|
|
586
586
|
if (entry.isDirectory()) {
|
|
587
|
-
if (
|
|
587
|
+
if (syncFs.existsSync(path.join(fullPath, "SKILL.md"))) return true;
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
} catch {
|
|
@@ -599,7 +599,7 @@ function resolveBundledSkillsDir(opts = {}) {
|
|
|
599
599
|
const execPath = opts.execPath ?? process.execPath;
|
|
600
600
|
const execDir = path.dirname(execPath);
|
|
601
601
|
const sibling = path.join(execDir, "skills");
|
|
602
|
-
if (
|
|
602
|
+
if (syncFs.existsSync(sibling)) return sibling;
|
|
603
603
|
} catch {}
|
|
604
604
|
try {
|
|
605
605
|
const moduleUrl = opts.moduleUrl ?? import.meta.url;
|
|
@@ -662,7 +662,7 @@ function resolvePluginSkillDirs(params) {
|
|
|
662
662
|
const trimmed = raw.trim();
|
|
663
663
|
if (!trimmed) continue;
|
|
664
664
|
const candidate = path.resolve(record.rootDir, trimmed);
|
|
665
|
-
if (!
|
|
665
|
+
if (!syncFs.existsSync(candidate)) {
|
|
666
666
|
log$2.warn(`plugin skill path not found (${record.id}): ${candidate}`);
|
|
667
667
|
continue;
|
|
668
668
|
}
|
|
@@ -689,7 +689,7 @@ async function serializeByKey(key, task) {
|
|
|
689
689
|
|
|
690
690
|
//#endregion
|
|
691
691
|
//#region src/agents/skills/workspace.ts
|
|
692
|
-
const fsp =
|
|
692
|
+
const fsp = syncFs.promises;
|
|
693
693
|
const skillsLogger = createSubsystemLogger("skills");
|
|
694
694
|
const skillCommandDebugOnce = /* @__PURE__ */ new Set();
|
|
695
695
|
/**
|
|
@@ -735,10 +735,10 @@ function isPathWithinRoot(candidatePath, rootPath) {
|
|
|
735
735
|
let candidate = path.resolve(candidatePath);
|
|
736
736
|
let root = path.resolve(rootPath);
|
|
737
737
|
try {
|
|
738
|
-
candidate =
|
|
738
|
+
candidate = syncFs.realpathSync.native(candidate);
|
|
739
739
|
} catch {}
|
|
740
740
|
try {
|
|
741
|
-
root =
|
|
741
|
+
root = syncFs.realpathSync.native(root);
|
|
742
742
|
} catch {}
|
|
743
743
|
const relative = path.relative(root, candidate);
|
|
744
744
|
return relative === "" || !relative.startsWith("..") && !path.isAbsolute(relative);
|
|
@@ -778,7 +778,7 @@ function resolveSkillsLimits(config) {
|
|
|
778
778
|
}
|
|
779
779
|
function listChildDirectories(dir) {
|
|
780
780
|
try {
|
|
781
|
-
const entries =
|
|
781
|
+
const entries = syncFs.readdirSync(dir, { withFileTypes: true });
|
|
782
782
|
const dirs = [];
|
|
783
783
|
for (const entry of entries) {
|
|
784
784
|
if (entry.name.startsWith(".")) continue;
|
|
@@ -789,7 +789,7 @@ function listChildDirectories(dir) {
|
|
|
789
789
|
continue;
|
|
790
790
|
}
|
|
791
791
|
if (entry.isSymbolicLink()) try {
|
|
792
|
-
if (
|
|
792
|
+
if (syncFs.statSync(fullPath).isDirectory()) dirs.push(entry.name);
|
|
793
793
|
} catch {}
|
|
794
794
|
}
|
|
795
795
|
return dirs;
|
|
@@ -800,7 +800,7 @@ function listChildDirectories(dir) {
|
|
|
800
800
|
function resolveNestedSkillsRoot(dir, opts) {
|
|
801
801
|
const nested = path.join(dir, "skills");
|
|
802
802
|
try {
|
|
803
|
-
if (!
|
|
803
|
+
if (!syncFs.existsSync(nested) || !syncFs.statSync(nested).isDirectory()) return { baseDir: dir };
|
|
804
804
|
} catch {
|
|
805
805
|
return { baseDir: dir };
|
|
806
806
|
}
|
|
@@ -809,7 +809,7 @@ function resolveNestedSkillsRoot(dir, opts) {
|
|
|
809
809
|
const toScan = scanLimit === 0 ? [] : nestedDirs.slice(0, Math.min(nestedDirs.length, scanLimit));
|
|
810
810
|
for (const name of toScan) {
|
|
811
811
|
const skillMd = path.join(nested, name, "SKILL.md");
|
|
812
|
-
if (
|
|
812
|
+
if (syncFs.existsSync(skillMd)) return {
|
|
813
813
|
baseDir: nested,
|
|
814
814
|
note: `Detected nested skills root at ${nested}`
|
|
815
815
|
};
|
|
@@ -829,9 +829,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
829
829
|
const loadSkills = (params) => {
|
|
830
830
|
const baseDir = resolveNestedSkillsRoot(params.dir, { maxEntriesToScan: limits.maxCandidatesPerRoot }).baseDir;
|
|
831
831
|
const rootSkillMd = path.join(baseDir, "SKILL.md");
|
|
832
|
-
if (
|
|
832
|
+
if (syncFs.existsSync(rootSkillMd)) {
|
|
833
833
|
try {
|
|
834
|
-
const size =
|
|
834
|
+
const size = syncFs.statSync(rootSkillMd).size;
|
|
835
835
|
if (size > limits.maxSkillFileBytes) {
|
|
836
836
|
skillsLogger.warn("Skipping skills root due to oversized SKILL.md.", {
|
|
837
837
|
dir: baseDir,
|
|
@@ -870,9 +870,9 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
870
870
|
for (const name of limitedChildren) {
|
|
871
871
|
const skillDir = path.join(baseDir, name);
|
|
872
872
|
const skillMd = path.join(skillDir, "SKILL.md");
|
|
873
|
-
if (!
|
|
873
|
+
if (!syncFs.existsSync(skillMd)) continue;
|
|
874
874
|
try {
|
|
875
|
-
const size =
|
|
875
|
+
const size = syncFs.statSync(skillMd).size;
|
|
876
876
|
if (size > limits.maxSkillFileBytes) {
|
|
877
877
|
skillsLogger.warn("Skipping skill due to oversized SKILL.md.", {
|
|
878
878
|
skill: name,
|
|
@@ -940,7 +940,7 @@ function loadSkillEntries(workspaceDir, opts) {
|
|
|
940
940
|
return Array.from(merged.values()).map((skill) => {
|
|
941
941
|
let frontmatter = {};
|
|
942
942
|
try {
|
|
943
|
-
frontmatter = parseFrontmatter(
|
|
943
|
+
frontmatter = parseFrontmatter(syncFs.readFileSync(skill.filePath, "utf-8"));
|
|
944
944
|
} catch {}
|
|
945
945
|
return {
|
|
946
946
|
skill,
|
|
@@ -1395,8 +1395,8 @@ function listSkillCommandsForAgents(params) {
|
|
|
1395
1395
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1396
1396
|
for (const agentId of agentIds) {
|
|
1397
1397
|
const workspaceDir = resolveAgentWorkspaceDir(params.cfg, agentId);
|
|
1398
|
-
if (!
|
|
1399
|
-
const canonicalDir =
|
|
1398
|
+
if (!syncFs.existsSync(workspaceDir)) continue;
|
|
1399
|
+
const canonicalDir = syncFs.realpathSync(workspaceDir);
|
|
1400
1400
|
if (visitedDirs.has(canonicalDir)) continue;
|
|
1401
1401
|
visitedDirs.add(canonicalDir);
|
|
1402
1402
|
const commands = buildWorkspaceSkillCommandSpecs(workspaceDir, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as resolveDefaultAgentWorkspaceDir, Dn as loadConfig, F as createSubsystemLogger, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-CLn_Ws3B.js";
|
|
2
|
-
import { Nt as loadFasedAgentPlugins, la as createPluginLoaderLogger } from "./reply-
|
|
2
|
+
import { Nt as loadFasedAgentPlugins, la as createPluginLoaderLogger } from "./reply-CBhrmRrH.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugins/status.ts
|
|
5
5
|
const log = createSubsystemLogger("plugins");
|