@symerian/symi 2.4.0 → 2.4.1
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-tNElYrCH.js → accounts-CI6zQTJj.js} +14 -14
- package/dist/{accounts-qtxJ-6em.js → accounts-CJR8j_Kq.js} +1 -1
- package/dist/{accounts-CWktKM8a.js → accounts-ChTFYj8Q.js} +1 -1
- package/dist/{active-listener-C9r8ZB9m.js → active-listener-D6sXIjAg.js} +1 -1
- package/dist/{agent-scope-BxoUQqgM.js → agent-scope-Bw1Ed8W9.js} +3 -3
- package/dist/{agents-CI3xxYc_.js → agents-BrpbYYTb.js} +4 -4
- package/dist/{agents.config-DCE3RGr9.js → agents.config-Bf8u_0ts.js} +1 -1
- package/dist/{agents.config-DTUAM1AG.js → agents.config-j4SWyB6K.js} +1 -1
- package/dist/{audio-preflight-O3ASWbaG.js → audio-preflight-BkIfnmpi.js} +29 -29
- package/dist/{auth-choice-IiIysHGO.js → auth-choice-BYB9fJiu.js} +1 -1
- package/dist/{auth-choice-DuQwRfJc.js → auth-choice-DlrjQI-v.js} +1 -1
- package/dist/{banner-xhDZu_ZJ.js → banner-DRJJmkv1.js} +1 -1
- package/dist/{bindings-B7Ke6LJi.js → bindings-BU2hsBd9.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-CsM_hJ_s.js → channel-activity-C9-gaquj.js} +1 -1
- package/dist/{channel-options-D3gGVwBd.js → channel-options-BQz0F4El.js} +1 -1
- package/dist/{channel-options-Dvxd7eJY.js → channel-options-CxSIp3x-.js} +1 -1
- package/dist/{channel-web-a5tX1YI3.js → channel-web-BY4lhNxW.js} +1 -1
- package/dist/{channels-cli-C9wBYmDe.js → channels-cli--rkhLJvR.js} +4 -4
- package/dist/{channels-cli-BLUkl5Li.js → channels-cli-B5Nj_nHr.js} +4 -4
- package/dist/{chrome-BFekevcE.js → chrome-CxSAp8x3.js} +20 -20
- package/dist/{chunk-BW5f05BR.js → chunk-ClbN9Pqy.js} +1 -1
- package/dist/{cli-Cw45F0yJ.js → cli-CATf6JAq.js} +1 -1
- package/dist/{cli-CaEE46xi.js → cli-Ds6poYQ6.js} +1 -1
- package/dist/{command-format-BaxDnULz.js → command-format-UKHV-j0K.js} +1 -1
- package/dist/{command-registry-ea9SD1eA.js → command-registry-DXt0PsFy.js} +9 -9
- package/dist/{commands-registry-D7CTCQPm.js → commands-registry-VSmULp-g.js} +4 -4
- package/dist/{completion-cli-CMJmUQbI.js → completion-cli-BsSDzZNA.js} +1 -1
- package/dist/{completion-cli-DVkiEAEA.js → completion-cli-CPMOXTf2.js} +2 -2
- package/dist/{config-cli-B2d28_hb.js → config-cli-B_KCvdli.js} +1 -1
- package/dist/{config-cli-VIg0PSyq.js → config-cli-C_GarUko.js} +1 -1
- package/dist/{config-DRbjHIwD.js → config-eEaJddXj.js} +12 -12
- package/dist/{configure-C_TVBt76.js → configure-CM-z8YCS.js} +3 -3
- package/dist/{configure-D-3FiJbK.js → configure-vfmJApU8.js} +3 -3
- package/dist/{deliver-CvCK5Mm9.js → deliver-BA7ZN3iM.js} +20 -20
- package/dist/{diagnostic-CI0kRQkt.js → diagnostic-C3nsWaw3.js} +1 -1
- package/dist/{doctor-completion-CJHJYIwQ.js → doctor-completion-8qbLmeX0.js} +1 -1
- package/dist/{doctor-completion-DeRX6gkI.js → doctor-completion-Dnxn_-ov.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{frontmatter-C_bv_0P8.js → frontmatter-DPlG6yha.js} +2 -2
- package/dist/{gateway-cli-DiDJ6Z2d.js → gateway-cli-DKDpOBp-.js} +9 -9
- package/dist/{gateway-cli-BDDHBfYP.js → gateway-cli-XIsXoJZ3.js} +9 -9
- package/dist/{gemini-auth-CdSPHuLl.js → gemini-auth-CF48hUR9.js} +1 -1
- package/dist/{github-copilot-token-C_qUP7p5.js → github-copilot-token-DJqsJ2-r.js} +7 -7
- package/dist/{glass-ui-ws-Bj1IuJXt.js → glass-ui-ws-Be_AOhp7.js} +7 -7
- package/dist/{glass-ui-ws-rGIAkViC.js → glass-ui-ws-Z_wtGa_A.js} +7 -7
- package/dist/{health-CypF_2ZD.js → health-BBGgp_dC.js} +1 -1
- package/dist/{health-Bst5HnLF.js → health-BmaWws9G.js} +1 -1
- package/dist/{hooks-cli-CfsqqxPX.js → hooks-cli-C5eV9sxP.js} +2 -2
- package/dist/{hooks-cli-CDMcqTy4.js → hooks-cli-W_aoP9nb.js} +2 -2
- package/dist/{image-B0wGflxA.js → image-BGmVDkkw.js} +4 -4
- package/dist/{image-ops-CvJzsyvE.js → image-ops-S8-8dAhx.js} +1 -1
- package/dist/index.js +6 -6
- package/dist/{ir-DccrnjsE.js → ir-CbFUkv_T.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-DMwIh5cS.js → local-roots-C7OCYACU.js} +5 -5
- package/dist/{login-CwCoxapk.js → login-B8uiUAnV.js} +7 -7
- package/dist/{login-qr-Batf3PT5.js → login-qr-CIZk8uKX.js} +12 -12
- package/dist/{manager-D_LwXbc6.js → manager-BoLr3xR_.js} +13 -13
- package/dist/{manifest-registry-D0IQ3WuX.js → manifest-registry-CneMHk0N.js} +19 -19
- package/dist/{markdown-tables-iMQQZu4Q.js → markdown-tables-DSHvnTLx.js} +1 -1
- package/dist/{message-channel-Dz5lr5b0.js → message-channel-DbsRltF2.js} +1 -1
- package/dist/{model-auth-DK43VicI.js → model-auth-CwOuTuXl.js} +9 -9
- package/dist/{models-ZEOGlFx7.js → models-COaQWNz5.js} +2 -2
- package/dist/{models-cli-BM1QyeXr.js → models-cli-DH17yK8M.js} +3 -3
- package/dist/{models-cli-BwOQhZ_c.js → models-cli-DeG1qheS.js} +2 -2
- package/dist/{onboard-CU-pntZD.js → onboard-CXOUIg28.js} +2 -2
- package/dist/{onboard-DQ34giB5.js → onboard-DBeHwdks.js} +2 -2
- package/dist/{onboard-channels-g5cvwJpx.js → onboard-channels-BCUkNB26.js} +1 -1
- package/dist/{onboard-channels-BOBxxhHX.js → onboard-channels-D93AAHMd.js} +1 -1
- package/dist/{onboarding-CXWUjdM5.js → onboarding-C58wjONa.js} +3 -3
- package/dist/{onboarding-DWs6tHZ9.js → onboarding-Dfjn2-9q.js} +3 -3
- package/dist/{onboarding.finalize-CAYf88mf.js → onboarding.finalize-7r1HYXWd.js} +6 -6
- package/dist/{onboarding.finalize-vupGASMK.js → onboarding.finalize-DGD56sXW.js} +5 -5
- package/dist/{outbound-attachment-DjNDa3zn.js → outbound-attachment-Co2diKdP.js} +2 -2
- package/dist/{outbound-D4fN_ZlE.js → outbound-opDNxv-l.js} +7 -7
- package/dist/{paths-DLyHUt31.js → paths-Cb87-LzP.js} +1 -1
- package/dist/{paths-Cce4PUkG.js → paths-CySxpNhH.js} +5 -5
- package/dist/{pi-auth-json-0SYBFZTt.js → pi-auth-json-DPWPoruO.js} +8 -8
- package/dist/{pi-embedded-CJsSOG2j.js → pi-embedded-B6uRrG1f.js} +254 -162
- package/dist/{pi-embedded-DwbQz0MC.js → pi-embedded-CAJ6egA1.js} +94 -2
- package/dist/{pi-embedded-helpers-DLFjnVBb.js → pi-embedded-helpers-DEEaCvEp.js} +52 -52
- package/dist/{plugin-registry-CZeHSx_c.js → plugin-registry-C0iHnZ7j.js} +1 -1
- package/dist/{plugin-registry-BDpdOTei.js → plugin-registry-D_BAH1V5.js} +1 -1
- package/dist/plugin-sdk/agents/pi-embedded-runner/extra-params.d.ts +6 -0
- package/dist/plugin-sdk/agents/stream-monitor.d.ts +62 -0
- package/dist/plugin-sdk/{channel-web-uUypcT9Q.js → channel-web-ilY3YUmF.js} +1 -1
- package/dist/plugin-sdk/index.js +2 -2
- package/dist/plugin-sdk/{reply-DTKTuCrn.js → reply-CSgeVqcV.js} +94 -2
- package/dist/plugin-sdk/{web-Dh6Youzv.js → web-BVg5EjiY.js} +2 -2
- package/dist/{plugins-DQYI3Fr-.js → plugins-C4C9637U.js} +9 -9
- package/dist/{plugins-cli-CCQ3skeQ.js → plugins-cli-BhOXY_Ay.js} +2 -2
- package/dist/{plugins-cli-D_RzeRoE.js → plugins-cli-LqQNHF1I.js} +2 -2
- package/dist/{program-Cl9i8ubQ.js → program-CutjuJj0.js} +7 -7
- package/dist/{program-context-BbmYGW-V.js → program-context-qVc_lsLV.js} +17 -17
- package/dist/{prompt-select-styled-BN0T6GxF.js → prompt-select-styled-BCHe7Fks.js} +4 -4
- package/dist/{prompt-select-styled-BfuyvChh.js → prompt-select-styled-C0yn8YjW.js} +4 -4
- package/dist/{provider-auth-helpers-CkmLFHXL.js → provider-auth-helpers-BzczCfh8.js} +1 -1
- package/dist/{provider-auth-helpers-CuT5EHza.js → provider-auth-helpers-Ds_HwlgY.js} +1 -1
- package/dist/{push-apns-DeJt9kAO.js → push-apns-CT8-VcK5.js} +1 -1
- package/dist/{push-apns-CFkFVwEz.js → push-apns-DvcqkHld.js} +1 -1
- package/dist/{pw-ai-BnAKvSuw.js → pw-ai-DhwRiS06.js} +11 -11
- package/dist/{qmd-manager-QHUP-_em.js → qmd-manager-DdZh9PHs.js} +7 -7
- package/dist/{register.agent-BQm4YmZp.js → register.agent-DMvHFw16.js} +6 -6
- package/dist/{register.agent-BygseJ7t.js → register.agent-yoXoJ_5O.js} +5 -5
- package/dist/{register.configure-Cj95vB2U.js → register.configure-B8UDTEcS.js} +6 -6
- package/dist/{register.configure-C2fhjZze.js → register.configure-BqrNBkwZ.js} +6 -6
- package/dist/{register.maintenance-K1x3E7OS.js → register.maintenance-D1MuIUlv.js} +7 -7
- package/dist/{register.maintenance-CClfXq5e.js → register.maintenance-DMLPFSKI.js} +8 -8
- package/dist/{register.message-BSr-kUvJ.js → register.message-BnLBwUw9.js} +2 -2
- package/dist/{register.message-CSRzBl-c.js → register.message-CgtrjEFw.js} +2 -2
- package/dist/{register.onboard-Bd6wPydW.js → register.onboard-CXHhSH4B.js} +4 -4
- package/dist/{register.onboard-TsU21RR7.js → register.onboard-D1X2dUGZ.js} +4 -4
- package/dist/{register.setup-C9gu0W5l.js → register.setup-DFDb5BDi.js} +4 -4
- package/dist/{register.setup-DK-zsne2.js → register.setup-Q58lN0TV.js} +4 -4
- package/dist/{register.status-health-sessions-DN5Ui3V0.js → register.status-health-sessions-CP7JWQHw.js} +3 -3
- package/dist/{register.status-health-sessions-rZsuoqtr.js → register.status-health-sessions-DhTfQ530.js} +3 -3
- package/dist/{register.subclis-DnzHFtLz.js → register.subclis-CrTXa8cj.js} +9 -9
- package/dist/{registry-CK4e9hn8.js → registry-DP24za6g.js} +17 -17
- package/dist/{replies-BIX_isV7.js → replies-DpPvWiGF.js} +3 -3
- package/dist/{reply-Ca3slrA3.js → reply-DkwaBRX-.js} +94 -2
- package/dist/{reply-prefix-XlyuyChD.js → reply-prefix-CtL0omgM.js} +1 -1
- package/dist/{resolve-route-CZ-1eqw0.js → resolve-route-BVikmvWO.js} +4 -4
- package/dist/{retry-Cly39XZB.js → retry-dGG-MbxL.js} +1 -1
- package/dist/{run-main-DlHh5iOO.js → run-main-BLKPL_vM.js} +14 -14
- package/dist/{runner-odEv83vv.js → runner-B_KP4voe.js} +9 -9
- package/dist/{send-DeFniOjh.js → send-CHEOWVc8.js} +6 -6
- package/dist/{send-WyRqb4WD.js → send-DbcLJb0P.js} +7 -7
- package/dist/{send-B1u-LrcS.js → send-DeEosX8F.js} +18 -18
- package/dist/{send-CiTGOvEc.js → send-DwKJK3sM.js} +10 -10
- package/dist/{send-DW96zgDL.js → send-zSarozV2.js} +6 -6
- package/dist/{server-methods-BYOkyf-q.js → server-methods-CbeCo-6O.js} +7 -7
- package/dist/{server-methods-b_Qod4tt.js → server-methods-EQ0JkHOg.js} +7 -7
- package/dist/{server-node-events-60nWpTh1.js → server-node-events-C1FDqJb9.js} +2 -2
- package/dist/{server-node-events-oU4Amei7.js → server-node-events-CBHpc_25.js} +2 -2
- package/dist/{session-SM36BTsl.js → session-DV1MNlbV.js} +8 -8
- package/dist/{skill-commands-BJMb_psG.js → skill-commands-D610IKhm.js} +9 -9
- package/dist/{skills-BFekKL7i.js → skills-o5WVqM4V.js} +21 -21
- package/dist/{sqlite-DRbx2dhW.js → sqlite-6H6Zw1cs.js} +4 -4
- package/dist/{status-BXW5l4sd.js → status-B1r3Wp0-.js} +2 -2
- package/dist/{status-D3-lP2_9.js → status-Cksz7z4T.js} +1 -1
- package/dist/{status-BxbbINLV.js → status-CnogoaI_.js} +2 -2
- package/dist/{status-kdz9P3tw.js → status-jVJSC_Ga.js} +1 -1
- package/dist/{store-C0wvOkae.js → store-vVE6N2mH.js} +2 -2
- package/dist/{subagent-registry-CbTbJKLs.js → subagent-registry-Jwg44JMf.js} +94 -2
- package/dist/{subsystem-Bs9YvKLa.js → subsystem-DgpxyDQ_.js} +1 -1
- package/dist/{tables-DuZspiBu.js → tables-BIWsCKXJ.js} +1 -1
- package/dist/{target-errors-Be1SwYlW.js → target-errors-DyItGyW9.js} +2 -2
- package/dist/{thinking-CdlENGRW.js → thinking-Ni0HF-w6.js} +5 -5
- package/dist/{tokens-H1H1LiSQ.js → tokens-c_SLAkVb.js} +1 -1
- package/dist/{tool-images-DXB7tqWi.js → tool-images-DBCfXdli.js} +2 -2
- package/dist/{tool-loop-detection-Cs8_HCsx.js → tool-loop-detection-Bbc9OPFR.js} +3 -3
- package/dist/{update-cli-Cy0gdWRf.js → update-cli-BkU6ori8.js} +8 -8
- package/dist/{update-cli-B5TI650v.js → update-cli-D18nWvzY.js} +7 -7
- package/dist/{update-runner-Bacq0oLK.js → update-runner-BQg__DB5.js} +1 -1
- package/dist/{update-runner-B0NdgPvD.js → update-runner-le1Hcqx4.js} +1 -1
- package/dist/{web-DmED3zDP.js → web-BSs2eYJa.js} +2 -2
- package/dist/{web-QVwKg99Q.js → web-BsjZ2RTT.js} +57 -57
- package/dist/{web-D-oCzJTU.js → web-DajtZMaX.js} +1 -1
- package/dist/{web-DWNtg4iV.js → web-KYh3LgI0.js} +1 -1
- package/dist/{whatsapp-actions-D1RsnX7P.js → whatsapp-actions-oRQjcdQe.js} +23 -23
- package/dist/{workspace-wAaHI8-5.js → workspace-CbvamIU6.js} +6 -6
- package/package.json +1 -1
|
@@ -27119,7 +27119,7 @@ async function runWithImageModelFallback(params) {
|
|
|
27119
27119
|
function createDefaultDeps() {
|
|
27120
27120
|
return {
|
|
27121
27121
|
sendMessageWhatsApp: async (...args) => {
|
|
27122
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
27122
|
+
const { sendMessageWhatsApp } = await import("./web-BVg5EjiY.js");
|
|
27123
27123
|
return await sendMessageWhatsApp(...args);
|
|
27124
27124
|
},
|
|
27125
27125
|
sendMessageTelegram: async (...args) => {
|
|
@@ -44745,7 +44745,7 @@ function loadWebLoginQr() {
|
|
|
44745
44745
|
return webLoginQrPromise;
|
|
44746
44746
|
}
|
|
44747
44747
|
function loadWebChannel() {
|
|
44748
|
-
webChannelPromise ??= import("./web-
|
|
44748
|
+
webChannelPromise ??= import("./web-BVg5EjiY.js");
|
|
44749
44749
|
return webChannelPromise;
|
|
44750
44750
|
}
|
|
44751
44751
|
function loadWhatsAppActions() {
|
|
@@ -66893,6 +66893,89 @@ Use the message tool with buttons:
|
|
|
66893
66893
|
[{"label": "✅ Proceed", "data": "/plan-proceed"}, {"label": "✏️ Modify", "data": "/plan-modify"}, {"label": "❌ Cancel", "data": "/plan-cancel"}]
|
|
66894
66894
|
</plan_mode>`;
|
|
66895
66895
|
|
|
66896
|
+
//#endregion
|
|
66897
|
+
//#region src/agents/stream-monitor.ts
|
|
66898
|
+
/**
|
|
66899
|
+
* Create a stream monitor configured for the given model profile.
|
|
66900
|
+
*
|
|
66901
|
+
* - Claude (hasStructuredThinking: true): repetition detection only
|
|
66902
|
+
* - Gemma/vLLM (hasStructuredThinking: false): tool JSON + repetition detection
|
|
66903
|
+
*/
|
|
66904
|
+
function createStreamMonitor(profile, overrides) {
|
|
66905
|
+
const detectToolJson = overrides?.detectToolJson ?? !profile.filters.hasStructuredThinking;
|
|
66906
|
+
const detectRepetition = overrides?.detectRepetition ?? true;
|
|
66907
|
+
const minBlockSize = overrides?.repetitionMinBlockSize ?? 150;
|
|
66908
|
+
let accumulated = "";
|
|
66909
|
+
let stopSignaled = false;
|
|
66910
|
+
let stopReason;
|
|
66911
|
+
return {
|
|
66912
|
+
onChunk(delta) {
|
|
66913
|
+
if (stopSignaled) return;
|
|
66914
|
+
accumulated += delta;
|
|
66915
|
+
if (detectToolJson && hasCompleteToolJson(accumulated)) {
|
|
66916
|
+
stopSignaled = true;
|
|
66917
|
+
stopReason = "complete-tool-json";
|
|
66918
|
+
return;
|
|
66919
|
+
}
|
|
66920
|
+
if (detectRepetition && hasRepetition(accumulated, minBlockSize)) {
|
|
66921
|
+
stopSignaled = true;
|
|
66922
|
+
stopReason = "repetition-detected";
|
|
66923
|
+
return;
|
|
66924
|
+
}
|
|
66925
|
+
},
|
|
66926
|
+
shouldStop: () => stopSignaled,
|
|
66927
|
+
getAccumulated: () => accumulated,
|
|
66928
|
+
getStopReason: () => stopReason,
|
|
66929
|
+
reset() {
|
|
66930
|
+
accumulated = "";
|
|
66931
|
+
stopSignaled = false;
|
|
66932
|
+
stopReason = void 0;
|
|
66933
|
+
}
|
|
66934
|
+
};
|
|
66935
|
+
}
|
|
66936
|
+
/**
|
|
66937
|
+
* Detect if the accumulated text contains a syntactically complete JSON
|
|
66938
|
+
* object with tool_name and tool_args. Used for models that output tool
|
|
66939
|
+
* calls as plain text JSON (not native structured tool calls).
|
|
66940
|
+
*/
|
|
66941
|
+
function hasCompleteToolJson(text) {
|
|
66942
|
+
const hasToolKey = text.includes("tool_name") || text.includes("\"tool\"");
|
|
66943
|
+
const hasArgsKey = text.includes("tool_args") || text.includes("\"args\"");
|
|
66944
|
+
if (!hasToolKey || !hasArgsKey) return false;
|
|
66945
|
+
const lastBrace = text.lastIndexOf("}");
|
|
66946
|
+
if (lastBrace < 0) return false;
|
|
66947
|
+
let depth = 0;
|
|
66948
|
+
let start = -1;
|
|
66949
|
+
for (let i = lastBrace; i >= 0; i--) {
|
|
66950
|
+
if (text[i] === "}") depth++;
|
|
66951
|
+
if (text[i] === "{") depth--;
|
|
66952
|
+
if (depth === 0) {
|
|
66953
|
+
start = i;
|
|
66954
|
+
break;
|
|
66955
|
+
}
|
|
66956
|
+
}
|
|
66957
|
+
if (start < 0) return false;
|
|
66958
|
+
const candidate = text.slice(start, lastBrace + 1);
|
|
66959
|
+
try {
|
|
66960
|
+
const parsed = JSON.parse(candidate);
|
|
66961
|
+
return typeof parsed === "object" && parsed !== null && (typeof parsed.tool_name === "string" || typeof parsed.tool === "string") && (typeof parsed.tool_args === "object" || typeof parsed.args === "object");
|
|
66962
|
+
} catch {
|
|
66963
|
+
return false;
|
|
66964
|
+
}
|
|
66965
|
+
}
|
|
66966
|
+
/**
|
|
66967
|
+
* Detect if the accumulated text contains a repeated block, indicating
|
|
66968
|
+
* a looping cascade. Returns true if a block of `minBlockSize` chars
|
|
66969
|
+
* from the first half appears again in the second half.
|
|
66970
|
+
*/
|
|
66971
|
+
function hasRepetition(text, minBlockSize) {
|
|
66972
|
+
if (text.length < minBlockSize * 2.5) return false;
|
|
66973
|
+
const sampleStart = Math.floor(text.length * .25);
|
|
66974
|
+
const sample = text.slice(sampleStart, sampleStart + minBlockSize);
|
|
66975
|
+
const searchStart = sampleStart + minBlockSize;
|
|
66976
|
+
return text.indexOf(sample, searchStart) >= 0;
|
|
66977
|
+
}
|
|
66978
|
+
|
|
66896
66979
|
//#endregion
|
|
66897
66980
|
//#region src/agents/symipulse-timeout.ts
|
|
66898
66981
|
/**
|
|
@@ -68107,6 +68190,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
68107
68190
|
return fn(...args);
|
|
68108
68191
|
});
|
|
68109
68192
|
};
|
|
68193
|
+
const streamMonitor = createStreamMonitor(modelProfile);
|
|
68110
68194
|
const subscription = subscribeEmbeddedPiSession({
|
|
68111
68195
|
session: activeSession,
|
|
68112
68196
|
runId: params.runId,
|
|
@@ -68128,6 +68212,14 @@ async function runEmbeddedAttempt(params) {
|
|
|
68128
68212
|
onAgentEvent: (evt) => {
|
|
68129
68213
|
armSymipulseTimer();
|
|
68130
68214
|
params.onAgentEvent?.(evt);
|
|
68215
|
+
if (evt.stream === "assistant" && typeof evt.data?.text === "string" && !aborted) {
|
|
68216
|
+
streamMonitor.onChunk(evt.data.text);
|
|
68217
|
+
if (streamMonitor.shouldStop()) {
|
|
68218
|
+
const reason = streamMonitor.getStopReason();
|
|
68219
|
+
log$2.warn(`stream monitor triggered abort: runId=${params.runId} reason=${reason}`);
|
|
68220
|
+
abortRun(false, /* @__PURE__ */ new Error(`stream-monitor:${reason}`));
|
|
68221
|
+
}
|
|
68222
|
+
}
|
|
68131
68223
|
},
|
|
68132
68224
|
enforceFinalTag: params.enforceFinalTag,
|
|
68133
68225
|
config: params.config,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-D9zGZU5t.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-CSgeVqcV.js";
|
|
3
3
|
import "./paths-DR2yt_mP.js";
|
|
4
4
|
import "./github-copilot-token-D9X2phUj.js";
|
|
5
5
|
import "./plugins-BbAvhC25.js";
|
|
@@ -45,7 +45,7 @@ import "./pi-embedded-helpers-BveUP4hk.js";
|
|
|
45
45
|
import "./paths-A0xdf3yk.js";
|
|
46
46
|
import "./diagnostic-mFf4i4G9.js";
|
|
47
47
|
import "./store-Do3t33-c.js";
|
|
48
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
48
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-ilY3YUmF.js";
|
|
49
49
|
import "./image-BOYy0Ump.js";
|
|
50
50
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
51
51
|
import "./api-key-rotation-CVBMpnPc.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
3
|
-
import { m as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-DP24za6g.js";
|
|
3
|
+
import { m as createAccountListHelpers } from "./accounts-CI6zQTJj.js";
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
5
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
6
|
-
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-
|
|
7
|
-
import
|
|
5
|
+
import { r as isTruthyEnvValue } from "./command-format-UKHV-j0K.js";
|
|
6
|
+
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-BU2hsBd9.js";
|
|
7
|
+
import fsSync from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/account-action-gate.ts
|
|
10
10
|
function createAccountActionGate(params) {
|
|
@@ -186,7 +186,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
186
186
|
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
187
187
|
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
188
188
|
if (accountTokenFile) {
|
|
189
|
-
if (!
|
|
189
|
+
if (!fsSync.existsSync(accountTokenFile)) {
|
|
190
190
|
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
191
191
|
return {
|
|
192
192
|
token: "",
|
|
@@ -194,7 +194,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
try {
|
|
197
|
-
const token =
|
|
197
|
+
const token = fsSync.readFileSync(accountTokenFile, "utf-8").trim();
|
|
198
198
|
if (token) return {
|
|
199
199
|
token,
|
|
200
200
|
source: "tokenFile"
|
|
@@ -219,7 +219,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
219
219
|
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
220
220
|
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
221
221
|
if (tokenFile && allowEnv) {
|
|
222
|
-
if (!
|
|
222
|
+
if (!fsSync.existsSync(tokenFile)) {
|
|
223
223
|
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
224
224
|
return {
|
|
225
225
|
token: "",
|
|
@@ -227,7 +227,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
try {
|
|
230
|
-
const token =
|
|
230
|
+
const token = fsSync.readFileSync(tokenFile, "utf-8").trim();
|
|
231
231
|
if (token) return {
|
|
232
232
|
token,
|
|
233
233
|
source: "tokenFile"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath, g as resolveConfigDir, x as shortenHomeInString, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-DkwaBRX-.js";
|
|
5
5
|
import "./registry-Cja8eT7G.js";
|
|
6
6
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
7
7
|
import "./exec-CWkblSrI.js";
|
|
@@ -106,7 +106,7 @@ import "./npm-registry-spec-C2JDdSZS.js";
|
|
|
106
106
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
107
107
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-C1Cebk97.js";
|
|
108
108
|
import { t as renderTable } from "./table-BTgkRafz.js";
|
|
109
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
109
|
+
import { t as buildPluginStatusReport } from "./status-jVJSC_Ga.js";
|
|
110
110
|
import { n as updateNpmInstalledPlugins } from "./update-rw7wJwHd.js";
|
|
111
111
|
import fs from "node:fs";
|
|
112
112
|
import os from "node:os";
|
|
@@ -13,7 +13,7 @@ import "./client-DMBZpU6X.js";
|
|
|
13
13
|
import "./call-BcE47FtD.js";
|
|
14
14
|
import "./message-channel-C9dERklz.js";
|
|
15
15
|
import "./pairing-token-Byh6drgn.js";
|
|
16
|
-
import "./subagent-registry-
|
|
16
|
+
import "./subagent-registry-Jwg44JMf.js";
|
|
17
17
|
import "./sessions-CJXnZVjR.js";
|
|
18
18
|
import "./tokens-Csntmwwn.js";
|
|
19
19
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -102,7 +102,7 @@ import "./npm-registry-spec-DkaZNHAW.js";
|
|
|
102
102
|
import "./skill-scanner-BGWOBqLY.js";
|
|
103
103
|
import { i as resolvePluginInstallDir, n as installPluginFromNpmSpec, r as installPluginFromPath, t as recordPluginInstall } from "./installs-CgQpVncj.js";
|
|
104
104
|
import { t as renderTable } from "./table-D01d2GuY.js";
|
|
105
|
-
import { t as buildPluginStatusReport } from "./status-
|
|
105
|
+
import { t as buildPluginStatusReport } from "./status-Cksz7z4T.js";
|
|
106
106
|
import { n as updateNpmInstalledPlugins } from "./update-DEMKx4eC.js";
|
|
107
107
|
import os from "node:os";
|
|
108
108
|
import path from "node:path";
|
|
@@ -14,7 +14,7 @@ import "./client-DMBZpU6X.js";
|
|
|
14
14
|
import "./call-BcE47FtD.js";
|
|
15
15
|
import "./message-channel-C9dERklz.js";
|
|
16
16
|
import "./pairing-token-Byh6drgn.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-Jwg44JMf.js";
|
|
18
18
|
import "./sessions-CJXnZVjR.js";
|
|
19
19
|
import "./tokens-Csntmwwn.js";
|
|
20
20
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -99,13 +99,13 @@ import "./prompt-style-DwCXob2h.js";
|
|
|
99
99
|
import "./pairing-labels-D1HDboV2.js";
|
|
100
100
|
import "./pi-tools.policy-De00gPXt.js";
|
|
101
101
|
import "./catalog-DLQFKucJ.js";
|
|
102
|
-
import "./plugin-registry-
|
|
103
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
104
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
105
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
102
|
+
import "./plugin-registry-D_BAH1V5.js";
|
|
103
|
+
import { n as resolveCliChannelOptions } from "./channel-options-CxSIp3x-.js";
|
|
104
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-CrTXa8cj.js";
|
|
105
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-DXt0PsFy.js";
|
|
106
106
|
import { r as setProgramContext } from "./program-context-CqzR_m-7.js";
|
|
107
107
|
import { t as forceFreePort } from "./ports-Dn122MUd.js";
|
|
108
|
-
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-
|
|
108
|
+
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-DRJJmkv1.js";
|
|
109
109
|
import { Command } from "commander";
|
|
110
110
|
|
|
111
111
|
//#region src/cli/program/context.ts
|
|
@@ -213,7 +213,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
213
213
|
commandPath
|
|
214
214
|
});
|
|
215
215
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
216
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
216
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-D_BAH1V5.js").then((n) => n.n);
|
|
217
217
|
ensurePluginRegistryLoaded();
|
|
218
218
|
}
|
|
219
219
|
});
|
|
@@ -43,7 +43,7 @@ const entries = [
|
|
|
43
43
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
44
44
|
hasSubcommands: true,
|
|
45
45
|
register: async (program) => {
|
|
46
|
-
(await import("./gateway-cli-
|
|
46
|
+
(await import("./gateway-cli-XIsXoJZ3.js")).registerGatewayCli(program);
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
{
|
|
@@ -75,7 +75,7 @@ const entries = [
|
|
|
75
75
|
description: "Discover, scan, and configure models",
|
|
76
76
|
hasSubcommands: true,
|
|
77
77
|
register: async (program) => {
|
|
78
|
-
(await import("./models-cli-
|
|
78
|
+
(await import("./models-cli-DeG1qheS.js")).registerModelsCli(program);
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
{
|
|
@@ -155,7 +155,7 @@ const entries = [
|
|
|
155
155
|
description: "Manage internal agent hooks",
|
|
156
156
|
hasSubcommands: true,
|
|
157
157
|
register: async (program) => {
|
|
158
|
-
(await import("./hooks-cli-
|
|
158
|
+
(await import("./hooks-cli-C5eV9sxP.js")).registerHooksCli(program);
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -179,7 +179,7 @@ const entries = [
|
|
|
179
179
|
description: "Secure DM pairing (approve inbound requests)",
|
|
180
180
|
hasSubcommands: true,
|
|
181
181
|
register: async (program) => {
|
|
182
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
182
|
+
const { registerPluginCliCommands } = await import("./cli-CATf6JAq.js");
|
|
183
183
|
registerPluginCliCommands(program, await loadConfig());
|
|
184
184
|
(await import("./pairing-cli-CBLfGvqW.js")).registerPairingCli(program);
|
|
185
185
|
}
|
|
@@ -189,8 +189,8 @@ const entries = [
|
|
|
189
189
|
description: "Manage Symi plugins and extensions",
|
|
190
190
|
hasSubcommands: true,
|
|
191
191
|
register: async (program) => {
|
|
192
|
-
(await import("./plugins-cli-
|
|
193
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
192
|
+
(await import("./plugins-cli-BhOXY_Ay.js")).registerPluginsCli(program);
|
|
193
|
+
const { registerPluginCliCommands } = await import("./cli-CATf6JAq.js");
|
|
194
194
|
registerPluginCliCommands(program, await loadConfig());
|
|
195
195
|
}
|
|
196
196
|
},
|
|
@@ -199,7 +199,7 @@ const entries = [
|
|
|
199
199
|
description: "Manage connected chat channels (Telegram, Discord, etc.)",
|
|
200
200
|
hasSubcommands: true,
|
|
201
201
|
register: async (program) => {
|
|
202
|
-
(await import("./channels-cli-
|
|
202
|
+
(await import("./channels-cli-B5Nj_nHr.js")).registerChannelsCli(program);
|
|
203
203
|
}
|
|
204
204
|
},
|
|
205
205
|
{
|
|
@@ -231,7 +231,7 @@ const entries = [
|
|
|
231
231
|
description: "Update Symi and inspect update channel status",
|
|
232
232
|
hasSubcommands: true,
|
|
233
233
|
register: async (program) => {
|
|
234
|
-
(await import("./update-cli-
|
|
234
|
+
(await import("./update-cli-D18nWvzY.js")).registerUpdateCli(program);
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
{
|
|
@@ -239,7 +239,7 @@ const entries = [
|
|
|
239
239
|
description: "Generate shell completion script",
|
|
240
240
|
hasSubcommands: false,
|
|
241
241
|
register: async (program) => {
|
|
242
|
-
(await import("./completion-cli-
|
|
242
|
+
(await import("./completion-cli-BsSDzZNA.js").then((n) => n.n)).registerCompletionCli(program);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
];
|
|
@@ -302,7 +302,7 @@ const coreEntries = [
|
|
|
302
302
|
hasSubcommands: false
|
|
303
303
|
}],
|
|
304
304
|
register: async ({ program }) => {
|
|
305
|
-
(await import("./register.setup-
|
|
305
|
+
(await import("./register.setup-DFDb5BDi.js")).registerSetupCommand(program);
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
308
|
{
|
|
@@ -312,7 +312,7 @@ const coreEntries = [
|
|
|
312
312
|
hasSubcommands: false
|
|
313
313
|
}],
|
|
314
314
|
register: async ({ program }) => {
|
|
315
|
-
(await import("./register.onboard-
|
|
315
|
+
(await import("./register.onboard-D1X2dUGZ.js")).registerOnboardCommand(program);
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
{
|
|
@@ -322,7 +322,7 @@ const coreEntries = [
|
|
|
322
322
|
hasSubcommands: false
|
|
323
323
|
}],
|
|
324
324
|
register: async ({ program }) => {
|
|
325
|
-
(await import("./register.configure-
|
|
325
|
+
(await import("./register.configure-BqrNBkwZ.js")).registerConfigureCommand(program);
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
{
|
|
@@ -332,7 +332,7 @@ const coreEntries = [
|
|
|
332
332
|
hasSubcommands: true
|
|
333
333
|
}],
|
|
334
334
|
register: async ({ program }) => {
|
|
335
|
-
(await import("./config-cli-
|
|
335
|
+
(await import("./config-cli-B_KCvdli.js")).registerConfigCli(program);
|
|
336
336
|
}
|
|
337
337
|
},
|
|
338
338
|
{
|
|
@@ -359,7 +359,7 @@ const coreEntries = [
|
|
|
359
359
|
}
|
|
360
360
|
],
|
|
361
361
|
register: async ({ program }) => {
|
|
362
|
-
(await import("./register.maintenance-
|
|
362
|
+
(await import("./register.maintenance-D1MuIUlv.js")).registerMaintenanceCommands(program);
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
{
|
|
@@ -369,7 +369,7 @@ const coreEntries = [
|
|
|
369
369
|
hasSubcommands: true
|
|
370
370
|
}],
|
|
371
371
|
register: async ({ program, ctx }) => {
|
|
372
|
-
(await import("./register.message-
|
|
372
|
+
(await import("./register.message-CgtrjEFw.js")).registerMessageCommands(program, ctx);
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
{
|
|
@@ -393,7 +393,7 @@ const coreEntries = [
|
|
|
393
393
|
hasSubcommands: true
|
|
394
394
|
}],
|
|
395
395
|
register: async ({ program, ctx }) => {
|
|
396
|
-
(await import("./register.agent-
|
|
396
|
+
(await import("./register.agent-yoXoJ_5O.js")).registerAgentCommands(program, { agentChannelOptions: ctx.agentChannelOptions });
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
399
|
{
|
|
@@ -415,7 +415,7 @@ const coreEntries = [
|
|
|
415
415
|
}
|
|
416
416
|
],
|
|
417
417
|
register: async ({ program }) => {
|
|
418
|
-
(await import("./register.status-health-sessions-
|
|
418
|
+
(await import("./register.status-health-sessions-DhTfQ530.js")).registerStatusHealthSessionsCommands(program);
|
|
419
419
|
}
|
|
420
420
|
},
|
|
421
421
|
{
|
|
@@ -8,7 +8,7 @@ import { t as buildWorkspaceSkillStatus } from "./skills-status-DKXJ-tbi.js";
|
|
|
8
8
|
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-DHBLS1Hl.js";
|
|
9
9
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BcE47FtD.js";
|
|
10
10
|
import { l as resolveGatewayBindHost, n as isLoopbackHost } from "./net-DZ5Ayk-W.js";
|
|
11
|
-
import { b as loadSymiPlugins, bn as formatRemainingShort, vn as DEFAULT_OAUTH_WARN_MS, yn as buildAuthHealthSummary } from "./subagent-registry-
|
|
11
|
+
import { b as loadSymiPlugins, bn as formatRemainingShort, vn as DEFAULT_OAUTH_WARN_MS, yn as buildAuthHealthSummary } from "./subagent-registry-Jwg44JMf.js";
|
|
12
12
|
import { F as resolveMainSessionKey, H as cleanStaleLockFiles, o as loadSessionStore } from "./sessions-CJXnZVjR.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-CwSlLxM8.js";
|
|
14
14
|
import { D as DEFAULT_SANDBOX_COMMON_IMAGE, E as DEFAULT_SANDBOX_BROWSER_IMAGE, O as DEFAULT_SANDBOX_IMAGE, p as resolveSandboxScope } from "./sandbox-BFzSUT19.js";
|
|
@@ -31,16 +31,16 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
31
31
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-sQipWGd1.js";
|
|
32
32
|
import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
|
|
33
33
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-t04OgGMk.js";
|
|
34
|
-
import { r as healthCommand } from "./health-
|
|
34
|
+
import { r as healthCommand } from "./health-BmaWws9G.js";
|
|
35
35
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BseSWee1.js";
|
|
36
36
|
import { t as resolveDmAllowState } from "./dm-policy-shared-DJ-61hCT.js";
|
|
37
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
37
|
+
import { t as runGatewayUpdate } from "./update-runner-le1Hcqx4.js";
|
|
38
38
|
import { t as resolveAgentSessionDirs } from "./session-dirs-DWgIYmAt.js";
|
|
39
39
|
import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
|
|
40
40
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CA3eiKhd.js";
|
|
41
41
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DA_LW52P.js";
|
|
42
42
|
import { t as formatHealthCheckFailure } from "./health-format-CzgUHmmX.js";
|
|
43
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
43
|
+
import { n as doctorShellCompletion } from "./doctor-completion-Dnxn_-ov.js";
|
|
44
44
|
import { execFile } from "node:child_process";
|
|
45
45
|
import os from "node:os";
|
|
46
46
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as resolveIsNixMode, g as resolveStateDir, m as resolveOAuthDir, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { C as sleep, S as shortenHomePath, U as getResolvedLoggerSettings, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { _r as buildAuthHealthSummary, gr as DEFAULT_OAUTH_WARN_MS, vr as formatRemainingShort, vt as loadSymiPlugins } from "./reply-
|
|
3
|
+
import { _r as buildAuthHealthSummary, gr as DEFAULT_OAUTH_WARN_MS, vr as formatRemainingShort, vt as loadSymiPlugins } from "./reply-DkwaBRX-.js";
|
|
4
4
|
import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
|
|
5
5
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
6
6
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-CWkblSrI.js";
|
|
@@ -34,16 +34,16 @@ import { a as launchAgentPlistExists, i as isLaunchAgentLoaded, o as repairLaunc
|
|
|
34
34
|
import { i as auditGatewayServiceConfig, n as renderSystemdUnavailableHints, o as needsNodeRuntimeMigration, r as SERVICE_AUDIT_CODES, s as formatRuntimeStatus, t as isSystemdUnavailableDetail } from "./systemd-hints-BR6gChwm.js";
|
|
35
35
|
import { t as readLastGatewayErrorLine } from "./diagnostics-BAMlsVVX.js";
|
|
36
36
|
import { n as renderGatewayServiceCleanupHints, t as findExtraGatewayServices } from "./inspect-CllGjsWo.js";
|
|
37
|
-
import { r as healthCommand } from "./health-
|
|
37
|
+
import { r as healthCommand } from "./health-BBGgp_dC.js";
|
|
38
38
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-Z947tKLt.js";
|
|
39
39
|
import { t as resolveDmAllowState } from "./dm-policy-shared-Bh3TbexU.js";
|
|
40
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
40
|
+
import { t as runGatewayUpdate } from "./update-runner-BQg__DB5.js";
|
|
41
41
|
import { t as resolveAgentSessionDirs } from "./session-dirs-DWgIYmAt.js";
|
|
42
42
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
43
43
|
import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-QnaBd8kL.js";
|
|
44
44
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-aQ75ZlXY.js";
|
|
45
45
|
import { t as formatHealthCheckFailure } from "./health-format-DSwnXZPU.js";
|
|
46
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
46
|
+
import { n as doctorShellCompletion } from "./doctor-completion-8qbLmeX0.js";
|
|
47
47
|
import fs from "node:fs";
|
|
48
48
|
import os from "node:os";
|
|
49
49
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { L as normalizeProviderId, b as ensureAuthProfileStore, v as upsertAuthProfile } from "./auth-profiles-Q1xTr5SX.js";
|
|
3
|
-
import { b as loadSymiPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
3
|
+
import { b as loadSymiPlugins, y as createPluginLoaderLogger } from "./subagent-registry-Jwg44JMf.js";
|
|
4
4
|
import { n as isWSLEnv } from "./wsl-jdLWdiKy.js";
|
|
5
5
|
import { r as stylePromptTitle } from "./prompt-style-DwCXob2h.js";
|
|
6
6
|
import { f as updateConfig } from "./shared-D8K9MkWg.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _t as createPluginLoaderLogger, vt as loadSymiPlugins } from "./reply-
|
|
1
|
+
import { _t as createPluginLoaderLogger, vt as loadSymiPlugins } from "./reply-DkwaBRX-.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
3
3
|
import { At as ensureAuthProfileStore, Ot as upsertAuthProfile, l as normalizeProviderId } from "./model-selection-CyFvYcRt.js";
|
|
4
4
|
import { n as isWSLEnv } from "./wsl-C4424szg.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { A as isVerbose } from "./utils-B-0b9bGM.js";
|
|
3
|
-
import { Pr as estimateBase64DecodedBytes, dt as sniffMimeFromBase64 } from "./reply-
|
|
3
|
+
import { Pr as estimateBase64DecodedBytes, dt as sniffMimeFromBase64 } from "./reply-DkwaBRX-.js";
|
|
4
4
|
import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
|
|
5
5
|
import { s as shouldLogSubsystemToConsole, t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
|
|
6
6
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-f-Q-hFt_.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Yt as resolveStateDir, _t as isVerbose, f as shouldLogSubsystemToConsole, o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { S as parseAgentSessionKey } from "./session-key-DjZ7Z1hW.js";
|
|
3
3
|
import { c as writeJsonAtomic, o as createAsyncLock, s as readJsonFile } from "./pairing-token-Byh6drgn.js";
|
|
4
|
-
import { In as estimateBase64DecodedBytes, g as sniffMimeFromBase64 } from "./subagent-registry-
|
|
4
|
+
import { In as estimateBase64DecodedBytes, g as sniffMimeFromBase64 } from "./subagent-registry-Jwg44JMf.js";
|
|
5
5
|
import { n as redactSensitiveText, t as getDefaultRedactPatterns } from "./redact-B40lik2B.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import chalk from "chalk";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { dt as resolvePreferredSymiTmpDir } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
1
|
+
import "./paths-CySxpNhH.js";
|
|
2
|
+
import { dt as resolvePreferredSymiTmpDir } from "./registry-DP24za6g.js";
|
|
3
|
+
import "./agent-scope-Bw1Ed8W9.js";
|
|
4
|
+
import "./subsystem-DgpxyDQ_.js";
|
|
5
|
+
import "./workspace-CbvamIU6.js";
|
|
6
6
|
import "./boolean-B8-BqKGQ.js";
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import "./model-auth-
|
|
9
|
-
import "./github-copilot-token-
|
|
10
|
-
import "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-UKHV-j0K.js";
|
|
8
|
+
import "./model-auth-CwOuTuXl.js";
|
|
9
|
+
import "./github-copilot-token-DJqsJ2-r.js";
|
|
10
|
+
import "./config-eEaJddXj.js";
|
|
11
|
+
import "./manifest-registry-CneMHk0N.js";
|
|
12
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-CxSAp8x3.js";
|
|
13
13
|
import "./redact-jSxx6Ep2.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-BoQgnc8X.js";
|
|
15
15
|
import "./ssrf-BTMDZjHT.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "./paths-
|
|
1
|
+
import { s as resolveStateDir } from "./paths-CySxpNhH.js";
|
|
2
2
|
import { y as parseAgentSessionKey } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import "./registry-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import "./workspace-
|
|
3
|
+
import "./registry-DP24za6g.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-Bw1Ed8W9.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-DgpxyDQ_.js";
|
|
6
|
+
import "./workspace-CbvamIU6.js";
|
|
7
7
|
import "./redact-jSxx6Ep2.js";
|
|
8
|
-
import "./paths-
|
|
9
|
-
import { _ as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite, v as statRegularFile } from "./sqlite-
|
|
8
|
+
import "./paths-Cb87-LzP.js";
|
|
9
|
+
import { _ as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite, v as statRegularFile } from "./sqlite-6H6Zw1cs.js";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|
|
@@ -15,7 +15,7 @@ import "./client-DMBZpU6X.js";
|
|
|
15
15
|
import { a as randomIdempotencyKey, n as callGateway } from "./call-BcE47FtD.js";
|
|
16
16
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-C9dERklz.js";
|
|
17
17
|
import "./pairing-token-Byh6drgn.js";
|
|
18
|
-
import { D as agentCommand, M as createDefaultDeps, O as resolveSessionKeyForRequest } from "./subagent-registry-
|
|
18
|
+
import { D as agentCommand, M as createDefaultDeps, O as resolveSessionKeyForRequest } from "./subagent-registry-Jwg44JMf.js";
|
|
19
19
|
import "./sessions-CJXnZVjR.js";
|
|
20
20
|
import "./tokens-Csntmwwn.js";
|
|
21
21
|
import "./plugins-CwSlLxM8.js";
|
|
@@ -108,16 +108,16 @@ import "./install-safe-path-BK8js28D.js";
|
|
|
108
108
|
import "./npm-registry-spec-DkaZNHAW.js";
|
|
109
109
|
import "./skill-scanner-BGWOBqLY.js";
|
|
110
110
|
import "./installs-CgQpVncj.js";
|
|
111
|
-
import "./onboard-channels-
|
|
111
|
+
import "./onboard-channels-BCUkNB26.js";
|
|
112
112
|
import "./config-validation-BITwrsxY.js";
|
|
113
113
|
import { t as collectOption } from "./helpers-ITexi1_a.js";
|
|
114
|
-
import "./agents.config-
|
|
114
|
+
import "./agents.config-j4SWyB6K.js";
|
|
115
115
|
import "./shared-D8K9MkWg.js";
|
|
116
116
|
import "./auth-token-Cmrk2TPo.js";
|
|
117
117
|
import "./logging-BGewRZy0.js";
|
|
118
|
-
import "./provider-auth-helpers-
|
|
119
|
-
import { a as agentsAddCommand, i as agentsDeleteCommand, n as agentsListCommand, r as agentsSetIdentityCommand } from "./agents-
|
|
120
|
-
import "./auth-choice-
|
|
118
|
+
import "./provider-auth-helpers-BzczCfh8.js";
|
|
119
|
+
import { a as agentsAddCommand, i as agentsDeleteCommand, n as agentsListCommand, r as agentsSetIdentityCommand } from "./agents-BrpbYYTb.js";
|
|
120
|
+
import "./auth-choice-BYB9fJiu.js";
|
|
121
121
|
import "./openai-model-default-DAwnTUcK.js";
|
|
122
122
|
import "./model-picker-D5nCutGW.js";
|
|
123
123
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cqn-zk3M.js";
|
|
2
2
|
import { B as theme, P as setVerbose, S as shortenHomePath, y as resolveUserPath } from "./utils-B-0b9bGM.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { Mt as agentCommand, Nt as resolveSessionKeyForRequest, Qt as identityHasValues, Ut as createDefaultDeps, en as parseIdentityMarkdown } from "./reply-
|
|
4
|
+
import { Mt as agentCommand, Nt as resolveSessionKeyForRequest, Qt as identityHasValues, Ut as createDefaultDeps, en as parseIdentityMarkdown } from "./reply-DkwaBRX-.js";
|
|
5
5
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-DCt45XZa.js";
|
|
6
6
|
import { r as DEFAULT_CHAT_CHANNEL } from "./registry-Cja8eT7G.js";
|
|
7
7
|
import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
|
|
@@ -115,15 +115,15 @@ import "./install-safe-path-tCLiMpmO.js";
|
|
|
115
115
|
import "./npm-registry-spec-C2JDdSZS.js";
|
|
116
116
|
import "./skill-scanner-CLs8u6vQ.js";
|
|
117
117
|
import "./installs-C1Cebk97.js";
|
|
118
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
118
|
+
import { r as setupChannels } from "./onboard-channels-D93AAHMd.js";
|
|
119
119
|
import { t as requireValidConfigSnapshot } from "./config-validation-CmimHAES.js";
|
|
120
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
120
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-Bf8u_0ts.js";
|
|
121
121
|
import "./shared-Knv1hy6h.js";
|
|
122
122
|
import "./auth-token-BnOynwk4.js";
|
|
123
123
|
import { n as logConfigUpdated } from "./logging-BzzwiKjv.js";
|
|
124
|
-
import "./provider-auth-helpers-
|
|
124
|
+
import "./provider-auth-helpers-Ds_HwlgY.js";
|
|
125
125
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-BLzEBA1v.js";
|
|
126
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
126
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-DlrjQI-v.js";
|
|
127
127
|
import "./openai-model-default-DMjQRsb1.js";
|
|
128
128
|
import "./model-picker-Ddo3jHe-.js";
|
|
129
129
|
import path from "node:path";
|