@symerian/symi 2.0.3 → 2.0.4
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-ChTFYj8Q.js → accounts-CWktKM8a.js} +1 -1
- package/dist/{accounts-CJR8j_Kq.js → accounts-qtxJ-6em.js} +1 -1
- package/dist/{accounts-CI6zQTJj.js → accounts-tNElYrCH.js} +14 -14
- package/dist/{active-listener-D6sXIjAg.js → active-listener-C9r8ZB9m.js} +1 -1
- package/dist/{agent-scope-Bw1Ed8W9.js → agent-scope-BxoUQqgM.js} +3 -3
- package/dist/{agents-DtoHlMPd.js → agents-CsyjhO3N.js} +4 -4
- package/dist/{agents.config-D42lZLmR.js → agents.config-BFV9oAqS.js} +1 -1
- package/dist/{agents.config-DnUOlYlU.js → agents.config-LrptXEll.js} +1 -1
- package/dist/{audio-preflight-C1uyo4vM.js → audio-preflight-DL5FZnXU.js} +29 -29
- package/dist/{auth-choice-D5BDSGnl.js → auth-choice-CW56xars.js} +1 -1
- package/dist/{auth-choice-C9otuJPA.js → auth-choice-DAcPZlQ4.js} +1 -1
- package/dist/{banner-CF7C3krf.js → banner-CRmRSjV-.js} +1 -1
- package/dist/{bindings-BU2hsBd9.js → bindings-B7Ke6LJi.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-C9-gaquj.js → channel-activity-CsM_hJ_s.js} +1 -1
- package/dist/{channel-options-DzhTX3wl.js → channel-options-DtAsD44B.js} +1 -1
- package/dist/{channel-options-Csa-TtDi.js → channel-options-WeLJ-qZv.js} +1 -1
- package/dist/{channel-web-CjvCBPqU.js → channel-web-4dakqfZ6.js} +1 -1
- package/dist/{channels-cli-KlwkjyCS.js → channels-cli-3AqiVyJK.js} +6 -6
- package/dist/{channels-cli-DDN_16Kv.js → channels-cli-Tcx1ltrU.js} +6 -6
- package/dist/{chrome-CTMkDHCZ.js → chrome-DuXtddnV.js} +20 -20
- package/dist/{chunk-ClbN9Pqy.js → chunk-BW5f05BR.js} +1 -1
- package/dist/{cli-DJI_OS4-.js → cli-BUYtzqrh.js} +3 -3
- package/dist/{cli-B5hVys4U.js → cli-Bf6dBl2M.js} +3 -3
- package/dist/{command-format-UKHV-j0K.js → command-format-BaxDnULz.js} +1 -1
- package/dist/{command-registry-BCcHr4Zl.js → command-registry-CuCOesOu.js} +10 -10
- package/dist/{commands-registry-D1zSleL6.js → commands-registry-CurvwtTw.js} +4 -4
- package/dist/{completion-cli-CwhsXPDu.js → completion-cli-A03jNimw.js} +2 -2
- package/dist/{completion-cli-3qyNZZY8.js → completion-cli-Bk2ZD_0C.js} +1 -1
- package/dist/{config-B4Di8ISR.js → config-CwDeZVre.js} +12 -12
- package/dist/{config-cli-BZ9IeSYB.js → config-cli-DBpXyuRr.js} +1 -1
- package/dist/{config-cli-gykd9rl1.js → config-cli-qRVHb4Oh.js} +1 -1
- package/dist/{configure-awU0fYIM.js → configure-DC9UBER3.js} +3 -3
- package/dist/{configure-DaF95oCr.js → configure-K6W-Wmjp.js} +3 -3
- package/dist/{deliver-CtTfl32o.js → deliver-D7lL85xc.js} +20 -20
- package/dist/{diagnostic-C3nsWaw3.js → diagnostic-CI0kRQkt.js} +1 -1
- package/dist/{doctor-completion-DbjMSopv.js → doctor-completion-DuF3drKi.js} +1 -1
- package/dist/{doctor-completion-D3TwE1w4.js → doctor-completion-dCd4PRCa.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{frontmatter-DPlG6yha.js → frontmatter-C_bv_0P8.js} +2 -2
- package/dist/{gateway-cli-BfnBBPhi.js → gateway-cli-BQvidd_s.js} +11 -11
- package/dist/{gateway-cli-Dp5kxNDZ.js → gateway-cli-DegPGmDr.js} +11 -11
- package/dist/{gemini-auth-BBWa_f-c.js → gemini-auth-DDojfpIT.js} +1 -1
- package/dist/{github-copilot-token-DJqsJ2-r.js → github-copilot-token-C_qUP7p5.js} +7 -7
- package/dist/{glass-ui-ws-DVJ8Jbb_.js → glass-ui-ws-B6WT1312.js} +9 -9
- package/dist/{glass-ui-ws-D421doEO.js → glass-ui-ws-CvI2XO4N.js} +9 -9
- package/dist/{health-6eO44S1z.js → health-CFyfITuA.js} +1 -1
- package/dist/{health-Cg5ISkwP.js → health-D9OIJnBc.js} +1 -1
- package/dist/{hooks-cli-DrJLLgya.js → hooks-cli-DZ9SSA1i.js} +4 -4
- package/dist/{hooks-cli-CSudu0uW.js → hooks-cli-U2StRJBl.js} +4 -4
- package/dist/{image-WVlJkWYO.js → image-Bw9ZjAgJ.js} +4 -4
- package/dist/{image-ops-S8-8dAhx.js → image-ops-CvJzsyvE.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/{ir-CbFUkv_T.js → ir-DccrnjsE.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-C7OCYACU.js → local-roots-DMwIh5cS.js} +5 -5
- package/dist/{login-CLnFYUir.js → login-B6HY_3uV.js} +7 -7
- package/dist/{login-qr-N6iHqtov.js → login-qr-cno8SVBt.js} +12 -12
- package/dist/{manager-DVrmVtOf.js → manager-BAHqvDty.js} +3 -3
- package/dist/{manager-BSlYwG4Q.js → manager-BY4hiBJp.js} +16 -16
- package/dist/{manager-azRNiI63.js → manager-Bjj7y8zp.js} +3 -3
- package/dist/{manager-B27VgRmJ.js → manager-D5M31nB7.js} +3 -3
- package/dist/{manifest-registry-CneMHk0N.js → manifest-registry-D0IQ3WuX.js} +19 -19
- package/dist/{markdown-tables-DSHvnTLx.js → markdown-tables-iMQQZu4Q.js} +1 -1
- package/dist/{memory-cli-BbOD_MAm.js → memory-cli-B4uTQIEI.js} +2 -2
- package/dist/{memory-cli-B9wNpmfA.js → memory-cli-BMc7fnhU.js} +2 -2
- package/dist/{message-channel-DbsRltF2.js → message-channel-Dz5lr5b0.js} +1 -1
- package/dist/{model-auth-B55liYhg.js → model-auth-Cbvnb5vf.js} +9 -9
- package/dist/{models-BTRkvFtl.js → models-Dk5xMeU4.js} +2 -2
- package/dist/{models-cli-D2fJlrQk.js → models-cli-CwYuAB8g.js} +5 -5
- package/dist/{models-cli-Dj8cNWRT.js → models-cli-MjhOqdj0.js} +4 -4
- package/dist/{onboard-DrC9PhAd.js → onboard-CLivT5b8.js} +2 -2
- package/dist/{onboard-CF18Px6X.js → onboard-ZEFOKEKv.js} +2 -2
- package/dist/{onboard-channels-DRFYxuUu.js → onboard-channels-B-JWhIP_.js} +1 -1
- package/dist/{onboard-channels-wh9lIrOV.js → onboard-channels-CZAZtEV5.js} +1 -1
- package/dist/{onboarding-CoKYMZge.js → onboarding-BXY7iYy4.js} +3 -3
- package/dist/{onboarding-BxtMkKTW.js → onboarding-CnpDWuV7.js} +3 -3
- package/dist/{onboarding.finalize-CLX9F864.js → onboarding.finalize-BB7-uXAL.js} +7 -7
- package/dist/{onboarding.finalize-C1zVIEme.js → onboarding.finalize-g1IyaTp2.js} +8 -8
- package/dist/{outbound-Bc4wVSZG.js → outbound-DnUbG06K.js} +7 -7
- package/dist/{outbound-attachment-Co2diKdP.js → outbound-attachment-DjNDa3zn.js} +2 -2
- package/dist/{paths-CySxpNhH.js → paths-Cce4PUkG.js} +5 -5
- package/dist/{paths-Cb87-LzP.js → paths-DLyHUt31.js} +1 -1
- package/dist/{pi-auth-json-b4xaJSBk.js → pi-auth-json-C7Sd8IAl.js} +8 -8
- package/dist/{pi-embedded-CGdznHBp.js → pi-embedded-B9HmOvPc.js} +5 -5
- package/dist/{pi-embedded-vSF1ziRD.js → pi-embedded-CR8-rUnH.js} +162 -162
- package/dist/{pi-embedded-helpers-CCMgxLVl.js → pi-embedded-helpers-CMPwkzmk.js} +52 -52
- package/dist/{plugin-registry-UAY71aAp.js → plugin-registry-BDQsWM3n.js} +1 -1
- package/dist/{plugin-registry-BbbgHAaN.js → plugin-registry-D7bCDbYz.js} +1 -1
- package/dist/plugin-sdk/{channel-web-cl9GZI67.js → channel-web-DkE6r-JP.js} +1 -1
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{manager-DBUFLDPF.js → manager-DvS9UUnQ.js} +3 -3
- package/dist/plugin-sdk/{reply-z8of-Etj.js → reply-DweB7zO1.js} +5 -5
- package/dist/plugin-sdk/{web-C3pizhFX.js → web-Cy-ESAAi.js} +3 -3
- package/dist/{plugins-C4C9637U.js → plugins-DQYI3Fr-.js} +9 -9
- package/dist/{plugins-cli-XdoAm0EH.js → plugins-cli-BWPgFbN5.js} +4 -4
- package/dist/{plugins-cli-EwQ7OW8w.js → plugins-cli-DUn51mRX.js} +4 -4
- package/dist/{program-HBWz0352.js → program--HNMyKy4.js} +9 -9
- package/dist/{program-context-Dnxa4BRv.js → program-context-Cod6yDP_.js} +18 -18
- package/dist/{prompt-select-styled-QaEE6uFc.js → prompt-select-styled-Cti7IE3R.js} +6 -6
- package/dist/{prompt-select-styled-BPbLHy8u.js → prompt-select-styled-DtLKu00W.js} +6 -6
- package/dist/{provider-auth-helpers-tpyE_YMw.js → provider-auth-helpers-D_KGNp8L.js} +1 -1
- package/dist/{provider-auth-helpers-_5rSLUts.js → provider-auth-helpers-fpKoK5jK.js} +1 -1
- package/dist/{push-apns-CIcS3If1.js → push-apns-CH3elp1k.js} +1 -1
- package/dist/{push-apns-zJAWgDEO.js → push-apns-CQrrwc6g.js} +1 -1
- package/dist/{pw-ai-DMa09vvy.js → pw-ai-DQ6HUvz0.js} +11 -11
- package/dist/{qmd-manager-DdZh9PHs.js → qmd-manager-QHUP-_em.js} +7 -7
- package/dist/{register.agent-brAf6Dmv.js → register.agent-DroApr03.js} +8 -8
- package/dist/{register.agent-DNcdFB4H.js → register.agent-fFMFbM22.js} +7 -7
- package/dist/{register.configure-C76yU3JC.js → register.configure-BtPZM1Ka.js} +8 -8
- package/dist/{register.configure-DoJEj5YT.js → register.configure-M4fpgwpC.js} +8 -8
- package/dist/{register.maintenance-BWsl_CRR.js → register.maintenance-BXR8q1aU.js} +9 -9
- package/dist/{register.maintenance-yNdx8TEW.js → register.maintenance-DrL-aM4j.js} +10 -10
- package/dist/{register.message-CJZ0ZuHF.js → register.message-CTFQJkF_.js} +4 -4
- package/dist/{register.message-syMzQfo-.js → register.message-D0howKVS.js} +4 -4
- package/dist/{register.onboard-D1qJrd_y.js → register.onboard-CYY24Q0L.js} +6 -6
- package/dist/{register.onboard-ihq83ez3.js → register.onboard-WVW2Y_gn.js} +6 -6
- package/dist/{register.setup-GL00UiNA.js → register.setup-CqSDUFnd.js} +6 -6
- package/dist/{register.setup-BGXItvC3.js → register.setup-iZlmSRxV.js} +6 -6
- package/dist/{register.status-health-sessions-87LTzh7r.js → register.status-health-sessions-BzaCiajJ.js} +5 -5
- package/dist/{register.status-health-sessions-CPg2ES9O.js → register.status-health-sessions-CIOzwWs4.js} +5 -5
- package/dist/{register.subclis-CD3QaX57.js → register.subclis-DqWSZePw.js} +9 -9
- package/dist/{registry-DP24za6g.js → registry-CK4e9hn8.js} +17 -17
- package/dist/{replies-CoV8InBa.js → replies-CdijMW_S.js} +3 -3
- package/dist/{reply-D-tI2-6J.js → reply-KplunO6d.js} +4 -4
- package/dist/{reply-prefix-CtL0omgM.js → reply-prefix-XlyuyChD.js} +1 -1
- package/dist/{resolve-route-BVikmvWO.js → resolve-route-CZ-1eqw0.js} +4 -4
- package/dist/{retry-dGG-MbxL.js → retry-Cly39XZB.js} +1 -1
- package/dist/{run-main-CDmsHQjn.js → run-main-DQSNC7Bz.js} +17 -17
- package/dist/{runner-CseBozoP.js → runner-Duym_W6W.js} +9 -9
- package/dist/{send-BK3EV4tO.js → send-BtxXqho0.js} +6 -6
- package/dist/{send-C00dpYCF.js → send-CFMDO5ON.js} +6 -6
- package/dist/{send-i0x7Ywhx.js → send-D0qx7lbT.js} +10 -10
- package/dist/{send-Bh5ssTkU.js → send-Iv1YQSmf.js} +18 -18
- package/dist/{send-DrUqe5-S.js → send-OoNECFaf.js} +7 -7
- package/dist/{server-methods-9BRiIiUB.js → server-methods-DUftn3Ov.js} +7 -7
- package/dist/{server-methods-BaOFruL6.js → server-methods-DrQ0YKEd.js} +7 -7
- package/dist/{server-node-events-DDEX2ugG.js → server-node-events-Y-H3ajHm.js} +4 -4
- package/dist/{server-node-events-CCOXKW9s.js → server-node-events-xkotuI65.js} +4 -4
- package/dist/{session-BFFxC5wi.js → session-wQ18mpJ_.js} +8 -8
- package/dist/{skill-commands-SDwv3aAY.js → skill-commands-CY3SUdWj.js} +9 -9
- package/dist/{skills-o5WVqM4V.js → skills-BFekKL7i.js} +21 -21
- package/dist/{sqlite-6H6Zw1cs.js → sqlite-DRbx2dhW.js} +4 -4
- package/dist/{status-DWYUBGDM.js → status-B9aIJtGe.js} +1 -1
- package/dist/{status-Bhj6pODg.js → status-BCGuORer.js} +3 -3
- package/dist/{status-B_fSdR2z.js → status-CWAE2SU1.js} +1 -1
- package/dist/{status-CHtXaQCL.js → status-D7kph1mn.js} +3 -3
- package/dist/{store-vVE6N2mH.js → store-C0wvOkae.js} +2 -2
- package/dist/{subagent-registry-C-rk8Ynb.js → subagent-registry-BzyCUX_5.js} +4 -4
- package/dist/{subsystem-DgpxyDQ_.js → subsystem-Bs9YvKLa.js} +1 -1
- package/dist/{tables-BIWsCKXJ.js → tables-DuZspiBu.js} +1 -1
- package/dist/{target-errors-DyItGyW9.js → target-errors-Be1SwYlW.js} +2 -2
- package/dist/{thinking-Ni0HF-w6.js → thinking-CdlENGRW.js} +5 -5
- package/dist/{tokens-c_SLAkVb.js → tokens-H1H1LiSQ.js} +1 -1
- package/dist/{tool-images-DBCfXdli.js → tool-images-DXB7tqWi.js} +2 -2
- package/dist/{tool-loop-detection-Bbc9OPFR.js → tool-loop-detection-Cs8_HCsx.js} +3 -3
- package/dist/{update-cli-C7JAgS-C.js → update-cli-BVc8oQP-.js} +10 -10
- package/dist/{update-cli-CEvG4pzB.js → update-cli-DOVRyYox.js} +9 -9
- package/dist/{update-runner-Bq1u14RR.js → update-runner-7Hkf0GNq.js} +1 -1
- package/dist/{update-runner-f9lbrrpe.js → update-runner-Cr8kQmnk.js} +1 -1
- package/dist/{web-BJBlI9ZQ.js → web-CObVdbSM.js} +4 -4
- package/dist/{web-kJbpVasC.js → web-D7epBUOn.js} +2 -2
- package/dist/{web-95LpH1_H.js → web-DZ_j1TLd.js} +57 -57
- package/dist/{web-BzQURzi7.js → web-h2jZVXGI.js} +3 -3
- package/dist/{whatsapp-actions-On9mu-j8.js → whatsapp-actions-Bc0X_rVM.js} +23 -23
- package/dist/{workspace-CbvamIU6.js → workspace-wAaHI8-5.js} +6 -6
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import "./client-LeVQns9-.js";
|
|
|
13
13
|
import "./call-BtGBznKg.js";
|
|
14
14
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import { It as CHANNEL_TARGETS_DESCRIPTION, Lt as CHANNEL_TARGET_DESCRIPTION, O as createOutboundSendDeps, dt as formatTargetDisplay, it as runMessageAction, k as createDefaultDeps, pt as CHANNEL_MESSAGE_ACTION_NAMES } from "./subagent-registry-
|
|
16
|
+
import { It as CHANNEL_TARGETS_DESCRIPTION, Lt as CHANNEL_TARGET_DESCRIPTION, O as createOutboundSendDeps, dt as formatTargetDisplay, it as runMessageAction, k as createDefaultDeps, pt as CHANNEL_MESSAGE_ACTION_NAMES } from "./subagent-registry-BzyCUX_5.js";
|
|
17
17
|
import "./sessions-CxYrM08j.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import { t as getChannelPlugin } from "./plugins-CwSlLxM8.js";
|
|
@@ -51,8 +51,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
51
51
|
import "./thinking-8sKPnzpp.js";
|
|
52
52
|
import "./models-config-uzCJJXjn.js";
|
|
53
53
|
import "./reply-prefix-BUN71nd5.js";
|
|
54
|
-
import "./memory-cli-
|
|
55
|
-
import "./manager-
|
|
54
|
+
import "./memory-cli-BMc7fnhU.js";
|
|
55
|
+
import "./manager-D5M31nB7.js";
|
|
56
56
|
import "./gemini-auth-DuGczhcu.js";
|
|
57
57
|
import "./sqlite-CQGamAhm.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
@@ -97,7 +97,7 @@ import "./onboard-helpers-DbYWxIDL.js";
|
|
|
97
97
|
import "./prompt-style-DwCXob2h.js";
|
|
98
98
|
import "./pairing-labels-CT-l8uxC.js";
|
|
99
99
|
import "./pi-tools.policy-BE-FJBir.js";
|
|
100
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
100
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-D7bCDbYz.js";
|
|
101
101
|
import { t as collectOption } from "./helpers-ITexi1_a.js";
|
|
102
102
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
103
103
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, O as danger, P as setVerbose, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { E as runMessageAction, Rt as createOutboundSendDeps, Vt as createDefaultDeps, j as CHANNEL_MESSAGE_ACTION_NAMES, k as formatTargetDisplay, ot as CHANNEL_TARGETS_DESCRIPTION, st as CHANNEL_TARGET_DESCRIPTION } from "./reply-
|
|
4
|
+
import { E as runMessageAction, Rt as createOutboundSendDeps, Vt as createDefaultDeps, j as CHANNEL_MESSAGE_ACTION_NAMES, k as formatTargetDisplay, ot as CHANNEL_TARGETS_DESCRIPTION, st as CHANNEL_TARGET_DESCRIPTION } from "./reply-KplunO6d.js";
|
|
5
5
|
import { o as getChatChannelMeta, u as normalizeChatChannelId } from "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -61,8 +61,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
61
61
|
import "./send-Bdb6djZT.js";
|
|
62
62
|
import "./model-BqEwE-J2.js";
|
|
63
63
|
import "./reply-prefix-CE2YmmsD.js";
|
|
64
|
-
import "./memory-cli-
|
|
65
|
-
import "./manager-
|
|
64
|
+
import "./memory-cli-B4uTQIEI.js";
|
|
65
|
+
import "./manager-Bjj7y8zp.js";
|
|
66
66
|
import "./retry-BoS4e4X_.js";
|
|
67
67
|
import "./target-errors-7AvoVa10.js";
|
|
68
68
|
import "./chunk-1dhPX1NK.js";
|
|
@@ -102,7 +102,7 @@ import "./control-service-su7ltHXJ.js";
|
|
|
102
102
|
import "./stagger-BUClb97_.js";
|
|
103
103
|
import "./channel-selection-DuWs0Aak.js";
|
|
104
104
|
import { t as collectOption } from "./helpers-By2rxBQ5.js";
|
|
105
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
105
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-BDQsWM3n.js";
|
|
106
106
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
107
107
|
|
|
108
108
|
//#region src/infra/outbound/format.ts
|
|
@@ -13,7 +13,7 @@ import "./client-LeVQns9-.js";
|
|
|
13
13
|
import "./call-BtGBznKg.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-BzyCUX_5.js";
|
|
17
17
|
import "./sessions-CxYrM08j.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -51,8 +51,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
51
51
|
import "./thinking-8sKPnzpp.js";
|
|
52
52
|
import "./models-config-uzCJJXjn.js";
|
|
53
53
|
import "./reply-prefix-BUN71nd5.js";
|
|
54
|
-
import "./memory-cli-
|
|
55
|
-
import "./manager-
|
|
54
|
+
import "./memory-cli-BMc7fnhU.js";
|
|
55
|
+
import "./manager-D5M31nB7.js";
|
|
56
56
|
import "./gemini-auth-DuGczhcu.js";
|
|
57
57
|
import "./sqlite-CQGamAhm.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
@@ -103,8 +103,8 @@ import "./daemon-runtime-BPCBn3Wj.js";
|
|
|
103
103
|
import "./runtime-guard-D7waq_Ho.js";
|
|
104
104
|
import "./systemd-DlMdyFDY.js";
|
|
105
105
|
import "./service-Cm9j9WzQ.js";
|
|
106
|
-
import "./health-
|
|
107
|
-
import "./onboarding-
|
|
106
|
+
import "./health-D9OIJnBc.js";
|
|
107
|
+
import "./onboarding-BXY7iYy4.js";
|
|
108
108
|
import "./shared-BzKZdTyX.js";
|
|
109
109
|
import "./auth-token-BM4dPOyA.js";
|
|
110
110
|
import "./logging-BGewRZy0.js";
|
|
@@ -113,7 +113,7 @@ import "./openai-model-default-CB7qbr0q.js";
|
|
|
113
113
|
import "./model-picker-DHdkYe4w.js";
|
|
114
114
|
import "./systemd-linger-DA_LW52P.js";
|
|
115
115
|
import "./onboard-custom-B5MTxDaj.js";
|
|
116
|
-
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-
|
|
116
|
+
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-ZEFOKEKv.js";
|
|
117
117
|
|
|
118
118
|
//#region src/cli/program/register.onboard.ts
|
|
119
119
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-KplunO6d.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -61,8 +61,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
61
61
|
import "./send-Bdb6djZT.js";
|
|
62
62
|
import "./model-BqEwE-J2.js";
|
|
63
63
|
import "./reply-prefix-CE2YmmsD.js";
|
|
64
|
-
import "./memory-cli-
|
|
65
|
-
import "./manager-
|
|
64
|
+
import "./memory-cli-B4uTQIEI.js";
|
|
65
|
+
import "./manager-Bjj7y8zp.js";
|
|
66
66
|
import "./retry-BoS4e4X_.js";
|
|
67
67
|
import "./target-errors-7AvoVa10.js";
|
|
68
68
|
import "./chunk-1dhPX1NK.js";
|
|
@@ -107,8 +107,8 @@ import "./clack-prompter-B7pN13HV.js";
|
|
|
107
107
|
import "./daemon-runtime-CNFxAJWo.js";
|
|
108
108
|
import "./systemd-riq8uNJQ.js";
|
|
109
109
|
import "./service-Cl74hx8J.js";
|
|
110
|
-
import "./health-
|
|
111
|
-
import "./onboarding-
|
|
110
|
+
import "./health-CFyfITuA.js";
|
|
111
|
+
import "./onboarding-CnpDWuV7.js";
|
|
112
112
|
import "./shared-B811_S8D.js";
|
|
113
113
|
import "./auth-token-BszpreVL.js";
|
|
114
114
|
import "./logging-BzzwiKjv.js";
|
|
@@ -117,7 +117,7 @@ import "./openai-model-default-VfhQkucT.js";
|
|
|
117
117
|
import "./model-picker-kP9-zhYa.js";
|
|
118
118
|
import "./systemd-linger-aQ75ZlXY.js";
|
|
119
119
|
import "./onboard-custom-CRCl78Cb.js";
|
|
120
|
-
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-
|
|
120
|
+
import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-CLivT5b8.js";
|
|
121
121
|
|
|
122
122
|
//#region src/cli/program/register.onboard.ts
|
|
123
123
|
function resolveInstallDaemonFlag(command, opts) {
|
|
@@ -13,7 +13,7 @@ import "./client-LeVQns9-.js";
|
|
|
13
13
|
import "./call-BtGBznKg.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-BzyCUX_5.js";
|
|
17
17
|
import "./sessions-CxYrM08j.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -51,8 +51,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
51
51
|
import "./thinking-8sKPnzpp.js";
|
|
52
52
|
import "./models-config-uzCJJXjn.js";
|
|
53
53
|
import "./reply-prefix-BUN71nd5.js";
|
|
54
|
-
import "./memory-cli-
|
|
55
|
-
import "./manager-
|
|
54
|
+
import "./memory-cli-BMc7fnhU.js";
|
|
55
|
+
import "./manager-D5M31nB7.js";
|
|
56
56
|
import "./gemini-auth-DuGczhcu.js";
|
|
57
57
|
import "./sqlite-CQGamAhm.js";
|
|
58
58
|
import "./retry-C4Q_VPOo.js";
|
|
@@ -104,8 +104,8 @@ import "./daemon-runtime-BPCBn3Wj.js";
|
|
|
104
104
|
import "./runtime-guard-D7waq_Ho.js";
|
|
105
105
|
import "./systemd-DlMdyFDY.js";
|
|
106
106
|
import "./service-Cm9j9WzQ.js";
|
|
107
|
-
import "./health-
|
|
108
|
-
import "./onboarding-
|
|
107
|
+
import "./health-D9OIJnBc.js";
|
|
108
|
+
import "./onboarding-BXY7iYy4.js";
|
|
109
109
|
import "./shared-BzKZdTyX.js";
|
|
110
110
|
import "./auth-token-BM4dPOyA.js";
|
|
111
111
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BGewRZy0.js";
|
|
@@ -113,7 +113,7 @@ import "./openai-model-default-CB7qbr0q.js";
|
|
|
113
113
|
import "./model-picker-DHdkYe4w.js";
|
|
114
114
|
import "./systemd-linger-DA_LW52P.js";
|
|
115
115
|
import "./onboard-custom-B5MTxDaj.js";
|
|
116
|
-
import { t as onboardCommand } from "./onboard-
|
|
116
|
+
import { t as onboardCommand } from "./onboard-ZEFOKEKv.js";
|
|
117
117
|
import JSON5 from "json5";
|
|
118
118
|
import fs from "node:fs/promises";
|
|
119
119
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-KplunO6d.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -61,8 +61,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
61
61
|
import "./send-Bdb6djZT.js";
|
|
62
62
|
import "./model-BqEwE-J2.js";
|
|
63
63
|
import "./reply-prefix-CE2YmmsD.js";
|
|
64
|
-
import "./memory-cli-
|
|
65
|
-
import "./manager-
|
|
64
|
+
import "./memory-cli-B4uTQIEI.js";
|
|
65
|
+
import "./manager-Bjj7y8zp.js";
|
|
66
66
|
import "./retry-BoS4e4X_.js";
|
|
67
67
|
import "./target-errors-7AvoVa10.js";
|
|
68
68
|
import "./chunk-1dhPX1NK.js";
|
|
@@ -108,8 +108,8 @@ import "./clack-prompter-B7pN13HV.js";
|
|
|
108
108
|
import "./daemon-runtime-CNFxAJWo.js";
|
|
109
109
|
import "./systemd-riq8uNJQ.js";
|
|
110
110
|
import "./service-Cl74hx8J.js";
|
|
111
|
-
import "./health-
|
|
112
|
-
import "./onboarding-
|
|
111
|
+
import "./health-CFyfITuA.js";
|
|
112
|
+
import "./onboarding-CnpDWuV7.js";
|
|
113
113
|
import "./shared-B811_S8D.js";
|
|
114
114
|
import "./auth-token-BszpreVL.js";
|
|
115
115
|
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BzzwiKjv.js";
|
|
@@ -117,7 +117,7 @@ import "./openai-model-default-VfhQkucT.js";
|
|
|
117
117
|
import "./model-picker-kP9-zhYa.js";
|
|
118
118
|
import "./systemd-linger-aQ75ZlXY.js";
|
|
119
119
|
import "./onboard-custom-CRCl78Cb.js";
|
|
120
|
-
import { t as onboardCommand } from "./onboard-
|
|
120
|
+
import { t as onboardCommand } from "./onboard-CLivT5b8.js";
|
|
121
121
|
import JSON5 from "json5";
|
|
122
122
|
import fs from "node:fs/promises";
|
|
123
123
|
|
|
@@ -14,7 +14,7 @@ import "./client-LeVQns9-.js";
|
|
|
14
14
|
import "./call-BtGBznKg.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-BzyCUX_5.js";
|
|
18
18
|
import "./sessions-CxYrM08j.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -52,8 +52,8 @@ import "./tool-images-CVLISeRT.js";
|
|
|
52
52
|
import "./thinking-8sKPnzpp.js";
|
|
53
53
|
import "./models-config-uzCJJXjn.js";
|
|
54
54
|
import "./reply-prefix-BUN71nd5.js";
|
|
55
|
-
import "./memory-cli-
|
|
56
|
-
import "./manager-
|
|
55
|
+
import "./memory-cli-BMc7fnhU.js";
|
|
56
|
+
import "./manager-D5M31nB7.js";
|
|
57
57
|
import "./gemini-auth-DuGczhcu.js";
|
|
58
58
|
import "./sqlite-CQGamAhm.js";
|
|
59
59
|
import "./retry-C4Q_VPOo.js";
|
|
@@ -108,8 +108,8 @@ import "./service-Cm9j9WzQ.js";
|
|
|
108
108
|
import "./diagnostics-CS1ov_hH.js";
|
|
109
109
|
import "./table-D01d2GuY.js";
|
|
110
110
|
import "./audit-DqA2sW9G.js";
|
|
111
|
-
import { n as statusCommand } from "./status-
|
|
112
|
-
import { r as healthCommand } from "./health-
|
|
111
|
+
import { n as statusCommand } from "./status-BCGuORer.js";
|
|
112
|
+
import { r as healthCommand } from "./health-D9OIJnBc.js";
|
|
113
113
|
import "./update-check-ZdimP1aU.js";
|
|
114
114
|
import "./dm-policy-shared-_6BG5Pmb.js";
|
|
115
115
|
import "./node-service-fcZExd22.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, P as setVerbose, k as info, z as isRich } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { T as resolveSessionModelRef, dr as lookupContextTokens, v as classifySessionKey } from "./reply-
|
|
4
|
+
import { T as resolveSessionModelRef, dr as lookupContextTokens, v as classifySessionKey } from "./reply-KplunO6d.js";
|
|
5
5
|
import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -62,8 +62,8 @@ import "./diagnostic-session-state-CUslJyKP.js";
|
|
|
62
62
|
import "./send-Bdb6djZT.js";
|
|
63
63
|
import "./model-BqEwE-J2.js";
|
|
64
64
|
import "./reply-prefix-CE2YmmsD.js";
|
|
65
|
-
import "./memory-cli-
|
|
66
|
-
import "./manager-
|
|
65
|
+
import "./memory-cli-B4uTQIEI.js";
|
|
66
|
+
import "./manager-Bjj7y8zp.js";
|
|
67
67
|
import "./retry-BoS4e4X_.js";
|
|
68
68
|
import "./target-errors-7AvoVa10.js";
|
|
69
69
|
import "./chunk-1dhPX1NK.js";
|
|
@@ -114,8 +114,8 @@ import "./service-Cl74hx8J.js";
|
|
|
114
114
|
import "./diagnostics-BAMlsVVX.js";
|
|
115
115
|
import "./table-BTgkRafz.js";
|
|
116
116
|
import "./audit-D8C59yOo.js";
|
|
117
|
-
import { t as statusCommand } from "./status-
|
|
118
|
-
import { r as healthCommand } from "./health-
|
|
117
|
+
import { t as statusCommand } from "./status-D7kph1mn.js";
|
|
118
|
+
import { r as healthCommand } from "./health-CFyfITuA.js";
|
|
119
119
|
import "./update-check-CtckACbb.js";
|
|
120
120
|
import "./dm-policy-shared-B7mF98WG.js";
|
|
121
121
|
import "./node-service-Cxz4e-Qd.js";
|
|
@@ -49,7 +49,7 @@ const entries = [
|
|
|
49
49
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
50
50
|
hasSubcommands: true,
|
|
51
51
|
register: async (program) => {
|
|
52
|
-
(await import("./gateway-cli-
|
|
52
|
+
(await import("./gateway-cli-BQvidd_s.js")).registerGatewayCli(program);
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
{
|
|
@@ -81,7 +81,7 @@ const entries = [
|
|
|
81
81
|
description: "Discover, scan, and configure models",
|
|
82
82
|
hasSubcommands: true,
|
|
83
83
|
register: async (program) => {
|
|
84
|
-
(await import("./models-cli-
|
|
84
|
+
(await import("./models-cli-CwYuAB8g.js")).registerModelsCli(program);
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
{
|
|
@@ -161,7 +161,7 @@ const entries = [
|
|
|
161
161
|
description: "Manage internal agent hooks",
|
|
162
162
|
hasSubcommands: true,
|
|
163
163
|
register: async (program) => {
|
|
164
|
-
(await import("./hooks-cli-
|
|
164
|
+
(await import("./hooks-cli-DZ9SSA1i.js")).registerHooksCli(program);
|
|
165
165
|
}
|
|
166
166
|
},
|
|
167
167
|
{
|
|
@@ -185,7 +185,7 @@ const entries = [
|
|
|
185
185
|
description: "Secure DM pairing (approve inbound requests)",
|
|
186
186
|
hasSubcommands: true,
|
|
187
187
|
register: async (program) => {
|
|
188
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
188
|
+
const { registerPluginCliCommands } = await import("./cli-BUYtzqrh.js");
|
|
189
189
|
registerPluginCliCommands(program, await loadConfig());
|
|
190
190
|
(await import("./pairing-cli-5jHV3t3o.js")).registerPairingCli(program);
|
|
191
191
|
}
|
|
@@ -195,8 +195,8 @@ const entries = [
|
|
|
195
195
|
description: "Manage Symi plugins and extensions",
|
|
196
196
|
hasSubcommands: true,
|
|
197
197
|
register: async (program) => {
|
|
198
|
-
(await import("./plugins-cli-
|
|
199
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
198
|
+
(await import("./plugins-cli-DUn51mRX.js")).registerPluginsCli(program);
|
|
199
|
+
const { registerPluginCliCommands } = await import("./cli-BUYtzqrh.js");
|
|
200
200
|
registerPluginCliCommands(program, await loadConfig());
|
|
201
201
|
}
|
|
202
202
|
},
|
|
@@ -205,7 +205,7 @@ const entries = [
|
|
|
205
205
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
206
206
|
hasSubcommands: true,
|
|
207
207
|
register: async (program) => {
|
|
208
|
-
(await import("./channels-cli-
|
|
208
|
+
(await import("./channels-cli-Tcx1ltrU.js")).registerChannelsCli(program);
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
{
|
|
@@ -237,7 +237,7 @@ const entries = [
|
|
|
237
237
|
description: "Update Symi and inspect update channel status",
|
|
238
238
|
hasSubcommands: true,
|
|
239
239
|
register: async (program) => {
|
|
240
|
-
(await import("./update-cli-
|
|
240
|
+
(await import("./update-cli-BVc8oQP-.js")).registerUpdateCli(program);
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
243
|
{
|
|
@@ -245,7 +245,7 @@ const entries = [
|
|
|
245
245
|
description: "Generate shell completion script",
|
|
246
246
|
hasSubcommands: false,
|
|
247
247
|
register: async (program) => {
|
|
248
|
-
(await import("./completion-cli-
|
|
248
|
+
(await import("./completion-cli-A03jNimw.js").then((n) => n.n)).registerCompletionCli(program);
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
251
|
];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as resolveOAuthDir, c as expandHomePrefix, l as resolveEffectiveHomeDir, n as resolveConfigPath, u as resolveRequiredHomeDir } from "./paths-
|
|
1
|
+
import { a as resolveOAuthDir, c as expandHomePrefix, l as resolveEffectiveHomeDir, n as resolveConfigPath, u as resolveRequiredHomeDir } from "./paths-Cce4PUkG.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
6
|
import JSON5 from "json5";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
@@ -12,9 +12,9 @@ function isNodeErrorWithCode(err, code) {
|
|
|
12
12
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
13
13
|
}
|
|
14
14
|
function resolvePreferredSymiTmpDir(options = {}) {
|
|
15
|
-
const accessSync = options.accessSync ??
|
|
16
|
-
const lstatSync = options.lstatSync ??
|
|
17
|
-
const mkdirSync = options.mkdirSync ??
|
|
15
|
+
const accessSync = options.accessSync ?? fs.accessSync;
|
|
16
|
+
const lstatSync = options.lstatSync ?? fs.lstatSync;
|
|
17
|
+
const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
|
|
18
18
|
const getuid = options.getuid ?? (() => {
|
|
19
19
|
try {
|
|
20
20
|
return typeof process.getuid === "function" ? process.getuid() : void 0;
|
|
@@ -38,14 +38,14 @@ function resolvePreferredSymiTmpDir(options = {}) {
|
|
|
38
38
|
try {
|
|
39
39
|
const preferred = lstatSync(POSIX_SYMI_TMP_DIR);
|
|
40
40
|
if (!preferred.isDirectory() || preferred.isSymbolicLink()) return fallback();
|
|
41
|
-
accessSync(POSIX_SYMI_TMP_DIR,
|
|
41
|
+
accessSync(POSIX_SYMI_TMP_DIR, fs.constants.W_OK | fs.constants.X_OK);
|
|
42
42
|
if (!isSecureDirForUser(preferred)) return fallback();
|
|
43
43
|
return POSIX_SYMI_TMP_DIR;
|
|
44
44
|
} catch (err) {
|
|
45
45
|
if (!isNodeErrorWithCode(err, "ENOENT")) return fallback();
|
|
46
46
|
}
|
|
47
47
|
try {
|
|
48
|
-
accessSync("/tmp",
|
|
48
|
+
accessSync("/tmp", fs.constants.W_OK | fs.constants.X_OK);
|
|
49
49
|
mkdirSync(POSIX_SYMI_TMP_DIR, {
|
|
50
50
|
recursive: true,
|
|
51
51
|
mode: 448
|
|
@@ -68,8 +68,8 @@ function resolvePreferredSymiTmpDir(options = {}) {
|
|
|
68
68
|
function readLoggingConfig() {
|
|
69
69
|
const configPath = resolveConfigPath();
|
|
70
70
|
try {
|
|
71
|
-
if (!
|
|
72
|
-
const raw =
|
|
71
|
+
if (!fs.existsSync(configPath)) return;
|
|
72
|
+
const raw = fs.readFileSync(configPath, "utf-8");
|
|
73
73
|
const logging = JSON5.parse(raw)?.logging;
|
|
74
74
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
75
75
|
return logging;
|
|
@@ -172,7 +172,7 @@ function isFileLogLevelEnabled(level) {
|
|
|
172
172
|
return levelToMinLevel(level) <= levelToMinLevel(settings.level);
|
|
173
173
|
}
|
|
174
174
|
function buildLogger(settings) {
|
|
175
|
-
|
|
175
|
+
fs.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
176
176
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
177
177
|
const logger = new Logger({
|
|
178
178
|
name: "symi",
|
|
@@ -186,7 +186,7 @@ function buildLogger(settings) {
|
|
|
186
186
|
...logObj,
|
|
187
187
|
time
|
|
188
188
|
});
|
|
189
|
-
|
|
189
|
+
fs.appendFileSync(settings.file, `${line}\n`, { encoding: "utf8" });
|
|
190
190
|
} catch {}
|
|
191
191
|
});
|
|
192
192
|
for (const transport of externalTransports) attachExternalTransport(logger, transport);
|
|
@@ -238,14 +238,14 @@ function isRollingPath(file) {
|
|
|
238
238
|
}
|
|
239
239
|
function pruneOldRollingLogs(dir) {
|
|
240
240
|
try {
|
|
241
|
-
const entries =
|
|
241
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
242
242
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
243
243
|
for (const entry of entries) {
|
|
244
244
|
if (!entry.isFile()) continue;
|
|
245
245
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
246
246
|
const fullPath = path.join(dir, entry.name);
|
|
247
247
|
try {
|
|
248
|
-
if (
|
|
248
|
+
if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
|
|
249
249
|
} catch {}
|
|
250
250
|
}
|
|
251
251
|
} catch {}
|
|
@@ -326,14 +326,14 @@ function isPlainObject(value) {
|
|
|
326
326
|
//#endregion
|
|
327
327
|
//#region src/utils.ts
|
|
328
328
|
async function ensureDir(dir) {
|
|
329
|
-
await
|
|
329
|
+
await fs.promises.mkdir(dir, { recursive: true });
|
|
330
330
|
}
|
|
331
331
|
/**
|
|
332
332
|
* Check if a file or directory exists at the given path.
|
|
333
333
|
*/
|
|
334
334
|
async function pathExists(targetPath) {
|
|
335
335
|
try {
|
|
336
|
-
await
|
|
336
|
+
await fs.promises.access(targetPath);
|
|
337
337
|
return true;
|
|
338
338
|
} catch {
|
|
339
339
|
return false;
|
|
@@ -416,7 +416,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
416
416
|
for (const dir of mappingDirs) {
|
|
417
417
|
const mappingPath = path.join(dir, mappingFilename);
|
|
418
418
|
try {
|
|
419
|
-
const data =
|
|
419
|
+
const data = fs.readFileSync(mappingPath, "utf8");
|
|
420
420
|
const phone = JSON.parse(data);
|
|
421
421
|
if (phone === null || phone === void 0) continue;
|
|
422
422
|
return normalizeE164(String(phone));
|
|
@@ -500,7 +500,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
500
500
|
if (override) return resolveUserPath(override);
|
|
501
501
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".symi");
|
|
502
502
|
try {
|
|
503
|
-
if (
|
|
503
|
+
if (fs.existsSync(newDir)) return newDir;
|
|
504
504
|
} catch {}
|
|
505
505
|
return newDir;
|
|
506
506
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
3
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
2
|
+
import { a as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-H1H1LiSQ.js";
|
|
3
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-BtxXqho0.js";
|
|
4
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-BW5f05BR.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|
|
@@ -60,8 +60,8 @@ import { r as getDiagnosticSessionState } from "./diagnostic-session-state-CUslJ
|
|
|
60
60
|
import { A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as toLocationContext, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as parseTelegramTarget, K as withTelegramApiErrorLogging, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as formatLocationText, Y as resolveTelegramTargetChatType, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, o as sendMessageTelegram, p as markdownToTelegramChunks, q as isVoiceCompatibleAudio, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-Bdb6djZT.js";
|
|
61
61
|
import { a as buildModelAliasLines, n as resolveModel } from "./model-BqEwE-J2.js";
|
|
62
62
|
import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-CE2YmmsD.js";
|
|
63
|
-
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-
|
|
64
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
63
|
+
import { i as resolveMemoryBackendConfig, n as registerMemoryCli, r as getMemorySearchManager } from "./memory-cli-B4uTQIEI.js";
|
|
64
|
+
import { n as resolveMemorySearchConfig } from "./manager-Bjj7y8zp.js";
|
|
65
65
|
import { n as retryAsync } from "./retry-BoS4e4X_.js";
|
|
66
66
|
import { c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-7AvoVa10.js";
|
|
67
67
|
import { a as chunkText, c as resolveChunkMode, d as isSafeFenceBreak, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as findFenceSpanAt } from "./chunk-1dhPX1NK.js";
|
|
@@ -22291,7 +22291,7 @@ async function runWithImageModelFallback(params) {
|
|
|
22291
22291
|
function createDefaultDeps() {
|
|
22292
22292
|
return {
|
|
22293
22293
|
sendMessageWhatsApp: async (...args) => {
|
|
22294
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
22294
|
+
const { sendMessageWhatsApp } = await import("./web-CObVdbSM.js");
|
|
22295
22295
|
return await sendMessageWhatsApp(...args);
|
|
22296
22296
|
},
|
|
22297
22297
|
sendMessageTelegram: async (...args) => {
|
|
@@ -40851,7 +40851,7 @@ function loadWebLoginQr() {
|
|
|
40851
40851
|
return webLoginQrPromise;
|
|
40852
40852
|
}
|
|
40853
40853
|
function loadWebChannel() {
|
|
40854
|
-
webChannelPromise ??= import("./web-
|
|
40854
|
+
webChannelPromise ??= import("./web-CObVdbSM.js");
|
|
40855
40855
|
return webChannelPromise;
|
|
40856
40856
|
}
|
|
40857
40857
|
function loadWhatsAppActions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-BxoUQqgM.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/identity.ts
|
|
5
5
|
const DEFAULT_ACK_REACTION = "👀";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, i as buildAgentPeerSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import { Z as shouldLogVerbose } from "./registry-
|
|
4
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { y as logDebug } from "./workspace-
|
|
3
|
+
import { Z as shouldLogVerbose } from "./registry-CK4e9hn8.js";
|
|
4
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-BxoUQqgM.js";
|
|
5
|
+
import { y as logDebug } from "./workspace-wAaHI8-5.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
7
|
-
import { t as listBindings } from "./bindings-
|
|
7
|
+
import { t as listBindings } from "./bindings-B7Ke6LJi.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|