@symerian/symi 2.8.14 → 2.8.16
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-wWWkC0JH.js → accounts-3dCrO3oZ.js} +1 -1
- package/dist/{accounts-BsgY6sda.js → accounts-BRw8yhIW.js} +21 -21
- package/dist/{accounts-Bsg6r6H7.js → accounts-BuZxOb3B.js} +1 -1
- package/dist/{acp-cli-D7uCUCr8.js → acp-cli-BgR7mxTS.js} +2 -2
- package/dist/{acp-cli-CAU8UW9I.js → acp-cli-D1JYg9c1.js} +2 -2
- package/dist/{active-listener-AVNn5_U9.js → active-listener-BVZOh2T1.js} +1 -1
- package/dist/{agent-scope-Cpm7a9ss.js → agent-scope-CpEJ0B88.js} +3 -3
- package/dist/{agents-DlAvDWxz.js → agents-D6V12K_e.js} +5 -5
- package/dist/{agents.config-Dd-11klq.js → agents.config-BIIkG8rN.js} +1 -1
- package/dist/{agents.config-BKKMbeeE.js → agents.config-C0iGGY9q.js} +1 -1
- package/dist/{audio-preflight-rrz8KyHd.js → audio-preflight-rjCWpcfE.js} +29 -29
- package/dist/{audit-CB97BqHJ.js → audit-Dr_8rC6G.js} +2 -2
- package/dist/{audit-BhCJV2l6.js → audit-xiwEIT96.js} +2 -2
- package/dist/{auth-choice-CRQRPwQt.js → auth-choice-BcCUgEa4.js} +2 -2
- package/dist/{auth-choice-C6woT6k2.js → auth-choice-jyLLyEpy.js} +2 -2
- package/dist/{auth-profiles-BzB_Exeq.js → auth-profiles-C2vj6htZ.js} +17 -17
- package/dist/{banner-DrNha2_N.js → banner-DSRsscTp.js} +1 -1
- package/dist/{bindings-xcRox9xM.js → bindings-BsHoBLIE.js} +2 -2
- package/dist/{browser-cli-5ME9iiC3.js → browser-cli-BQeCPbES.js} +3 -3
- package/dist/{browser-cli-BTci35qB.js → browser-cli-IXepRCZR.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +54 -54
- 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 +54 -54
- package/dist/{call-Cmb04dff.js → call-BkJK3eYP.js} +2 -1
- package/dist/{call-BrRWr7Lj.js → call-CAGvQYXj.js} +2 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-CzHaIUAp.js → channel-activity-D8QD7GoV.js} +1 -1
- package/dist/{channel-options-D8q9En4T.js → channel-options-BSdsxwj0.js} +1 -1
- package/dist/{channel-options-DYy2sCfN.js → channel-options-Cr_if7it.js} +1 -1
- package/dist/{channel-web-CRBU4eZk.js → channel-web-C3gcPe4C.js} +1 -1
- package/dist/{channels-cli-Dk3kUw9A.js → channels-cli-Bn6mTlYq.js} +9 -9
- package/dist/{channels-cli-BUk43hHR.js → channels-cli-O7MxdB1l.js} +9 -9
- package/dist/{chrome-DwXnykXR.js → chrome-C08Z0XAa.js} +21 -21
- package/dist/{chunk-BcxcL1U3.js → chunk-BRe1o4Af.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-5gWsnsB7.js → cli-CLOf6U-k.js} +6 -6
- package/dist/{cli-DjZzJy3t.js → cli-RIwsXnB-.js} +6 -6
- package/dist/{client-C7AOOnKZ.js → client-CYsBIR3j.js} +27 -1
- package/dist/{client-qUlxXXVJ.js → client-Cmq13-uF.js} +27 -1
- package/dist/{command-registry-LjFltTU9.js → command-registry-BiznuVYK.js} +11 -11
- package/dist/{commands-registry-ByGkL6hs.js → commands-registry-DxbSTLNQ.js} +4 -4
- package/dist/{completion-cli-Cf6fYZWL.js → completion-cli-BVG9ZtBG.js} +2 -2
- package/dist/{completion-cli-BVTGy8th.js → completion-cli-D-xVtDhj.js} +1 -1
- package/dist/{config-C4WnAd-c.js → config-BkZ9HOKT.js} +17 -17
- package/dist/{config-cli-EgWrCemi.js → config-cli-CDTQQFyj.js} +1 -1
- package/dist/{config-cli-C7DIbGxx.js → config-cli-zd2upqe_.js} +1 -1
- package/dist/{configure-B67uIawm.js → configure-BHdczngQ.js} +6 -6
- package/dist/{configure-Bk-snuxh.js → configure-Cu4CiLWY.js} +6 -6
- package/dist/{consolidate-DRtVvG2U.js → consolidate-07QMweFF.js} +4 -4
- package/dist/control-ui/index.html +7 -0
- package/dist/control-ui/js/menu.js +2 -0
- package/dist/control-ui/js/settings.js +1 -0
- package/dist/{cron-cli-CGJveo7P.js → cron-cli-CZCm3aLt.js} +3 -3
- package/dist/{cron-cli-Crh_r2aK.js → cron-cli-Dq2FEfK1.js} +3 -3
- package/dist/{daemon-cli-Cq-IaYw4.js → daemon-cli-B2_uIgDM.js} +2 -2
- package/dist/{daemon-cli-CAIg9sMo.js → daemon-cli-CweMes2K.js} +2 -2
- package/dist/daemon-cli.js +27 -0
- package/dist/{deliver-SLYAWE19.js → deliver-qUx-eLKt.js} +20 -20
- package/dist/{devices-cli-CUT_8CuJ.js → devices-cli-3ui-Wcaj.js} +2 -2
- package/dist/{devices-cli-hSn5vjJZ.js → devices-cli-DeoPyzAd.js} +2 -2
- package/dist/{diagnostic-DTkZsRNM.js → diagnostic-BUcR3Meg.js} +1 -1
- package/dist/{doctor-completion-lE_33xaY.js → doctor-completion-ClveVbW_.js} +1 -1
- package/dist/{doctor-completion-By066O3p.js → doctor-completion-e-Ke-FnA.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-CB65jmJQ.js → env-BDXYbTKj.js} +1 -1
- package/dist/{exec-approvals-cli-BTfZiH6z.js → exec-approvals-cli-Bx9loYnQ.js} +4 -4
- package/dist/{exec-approvals-cli-DTad2Zi_.js → exec-approvals-cli-CTEn_Eu_.js} +4 -4
- package/dist/extensionAPI.js +2 -2
- package/dist/{frontmatter-CT1M0pRK.js → frontmatter-CTR5f_Ez.js} +4 -4
- package/dist/{gateway-cli-DqEgqVKC.js → gateway-cli-CBseg7zA.js} +34 -16
- package/dist/{gateway-cli-C6uT2x34.js → gateway-cli-DGMuMxMT.js} +34 -16
- package/dist/{gateway-rpc-BKJyAcQd.js → gateway-rpc-DbSbyIcL.js} +1 -1
- package/dist/{gateway-rpc-DActF8Qj.js → gateway-rpc-QsFn5Zr1.js} +1 -1
- package/dist/{gemini-auth-D80BsXr2.js → gemini-auth-BefM10YB.js} +1 -1
- package/dist/{github-copilot-token-B8B2pmph.js → github-copilot-token-cCYzSU9h.js} +7 -7
- package/dist/{glass-ui-ws-CLAUHeZR.js → glass-ui-ws-B0WonpHP.js} +13 -13
- package/dist/{glass-ui-ws-77TY57IO.js → glass-ui-ws-BU6qyCvM.js} +13 -13
- package/dist/{health-2jkjZxY8.js → health-BrpUi4qW.js} +2 -2
- package/dist/{health-CvMHgR-L.js → health-d4gqJJCY.js} +2 -2
- package/dist/{hooks-cli-CRZySOiz.js → hooks-cli-CBStbWME.js} +7 -7
- package/dist/{hooks-cli-DSaezFsD.js → hooks-cli-Dm2SU8AY.js} +7 -7
- package/dist/{image-BHF_fnIp.js → image-C6rCON9L.js} +4 -4
- package/dist/{image-ops-CY7v6vvp.js → image-ops-C7CauEK8.js} +16 -16
- package/dist/index.js +11 -11
- package/dist/{internal-FNqguZSK.js → internal-DjnxpF_K.js} +11 -11
- package/dist/{ir-D6MiJpAy.js → ir-7tMVY7D_.js} +4 -4
- package/dist/llm-slug-generator.js +54 -54
- package/dist/{local-roots-tcdaIEhh.js → local-roots-ClipCZ9s.js} +5 -5
- package/dist/{login-D4ZkmSrY.js → login-D4rZWBXe.js} +7 -7
- package/dist/{login-qr-C9ftIq3n.js → login-qr-DdAVHOEC.js} +12 -12
- package/dist/{logs-cli-BPnrAg0W.js → logs-cli-1hn28HCu.js} +3 -3
- package/dist/{logs-cli-DiDesnnp.js → logs-cli-R4WwQvR2.js} +3 -3
- package/dist/{manager-DxCmjSfP.js → manager-B-5p7UGu.js} +25 -25
- package/dist/{manager-DrmlegR2.js → manager-BOvfAdfG.js} +2 -2
- package/dist/{manager-BtWtmpxN.js → manager-CtwApSQo.js} +2 -2
- package/dist/{manager-DDELj5o9.js → manager-DDboJTtn.js} +2 -2
- package/dist/{manifest-registry-BvGv6lp9.js → manifest-registry-CBCGTsIb.js} +19 -19
- package/dist/{markdown-tables-CE-qSMGB.js → markdown-tables-x2Xe2UXh.js} +1 -1
- package/dist/{memory-cli-ENCASZJk.js → memory-cli-BOxWccJu.js} +3 -3
- package/dist/{memory-cli-Qgbcxvuf.js → memory-cli-D2QHGsxh.js} +3 -3
- package/dist/{message-channel-lwVT8QjK.js → message-channel-OlFBYAw8.js} +1 -1
- package/dist/{models-COhUz7M9.js → models-Cn1cbmce.js} +3 -3
- package/dist/{models-cli-CYvXBvmZ.js → models-cli-CXW-3Zot.js} +8 -8
- package/dist/{models-cli-CCxYcF4R.js → models-cli-Cdkkr4--.js} +7 -7
- package/dist/{node-cli-DwDQpTW5.js → node-cli-BBN6PoOG.js} +1 -1
- package/dist/{node-cli-DEcCM2p0.js → node-cli-BsAzTrAx.js} +1 -1
- package/dist/{nodes-cli-CqBLemeB.js → nodes-cli-DE60dv81.js} +3 -3
- package/dist/{nodes-cli-u8k6TPmF.js → nodes-cli-t3azniiS.js} +3 -3
- package/dist/{onboard-CQNUYBIp.js → onboard-BJ9vVhFw.js} +3 -3
- package/dist/{onboard-fVpLVnwg.js → onboard-UB4D1vwP.js} +3 -3
- package/dist/{onboard-channels-CWw8G-6n.js → onboard-channels-Cfc9EhLj.js} +1 -1
- package/dist/{onboard-channels-9erx07qe.js → onboard-channels-Gfgyvx9N.js} +1 -1
- package/dist/{onboard-helpers-C8f_xi6R.js → onboard-helpers-B7jBYbCU.js} +1 -1
- package/dist/{onboard-helpers-CF0Cp3OB.js → onboard-helpers-DjlGq6iG.js} +1 -1
- package/dist/{onboard-remote-DgGH0dTe.js → onboard-remote-CXuHbtrT.js} +1 -1
- package/dist/{onboard-remote-CWal5_aZ.js → onboard-remote-D7wGqONm.js} +1 -1
- package/dist/{onboard-skills-DnzJLU2H.js → onboard-skills-BDhqz3te.js} +1 -1
- package/dist/{onboard-skills-CO2TjuO3.js → onboard-skills-ChQnpMi-.js} +1 -1
- package/dist/{onboarding-D-OIkDwZ.js → onboarding-BfSg5GnT.js} +7 -7
- package/dist/{onboarding-CtEiH9WG.js → onboarding-Bv89FLSZ.js} +7 -7
- package/dist/{onboarding.finalize-BY3HNjX4.js → onboarding.finalize-B8MFYp8E.js} +12 -12
- package/dist/{onboarding.finalize-DTbpLV-T.js → onboarding.finalize-DMJTZPb_.js} +11 -11
- package/dist/{onboarding.gateway-config-DlV0vso8.js → onboarding.gateway-config-Cm5jIfRz.js} +3 -3
- package/dist/{onboarding.gateway-config-D4rQoPRi.js → onboarding.gateway-config-wAyLcGRu.js} +3 -3
- package/dist/{outbound-C6Gm22UF.js → outbound-Zmd7UyQH.js} +7 -7
- package/dist/{outbound-attachment-BWyKV1Gy.js → outbound-attachment-DeCnZT-8.js} +2 -2
- package/dist/{paths-DEuVuViW.js → paths-CbQV9WEg.js} +1 -1
- package/dist/{pi-auth-json-Bv1NzJdR.js → pi-auth-json-RXOlh8ar.js} +1 -1
- package/dist/{pi-embedded-CdOdQw2i.js → pi-embedded-CzKPTG9K.js} +149 -75
- package/dist/{pi-embedded-helpers-DwQ9wJeT.js → pi-embedded-helpers-P13adotN.js} +73 -73
- package/dist/{plugin-registry-BrJ0-qlu.js → plugin-registry-CQAtbgft.js} +1 -1
- package/dist/{plugin-registry-Cuc8ORuR.js → plugin-registry-R7nyNT_4.js} +1 -1
- package/dist/plugin-sdk/{channel-web-t8UOP6Zu.js → channel-web-D1qaoERA.js} +1 -1
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +6 -3
- package/dist/plugin-sdk/gateway/protocol/schema/tasks.d.ts +40 -0
- package/dist/plugin-sdk/gateway/protocol/schema/types.d.ts +3 -0
- package/dist/plugin-sdk/gateway/protocol/schema.d.ts +1 -0
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/infra/long-task-state.d.ts +34 -0
- package/dist/plugin-sdk/{manager-BPm5oefC.js → manager-CVuMChKq.js} +2 -2
- package/dist/plugin-sdk/{reply-BKAHTugL.js → reply-LZax-i7K.js} +149 -75
- package/dist/plugin-sdk/{synthesis-CVF7Fwhd.js → synthesis-DnknLqQP.js} +2 -2
- package/dist/plugin-sdk/{web-D0DsmFvw.js → web-DGGSyBgc.js} +3 -3
- package/dist/{plugins-v8k1XVOy.js → plugins-BzmbgY7s.js} +9 -9
- package/dist/{plugins-cli-DFmriy-c.js → plugins-cli-CyaM2yPX.js} +7 -7
- package/dist/{plugins-cli-BDalhI46.js → plugins-cli-DGWVBlc8.js} +7 -7
- package/dist/{program-DKh41c2a.js → program-2jsiC85C.js} +12 -12
- package/dist/{program-context-Cq7pqOrw.js → program-context-DQg-ZH6A.js} +30 -30
- package/dist/{prompt-select-styled-DvvSE_ni.js → prompt-select-styled-CQJkA--o.js} +8 -8
- package/dist/{prompt-select-styled-BFCAZLwK.js → prompt-select-styled-Csj7D4id.js} +8 -8
- package/dist/{provider-auth-helpers-DXppgV1l.js → provider-auth-helpers-C1rUolDI.js} +1 -1
- package/dist/{provider-auth-helpers-B-LkDxxi.js → provider-auth-helpers-DSq3qfws.js} +1 -1
- package/dist/{push-apns-DCA47WA5.js → push-apns-Dv3XQClG.js} +1 -1
- package/dist/{push-apns-DvudhEAb.js → push-apns-FvyXV3Um.js} +1 -1
- package/dist/{pw-ai-XGqnSWju.js → pw-ai-CeWN4iD9.js} +11 -11
- package/dist/{qmd-manager-CbRJhonG.js → qmd-manager-BXkbA8Y9.js} +8 -8
- package/dist/{register.agent-_BV5KyFb.js → register.agent-Cs5QU2Cd.js} +11 -11
- package/dist/{register.agent-aFj_SMi3.js → register.agent-DCIdzwFG.js} +10 -10
- package/dist/{register.configure-Dx0Uhmlz.js → register.configure-BBKyd--9.js} +13 -13
- package/dist/{register.configure-CvOoD5gE.js → register.configure-C64fHXoT.js} +13 -13
- package/dist/{register.maintenance-CMeJR7DG.js → register.maintenance-D99fy4mM.js} +13 -13
- package/dist/{register.maintenance-BuZpoSik.js → register.maintenance-DRUMeCun.js} +12 -12
- package/dist/{register.message-xxGePuRC.js → register.message-BL30Nofx.js} +7 -7
- package/dist/{register.message-qysZPg3G.js → register.message-CelO3y3f.js} +7 -7
- package/dist/{register.onboard-1MP2I0q4.js → register.onboard-Cb9K2U81.js} +9 -9
- package/dist/{register.onboard-D4Aow7Gc.js → register.onboard-j6fg7rSF.js} +9 -9
- package/dist/{register.setup-BT74aXzA.js → register.setup-BfbJZE5C.js} +9 -9
- package/dist/{register.setup-DzliKkWh.js → register.setup-xyGsh3Fi.js} +9 -9
- package/dist/{register.status-health-sessions-D7VYZlrU.js → register.status-health-sessions-BE4TcJ1J.js} +9 -9
- package/dist/{register.status-health-sessions-B3K2gZ72.js → register.status-health-sessions-CpnBFwbx.js} +9 -9
- package/dist/{register.subclis-BCy0IDRv.js → register.subclis-8cGjLTmN.js} +20 -20
- package/dist/{registry-X6fUE0K7.js → registry-DYq1AYOv.js} +19 -19
- package/dist/{replies-86F3PldM.js → replies-CUWXgyx2.js} +3 -3
- package/dist/{reply-Dg1ZU3DZ.js → reply-CaGCmutq.js} +125 -78
- package/dist/{reply-prefix-CI_IdwqH.js → reply-prefix-CvEIl6_d.js} +1 -1
- package/dist/{resolve-route-BgSuN9c6.js → resolve-route-Jy5dFY67.js} +4 -4
- package/dist/{retry-4oEAHckB.js → retry-B-y5suGA.js} +1 -1
- package/dist/{rpc-DYHXLh0P.js → rpc-C3ZUAjXK.js} +1 -1
- package/dist/{rpc-DdlEeEXT.js → rpc-St4eAsjR.js} +1 -1
- package/dist/{run-main-OS2aFAJ2.js → run-main-BzZuJeMa.js} +20 -20
- package/dist/{runner-B5oNTtgf.js → runner-D633VT13.js} +22 -22
- package/dist/{security-cli-BadXDWTh.js → security-cli-B8gavsuQ.js} +3 -3
- package/dist/{security-cli-D5y28-RH.js → security-cli-BSvxNP9m.js} +3 -3
- package/dist/{send-cCTQjuOZ.js → send-BKo1T3HF.js} +6 -6
- package/dist/{send-BTfqlrYd.js → send-Bb4it0te.js} +18 -18
- package/dist/{send-CSydU49L.js → send-C0QjmPaf.js} +10 -10
- package/dist/{send-Du-IfSne.js → send-Cpk3Ti6-.js} +6 -6
- package/dist/{send-ASDB3AzC.js → send-DFtnbzqy.js} +7 -7
- package/dist/{server-methods-BszFAkbJ.js → server-methods-BKlZejQC.js} +57 -13
- package/dist/{server-methods-D_iKJ-sj.js → server-methods-DEV38b_O.js} +57 -13
- package/dist/{server-node-events-CENHuAVz.js → server-node-events-3FL5gBKp.js} +7 -7
- package/dist/{server-node-events-uBu3XOjd.js → server-node-events-BX5JLPyV.js} +7 -7
- package/dist/{session-D8qLj_xN.js → session-BTeY6Gn2.js} +8 -8
- package/dist/{skill-commands-BcOduw6G.js → skill-commands-DG2lcozb.js} +16 -16
- package/dist/{skills-BrYDT4Jr.js → skills-CXxrn_e2.js} +24 -24
- package/dist/{sqlite-P-gMg7fi.js → sqlite-BN_hIcmu.js} +3 -3
- package/dist/{status-CBnCPUMG.js → status-L76LBY6B.js} +6 -6
- package/dist/{status-BvbJavmh.js → status-h7VP4Vpq.js} +1 -1
- package/dist/{status-DJAeKN4G.js → status-uBCH1pzQ.js} +1 -1
- package/dist/{status-CA0mUJld.js → status-zNfi0s3F.js} +6 -6
- package/dist/{store-Ceagbc4L.js → store-01F_JM7O.js} +6 -6
- package/dist/{subagent-registry-C1OyZl-M.js → subagent-registry-DlIPWOrx.js} +125 -78
- package/dist/{subsystem-CzXhCdeY.js → subsystem-BjyjJF-d.js} +1 -1
- package/dist/{synthesis-brHrnNF2.js → synthesis-1XabTYcd.js} +6 -6
- package/dist/{synthesis-z5B41p_r.js → synthesis-BfB-Lbjy.js} +6 -6
- package/dist/{synthesis-DuqSkHEr.js → synthesis-D1xCmGZi.js} +54 -54
- package/dist/{synthesis-DNTyB7JY.js → synthesis-D3EObLPS.js} +2 -2
- package/dist/{system-cli-BFopJ_xI.js → system-cli-BN9MXNk7.js} +3 -3
- package/dist/{system-cli-DryauSOX.js → system-cli-CD5latLh.js} +3 -3
- package/dist/{tables-qbCoZrYA.js → tables-DoG-pFrf.js} +1 -1
- package/dist/{target-errors-uNitqCCT.js → target-errors-DeJTztcq.js} +2 -2
- package/dist/{thinking-BV7SCNJP.js → thinking-BprCy23Z.js} +5 -5
- package/dist/{tokens-Bl5R3wPD.js → tokens-W0JzCJJM.js} +1 -1
- package/dist/{tool-images-JxNglLSr.js → tool-images-SqqWIT22.js} +2 -2
- package/dist/{tool-loop-detection-dfE771kg.js → tool-loop-detection-Dj9h1ogr.js} +3 -3
- package/dist/{tui-CvHbwJ3G.js → tui-Cu4TZK3I.js} +2 -2
- package/dist/{tui-BiBFm_RY.js → tui-DLkE0D7e.js} +2 -2
- package/dist/{tui-cli-CmyT9ctV.js → tui-cli-BfuEq3Q-.js} +3 -3
- package/dist/{tui-cli-CU6A8Bu2.js → tui-cli-DC9Bq-N_.js} +3 -3
- package/dist/{unified-runner-Czg3pdBc.js → unified-runner-KFxqPxWe.js} +378 -304
- package/dist/{update-cli-0lyGyl31.js → update-cli-CwtAWyeY.js} +14 -14
- package/dist/{update-cli-CIzkVfmj.js → update-cli-bTfRfI4b.js} +13 -13
- package/dist/{update-runner-D7-LDziQ.js → update-runner-BixvbAbN.js} +1 -1
- package/dist/{update-runner-aYPcKYAN.js → update-runner-DeT8NIX6.js} +1 -1
- package/dist/{web-Wk1ay1eQ.js → web-Bwrtjkmy.js} +2 -2
- package/dist/{web-CN7wnU7w.js → web-CO0AUYgu.js} +6 -6
- package/dist/{web-BJ5dUZso.js → web-N4FG6nyF.js} +7 -7
- package/dist/{web-B90A99YU.js → web-YSRcfzpP.js} +58 -58
- package/dist/{whatsapp-actions-llk0IUn2.js → whatsapp-actions-DmVpLXmh.js} +23 -23
- package/dist/{workspace-CywO4ayZ.js → workspace-DscDraUb.js} +27 -27
- 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/feishu/package.json +1 -1
- package/extensions/google-antigravity-auth/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/learning-loop/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -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 +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/pipeline/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/paths-CYmyCDsE.js +0 -212
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { At as getResolvedLoggerSettings, Dt as theme, Et as isRich, Tt as colorize, Ut as resolveGatewayPort, Wt as resolveIsNixMode, Yt as resolveStateDir, _ as defaultRuntime, lt as shortenHomePath, zt as resolveConfigPath } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
|
|
4
4
|
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, r as createConfigIO } from "./config-DXt3pc08.js";
|
|
5
|
-
import { n as callGateway } from "./call-
|
|
5
|
+
import { n as callGateway } from "./call-CAGvQYXj.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C9dERklz.js";
|
|
7
7
|
import { l as resolveGatewayBindHost } from "./net-DZ5Ayk-W.js";
|
|
8
8
|
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-Cmumpn76.js";
|
|
@@ -11,7 +11,7 @@ import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-2xFXb
|
|
|
11
11
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName } from "./constants-l9TQg-aP.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-CxyMXTsn.js";
|
|
13
13
|
import { n as withProgress } from "./progress-HK2tT7Yf.js";
|
|
14
|
-
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-
|
|
14
|
+
import { g as resolveControlUiLinks, h as randomToken } from "./onboard-helpers-DjlGq6iG.js";
|
|
15
15
|
import { n as isWSLEnv } from "./wsl-Nbg0CUop.js";
|
|
16
16
|
import { n as inheritOptionFromParent } from "./command-options-DbRrl8qF.js";
|
|
17
17
|
import { i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-D_elkkFW.js";
|
package/dist/daemon-cli.js
CHANGED
|
@@ -10664,6 +10664,31 @@ const SessionsUsageParamsSchema = Type.Object({
|
|
|
10664
10664
|
includeContextWeight: Type.Optional(Type.Boolean())
|
|
10665
10665
|
}, { additionalProperties: false });
|
|
10666
10666
|
|
|
10667
|
+
//#endregion
|
|
10668
|
+
//#region src/gateway/protocol/schema/tasks.ts
|
|
10669
|
+
/**
|
|
10670
|
+
* tasks.list — enumerates long-running detached tasks across configured
|
|
10671
|
+
* agent workspaces. Optional `workdir` override scans a single absolute
|
|
10672
|
+
* directory instead.
|
|
10673
|
+
*/
|
|
10674
|
+
const TasksListParamsSchema = Type.Object({ workdir: Type.Optional(Type.String()) }, { additionalProperties: false });
|
|
10675
|
+
const TaskInfoSchema = Type.Object({
|
|
10676
|
+
id: Type.String(),
|
|
10677
|
+
agentId: Type.Optional(Type.String()),
|
|
10678
|
+
workdir: Type.String(),
|
|
10679
|
+
pid: Type.Union([Type.Integer(), Type.Null()]),
|
|
10680
|
+
alive: Type.Boolean(),
|
|
10681
|
+
archived: Type.Boolean(),
|
|
10682
|
+
status: Type.String(),
|
|
10683
|
+
started: Type.Union([Type.String(), Type.Null()]),
|
|
10684
|
+
cmd: Type.Union([Type.String(), Type.Null()]),
|
|
10685
|
+
pidPath: Type.String(),
|
|
10686
|
+
statusPath: Type.String(),
|
|
10687
|
+
archivedPath: Type.String(),
|
|
10688
|
+
logPath: Type.String()
|
|
10689
|
+
}, { additionalProperties: false });
|
|
10690
|
+
const TasksListResultSchema = Type.Object({ tasks: Type.Array(TaskInfoSchema) }, { additionalProperties: false });
|
|
10691
|
+
|
|
10667
10692
|
//#endregion
|
|
10668
10693
|
//#region src/gateway/protocol/schema/wizard.ts
|
|
10669
10694
|
const WizardRunStatusSchema = Type.Union([
|
|
@@ -10749,6 +10774,7 @@ const validateAgentIdentityParams = ajv.compile(AgentIdentityParamsSchema);
|
|
|
10749
10774
|
const validateAgentWaitParams = ajv.compile(AgentWaitParamsSchema);
|
|
10750
10775
|
const validateWakeParams = ajv.compile(WakeParamsSchema);
|
|
10751
10776
|
const validateAgentsListParams = ajv.compile(AgentsListParamsSchema);
|
|
10777
|
+
const validateTasksListParams = ajv.compile(TasksListParamsSchema);
|
|
10752
10778
|
const validateAgentsCreateParams = ajv.compile(AgentsCreateParamsSchema);
|
|
10753
10779
|
const validateAgentsUpdateParams = ajv.compile(AgentsUpdateParamsSchema);
|
|
10754
10780
|
const validateAgentsDeleteParams = ajv.compile(AgentsDeleteParamsSchema);
|
|
@@ -11171,6 +11197,7 @@ const METHOD_SCOPE_GROUPS = {
|
|
|
11171
11197
|
"cron.list",
|
|
11172
11198
|
"cron.status",
|
|
11173
11199
|
"cron.runs",
|
|
11200
|
+
"tasks.list",
|
|
11174
11201
|
"system-presence",
|
|
11175
11202
|
"last-heartbeat",
|
|
11176
11203
|
"node.list",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { s as resolveStateDir } from "./paths-
|
|
2
|
+
import { s as resolveStateDir } from "./paths-CE7eVGHg.js";
|
|
3
3
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
4
|
-
import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
7
|
-
import { d as getChannelDock } from "./thinking-
|
|
8
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
10
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
11
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
12
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
13
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { c as getActivePluginRegistry, v as createInternalHookEvent, x as triggerInternalHook } from "./registry-DYq1AYOv.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
|
|
6
|
+
import { B as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, z as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-P13adotN.js";
|
|
7
|
+
import { d as getChannelDock } from "./thinking-BprCy23Z.js";
|
|
8
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BzmbgY7s.js";
|
|
9
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-W0JzCJJM.js";
|
|
10
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-BRe1o4Af.js";
|
|
11
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-x2Xe2UXh.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-ClipCZ9s.js";
|
|
13
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-Cpk3Ti6-.js";
|
|
14
14
|
import path from "node:path";
|
|
15
|
-
import
|
|
15
|
+
import fs from "node:fs";
|
|
16
16
|
import crypto from "node:crypto";
|
|
17
17
|
|
|
18
18
|
//#region src/plugins/hooks.ts
|
|
@@ -721,11 +721,11 @@ function resolveFailedDir(stateDir) {
|
|
|
721
721
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
722
722
|
async function ensureQueueDir(stateDir) {
|
|
723
723
|
const queueDir = resolveQueueDir(stateDir);
|
|
724
|
-
await
|
|
724
|
+
await fs.promises.mkdir(queueDir, {
|
|
725
725
|
recursive: true,
|
|
726
726
|
mode: 448
|
|
727
727
|
});
|
|
728
|
-
await
|
|
728
|
+
await fs.promises.mkdir(resolveFailedDir(stateDir), {
|
|
729
729
|
recursive: true,
|
|
730
730
|
mode: 448
|
|
731
731
|
});
|
|
@@ -752,18 +752,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
752
752
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
753
753
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
754
754
|
const json = JSON.stringify(entry, null, 2);
|
|
755
|
-
await
|
|
755
|
+
await fs.promises.writeFile(tmp, json, {
|
|
756
756
|
encoding: "utf-8",
|
|
757
757
|
mode: 384
|
|
758
758
|
});
|
|
759
|
-
await
|
|
759
|
+
await fs.promises.rename(tmp, filePath);
|
|
760
760
|
return id;
|
|
761
761
|
}
|
|
762
762
|
/** Remove a successfully delivered entry from the queue. */
|
|
763
763
|
async function ackDelivery(id, stateDir) {
|
|
764
764
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
765
765
|
try {
|
|
766
|
-
await
|
|
766
|
+
await fs.promises.unlink(filePath);
|
|
767
767
|
} catch (err) {
|
|
768
768
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
769
769
|
}
|
|
@@ -771,16 +771,16 @@ async function ackDelivery(id, stateDir) {
|
|
|
771
771
|
/** Update a queue entry after a failed delivery attempt. */
|
|
772
772
|
async function failDelivery(id, error, stateDir) {
|
|
773
773
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
774
|
-
const raw = await
|
|
774
|
+
const raw = await fs.promises.readFile(filePath, "utf-8");
|
|
775
775
|
const entry = JSON.parse(raw);
|
|
776
776
|
entry.retryCount += 1;
|
|
777
777
|
entry.lastError = error;
|
|
778
778
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
779
|
-
await
|
|
779
|
+
await fs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
780
780
|
encoding: "utf-8",
|
|
781
781
|
mode: 384
|
|
782
782
|
});
|
|
783
|
-
await
|
|
783
|
+
await fs.promises.rename(tmp, filePath);
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
//#endregion
|
|
@@ -12,8 +12,8 @@ import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-
|
|
|
12
12
|
import "./config-PXAJCHa5.js";
|
|
13
13
|
import "./manifest-registry-BDSRH8nU.js";
|
|
14
14
|
import { r as isLoopbackHost } from "./ws-C7EXRv8z.js";
|
|
15
|
-
import {
|
|
16
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
15
|
+
import { Bt as approveDevicePairing, Ut as listDevicePairing, Yt as summarizeDeviceTokens } from "./client-CYsBIR3j.js";
|
|
16
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BkJK3eYP.js";
|
|
17
17
|
import "./pairing-token-pooyuU2J.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-CviDPm2s.js";
|
|
19
19
|
import { n as withProgress } from "./progress-WhkkDU0H.js";
|
|
@@ -5,8 +5,8 @@ import "./agent-scope-D-jRCY0d.js";
|
|
|
5
5
|
import "./github-copilot-token-DuFIqfeC.js";
|
|
6
6
|
import "./manifest-registry-D5bnO5uA.js";
|
|
7
7
|
import "./config-DXt3pc08.js";
|
|
8
|
-
import {
|
|
9
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
8
|
+
import { Bt as approveDevicePairing, Ut as listDevicePairing, Yt as summarizeDeviceTokens } from "./client-Cmq13-uF.js";
|
|
9
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CAGvQYXj.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C9dERklz.js";
|
|
11
11
|
import "./pairing-token-Byh6drgn.js";
|
|
12
12
|
import { n as isLoopbackHost } from "./net-DZ5Ayk-W.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BjyjJF-d.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Zw87xFym.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-COaS-S7B.js";
|
|
3
3
|
import { t as note } from "./note-ByDX0v9V.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-D-xVtDhj.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-BtYOfWxC.js";
|
|
2
2
|
import { t as resolveSymiPackageRoot } from "./symi-root-BNuQ4lAT.js";
|
|
3
3
|
import { t as note } from "./note-DewoEWtc.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BVG9ZtBG.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -2500,7 +2500,7 @@ if (!ensureExperimentalWarningSuppressed()) {
|
|
|
2500
2500
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
2501
2501
|
process$1.argv = parsed.argv;
|
|
2502
2502
|
}
|
|
2503
|
-
import("./run-main-
|
|
2503
|
+
import("./run-main-BzZuJeMa.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
2504
2504
|
console.error("[symi] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
2505
2505
|
process$1.exitCode = 1;
|
|
2506
2506
|
});
|
|
@@ -11,19 +11,19 @@ import "./env-DPCHYPeH.js";
|
|
|
11
11
|
import "./message-channel-aT-I_DTX.js";
|
|
12
12
|
import "./config-PXAJCHa5.js";
|
|
13
13
|
import "./manifest-registry-BDSRH8nU.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
14
|
+
import "./client-CYsBIR3j.js";
|
|
15
|
+
import "./call-BkJK3eYP.js";
|
|
16
16
|
import "./pairing-token-pooyuU2J.js";
|
|
17
17
|
import { n as formatTimeAgo } from "./format-relative-CviDPm2s.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-DGINhC21.js";
|
|
19
19
|
import "./progress-WhkkDU0H.js";
|
|
20
20
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-DEigTi7M.js";
|
|
21
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
21
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-QsFn5Zr1.js";
|
|
22
22
|
import "./systemd-Xs16roN5.js";
|
|
23
23
|
import "./service-DzLem5vL.js";
|
|
24
24
|
import { t as renderTable } from "./table-BWuvjnmY.js";
|
|
25
25
|
import { t as describeUnknownError } from "./shared-pJIdlnB5.js";
|
|
26
|
-
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
26
|
+
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-St4eAsjR.js";
|
|
27
27
|
import JSON5 from "json5";
|
|
28
28
|
import fs from "node:fs/promises";
|
|
29
29
|
|
|
@@ -5,20 +5,20 @@ import "./agent-scope-D-jRCY0d.js";
|
|
|
5
5
|
import "./github-copilot-token-DuFIqfeC.js";
|
|
6
6
|
import "./manifest-registry-D5bnO5uA.js";
|
|
7
7
|
import "./config-DXt3pc08.js";
|
|
8
|
-
import "./client-
|
|
9
|
-
import "./call-
|
|
8
|
+
import "./client-Cmq13-uF.js";
|
|
9
|
+
import "./call-CAGvQYXj.js";
|
|
10
10
|
import "./message-channel-C9dERklz.js";
|
|
11
11
|
import "./pairing-token-Byh6drgn.js";
|
|
12
12
|
import { n as formatTimeAgo } from "./format-relative-BDwAggS5.js";
|
|
13
13
|
import { c as readExecApprovalsSnapshot, p as saveExecApprovals } from "./exec-approvals-D-pkxJFE.js";
|
|
14
14
|
import { t as formatDocsLink } from "./links-CxyMXTsn.js";
|
|
15
15
|
import "./progress-HK2tT7Yf.js";
|
|
16
|
-
import { n as callGatewayFromCli } from "./gateway-rpc-
|
|
16
|
+
import { n as callGatewayFromCli } from "./gateway-rpc-DbSbyIcL.js";
|
|
17
17
|
import "./systemd-CJ5L2ee4.js";
|
|
18
18
|
import "./service-RxN7lQKN.js";
|
|
19
19
|
import { t as renderTable } from "./table-Bka4fasy.js";
|
|
20
20
|
import { t as describeUnknownError } from "./shared-vevi4OAS.js";
|
|
21
|
-
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-
|
|
21
|
+
import { i as resolveNodeId, r as nodesCallOpts } from "./rpc-C3ZUAjXK.js";
|
|
22
22
|
import JSON5 from "json5";
|
|
23
23
|
import fs from "node:fs/promises";
|
|
24
24
|
|
package/dist/extensionAPI.js
CHANGED
|
@@ -7,7 +7,7 @@ import { a as resolveAgentIdentity } from "./reply-prefix-K_J_nfgx.js";
|
|
|
7
7
|
import "./github-copilot-token-BbsJ0Qbo.js";
|
|
8
8
|
import "./env-CQ_DQOwT.js";
|
|
9
9
|
import "./tokens-Cn6drXx2.js";
|
|
10
|
-
import { O as resolveAgentTimeoutMs, m as runEmbeddedPiAgent } from "./pi-embedded-
|
|
10
|
+
import { O as resolveAgentTimeoutMs, m as runEmbeddedPiAgent } from "./pi-embedded-CzKPTG9K.js";
|
|
11
11
|
import "./plugins-71oIavrF.js";
|
|
12
12
|
import "./accounts-DDEyGwby.js";
|
|
13
13
|
import "./bindings-DYVakimr.js";
|
|
@@ -35,7 +35,7 @@ import "./accounts-DImOt9jX.js";
|
|
|
35
35
|
import { n as resolveSessionFilePath, s as resolveStorePath } from "./paths-DkMamAQ-.js";
|
|
36
36
|
import "./tool-images-ChC2CXaN.js";
|
|
37
37
|
import "./image-MNvheU8U.js";
|
|
38
|
-
import "./manager-
|
|
38
|
+
import "./manager-CtwApSQo.js";
|
|
39
39
|
import "./gemini-auth-DVcG-42i.js";
|
|
40
40
|
import "./retry-QGp0jvVi.js";
|
|
41
41
|
import "./sqlite-Bo4pHfp8.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
2
2
|
import { n as MANIFEST_KEY, t as LEGACY_MANIFEST_KEYS } from "./legacy-names-CePMUvus.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
|
+
import JSON5 from "json5";
|
|
6
6
|
import YAML from "yaml";
|
|
7
7
|
|
|
8
8
|
//#region src/shared/config-eval.ts
|
|
@@ -79,7 +79,7 @@ function hasBinary(bin) {
|
|
|
79
79
|
for (const part of parts) for (const ext of extensions) {
|
|
80
80
|
const candidate = path.join(part, bin + ext);
|
|
81
81
|
try {
|
|
82
|
-
|
|
82
|
+
fs.accessSync(candidate, fs.constants.X_OK);
|
|
83
83
|
hasBinaryCache.set(bin, true);
|
|
84
84
|
return true;
|
|
85
85
|
} catch {}
|
|
@@ -210,7 +210,7 @@ function resolveSymiManifestBlock(params) {
|
|
|
210
210
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
211
211
|
if (!raw) return;
|
|
212
212
|
try {
|
|
213
|
-
const parsed =
|
|
213
|
+
const parsed = JSON5.parse(raw);
|
|
214
214
|
if (!parsed || typeof parsed !== "object") return;
|
|
215
215
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
216
216
|
for (const key of manifestKeys) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as expandHomePrefix, g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, E as truncateUtf16Safe, H as getLogger, P as setVerbose, R as colorize, S as shortenHomePath, U as getResolvedLoggerSettings, V as getChildLogger, c as ensureDir, t as CONFIG_DIR, y as resolveUserPath, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, s as normalizeThinkLevel } from "./thinking-EAliFiVK.js";
|
|
4
|
-
import { $ as
|
|
4
|
+
import { $ as migrateLegacyCronPayload, A as deferGatewayRestartUntilIdle, An as countActiveRunsForSession, Ar as extractFileContentFromSource, Bn as onAgentEvent, Bt as runAgentTurn, Ct as readJsonBodyWithLimit, D as resetDirectoryCache, Dr as DEFAULT_INPUT_IMAGE_MIMES, Dt as agentCommand, Er as DEFAULT_INPUT_IMAGE_MAX_BYTES, Et as sleepWithAbort, F as setGatewaySigusr1RestartPolicy, Fn as runSubagentAnnounceFlow, Fr as resolveAgentTimeoutMs, Ft as createOutboundSendDeps, Gt as runWithModelFallback, Ht as getActiveEmbeddedRunCount, I as setPreRestartDeferralCheck, In as readLatestAssistantReply, J as normalizeOptionalAgentId, Jt as runCliAgent, Kt as getCliSessionId, L as consumeRestartSentinel, Ln as clearAgentRunContext, M as isGatewaySigusr1RestartExternallyAllowed, Mn as listDescendantRunsForRequester, Mr as normalizeMimeList, N as markGatewaySigusr1RestartHandled, Nr as resolveInputFileLimits, Nt as resolveOutboundTarget, Or as DEFAULT_INPUT_MAX_REDIRECTS, Pt as resolveSessionDeliveryTarget, Q as normalizeRequiredName, Rn as emitAgentEvent, Rt as createDefaultDeps, Sr as enqueueSystemEvent, St as handleSlackHttpRequest, T as resolveOutboundSessionRoute, Tt as computeBackoff, V as summarizeRestartSentinel, Vn as registerAgentRunContext, W as normalizeHttpWebhookUrl, Wt as resolveModelProfile, X as normalizeOptionalText, Y as normalizeOptionalSessionKey, Z as normalizePayloadToSystemText, Zt as resolveAgentAvatar, _ as listSessionsFromStore, ar as resetAllLanes, cr as CommandLane, ct as requestHeartbeatNow, d as createSymiTools, dt as getPluginToolMeta, et as buildDeliveryFromLegacyPayload, gn as getTotalPendingReplies, i as resolveCronStyleNow, in as isExternalHookSession, ir as getTotalQueueSize, j as emitGatewayRestart, jn as initSubagentRegistry, jr as extractImageContentFromSource, k as consumeGatewaySigusr1RestartAuthorization, kn as countActiveDescendantRuns, kr as DEFAULT_INPUT_TIMEOUT_MS, l as applyToolPolicyPipeline, ln as buildHistoryContextFromEntries, lr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, mr as lookupContextTokens, nn as detectSuspiciousPatterns, nr as getActiveTaskCount, nt as stripLegacyDeliveryFields, or as setCommandLaneConcurrency, p as resolveAnnounceTargetFromKey, pr as stripHeartbeatToken, pt as loadSymiPlugins, q as inferLegacyName, qt as setCliSessionId, rn as getHookType, sr as waitForActiveTasks, tn as buildSafeExternalPrompt, tt as hasLegacyDeliveryHints, u as buildDefaultToolPolicyPipelineSteps, v as loadCombinedSessionStoreForGateway, wt as requestBodyErrorToText, y as loadSessionEntry, z as formatRestartSentinelMessage, zn as getAgentRunContext } from "./reply-CaGCmutq.js";
|
|
5
5
|
import { S as parseAgentSessionKey, c as normalizeMainKey, f as toAgentRequestSessionKey, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, p as toAgentStoreSessionKey, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as isSubagentSessionKey, y as isCronRunSessionKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as matchesSkillFilter, t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
7
7
|
import { C as createInternalHookEvent, S as clearInternalHooks, T as triggerInternalHook, m as createEmptyPluginRegistry, r as DEFAULT_CHAT_CHANNEL, w as registerInternalHook } from "./registry-Cja8eT7G.js";
|
|
@@ -67,8 +67,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
67
67
|
import "./send-DpMnSIi5.js";
|
|
68
68
|
import "./model-ECsJuJew.js";
|
|
69
69
|
import { a as resolveAgentIdentity } from "./reply-prefix-CE2YmmsD.js";
|
|
70
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
71
|
-
import { a as resolveMemorySearchConfig } from "./manager-
|
|
70
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-BOxWccJu.js";
|
|
71
|
+
import { a as resolveMemorySearchConfig } from "./manager-BOvfAdfG.js";
|
|
72
72
|
import "./retry-BoS4e4X_.js";
|
|
73
73
|
import "./sqlite-D55gRQbH.js";
|
|
74
74
|
import { a as ToolInputError } from "./target-errors-C9e6dMU_.js";
|
|
@@ -78,8 +78,8 @@ import "./ir-jTXFdH5R.js";
|
|
|
78
78
|
import "./render-Bwu_WxwA.js";
|
|
79
79
|
import { r as isRestartEnabled } from "./commands-vWB85AXk.js";
|
|
80
80
|
import "./commands-registry-D_uByLpw.js";
|
|
81
|
-
import {
|
|
82
|
-
import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-
|
|
81
|
+
import { Bt as approveDevicePairing, Ft as ErrorCodes, Ht as getPairedDevice, It as errorShape, Kt as requestDevicePairing, Pt as PROTOCOL_VERSION, Qt as roleScopesAllow, R as validateExecApprovalRequestParams, Vt as ensureDeviceToken, Xt as updatePairedDeviceMetadata, Zt as verifyDeviceToken, at as validateRequestFrame, en as deriveDeviceIdFromPublicKey, n as formatValidationErrors, nn as normalizeDevicePublicKeyBase64Url, rn as verifyDeviceSignature, w as validateConnectParams, z as validateExecApprovalResolveParams, zt as buildDeviceAuthPayload } from "./client-CYsBIR3j.js";
|
|
82
|
+
import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-BkJK3eYP.js";
|
|
83
83
|
import "./pairing-token-pooyuU2J.js";
|
|
84
84
|
import "./channel-activity-CoTZV03i.js";
|
|
85
85
|
import "./fetch-BECUf3wn.js";
|
|
@@ -100,7 +100,7 @@ import { c as hasNonzeroUsage, s as deriveSessionTotalTokens } from "./session-c
|
|
|
100
100
|
import "./outbound-attachment-FbHNOB0s.js";
|
|
101
101
|
import "./delivery-queue-D9i0qjI_.js";
|
|
102
102
|
import "./send-SF7x1UHb.js";
|
|
103
|
-
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-
|
|
103
|
+
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-B7jBYbCU.js";
|
|
104
104
|
import "./prompt-style-Y2J72w6p.js";
|
|
105
105
|
import "./pairing-labels-CTL1gXZb.js";
|
|
106
106
|
import { n as formatTokenCount, r as formatUsd } from "./usage-format-D4P4IiJ6.js";
|
|
@@ -129,27 +129,27 @@ import "./service-DzLem5vL.js";
|
|
|
129
129
|
import "./lifecycle-core-Uucs6Wz6.js";
|
|
130
130
|
import "./systemd-hints-vhJS1sOh.js";
|
|
131
131
|
import { t as parsePort$1 } from "./parse-port-QkaTJ4ru.js";
|
|
132
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
132
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-B2_uIgDM.js";
|
|
133
133
|
import "./diagnostics-1uBuB9IE.js";
|
|
134
134
|
import "./table-BWuvjnmY.js";
|
|
135
135
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-Curv3BNf.js";
|
|
136
136
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-pJIdlnB5.js";
|
|
137
|
-
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-
|
|
137
|
+
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-xiwEIT96.js";
|
|
138
138
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-CDkyebpA.js";
|
|
139
|
-
import { r as pickGatewaySelfPresence } from "./status-
|
|
140
|
-
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
139
|
+
import { r as pickGatewaySelfPresence } from "./status-zNfi0s3F.js";
|
|
140
|
+
import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-d4gqJJCY.js";
|
|
141
141
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BrP31IQR.js";
|
|
142
142
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-Bbvpax6u.js";
|
|
143
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
144
|
-
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-
|
|
145
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
143
|
+
import { t as runOnboardingWizard } from "./onboarding-BfSg5GnT.js";
|
|
144
|
+
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-DEV38b_O.js";
|
|
145
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-Dv3XQClG.js";
|
|
146
146
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CjltkjCx.js";
|
|
147
|
-
import "./agents.config-
|
|
147
|
+
import "./agents.config-BIIkG8rN.js";
|
|
148
148
|
import "./dm-policy-shared-KlzpDeT_.js";
|
|
149
149
|
import "./node-service-DxPZ_ZFk.js";
|
|
150
150
|
import "./status.update-8HXdAdwz.js";
|
|
151
151
|
import "./skills-install-B8r7cGKR.js";
|
|
152
|
-
import "./update-runner-
|
|
152
|
+
import "./update-runner-BixvbAbN.js";
|
|
153
153
|
import { t as resolveAgentSessionDirs } from "./session-dirs-CBqamQff.js";
|
|
154
154
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-D2fHsr-Z.js";
|
|
155
155
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -5419,6 +5419,7 @@ const TASK_FILE_SUFFIXES = [
|
|
|
5419
5419
|
".status"
|
|
5420
5420
|
];
|
|
5421
5421
|
const TASK_FILE_PREFIX = "task-";
|
|
5422
|
+
const ARCHIVED_SUFFIX = ".archived";
|
|
5422
5423
|
const DEFAULT_TASK_FILE_AGE_MS = 10080 * 60 * 1e3;
|
|
5423
5424
|
const DEFAULT_SWEEP_INTERVAL_MS = 1440 * 60 * 1e3;
|
|
5424
5425
|
function defaultIsPidAlive(pid) {
|
|
@@ -5492,6 +5493,22 @@ async function sweepLongTaskFiles(workdir, options = {}) {
|
|
|
5492
5493
|
}
|
|
5493
5494
|
if (!Number.isFinite(oldestMs)) continue;
|
|
5494
5495
|
if (now - oldestMs < ageMs) continue;
|
|
5496
|
+
let priorStatus = "";
|
|
5497
|
+
try {
|
|
5498
|
+
priorStatus = (await fs.promises.readFile(path.join(workdir, `${TASK_FILE_PREFIX}${taskId}.status`), "utf8")).trim();
|
|
5499
|
+
} catch {}
|
|
5500
|
+
const archivedPath = path.join(workdir, `${TASK_FILE_PREFIX}${taskId}${ARCHIVED_SUFFIX}`);
|
|
5501
|
+
const archivedTmp = `${archivedPath}.${process.pid}.${Math.floor(Math.random() * 1e6)}.tmp`;
|
|
5502
|
+
const archivedAt = new Date(now).toISOString();
|
|
5503
|
+
const tombstone = `archived swept-from=${JSON.stringify(priorStatus || "missing")} at=${archivedAt}\n`;
|
|
5504
|
+
try {
|
|
5505
|
+
await fs.promises.writeFile(archivedTmp, tombstone, "utf8");
|
|
5506
|
+
await fs.promises.rename(archivedTmp, archivedPath);
|
|
5507
|
+
} catch {
|
|
5508
|
+
try {
|
|
5509
|
+
await fs.promises.unlink(archivedTmp);
|
|
5510
|
+
} catch {}
|
|
5511
|
+
}
|
|
5495
5512
|
let unlinkErrors = 0;
|
|
5496
5513
|
for (const suffix of TASK_FILE_SUFFIXES) try {
|
|
5497
5514
|
await fs.promises.unlink(path.join(workdir, `${TASK_FILE_PREFIX}${taskId}${suffix}`));
|
|
@@ -5801,6 +5818,7 @@ const BASE_METHODS = [
|
|
|
5801
5818
|
"cron.remove",
|
|
5802
5819
|
"cron.run",
|
|
5803
5820
|
"cron.runs",
|
|
5821
|
+
"tasks.list",
|
|
5804
5822
|
"system-presence",
|
|
5805
5823
|
"system-event",
|
|
5806
5824
|
"system.metrics",
|
|
@@ -12128,7 +12146,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
12128
12146
|
});
|
|
12129
12147
|
let glassUiBridgeCleanup = null;
|
|
12130
12148
|
if (!minimalTestGateway) {
|
|
12131
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
12149
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-BU6qyCvM.js");
|
|
12132
12150
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
12133
12151
|
wss: glassUiWss,
|
|
12134
12152
|
context: gatewayRequestContext,
|
|
@@ -15,14 +15,14 @@ import { r as buildWorkspaceSkillSnapshot } from "./skills-D_oCiaQn.js";
|
|
|
15
15
|
import { l as isTestDefaultMemorySlotDisabled } from "./manifest-registry-D5bnO5uA.js";
|
|
16
16
|
import "./skills-status-DODCG6UU.js";
|
|
17
17
|
import { B as resolveAgentMaxConcurrent, C as parseDurationMs, H as VERSION, U as resolveRuntimeServiceVersion, V as resolveSubagentMaxConcurrent, i as loadConfig, l as writeConfigFile, n as migrateLegacyConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-DXt3pc08.js";
|
|
18
|
-
import {
|
|
19
|
-
import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-
|
|
18
|
+
import { Bt as approveDevicePairing, Ft as ErrorCodes, Ht as getPairedDevice, It as errorShape, Kt as requestDevicePairing, Pt as PROTOCOL_VERSION, Qt as roleScopesAllow, R as validateExecApprovalRequestParams, Vt as ensureDeviceToken, Xt as updatePairedDeviceMetadata, Zt as verifyDeviceToken, at as validateRequestFrame, en as deriveDeviceIdFromPublicKey, n as formatValidationErrors, nn as normalizeDevicePublicKeyBase64Url, rn as verifyDeviceSignature, w as validateConnectParams, z as validateExecApprovalResolveParams, zt as buildDeviceAuthPayload } from "./client-Cmq13-uF.js";
|
|
19
|
+
import { f as loadGatewayTlsRuntime$1, n as callGateway } from "./call-CAGvQYXj.js";
|
|
20
20
|
import { _ as normalizeGatewayClientMode, h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, p as GATEWAY_CLIENT_IDS, r as isGatewayCliClient, s as isWebchatClient } from "./message-channel-C9dERklz.js";
|
|
21
21
|
import "./pairing-token-Byh6drgn.js";
|
|
22
22
|
import { t as safeEqualSecret } from "./secret-equal-CbntzRkh.js";
|
|
23
23
|
import { a as isValidIPv4, c as resolveClientIp, d as resolveHostName, f as rawDataToString, i as isTrustedProxyAddress, l as resolveGatewayBindHost, n as isLoopbackHost, o as normalizeHostHeader, t as isLoopbackAddress, u as resolveGatewayListenHosts } from "./net-DZ5Ayk-W.js";
|
|
24
24
|
import { n as pickPrimaryTailnetIPv4, r as pickPrimaryTailnetIPv6 } from "./tailnet-Cmumpn76.js";
|
|
25
|
-
import { $ as getCliSessionId, $t as
|
|
25
|
+
import { $ as getCliSessionId, $t as setGatewaySigusr1RestartPolicy, An as DEFAULT_INPUT_MAX_REDIRECTS, At as normalizeOptionalAgentId, Cr as getAgentRunContext, Ct as summarizeRestartSentinel, E as createDefaultDeps, Et as normalizeHttpWebhookUrl, F as buildHistoryContextFromEntries, Fn as resolveInputFileLimits, Ft as migrateLegacyCronPayload, H as getTotalPendingReplies, Ht as detectSuspiciousPatterns, It as buildDeliveryFromLegacyPayload, J as runAgentTurn, Jt as deferGatewayRestartUntilIdle, Ln as resolveAgentTimeoutMs, Lt as hasLegacyDeliveryHints, Mn as extractFileContentFromSource, Mt as normalizeOptionalText, Nn as extractImageContentFromSource, Nt as normalizePayloadToSystemText, O as resolveAgentAvatar, On as DEFAULT_INPUT_IMAGE_MAX_BYTES, Pn as normalizeMimeList, Pt as normalizeRequiredName, Q as resolveModelProfile, Rt as stripLegacyDeliveryFields, Sr as emitAgentEvent, T as createOutboundSendDeps, Tr as registerAgentRunContext, Ut as getHookType, Vt as buildSafeExternalPrompt, Wt as isExternalHookSession, X as getActiveEmbeddedRunCount, Xt as isGatewaySigusr1RestartExternallyAllowed, Yt as emitGatewayRestart, Zt as markGatewaySigusr1RestartHandled, _ as readJsonBodyWithLimit, _t as runWithModelFallback, at as readLatestAssistantReply, b as sleepWithAbort, br as stripHeartbeatToken, dr as getTotalQueueSize, en as setPreRestartDeferralCheck, et as setCliSessionId, f as getPluginToolMeta, fn as requestHeartbeatNow, fr as resetAllLanes, ft as resolveOutboundTarget, g as handleSlackHttpRequest, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, hr as CommandLane, ht as resetDirectoryCache, i as listDescendantRunsForRequester, jn as DEFAULT_INPUT_TIMEOUT_MS, jt as normalizeOptionalSessionKey, kn as DEFAULT_INPUT_IMAGE_MIMES, kt as inferLegacyName, l as applyToolPolicyPipeline, lr as getActiveTaskCount, lt as resolveOutboundSessionRoute, m as loadSymiPlugins, mr as waitForActiveTasks, n as countActiveRunsForSession, ot as resolveAnnounceTargetFromKey, pr as setCommandLaneConcurrency, pt as resolveSessionDeliveryTarget, q as resolveCronStyleNow, qt as consumeGatewaySigusr1RestartAuthorization, r as initSubagentRegistry, rt as createSymiTools, s as runSubagentAnnounceFlow, t as countActiveDescendantRuns, tt as runCliAgent, u as buildDefaultToolPolicyPipelineSteps, v as requestBodyErrorToText, wn as enqueueSystemEvent, wr as onAgentEvent, x as agentCommand, xr as clearAgentRunContext, xt as formatRestartSentinelMessage, y as computeBackoff, yt as consumeRestartSentinel } from "./subagent-registry-DlIPWOrx.js";
|
|
26
26
|
import { D as resolveSessionResetPolicy, F as resolveMainSessionKey, H as cleanStaleLockFiles, I as resolveMainSessionKeyFromConfig, K as mergeDeliveryContext, M as canonicalizeMainSessionAlias, N as resolveAgentMainSessionKey, T as evaluateSessionFreshness, W as deliveryContextFromSession, d as updateSessionStore, n as parseSessionThreadInfo, o as loadSessionStore } from "./sessions-BPD85pWA.js";
|
|
27
27
|
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-Csntmwwn.js";
|
|
28
28
|
import { n as listChannelPlugins, o as normalizeWhatsAppTarget, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
@@ -60,8 +60,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
60
60
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, s as normalizeThinkLevel } from "./thinking-8sKPnzpp.js";
|
|
61
61
|
import "./models-config-J1x_DaPn.js";
|
|
62
62
|
import { a as resolveAgentIdentity } from "./reply-prefix-BUN71nd5.js";
|
|
63
|
-
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-
|
|
64
|
-
import { a as resolveMemorySearchConfig } from "./manager-
|
|
63
|
+
import { i as resolveMemoryBackendConfig, r as getMemorySearchManager } from "./memory-cli-D2QHGsxh.js";
|
|
64
|
+
import { a as resolveMemorySearchConfig } from "./manager-DDboJTtn.js";
|
|
65
65
|
import "./gemini-auth-DEakvf-D.js";
|
|
66
66
|
import "./retry-C4Q_VPOo.js";
|
|
67
67
|
import "./sqlite-BP8tiuca.js";
|
|
@@ -103,7 +103,7 @@ import { n as runCommandWithRuntime } from "./cli-utils-CI_KkT8q.js";
|
|
|
103
103
|
import { t as formatHelpExamples } from "./help-format-nY42tGMB.js";
|
|
104
104
|
import { n as withProgress } from "./progress-HK2tT7Yf.js";
|
|
105
105
|
import "./replies-Sxbew659.js";
|
|
106
|
-
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-
|
|
106
|
+
import { C as normalizeControlUiBasePath, S as buildControlUiAvatarUrl, c as handleReset, w as resolveAssistantAvatarUrl, x as CONTROL_UI_AVATAR_PREFIX } from "./onboard-helpers-DjlGq6iG.js";
|
|
107
107
|
import "./prompt-style-BxVdnrLq.js";
|
|
108
108
|
import "./pairing-labels-BHx_CdbP.js";
|
|
109
109
|
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, r as resolveEffectiveToolPolicy } from "./pi-tools.policy-o0ytjRqu.js";
|
|
@@ -124,27 +124,27 @@ import "./service-RxN7lQKN.js";
|
|
|
124
124
|
import "./lifecycle-core-v3lT0Ymo.js";
|
|
125
125
|
import "./systemd-hints-Ct8ebNeC.js";
|
|
126
126
|
import { t as parsePort$1 } from "./parse-port-EcWC3aKG.js";
|
|
127
|
-
import { n as addGatewayServiceCommands } from "./daemon-cli-
|
|
127
|
+
import { n as addGatewayServiceCommands } from "./daemon-cli-CweMes2K.js";
|
|
128
128
|
import "./diagnostics-C6xPE2ln.js";
|
|
129
129
|
import "./table-Bka4fasy.js";
|
|
130
130
|
import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } from "./widearea-dns-BrG9qS1M.js";
|
|
131
131
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-vevi4OAS.js";
|
|
132
|
-
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-
|
|
132
|
+
import { c as probeGateway, s as resolveNodeCommandAllowlist } from "./audit-Dr_8rC6G.js";
|
|
133
133
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-BWaTCKHh.js";
|
|
134
|
-
import { i as pickGatewaySelfPresence } from "./status-
|
|
135
|
-
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
134
|
+
import { i as pickGatewaySelfPresence } from "./status-L76LBY6B.js";
|
|
135
|
+
import { a as styleHealthChannelLine, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-BrpUi4qW.js";
|
|
136
136
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Clf7H-Sm.js";
|
|
137
137
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-BNjupSIM.js";
|
|
138
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
139
|
-
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-
|
|
140
|
-
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-
|
|
138
|
+
import { t as runOnboardingWizard } from "./onboarding-Bv89FLSZ.js";
|
|
139
|
+
import { C as startGatewayConfigReloader, S as resolveCronRunLogPath, _ as MAX_PAYLOAD_BYTES, a as loadFavoritesSet, b as abortChatRunById, c as resolveAssistantIdentity, d as formatError, f as loadVoiceWakeConfig, g as MAX_BUFFERED_BYTES, h as HEALTH_REFRESH_INTERVAL_MS, i as safeParseJson, l as listSystemPresence, m as DEDUPE_TTL_MS, n as handleGatewayRequest, o as reconcileFavorites, p as DEDUPE_MAX, r as broadcastPresenceSnapshot, s as DEFAULT_ASSISTANT_IDENTITY, t as coreGatewayHandlers, u as upsertPresence, v as TICK_INTERVAL_MS, x as appendCronRunLog, y as getHandshakeTimeoutMs } from "./server-methods-BKlZejQC.js";
|
|
140
|
+
import { d as shouldLogWs, f as summarizeAgentEventForWsLog, l as formatForLog, p as setGatewayWsLogStyle, u as logWs } from "./push-apns-FvyXV3Um.js";
|
|
141
141
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-YTXXLbHH.js";
|
|
142
|
-
import "./agents.config-
|
|
142
|
+
import "./agents.config-C0iGGY9q.js";
|
|
143
143
|
import "./dm-policy-shared-JiSNSaKz.js";
|
|
144
144
|
import "./node-service-B-qdOCNb.js";
|
|
145
145
|
import "./status.update-B5zI1_Id.js";
|
|
146
146
|
import "./skills-install-BnEN_qla.js";
|
|
147
|
-
import "./update-runner-
|
|
147
|
+
import "./update-runner-DeT8NIX6.js";
|
|
148
148
|
import { t as resolveAgentSessionDirs } from "./session-dirs-Dgz7kkUM.js";
|
|
149
149
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-mCPSj6kV.js";
|
|
150
150
|
import { n as forceFreePortAndWait } from "./ports-DQg7kV5s.js";
|
|
@@ -5415,6 +5415,7 @@ const TASK_FILE_SUFFIXES = [
|
|
|
5415
5415
|
".status"
|
|
5416
5416
|
];
|
|
5417
5417
|
const TASK_FILE_PREFIX = "task-";
|
|
5418
|
+
const ARCHIVED_SUFFIX = ".archived";
|
|
5418
5419
|
const DEFAULT_TASK_FILE_AGE_MS = 10080 * 60 * 1e3;
|
|
5419
5420
|
const DEFAULT_SWEEP_INTERVAL_MS = 1440 * 60 * 1e3;
|
|
5420
5421
|
function defaultIsPidAlive(pid) {
|
|
@@ -5488,6 +5489,22 @@ async function sweepLongTaskFiles(workdir, options = {}) {
|
|
|
5488
5489
|
}
|
|
5489
5490
|
if (!Number.isFinite(oldestMs)) continue;
|
|
5490
5491
|
if (now - oldestMs < ageMs) continue;
|
|
5492
|
+
let priorStatus = "";
|
|
5493
|
+
try {
|
|
5494
|
+
priorStatus = (await fs.promises.readFile(path.join(workdir, `${TASK_FILE_PREFIX}${taskId}.status`), "utf8")).trim();
|
|
5495
|
+
} catch {}
|
|
5496
|
+
const archivedPath = path.join(workdir, `${TASK_FILE_PREFIX}${taskId}${ARCHIVED_SUFFIX}`);
|
|
5497
|
+
const archivedTmp = `${archivedPath}.${process.pid}.${Math.floor(Math.random() * 1e6)}.tmp`;
|
|
5498
|
+
const archivedAt = new Date(now).toISOString();
|
|
5499
|
+
const tombstone = `archived swept-from=${JSON.stringify(priorStatus || "missing")} at=${archivedAt}\n`;
|
|
5500
|
+
try {
|
|
5501
|
+
await fs.promises.writeFile(archivedTmp, tombstone, "utf8");
|
|
5502
|
+
await fs.promises.rename(archivedTmp, archivedPath);
|
|
5503
|
+
} catch {
|
|
5504
|
+
try {
|
|
5505
|
+
await fs.promises.unlink(archivedTmp);
|
|
5506
|
+
} catch {}
|
|
5507
|
+
}
|
|
5491
5508
|
let unlinkErrors = 0;
|
|
5492
5509
|
for (const suffix of TASK_FILE_SUFFIXES) try {
|
|
5493
5510
|
await fs.promises.unlink(path.join(workdir, `${TASK_FILE_PREFIX}${taskId}${suffix}`));
|
|
@@ -5797,6 +5814,7 @@ const BASE_METHODS = [
|
|
|
5797
5814
|
"cron.remove",
|
|
5798
5815
|
"cron.run",
|
|
5799
5816
|
"cron.runs",
|
|
5817
|
+
"tasks.list",
|
|
5800
5818
|
"system-presence",
|
|
5801
5819
|
"system-event",
|
|
5802
5820
|
"system.metrics",
|
|
@@ -12124,7 +12142,7 @@ async function startGatewayServer(port = 18789, opts = {}) {
|
|
|
12124
12142
|
});
|
|
12125
12143
|
let glassUiBridgeCleanup = null;
|
|
12126
12144
|
if (!minimalTestGateway) {
|
|
12127
|
-
const { createGlassUiBridge } = await import("./glass-ui-ws-
|
|
12145
|
+
const { createGlassUiBridge } = await import("./glass-ui-ws-B0WonpHP.js");
|
|
12128
12146
|
glassUiBridgeCleanup = createGlassUiBridge({
|
|
12129
12147
|
wss: glassUiWss,
|
|
12130
12148
|
context: gatewayRequestContext,
|