@symerian/symi 2.6.42 → 2.7.0
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-DDuIpcln.js → accounts-Cd816n6l.js} +7 -7
- package/dist/{accounts-bK-Yqdwx.js → accounts-CokRskCl.js} +1 -1
- package/dist/{accounts-DyJN4_vR.js → accounts-mN_EcgxC.js} +1 -1
- package/dist/{acp-cli-CrEIx-c7.js → acp-cli-COzlJi3B.js} +6 -6
- package/dist/{agent-scope-CgUHAtCo.js → agent-scope-BRwEc2pG.js} +18 -18
- package/dist/{agents-DDRDszOI.js → agents-Cu2bthAX.js} +4 -4
- package/dist/{agents.config-BKCY6F2A.js → agents.config-5PTwsijs.js} +1 -1
- package/dist/{agents.config-BEVb1Pyx.js → agents.config-Dib8Uo2P.js} +2 -2
- package/dist/{api-key-rotation-CzuPlV2t.js → api-key-rotation-CEr3lKih.js} +1 -1
- package/dist/{audio-preflight-CIiS5cfP.js → audio-preflight-mj-z_vQ6.js} +28 -28
- package/dist/{audit-DB9YkTVX.js → audit-Djfdh06o.js} +23 -23
- package/dist/{auth-choice-BbzReh6k.js → auth-choice-5gul6jy2.js} +1 -1
- package/dist/{auth-choice-D2xXwBeN.js → auth-choice-CmSUU3t8.js} +8 -8
- package/dist/{auth-token-Cay2jwzn.js → auth-token-83A2btbE.js} +1 -1
- package/dist/{banner-DqqRwplt.js → banner-B4vQpMIJ.js} +1 -1
- package/dist/{bindings-DFaVVCsf.js → bindings-ChzePa8q.js} +1 -1
- package/dist/{browser-cli-Ctn9do4z.js → browser-cli-BTD0NlrA.js} +9 -9
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/{call-DwpGquzW.js → call-tmHtVCkn.js} +9 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DQcpDVCx.js → channel-options-DVf4CJIu.js} +1 -1
- package/dist/{channel-options-DcazVJQf.js → channel-options-DsWGc55A.js} +2 -2
- package/dist/{channel-selection-V2xDgw16.js → channel-selection-DaJDux-Q.js} +1 -1
- package/dist/{channel-web-u5yMYO4j.js → channel-web-vGC-WJXi.js} +17 -17
- package/dist/{channels-cli-Bog4Kn3X.js → channels-cli-COayA28A.js} +76 -76
- package/dist/{channels-cli-C3iJE8eg.js → channels-cli-CSv05N3q.js} +4 -4
- package/dist/{channels-status-issues-CJ0Vb_9z.js → channels-status-issues-B_PI3nEE.js} +1 -1
- package/dist/{chrome-DU2ZysN3.js → chrome-CSJzpT9Z.js} +2 -2
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-eBtEEHLK.js → cli-B-g79xPe.js} +1 -1
- package/dist/{cli-QybdZdE7.js → cli-DJjOxip6.js} +63 -63
- package/dist/{client-jI1oE0_k.js → client-Bj_vTpri.js} +1 -1
- package/dist/{command-registry-BWnZSpbL.js → command-registry-BvpLfzl7.js} +9 -9
- package/dist/{commands-BNLCWX6e.js → commands-CtocZ4Lg.js} +1 -1
- package/dist/{commands-registry-BT0-zzs3.js → commands-registry-BZ0ZSQpM.js} +3 -3
- package/dist/{completion-cli-CUKm7Hb6.js → completion-cli-CfRZ-7QF.js} +2 -2
- package/dist/{completion-cli-BhJFXaVU.js → completion-cli-DtQcXg1N.js} +12 -12
- package/dist/{config-cli-CjnQyv45.js → config-cli-D9Z78raJ.js} +4 -4
- package/dist/{config-cli-B796xZBe.js → config-cli-DL2RdfLM.js} +1 -1
- package/dist/{config-guard-CEkSg4hl.js → config-guard-4oRmpR0a.js} +12 -12
- package/dist/{config-Dz95lSBW.js → config-tNauHpdq.js} +2 -2
- package/dist/{config-validation-HDVDlMSV.js → config-validation-BoDWiwe3.js} +1 -1
- package/dist/{configure-DUqT7Dyn.js → configure-Dq4f8WPa.js} +3 -3
- package/dist/{configure-D3wIQ0yI.js → configure-jDpF8lmx.js} +15 -15
- package/dist/{control-service-BYKXzY4f.js → control-service-BBnhN7aZ.js} +4 -4
- package/dist/control-ui/css/style.css +51 -0
- package/dist/control-ui/js/app.js +39 -0
- package/dist/control-ui/js/gateway.js +2 -0
- package/dist/control-ui/js/settings.js +71 -8
- package/dist/{control-ui-assets-B7moDVHX.js → control-ui-assets-6n-YayeS.js} +1 -1
- package/dist/{cron-cli-DCpsXkrw.js → cron-cli-D165ecaj.js} +10 -10
- package/dist/{daemon-cli-DSDcmWOi.js → daemon-cli-BccZzUb0.js} +11 -11
- package/dist/{daemon-runtime-mE1b-Q48.js → daemon-runtime-u01h46bE.js} +10 -10
- package/dist/{deliver-B4KZ6-oZ.js → deliver-BYdNAEqj.js} +7 -7
- package/dist/{devices-cli-x3jIP4Ih.js → devices-cli-D0N71nqX.js} +6 -6
- package/dist/{diagnostics-BRwihzJG.js → diagnostics-BrUo0gqs.js} +5 -5
- package/dist/{directory-cli-KgsAVTA0.js → directory-cli-aj7aXIBM.js} +7 -7
- package/dist/{dm-policy-shared-DlDAGtZL.js → dm-policy-shared-epgkayyq.js} +2 -2
- package/dist/{dns-cli-Cwr92Aiq.js → dns-cli-Dit09wbu.js} +3 -3
- package/dist/{dock-BhS32F6E.js → dock-BYiRZSgZ.js} +4 -4
- package/dist/{docs-cli-qE-blOLC.js → docs-cli-CyWGMA-e.js} +1 -1
- package/dist/{doctor-completion-D3oUNFQM.js → doctor-completion-Ccb83Wl5.js} +2 -2
- package/dist/{doctor-completion-DBE1IVKj.js → doctor-completion-oQemZItC.js} +1 -1
- package/dist/{doctor-config-flow-iIzSEQxb.js → doctor-config-flow-BXmHd2bb.js} +10 -10
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BSgxsdMt.js → exec-approvals-cli-CZ-iTtNO.js} +13 -13
- package/dist/extensionAPI.js +1 -1
- package/dist/{fs-safe-CUjO1ca2.js → fs-safe-CTDvb1DF.js} +6 -6
- package/dist/{gateway-cli-BguO9yV4.js → gateway-cli-C1zPKZ7B.js} +135 -120
- package/dist/{gateway-cli-Dc1RT_b9.js → gateway-cli-zbVm1MBQ.js} +30 -15
- package/dist/{gateway-rpc-5fREQe9Q.js → gateway-rpc-B1Wzoj99.js} +1 -1
- package/dist/{glass-ui-ws-D0UYleBF.js → glass-ui-ws-CvUFd4C6.js} +28 -9
- package/dist/{glass-ui-ws-DoIZyE9O.js → glass-ui-ws-D3tAmqKX.js} +104 -85
- package/dist/{health-cVvZdeDu.js → health-DQEqLYg1.js} +1 -1
- package/dist/{health-D3w4YMlC.js → health-o847FIt1.js} +13 -13
- package/dist/{hooks-cli-DZIbjfOA.js → hooks-cli-D_UW9fc8.js} +2 -2
- package/dist/{hooks-cli-te5hzOAB.js → hooks-cli-sYjbF4I6.js} +77 -77
- package/dist/{image-BWmcNF8N.js → image-lCS3o9xj.js} +3 -3
- package/dist/{image-ops-1OJMSAUX.js → image-ops-DYbDWaIA.js} +10 -10
- package/dist/index.js +73 -73
- package/dist/{inspect-CvbbCuoa.js → inspect-CNYyHVfH.js} +4 -4
- package/dist/{install-safe-path-D3Uz77u7.js → install-safe-path-D3mg1DMG.js} +11 -11
- package/dist/{installs-DQcRVF1U.js → installs-CYTVYWH_.js} +10 -10
- package/dist/{ir-DZam9q5M.js → ir-Dt4hOzxG.js} +6 -6
- package/dist/{lifecycle-core-C4HzGXA1.js → lifecycle-core-DxmxQdhS.js} +5 -5
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{local-roots-aAFLQGkY.js → local-roots-BBeKX7PX.js} +2 -2
- package/dist/{login-DODfJ3Dn.js → login-CnjdNmGD.js} +3 -3
- package/dist/{login-qr-CBRxijIg.js → login-qr-DUf6CM0M.js} +5 -5
- package/dist/{logs-cli-CfGj-dOg.js → logs-cli-BVd6h2-Q.js} +7 -7
- package/dist/{manager-D4LJSRyZ.js → manager-C1CfGzZ2.js} +13 -13
- package/dist/{markdown-tables-CEbN0fEm.js → markdown-tables-ZwP14ydw.js} +1 -1
- package/dist/{memory-cli-DDumUksr.js → memory-cli-DhkRAIdT.js} +14 -14
- package/dist/{model-tWhwnFf8.js → model-CeeOcylL.js} +1 -1
- package/dist/{model-catalog-8Son0J4O.js → model-catalog-CvbwxWuC.js} +4 -4
- package/dist/{model-picker-CAm2Bftd.js → model-picker-C2MqloOs.js} +3 -3
- package/dist/{model-selection-CyFvYcRt.js → model-selection-X1oLh3CE.js} +9 -9
- package/dist/{models-BCfPhQ4m.js → models-Zol34e73.js} +2 -2
- package/dist/{models-cli-Cj2CwbPw.js → models-cli-BzcEA9oa.js} +3 -3
- package/dist/{models-cli-BFAtjNIF.js → models-cli-DnMUzr15.js} +72 -72
- package/dist/{models-config-CFFjJPe7.js → models-config-CEMioDUi.js} +7 -7
- package/dist/{node-cli-DnfDOh1d.js → node-cli-BVJid4L_.js} +28 -28
- package/dist/{node-service-CD47Qpf1.js → node-service-CXzMs782.js} +1 -1
- package/dist/{nodes-cli-Ci3oxw8k.js → nodes-cli-BN2Nslim.js} +10 -10
- package/dist/{nodes-screen-8Bq7DiSa.js → nodes-screen-Cd49cSPb.js} +4 -4
- package/dist/{npm-registry-spec-C0CPT3vr.js → npm-registry-spec-DchndI6P.js} +9 -9
- package/dist/{onboard-VcdBF5TB.js → onboard-CSseK0Co.js} +13 -13
- package/dist/{onboard-BMq8qc1m.js → onboard-CxOT_xD4.js} +2 -2
- package/dist/{onboard-channels-CiOun4k1.js → onboard-channels-CUlITipG.js} +5 -5
- package/dist/{onboard-channels-B5wgcffj.js → onboard-channels-D-lh_Vh1.js} +1 -1
- package/dist/{onboard-custom-XiomtQr7.js → onboard-custom-DTcLdtA9.js} +3 -3
- package/dist/{onboard-helpers-DFvWPFhU.js → onboard-helpers-CdPNw25E.js} +8 -8
- package/dist/{onboard-hooks-C3ok8kqB.js → onboard-hooks-C_2_jpWg.js} +1 -1
- package/dist/{onboard-remote-BURDxwoE.js → onboard-remote-v6QMnyJD.js} +1 -1
- package/dist/{onboard-skills-CbzgBT1W.js → onboard-skills-CQtkRP20.js} +4 -4
- package/dist/{onboarding-Dp7p6zKa.js → onboarding-DktESmTv.js} +3 -3
- package/dist/{onboarding-CGNpTyg2.js → onboarding-Dn5agNG_.js} +13 -13
- package/dist/{onboarding.finalize-CrsE5P43.js → onboarding.finalize-Bm-1Kdnh.js} +6 -6
- package/dist/{onboarding.finalize-B6DOu8vp.js → onboarding.finalize-CTIZ1zvV.js} +75 -75
- package/dist/{onboarding.gateway-config-DKwJ5bWd.js → onboarding.gateway-config-CwnQkyO0.js} +14 -14
- package/dist/{openai-model-default-WqcGxyFM.js → openai-model-default-4kBA1_78.js} +2 -2
- package/dist/{outbound-wnv03tb3.js → outbound-_Ir3M05f.js} +4 -4
- package/dist/{outbound-attachment-Bw-c5Cdp.js → outbound-attachment-Qfh5dlsg.js} +2 -2
- package/dist/{pairing-cli-DSM82gJG.js → pairing-cli-C8UXBJ_A.js} +8 -8
- package/dist/{pairing-labels-DyXoD1DS.js → pairing-labels-Dxb898X5.js} +1 -1
- package/dist/{pairing-store-CK726Dzq.js → pairing-store-B8ktu-6j.js} +2 -2
- package/dist/{pairing-token-CX3NN_qj.js → pairing-token-AV-MMfVE.js} +7 -7
- package/dist/{paths-BBm9fwuG.js → paths-CT6jsi4E.js} +1 -1
- package/dist/{pi-auth-json-zHckislA.js → pi-auth-json-FpfHyEcu.js} +5 -5
- package/dist/{pi-embedded-DQe8vBwU.js → pi-embedded-CYDMb5q0.js} +46 -7
- package/dist/{pi-embedded-helpers-BgdB5kvy.js → pi-embedded-helpers-Bs4eMaNo.js} +6 -6
- package/dist/{pi-tools.policy-DRWb_Cax.js → pi-tools.policy-BBxnqCay.js} +4 -4
- package/dist/{plugin-auto-enable-CP0nONRL.js → plugin-auto-enable-DwIrzVOA.js} +2 -2
- package/dist/{plugin-registry-BzIbwU3K.js → plugin-registry-CJGPW1-k.js} +1 -1
- package/dist/{plugin-registry-D3TUplW8.js → plugin-registry-d0oZLl6y.js} +3 -3
- package/dist/plugin-sdk/{channel-web-B6m8UOCl.js → channel-web-Dm-CzA1O.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-CGoJQT_s.js → reply-4HEU7aDS.js} +46 -7
- package/dist/plugin-sdk/{web-CJjSOTnI.js → web-Cclb7FTq.js} +2 -2
- package/dist/{plugins-DKDeQZF0.js → plugins-BAyxWQSz.js} +2 -2
- package/dist/{plugins-cli-DFyRjAtJ.js → plugins-cli-BWgjIJQL.js} +72 -72
- package/dist/{plugins-cli-BD1Jb2Ml.js → plugins-cli-CL0tzkMo.js} +2 -2
- package/dist/{ports-BOmtxoTv.js → ports-OZQlocB7.js} +2 -2
- package/dist/{ports-DtW62rqS.js → ports-u9lWy2Jt.js} +1 -1
- package/dist/{program-qGm2M9PG.js → program-BHjH97Q_.js} +7 -7
- package/dist/{program-context-45vPEw2G.js → program-context-CXZHSZ4D.js} +39 -39
- package/dist/{prompt-select-styled-DRIS9jSv.js → prompt-select-styled-BUFEoSlM.js} +38 -38
- package/dist/{prompt-select-styled-DRraJGwA.js → prompt-select-styled-D8LXSUR7.js} +4 -4
- package/dist/{provider-auth-helpers-BNOWsjW5.js → provider-auth-helpers-BFHctF2f.js} +1 -1
- package/dist/{provider-auth-helpers-BREVjR7R.js → provider-auth-helpers-CeAbh3lv.js} +5 -5
- package/dist/{push-apns-CYC70eKy.js → push-apns-BylbQyP9.js} +1 -1
- package/dist/{push-apns-CObVeJLC.js → push-apns-DqFdzIkc.js} +4 -4
- package/dist/{pw-ai-DQohWnzT.js → pw-ai-CfrnAHwA.js} +7 -7
- package/dist/{qmd-manager-CCUK1xoc.js → qmd-manager-DUNbG4Qr.js} +18 -18
- package/dist/{qr-cli-CejYwqsj.js → qr-cli-BZYa2gvF.js} +3 -3
- package/dist/{register.agent-DzzY8jON.js → register.agent-DxAqRAt3.js} +6 -6
- package/dist/{register.agent-DRrHvYcz.js → register.agent-bzSGKS-l.js} +82 -82
- package/dist/register.configure-Boyfir72.js +148 -0
- package/dist/{register.configure-DlXkwkNR.js → register.configure-WS1nlSp8.js} +6 -6
- package/dist/{register.maintenance-CXLXouZV.js → register.maintenance-B1QcUr38.js} +85 -85
- package/dist/{register.maintenance-LEf8Q_5p.js → register.maintenance-D_qMTrgD.js} +8 -8
- package/dist/{register.message-C4ifV9vG.js → register.message-CJF8gLAN.js} +64 -64
- package/dist/{register.message-DsPa-xHV.js → register.message-zu3HGGff.js} +2 -2
- package/dist/{register.onboard-DLRPa_4B.js → register.onboard-9dwNqCe6.js} +4 -4
- package/dist/{register.onboard-CrY4PxLP.js → register.onboard-CswoaT7q.js} +75 -75
- package/dist/{register.setup-fBG_dJfi.js → register.setup-CvomtGGu.js} +78 -78
- package/dist/{register.setup-By37g1vN.js → register.setup-TcjUu6HC.js} +4 -4
- package/dist/{register.status-health-sessions-DG7KGnD0.js → register.status-health-sessions-CM1SX81r.js} +3 -3
- package/dist/{register.status-health-sessions-Ckw86-gn.js → register.status-health-sessions-CQMvbwr6.js} +76 -76
- package/dist/{register.subclis-C_xKLugM.js → register.subclis-CVQASXaL.js} +9 -9
- package/dist/{replies-BMqtgBhh.js → replies-Dy92jzrz.js} +1 -1
- package/dist/{reply-DyjXROKp.js → reply-CpNWtuU4.js} +183 -144
- package/dist/{reply-prefix-CE2YmmsD.js → reply-prefix-BLOOs1aW.js} +1 -1
- package/dist/{resolve-route-BMoTaVAH.js → resolve-route-BcnaXYvh.js} +2 -2
- package/dist/{routes-BAZTZNuQ.js → routes-CVwRcA9D.js} +8 -8
- package/dist/{rpc-Co5PQ3IJ.js → rpc-CZFfee1J.js} +1 -1
- package/dist/{run-main-Cg3ecTbO.js → run-main-Dq6tfDry.js} +14 -14
- package/dist/{runner-DRv0uCK_.js → runner-BAVs-p6Z.js} +20 -20
- package/dist/{sandbox-B6N8cV4d.js → sandbox-HZ_uilsn.js} +18 -18
- package/dist/{sandbox-cli-DwzaNjIJ.js → sandbox-cli-wZtiyo8g.js} +20 -20
- package/dist/{security-cli-D5BWzqEJ.js → security-cli-BESmRIrl.js} +36 -36
- package/dist/{send-CQVnyJyF.js → send-BVBCh27_.js} +13 -13
- package/dist/{send-DVm0du0_.js → send-CXFTeD_J.js} +4 -4
- package/dist/{send-B3RdXvjC.js → send-DT-5buW5.js} +6 -6
- package/dist/{send-9SapUCg7.js → send-DsSI8z3F.js} +6 -6
- package/dist/{send-Bm4ULEzh.js → send-JWV62VbW.js} +6 -6
- package/dist/{server-context-CCBZN8a0.js → server-context-VlF1_hYj.js} +5 -5
- package/dist/{server-methods-CWcLut3F.js → server-methods-B0pdetGJ.js} +130 -64
- package/dist/{server-methods-CW8eFTGD.js → server-methods-IBEaQXPX.js} +177 -111
- package/dist/{server-node-events-CDB0u8PP.js → server-node-events-BACmfyjo.js} +64 -64
- package/dist/{server-node-events-C2h9OPo7.js → server-node-events-CyDj7Txd.js} +2 -2
- package/dist/{service-osK70kTZ.js → service-D80PyJxB.js} +15 -15
- package/dist/{session-DsJGtM7g.js → session-6Qyc4cBQ.js} +2 -2
- package/dist/{session-dirs-Dgz7kkUM.js → session-dirs-DPzjjra2.js} +2 -2
- package/dist/{sessions-Cpgnq0pA.js → sessions-jTAGYjWl.js} +13 -13
- package/dist/{shared-DnmJ0ABB.js → shared-BV7WhIkY.js} +1 -1
- package/dist/{shared-73T9fyuK.js → shared-BfhtOZAz.js} +3 -3
- package/dist/{skill-commands-Cxw-jNxU.js → skill-commands-ZXbEITKi.js} +5 -5
- package/dist/{skill-scanner-hMtQbWPV.js → skill-scanner-w3DJvw1Q.js} +5 -5
- package/dist/{skills-6jdJQ5ZL.js → skills-DqQUtOph.js} +4 -4
- package/dist/{skills-cli-DXkx4vNV.js → skills-cli-D3lePXkf.js} +7 -7
- package/dist/{skills-install-CWVdJkLn.js → skills-install-HGYidhrv.js} +3 -3
- package/dist/{skills-status-C3ptXwnh.js → skills-status-Cjsh8we0.js} +1 -1
- package/dist/{sqlite-Dx3J_aSE.js → sqlite-BV5ILFtC.js} +12 -12
- package/dist/{status-DfPfMVNZ.js → status-BJtbD-cG.js} +2 -2
- package/dist/{status-CMx3GAax.js → status-DUeTrQSz.js} +1 -1
- package/dist/{status-B2Qt-5kL.js → status-DzHL-eVu.js} +3 -3
- package/dist/{status-ZPW5EACm.js → status-nzJEZmNT.js} +25 -25
- package/dist/{status.update-CG0ciGaf.js → status.update-TlYwuzTa.js} +3 -3
- package/dist/{store-r1DJSDq-.js → store-DvtcmOKj.js} +5 -5
- package/dist/{subagent-registry-DQHg3jUV.js → subagent-registry-CzS4CfnV.js} +46 -7
- package/dist/{symi-root-CrGJbkzf.js → symi-root-MF6_6SCS.js} +2 -2
- package/dist/{system-cli-DFZNGx0i.js → system-cli-C2yhGP4C.js} +7 -7
- package/dist/{systemd-DT6SbCim.js → systemd-CevHlgD4.js} +5 -5
- package/dist/{systemd-hints-xYZbFny_.js → systemd-hints-DmgRnw1L.js} +6 -6
- package/dist/{systemd-linger-DCskIKcx.js → systemd-linger-ScxQ1_H4.js} +1 -1
- package/dist/{tables-BEzT0Da4.js → tables-C38rzF6E.js} +1 -1
- package/dist/{target-errors-7AvoVa10.js → target-errors-CCz79CmV.js} +4 -4
- package/dist/{tool-images-DvUBlqjX.js → tool-images-B-pqX3nX.js} +1 -1
- package/dist/{tui-DjPsMdL6.js → tui-D2MOx3Kx.js} +7 -7
- package/dist/{tui-cli-pWD_NrUR.js → tui-cli-B2ii7u23.js} +28 -28
- package/dist/{unified-runner-DvOFqcrw.js → unified-runner-BtO3UQSd.js} +46 -7
- package/dist/{update-Ya0e-JnM.js → update-Don6XTH9.js} +3 -3
- package/dist/{update-check-7EzEjSzb.js → update-check-DCo5RtKp.js} +5 -5
- package/dist/{update-cli-DBasZeVl.js → update-cli-DRODEMSI.js} +8 -8
- package/dist/{update-cli-Df9rh_aN.js → update-cli-gKtjyXlD.js} +95 -95
- package/dist/{update-runner-BRKFzAwV.js → update-runner-AsKAxe31.js} +15 -15
- package/dist/{update-runner-DVa6cMqp.js → update-runner-JcdOHr71.js} +1 -1
- package/dist/{web-Dd05xbUr.js → web-BIzWZFiN.js} +1 -1
- package/dist/{web-Cw3bFAiP.js → web-DGo16lWn.js} +1 -1
- package/dist/{web-CGh5tw__.js → web-DKwOxo8E.js} +1 -1
- package/dist/web-sefqR11J.js +110 -0
- package/dist/{webhooks-cli-BRxe4uCg.js → webhooks-cli-DbnQ2BVE.js} +4 -4
- package/dist/{whatsapp-actions-ChO_shrk.js → whatsapp-actions-CqXxtCoj.js} +15 -15
- package/dist/{with-timeout-CtVdu_1U.js → with-timeout-Cm5EhxG_.js} +1 -1
- package/dist/{workspace-dirs-GpkFi6Kw.js → workspace-dirs-DKu48umx.js} +1 -1
- package/dist/{wsl-q8spwrME.js → wsl-xNOi_Ch8.js} +2 -2
- 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 +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/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 +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/skills/long-task/scripts/detach-task.sh +91 -14
- package/dist/register.configure-BxtTIFTa.js +0 -148
- package/dist/web-KiuDkd0x.js +0 -110
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveSafeBaseDir } from "./path-safety-D55Cxg8r.js";
|
|
2
2
|
import { createWriteStream } from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { pipeline } from "node:stream/promises";
|
|
7
7
|
import { Readable, Transform } from "node:stream";
|
|
@@ -69,9 +69,9 @@ function resolveArchiveKind(filePath) {
|
|
|
69
69
|
async function resolvePackedRootDir(extractDir) {
|
|
70
70
|
const direct = path.join(extractDir, "package");
|
|
71
71
|
try {
|
|
72
|
-
if ((await
|
|
72
|
+
if ((await fsPromises.stat(direct)).isDirectory()) return direct;
|
|
73
73
|
} catch {}
|
|
74
|
-
const dirs = (await
|
|
74
|
+
const dirs = (await fsPromises.readdir(extractDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
|
|
75
75
|
if (dirs.length !== 1) throw new Error(`unexpected archive layout (dirs: ${dirs.join(", ")})`);
|
|
76
76
|
const onlyDir = dirs[0];
|
|
77
77
|
if (!onlyDir) throw new Error("unexpected archive layout (no package dir found)");
|
|
@@ -144,8 +144,8 @@ async function readZipEntryStream(entry) {
|
|
|
144
144
|
}
|
|
145
145
|
async function extractZip(params) {
|
|
146
146
|
const limits = resolveExtractLimits(params.limits);
|
|
147
|
-
if ((await
|
|
148
|
-
const buffer = await
|
|
147
|
+
if ((await fsPromises.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
|
|
148
|
+
const buffer = await fsPromises.readFile(params.archivePath);
|
|
149
149
|
const zip = await JSZip.loadAsync(buffer);
|
|
150
150
|
const entries = Object.values(zip.files);
|
|
151
151
|
const strip = Math.max(0, Math.floor(params.stripComponents ?? 0));
|
|
@@ -162,21 +162,21 @@ async function extractZip(params) {
|
|
|
162
162
|
originalPath: entry.name
|
|
163
163
|
});
|
|
164
164
|
if (entry.dir) {
|
|
165
|
-
await
|
|
165
|
+
await fsPromises.mkdir(outPath, { recursive: true });
|
|
166
166
|
continue;
|
|
167
167
|
}
|
|
168
|
-
await
|
|
168
|
+
await fsPromises.mkdir(path.dirname(outPath), { recursive: true });
|
|
169
169
|
budget.startEntry();
|
|
170
170
|
const readable = await readZipEntryStream(entry);
|
|
171
171
|
try {
|
|
172
172
|
await pipeline(readable, createExtractBudgetTransform({ onChunkBytes: budget.addBytes }), createWriteStream(outPath));
|
|
173
173
|
} catch (err) {
|
|
174
|
-
await
|
|
174
|
+
await fsPromises.unlink(outPath).catch(() => void 0);
|
|
175
175
|
throw err;
|
|
176
176
|
}
|
|
177
177
|
if (typeof entry.unixPermissions === "number") {
|
|
178
178
|
const mode = entry.unixPermissions & 511;
|
|
179
|
-
if (mode !== 0) await
|
|
179
|
+
if (mode !== 0) await fsPromises.chmod(outPath, mode).catch(() => void 0);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
}
|
|
@@ -236,14 +236,14 @@ async function extractArchive(params) {
|
|
|
236
236
|
}
|
|
237
237
|
async function fileExists(filePath) {
|
|
238
238
|
try {
|
|
239
|
-
await
|
|
239
|
+
await fsPromises.stat(filePath);
|
|
240
240
|
return true;
|
|
241
241
|
} catch {
|
|
242
242
|
return false;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
async function readJsonFile(filePath) {
|
|
246
|
-
const raw = await
|
|
246
|
+
const raw = await fsPromises.readFile(filePath, "utf-8");
|
|
247
247
|
return JSON.parse(raw);
|
|
248
248
|
}
|
|
249
249
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as CONFIG_DIR, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
2
2
|
import { i as isPathInside, n as MANIFEST_KEY, r as extensionUsesSkippedScannerPath } from "./legacy-names-Be3msDZo.js";
|
|
3
|
-
import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, n as safeDirName, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-
|
|
4
|
-
import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-
|
|
5
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
3
|
+
import { a as extractArchive, c as resolveArchiveKind, i as unscopedPackageName, l as resolvePackedRootDir, n as safeDirName, o as fileExists, s as readJsonFile, t as resolveSafeInstallDir } from "./install-safe-path-D3mg1DMG.js";
|
|
4
|
+
import { a as installPackageDir, i as withTempDir, n as installFromNpmSpecArchive, r as resolveArchiveSourcePath, t as validateRegistryNpmSpec } from "./npm-registry-spec-DchndI6P.js";
|
|
5
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-w3DJvw1Q.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fsPromises from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/install.ts
|
|
10
10
|
const defaultLogger = {};
|
|
@@ -116,7 +116,7 @@ async function installPluginFromPackageDir(params) {
|
|
|
116
116
|
logger.warn?.(`Plugin "${pluginId}" code safety scan failed (${String(err)}). Installation continues; run "symi security audit --deep" after install.`);
|
|
117
117
|
}
|
|
118
118
|
const extensionsDir = params.extensionsDir ? resolveUserPath(params.extensionsDir) : path.join(CONFIG_DIR, "extensions");
|
|
119
|
-
await
|
|
119
|
+
await fsPromises.mkdir(extensionsDir, { recursive: true });
|
|
120
120
|
const targetDirResult = resolveSafeInstallDir({
|
|
121
121
|
baseDir: extensionsDir,
|
|
122
122
|
id: pluginId,
|
|
@@ -180,7 +180,7 @@ async function installPluginFromArchive(params) {
|
|
|
180
180
|
const archivePath = archivePathResult.path;
|
|
181
181
|
return await withTempDir("symi-plugin-", async (tmpDir) => {
|
|
182
182
|
const extractDir = path.join(tmpDir, "extract");
|
|
183
|
-
await
|
|
183
|
+
await fsPromises.mkdir(extractDir, { recursive: true });
|
|
184
184
|
logger.info?.(`Extracting ${archivePath}…`);
|
|
185
185
|
try {
|
|
186
186
|
await extractArchive({
|
|
@@ -221,7 +221,7 @@ async function installPluginFromDir(params) {
|
|
|
221
221
|
ok: false,
|
|
222
222
|
error: `directory not found: ${dirPath}`
|
|
223
223
|
};
|
|
224
|
-
if (!(await
|
|
224
|
+
if (!(await fsPromises.stat(dirPath)).isDirectory()) return {
|
|
225
225
|
ok: false,
|
|
226
226
|
error: `not a directory: ${dirPath}`
|
|
227
227
|
};
|
|
@@ -243,7 +243,7 @@ async function installPluginFromFile(params) {
|
|
|
243
243
|
error: `file not found: ${filePath}`
|
|
244
244
|
};
|
|
245
245
|
const extensionsDir = params.extensionsDir ? resolveUserPath(params.extensionsDir) : path.join(CONFIG_DIR, "extensions");
|
|
246
|
-
await
|
|
246
|
+
await fsPromises.mkdir(extensionsDir, { recursive: true });
|
|
247
247
|
const pluginId = path.basename(filePath, path.extname(filePath)) || "plugin";
|
|
248
248
|
const pluginIdError = validatePluginId(pluginId);
|
|
249
249
|
if (pluginIdError) return {
|
|
@@ -257,7 +257,7 @@ async function installPluginFromFile(params) {
|
|
|
257
257
|
};
|
|
258
258
|
if (dryRun) return buildFileInstallResult(pluginId, targetFile);
|
|
259
259
|
logger.info?.(`Installing to ${targetFile}…`);
|
|
260
|
-
await
|
|
260
|
+
await fsPromises.copyFile(filePath, targetFile);
|
|
261
261
|
return buildFileInstallResult(pluginId, targetFile);
|
|
262
262
|
}
|
|
263
263
|
async function installPluginFromNpmSpec(params) {
|
|
@@ -303,7 +303,7 @@ async function installPluginFromPath(params) {
|
|
|
303
303
|
ok: false,
|
|
304
304
|
error: `path not found: ${resolved}`
|
|
305
305
|
};
|
|
306
|
-
if ((await
|
|
306
|
+
if ((await fsPromises.stat(resolved)).isDirectory()) return await installPluginFromDir({
|
|
307
307
|
dirPath: resolved,
|
|
308
308
|
extensionsDir: params.extensionsDir,
|
|
309
309
|
timeoutMs: params.timeoutMs,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { F as shouldLogVerbose, M as logVerbose, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
2
|
-
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
3
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
4
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
2
|
+
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-CTDvb1DF.js";
|
|
3
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DYbDWaIA.js";
|
|
4
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-BBeKX7PX.js";
|
|
5
5
|
import { a as chunkText } from "./chunk-1dhPX1NK.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fsPromises from "node:fs/promises";
|
|
9
9
|
import MarkdownIt from "markdown-it";
|
|
10
10
|
|
|
11
11
|
//#region src/web/media.ts
|
|
@@ -24,7 +24,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
24
24
|
const roots = localRoots ?? getDefaultLocalRoots();
|
|
25
25
|
let resolved;
|
|
26
26
|
try {
|
|
27
|
-
resolved = await
|
|
27
|
+
resolved = await fsPromises.realpath(mediaPath);
|
|
28
28
|
} catch {
|
|
29
29
|
resolved = path.resolve(mediaPath);
|
|
30
30
|
}
|
|
@@ -41,7 +41,7 @@ async function assertLocalMediaAllowed(mediaPath, localRoots) {
|
|
|
41
41
|
for (const root of roots) {
|
|
42
42
|
let resolvedRoot;
|
|
43
43
|
try {
|
|
44
|
-
resolvedRoot = await
|
|
44
|
+
resolvedRoot = await fsPromises.realpath(root);
|
|
45
45
|
} catch {
|
|
46
46
|
resolvedRoot = path.resolve(root);
|
|
47
47
|
}
|
|
@@ -2,13 +2,13 @@ import { d as resolveIsNixMode } from "./paths-Cqn-zk3M.js";
|
|
|
2
2
|
import { B as theme, R as colorize, U as getResolvedLoggerSettings, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
5
|
-
import { i as loadConfig } from "./config-
|
|
5
|
+
import { i as loadConfig } from "./config-tNauHpdq.js";
|
|
6
6
|
import { c as pickPrimaryLanIPv4 } from "./ws-C7EXRv8z.js";
|
|
7
|
-
import { t as isWSL } from "./wsl-
|
|
7
|
+
import { t as isWSL } from "./wsl-xNOi_Ch8.js";
|
|
8
8
|
import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-CafH8-8D.js";
|
|
9
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
10
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
11
|
-
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-
|
|
9
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-CevHlgD4.js";
|
|
10
|
+
import { s as resolveGatewayLogPaths } from "./service-D80PyJxB.js";
|
|
11
|
+
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-DmgRnw1L.js";
|
|
12
12
|
import { t as parsePort } from "./parse-port-DnJYkByg.js";
|
|
13
13
|
import { Writable } from "node:stream";
|
|
14
14
|
|
|
@@ -3,7 +3,7 @@ import "./registry-DYq1AYOv.js";
|
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CpEJ0B88.js";
|
|
4
4
|
import "./subsystem-BjyjJF-d.js";
|
|
5
5
|
import "./workspace-DscDraUb.js";
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-BtO3UQSd.js";
|
|
7
7
|
import "./paths-CbQV9WEg.js";
|
|
8
8
|
import "./auth-profiles-q3HjbboY.js";
|
|
9
9
|
import "./env-BDXYbTKj.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { X as resolvePreferredSymiTmpDir } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { c as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
3
|
+
import { c as resolveAgentWorkspaceDir } from "./agent-scope-BRwEc2pG.js";
|
|
4
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DYbDWaIA.js";
|
|
5
5
|
import { t as fetchWithSsrFGuard } from "./fetch-guard-DOPkVbh3.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -3,9 +3,9 @@ import { I as success, O as danger, k as info } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
4
4
|
import { o as logInfo } from "./exec-CWkblSrI.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
6
|
-
import { i as loadConfig } from "./config-
|
|
7
|
-
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
6
|
+
import { i as loadConfig } from "./config-tNauHpdq.js";
|
|
7
|
+
import { n as resolveWhatsAppAccount, o as logoutWeb } from "./accounts-Cd816n6l.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-6Qyc4cBQ.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -3,16 +3,16 @@ import { I as success, O as danger, k as info } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import { o as logInfo } from "./exec-CWkblSrI.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import "./agent-scope-BRwEc2pG.js";
|
|
7
|
+
import "./model-selection-X1oLh3CE.js";
|
|
8
8
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
9
9
|
import "./boolean-BsqeuxE6.js";
|
|
10
10
|
import "./env-DPCHYPeH.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-tNauHpdq.js";
|
|
12
12
|
import "./manifest-registry-C4BxOMWX.js";
|
|
13
|
-
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-
|
|
13
|
+
import { m as webAuthExists, n as resolveWhatsAppAccount, o as logoutWeb, u as readWebSelfId } from "./accounts-Cd816n6l.js";
|
|
14
14
|
import "./logging-w5jq5901.js";
|
|
15
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
15
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-6Qyc4cBQ.js";
|
|
16
16
|
import { randomUUID } from "node:crypto";
|
|
17
17
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
18
18
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -3,21 +3,21 @@ import { B as theme, R as colorize, z as isRich } from "./utils-B-0b9bGM.js";
|
|
|
3
3
|
import "./registry-Cja8eT7G.js";
|
|
4
4
|
import { c as formatLocalIsoWithOffset, m as clearActiveProgressLine } from "./subsystem-D9vIQve0.js";
|
|
5
5
|
import "./exec-CWkblSrI.js";
|
|
6
|
-
import "./agent-scope-
|
|
7
|
-
import "./model-selection-
|
|
6
|
+
import "./agent-scope-BRwEc2pG.js";
|
|
7
|
+
import "./model-selection-X1oLh3CE.js";
|
|
8
8
|
import "./github-copilot-token-DAu1a6BX.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-DPCHYPeH.js";
|
|
12
12
|
import "./message-channel-aT-I_DTX.js";
|
|
13
|
-
import "./config-
|
|
13
|
+
import "./config-tNauHpdq.js";
|
|
14
14
|
import "./manifest-registry-C4BxOMWX.js";
|
|
15
|
-
import "./client-
|
|
16
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
17
|
-
import "./pairing-token-
|
|
15
|
+
import "./client-Bj_vTpri.js";
|
|
16
|
+
import { t as buildGatewayConnectionDetails } from "./call-tmHtVCkn.js";
|
|
17
|
+
import "./pairing-token-AV-MMfVE.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
19
19
|
import "./progress-jIePzvGA.js";
|
|
20
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
20
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-B1Wzoj99.js";
|
|
21
21
|
import { t as parseLogLine } from "./parse-log-line-DvYyTYq4.js";
|
|
22
22
|
import { setTimeout } from "node:timers/promises";
|
|
23
23
|
|
|
@@ -2,19 +2,19 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { E as truncateUtf16Safe, a as clampNumber, i as clampInt, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-
|
|
6
|
-
import { K as requireApiKey, q as resolveApiKeyForProvider } from "./model-selection-
|
|
5
|
+
import { c as resolveAgentWorkspaceDir, i as resolveAgentDir, r as resolveAgentConfig } from "./agent-scope-BRwEc2pG.js";
|
|
6
|
+
import { K as requireApiKey, q as resolveApiKeyForProvider } from "./model-selection-X1oLh3CE.js";
|
|
7
7
|
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-DdnTeoR1.js";
|
|
11
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
12
|
-
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-
|
|
11
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-CEr3lKih.js";
|
|
12
|
+
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-BV5ILFtC.js";
|
|
13
13
|
import { n as retryAsync } from "./retry-BoS4e4X_.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import os from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
import { randomUUID } from "node:crypto";
|
|
19
19
|
import { createInterface } from "node:readline";
|
|
20
20
|
import { Readable } from "node:stream";
|
|
@@ -936,7 +936,7 @@ async function extractTimestamp(params) {
|
|
|
936
936
|
if (!params.workspaceDir) return null;
|
|
937
937
|
const absolutePath = path.isAbsolute(params.filePath) ? params.filePath : path.resolve(params.workspaceDir, params.filePath);
|
|
938
938
|
try {
|
|
939
|
-
const stat = await
|
|
939
|
+
const stat = await fsPromises.stat(absolutePath);
|
|
940
940
|
if (!Number.isFinite(stat.mtimeMs)) return null;
|
|
941
941
|
return new Date(stat.mtimeMs);
|
|
942
942
|
} catch {
|
|
@@ -2038,7 +2038,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2038
2038
|
const source = `${sourceBase}${suffix}`;
|
|
2039
2039
|
const target = `${targetBase}${suffix}`;
|
|
2040
2040
|
try {
|
|
2041
|
-
await
|
|
2041
|
+
await fsPromises.rename(source, target);
|
|
2042
2042
|
} catch (err) {
|
|
2043
2043
|
if (err.code !== "ENOENT") throw err;
|
|
2044
2044
|
}
|
|
@@ -2049,7 +2049,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2049
2049
|
"",
|
|
2050
2050
|
"-wal",
|
|
2051
2051
|
"-shm"
|
|
2052
|
-
].map((suffix) =>
|
|
2052
|
+
].map((suffix) => fsPromises.rm(`${basePath}${suffix}`, { force: true })));
|
|
2053
2053
|
}
|
|
2054
2054
|
ensureSchema() {
|
|
2055
2055
|
const result = ensureMemoryIndexSchema({
|
|
@@ -2144,7 +2144,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2144
2144
|
if (!thresholds) return null;
|
|
2145
2145
|
let stat;
|
|
2146
2146
|
try {
|
|
2147
|
-
stat = await
|
|
2147
|
+
stat = await fsPromises.stat(sessionFile);
|
|
2148
2148
|
} catch {
|
|
2149
2149
|
return null;
|
|
2150
2150
|
}
|
|
@@ -2186,7 +2186,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2186
2186
|
if (end <= start) return 0;
|
|
2187
2187
|
let handle;
|
|
2188
2188
|
try {
|
|
2189
|
-
handle = await
|
|
2189
|
+
handle = await fsPromises.open(absPath, "r");
|
|
2190
2190
|
} catch (err) {
|
|
2191
2191
|
if (isFileMissingError(err)) return 0;
|
|
2192
2192
|
throw err;
|
|
@@ -3118,7 +3118,7 @@ var MemoryManagerEmbeddingOps = class extends MemoryManagerSyncOps {
|
|
|
3118
3118
|
});
|
|
3119
3119
|
return;
|
|
3120
3120
|
}
|
|
3121
|
-
const content = options.content ?? await
|
|
3121
|
+
const content = options.content ?? await fsPromises.readFile(entry.absPath, "utf-8");
|
|
3122
3122
|
const chunks = enforceEmbeddingMaxInputTokens(this.provider, chunkMarkdown(content, this.settings.chunking).filter((chunk) => chunk.text.trim().length > 0));
|
|
3123
3123
|
if (options.source === "sessions" && "lineMap" in entry) remapChunkLines(chunks, entry.lineMap);
|
|
3124
3124
|
const embeddings = this.batch.enabled ? await this.embedChunksWithBatch(chunks, entry, options.source) : await this.embedChunksInBatches(chunks);
|
|
@@ -3732,7 +3732,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3732
3732
|
if (!allowedWorkspace && this.settings.extraPaths.length > 0) {
|
|
3733
3733
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
3734
3734
|
for (const additionalPath of additionalPaths) try {
|
|
3735
|
-
const stat = await
|
|
3735
|
+
const stat = await fsPromises.lstat(additionalPath);
|
|
3736
3736
|
if (stat.isSymbolicLink()) continue;
|
|
3737
3737
|
if (stat.isDirectory()) {
|
|
3738
3738
|
if (absPath === additionalPath || absPath.startsWith(`${additionalPath}${path.sep}`)) {
|
|
@@ -3757,7 +3757,7 @@ var MemoryIndexManager = class MemoryIndexManager extends MemoryManagerEmbedding
|
|
|
3757
3757
|
};
|
|
3758
3758
|
let content;
|
|
3759
3759
|
try {
|
|
3760
|
-
content = await
|
|
3760
|
+
content = await fsPromises.readFile(absPath, "utf-8");
|
|
3761
3761
|
} catch (err) {
|
|
3762
3762
|
if (isFileMissingError(err)) return {
|
|
3763
3763
|
text: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as normalizeAccountId } from "./session-key-DCt45XZa.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-BAyxWQSz.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -2,14 +2,14 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
3
3
|
import { B as theme, P as setVerbose, R as colorize, S as shortenHomePath, x as shortenHomeInString, y as resolveUserPath, z as isRich } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { f as defaultRuntime, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
5
|
-
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-
|
|
6
|
-
import { q as resolveApiKeyForProvider } from "./model-selection-
|
|
7
|
-
import { C as parseDurationMs, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
5
|
+
import { c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-BRwEc2pG.js";
|
|
6
|
+
import { q as resolveApiKeyForProvider } from "./model-selection-X1oLh3CE.js";
|
|
7
|
+
import { C as parseDurationMs, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-tNauHpdq.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-BF3TeRH2.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CyhzMxFA.js";
|
|
10
|
-
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-
|
|
10
|
+
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-BV5ILFtC.js";
|
|
11
11
|
import { t as splitShellArgs } from "./shell-argv-BbiXH_xm.js";
|
|
12
|
-
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-
|
|
12
|
+
import { n as probeOllamaEmbeddingModels, r as resolveOllamaBaseUrl } from "./manager-C1CfGzZ2.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-3i1eUga4.js";
|
|
14
14
|
import { r as withManager } from "./cli-utils-DN_hM6ov.js";
|
|
15
15
|
import { t as formatHelpExamples } from "./help-format-B_-M23wP.js";
|
|
@@ -17,7 +17,7 @@ import { n as withProgress, r as withProgressTotals } from "./progress-jIePzvGA.
|
|
|
17
17
|
import fs from "node:fs";
|
|
18
18
|
import os from "node:os";
|
|
19
19
|
import path from "node:path";
|
|
20
|
-
import
|
|
20
|
+
import fsPromises from "node:fs/promises";
|
|
21
21
|
|
|
22
22
|
//#region src/memory/backend-config.ts
|
|
23
23
|
const DEFAULT_BACKEND = "builtin";
|
|
@@ -214,7 +214,7 @@ async function getMemorySearchManager(params) {
|
|
|
214
214
|
if (cached) return { manager: cached };
|
|
215
215
|
}
|
|
216
216
|
try {
|
|
217
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
217
|
+
const { QmdMemoryManager } = await import("./qmd-manager-DUNbG4Qr.js");
|
|
218
218
|
const primary = await QmdMemoryManager.create({
|
|
219
219
|
cfg: params.cfg,
|
|
220
220
|
agentId: params.agentId,
|
|
@@ -226,7 +226,7 @@ async function getMemorySearchManager(params) {
|
|
|
226
226
|
const wrapper = new FallbackMemoryManager({
|
|
227
227
|
primary,
|
|
228
228
|
fallbackFactory: async () => {
|
|
229
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
229
|
+
const { MemoryIndexManager } = await import("./manager-C1CfGzZ2.js").then((n) => n.t);
|
|
230
230
|
return await MemoryIndexManager.get(params);
|
|
231
231
|
}
|
|
232
232
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -239,7 +239,7 @@ async function getMemorySearchManager(params) {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
try {
|
|
242
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
242
|
+
const { MemoryIndexManager } = await import("./manager-C1CfGzZ2.js").then((n) => n.t);
|
|
243
243
|
return { manager: await MemoryIndexManager.get(params) };
|
|
244
244
|
} catch (err) {
|
|
245
245
|
return {
|
|
@@ -421,7 +421,7 @@ async function withMemoryManagerForAgent(params) {
|
|
|
421
421
|
}
|
|
422
422
|
async function checkReadableFile(pathname) {
|
|
423
423
|
try {
|
|
424
|
-
await
|
|
424
|
+
await fsPromises.access(pathname, fs.constants.R_OK);
|
|
425
425
|
return { exists: true };
|
|
426
426
|
} catch (err) {
|
|
427
427
|
const code = err.code;
|
|
@@ -438,7 +438,7 @@ async function scanSessionFiles(agentId) {
|
|
|
438
438
|
try {
|
|
439
439
|
return {
|
|
440
440
|
source: "sessions",
|
|
441
|
-
totalFiles: (await
|
|
441
|
+
totalFiles: (await fsPromises.readdir(sessionsDir, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(".jsonl")).length,
|
|
442
442
|
issues
|
|
443
443
|
};
|
|
444
444
|
} catch (err) {
|
|
@@ -470,7 +470,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
470
470
|
if (alt.issue) issues.push(alt.issue);
|
|
471
471
|
const resolvedExtraPaths = normalizeExtraMemoryPaths(workspaceDir, extraPaths);
|
|
472
472
|
for (const extraPath of resolvedExtraPaths) try {
|
|
473
|
-
if ((await
|
|
473
|
+
if ((await fsPromises.lstat(extraPath)).isSymbolicLink()) continue;
|
|
474
474
|
const extraCheck = await checkReadableFile(extraPath);
|
|
475
475
|
if (extraCheck.issue) issues.push(extraCheck.issue);
|
|
476
476
|
} catch (err) {
|
|
@@ -480,7 +480,7 @@ async function scanMemoryFiles(workspaceDir, extraPaths = []) {
|
|
|
480
480
|
}
|
|
481
481
|
let dirReadable = null;
|
|
482
482
|
try {
|
|
483
|
-
await
|
|
483
|
+
await fsPromises.access(memoryDir, fs.constants.R_OK);
|
|
484
484
|
dirReadable = true;
|
|
485
485
|
} catch (err) {
|
|
486
486
|
const code = err.code;
|
|
@@ -528,7 +528,7 @@ async function summarizeQmdIndexArtifact(manager) {
|
|
|
528
528
|
if (!dbPath) return null;
|
|
529
529
|
let stat;
|
|
530
530
|
try {
|
|
531
|
-
stat = await
|
|
531
|
+
stat = await fsPromises.stat(dbPath);
|
|
532
532
|
} catch (err) {
|
|
533
533
|
const code = err.code;
|
|
534
534
|
if (code === "ENOENT") throw new Error(`QMD index file not found: ${shortenHomePath(dbPath)}`, { cause: err });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ft as resolveSymiAgentDir, Wt as DEFAULT_CONTEXT_TOKENS, l as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { Ft as resolveSymiAgentDir, Wt as DEFAULT_CONTEXT_TOKENS, l as normalizeProviderId } from "./model-selection-X1oLh3CE.js";
|
|
3
3
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-4uUnLc3n.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-alias-lines.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ft as resolveSymiAgentDir } from "./model-selection-
|
|
2
|
-
import { i as loadConfig } from "./config-
|
|
3
|
-
import { t as ensureSymiModelsJson } from "./models-config-
|
|
1
|
+
import { Ft as resolveSymiAgentDir } from "./model-selection-X1oLh3CE.js";
|
|
2
|
+
import { i as loadConfig } from "./config-tNauHpdq.js";
|
|
3
|
+
import { t as ensureSymiModelsJson } from "./models-config-CEMioDUi.js";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/model-catalog.ts
|
|
6
6
|
let modelCatalogPromise = null;
|
|
@@ -38,7 +38,7 @@ async function loadModelCatalog(params) {
|
|
|
38
38
|
try {
|
|
39
39
|
const cfg = params?.config ?? loadConfig();
|
|
40
40
|
await ensureSymiModelsJson(cfg);
|
|
41
|
-
await (await import("./pi-auth-json-
|
|
41
|
+
await (await import("./pi-auth-json-FpfHyEcu.js").then((n) => n.n)).ensurePiAuthJsonFromAuthProfiles(resolveSymiAgentDir(), { config: cfg });
|
|
42
42
|
const piSdk = await importPiSdk();
|
|
43
43
|
const agentDir = resolveSymiAgentDir();
|
|
44
44
|
const { join } = await import("node:path");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { At as ensureAuthProfileStore, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Tt as listProfilesForProvider, Y as resolveEnvApiKey, kt as upsertAuthProfileWithLock, l as normalizeProviderId, p as resolveConfiguredModelRef, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet } from "./model-selection-
|
|
3
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
4
|
-
import { i as formatTokenK } from "./shared-
|
|
2
|
+
import { At as ensureAuthProfileStore, G as getCustomProviderApiKey, Gt as DEFAULT_MODEL, Kt as DEFAULT_PROVIDER, Tt as listProfilesForProvider, Y as resolveEnvApiKey, kt as upsertAuthProfileWithLock, l as normalizeProviderId, p as resolveConfiguredModelRef, r as buildModelAliasIndex, s as modelKey, t as buildAllowedModelSet } from "./model-selection-X1oLh3CE.js";
|
|
3
|
+
import { n as loadModelCatalog } from "./model-catalog-CvbwxWuC.js";
|
|
4
|
+
import { i as formatTokenK } from "./shared-BfhtOZAz.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/openai-codex-model-default.ts
|
|
7
7
|
const OPENAI_CODEX_DEFAULT_MODEL = "openai-codex/gpt-5.3-codex";
|
|
@@ -3,13 +3,13 @@ import { g as resolveStateDir, h as resolveOAuthPath } from "./paths-Cqn-zk3M.js
|
|
|
3
3
|
import { y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
4
4
|
import { t as DEFAULT_AGENT_ID } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
6
|
-
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-
|
|
6
|
+
import { o as resolveAgentModelPrimary, r as resolveAgentConfig } from "./agent-scope-BRwEc2pG.js";
|
|
7
7
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DAu1a6BX.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-COaS-S7B.js";
|
|
9
9
|
import { t as isTruthyEnvValue } from "./env-DPCHYPeH.js";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import path from "node:path";
|
|
12
|
-
import
|
|
12
|
+
import fsPromises from "node:fs/promises";
|
|
13
13
|
import { execFileSync } from "node:child_process";
|
|
14
14
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
15
15
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
@@ -106,7 +106,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
106
106
|
}
|
|
107
107
|
async function readLockPayload(lockPath) {
|
|
108
108
|
try {
|
|
109
|
-
const raw = await
|
|
109
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
110
110
|
const parsed = JSON.parse(raw);
|
|
111
111
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
112
112
|
return {
|
|
@@ -120,9 +120,9 @@ async function readLockPayload(lockPath) {
|
|
|
120
120
|
async function resolveNormalizedFilePath(filePath) {
|
|
121
121
|
const resolved = path.resolve(filePath);
|
|
122
122
|
const dir = path.dirname(resolved);
|
|
123
|
-
await
|
|
123
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
124
124
|
try {
|
|
125
|
-
const realDir = await
|
|
125
|
+
const realDir = await fsPromises.realpath(dir);
|
|
126
126
|
return path.join(realDir, path.basename(resolved));
|
|
127
127
|
} catch {
|
|
128
128
|
return resolved;
|
|
@@ -136,7 +136,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
136
136
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
137
137
|
}
|
|
138
138
|
try {
|
|
139
|
-
const stat = await
|
|
139
|
+
const stat = await fsPromises.stat(lockPath);
|
|
140
140
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
141
141
|
} catch {
|
|
142
142
|
return true;
|
|
@@ -149,7 +149,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
149
149
|
if (current.count > 0) return;
|
|
150
150
|
HELD_LOCKS.delete(normalizedFile);
|
|
151
151
|
await current.handle.close().catch(() => void 0);
|
|
152
|
-
await
|
|
152
|
+
await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
153
153
|
}
|
|
154
154
|
async function acquireFileLock(filePath, options) {
|
|
155
155
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -164,7 +164,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
164
164
|
}
|
|
165
165
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
166
166
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
167
|
-
const handle = await
|
|
167
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
168
168
|
await handle.writeFile(JSON.stringify({
|
|
169
169
|
pid: process.pid,
|
|
170
170
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -181,7 +181,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
181
181
|
} catch (err) {
|
|
182
182
|
if (err.code !== "EEXIST") throw err;
|
|
183
183
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
184
|
-
await
|
|
184
|
+
await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
|
|
185
185
|
continue;
|
|
186
186
|
}
|
|
187
187
|
if (attempt >= attempts - 1) break;
|
|
@@ -7,7 +7,7 @@ import { t as ensurePiAuthJsonFromAuthProfiles } from "./pi-auth-json-LXkL5WS_.j
|
|
|
7
7
|
import { i as resolveForwardCompatModel, r as ANTIGRAVITY_OPUS_46_FORWARD_COMPAT_CANDIDATES } from "./model-DiCH8rkE.js";
|
|
8
8
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-Do3xMEtM.js";
|
|
9
9
|
import { C as parseDurationMs, i as loadConfig } from "./config-BNTB6qj8.js";
|
|
10
|
-
import { J as runAgentTurn, _n as DEFAULT_OAUTH_WARN_MS, _t as describeFailoverError, an as formatUsageWindowSummary, gn as maskApiKey, on as resolveUsageProviderId, rn as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-
|
|
10
|
+
import { J as runAgentTurn, _n as DEFAULT_OAUTH_WARN_MS, _t as describeFailoverError, an as formatUsageWindowSummary, gn as maskApiKey, on as resolveUsageProviderId, rn as loadProviderUsageSummary, vn as buildAuthHealthSummary, yn as formatRemainingShort } from "./subagent-registry-CzS4CfnV.js";
|
|
11
11
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DNdWAq7b.js";
|
|
12
12
|
import { t as ensureSymiModelsJson } from "./models-config-Be8DRFkB.js";
|
|
13
13
|
import { n as loadModelCatalog } from "./model-catalog-DNvgFPZn.js";
|
|
@@ -21,7 +21,7 @@ import { n as redactSecrets } from "./format-DVLB9DNB.js";
|
|
|
21
21
|
import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-DdxPzyOH.js";
|
|
22
22
|
import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Cmrk2TPo.js";
|
|
23
23
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
24
|
-
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
24
|
+
import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BFHctF2f.js";
|
|
25
25
|
import path from "node:path";
|
|
26
26
|
import fs from "node:fs/promises";
|
|
27
27
|
import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
|