@symerian/symi 2.6.18 → 2.6.19

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.
Files changed (163) hide show
  1. package/dist/{agents-BEWe0DLk.js → agents-CrSpoNsS.js} +4 -4
  2. package/dist/{agents.config-C76tSodQ.js → agents.config-B3GILTs5.js} +1 -1
  3. package/dist/{agents.config-DxYp0zoG.js → agents.config-Co1CO8fA.js} +1 -1
  4. package/dist/{auth-choice-EwOsmB_b.js → auth-choice-BBmXnDnK.js} +1 -1
  5. package/dist/{auth-choice-DrYJKB8t.js → auth-choice-BHWxDJh7.js} +1 -1
  6. package/dist/{banner-CJyz7ro7.js → banner-RLiOIu-3.js} +1 -1
  7. package/dist/build-info.json +3 -3
  8. package/dist/bundled/boot-md/handler.js +1 -1
  9. package/dist/bundled/session-memory/handler.js +1 -1
  10. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  11. package/dist/{channel-options-tWyK68mk.js → channel-options-BCK41AON.js} +1 -1
  12. package/dist/{channel-options-D0NlH6Qb.js → channel-options-PDf46S-K.js} +1 -1
  13. package/dist/{channel-web-PvWA2ukO.js → channel-web-C3XZ7c2q.js} +1 -1
  14. package/dist/{channels-cli-B50IZ27a.js → channels-cli-723vy6L6.js} +4 -4
  15. package/dist/{channels-cli-BAXmmIxX.js → channels-cli-CUWuD7qf.js} +4 -4
  16. package/dist/{cli-BW4igUHG.js → cli-CAzmrOs0.js} +1 -1
  17. package/dist/{cli-CPKEDe6C.js → cli-DYdRSi_j.js} +1 -1
  18. package/dist/{command-registry-DV-FTDz1.js → command-registry-B2aO0Q7_.js} +9 -9
  19. package/dist/{completion-cli-BqzmOZg7.js → completion-cli-BKm12loU.js} +1 -1
  20. package/dist/{completion-cli-Cbr2b-rs.js → completion-cli-BsKD_vBb.js} +2 -2
  21. package/dist/{config-cli-D5QqQi4y.js → config-cli-Bynmd81Q.js} +1 -1
  22. package/dist/{config-cli-DBjlHFwQ.js → config-cli-D47lU7kU.js} +1 -1
  23. package/dist/{configure-B4VAN-WJ.js → configure-B3vS2Iz5.js} +3 -3
  24. package/dist/{configure-DbTH7t_m.js → configure-Df6GmKAR.js} +3 -3
  25. package/dist/{doctor-completion-v8uq--hy.js → doctor-completion-DyiRkYT4.js} +1 -1
  26. package/dist/{doctor-completion-Do0e0eZE.js → doctor-completion-SEerte2S.js} +1 -1
  27. package/dist/entry.js +1 -1
  28. package/dist/extensionAPI.js +1 -1
  29. package/dist/{gateway-cli-BAiFaCGg.js → gateway-cli-PjmG0pFo.js} +9 -9
  30. package/dist/{gateway-cli-BkOe3JQ_.js → gateway-cli-k19iT2vJ.js} +9 -9
  31. package/dist/{glass-ui-ws-B8V4Slwd.js → glass-ui-ws-D0Yv090T.js} +7 -7
  32. package/dist/{glass-ui-ws-DFAQWoiK.js → glass-ui-ws-iCEtluQU.js} +7 -7
  33. package/dist/{health-B3pwVJ_N.js → health-B32Q-KYM.js} +1 -1
  34. package/dist/{health-8bTzq722.js → health-CXjAtn1-.js} +1 -1
  35. package/dist/{hooks-cli-Vqz0A84F.js → hooks-cli-DA6zOGNz.js} +2 -2
  36. package/dist/{hooks-cli-D1Yhb7y5.js → hooks-cli-DfRmFenH.js} +2 -2
  37. package/dist/index.js +6 -6
  38. package/dist/llm-slug-generator.js +1 -1
  39. package/dist/{models-cli-EP_U-tWq.js → models-cli-BgCUViRO.js} +2 -2
  40. package/dist/{models-cli-BrDyN5KN.js → models-cli-CbJUD_L1.js} +3 -3
  41. package/dist/{models-BQOnDzS9.js → models-zowe4LXa.js} +2 -2
  42. package/dist/{onboard-BZNptre7.js → onboard-CYvIpUXQ.js} +2 -2
  43. package/dist/{onboard-DM0BChC6.js → onboard-DsKgcThj.js} +2 -2
  44. package/dist/{onboard-channels-4jeB30Ty.js → onboard-channels-DLiV4Y0t.js} +1 -1
  45. package/dist/{onboard-channels-C6dLmiYY.js → onboard-channels-DxCGWgB0.js} +1 -1
  46. package/dist/{onboarding-CDdiYaCC.js → onboarding-BA5v1JEG.js} +3 -3
  47. package/dist/{onboarding-DQJQ-k9A.js → onboarding-DioGtMFo.js} +3 -3
  48. package/dist/{onboarding.finalize-Bmd5TpyH.js → onboarding.finalize-CAbRXb0h.js} +5 -5
  49. package/dist/{onboarding.finalize-B82xL12C.js → onboarding.finalize-DMXCA49f.js} +6 -6
  50. package/dist/{pi-embedded-Dtmwbds4.js → pi-embedded-CFFnZEcA.js} +7 -228
  51. package/dist/{plugin-registry-DG_WWCr9.js → plugin-registry-Bt5YCgFq.js} +1 -1
  52. package/dist/{plugin-registry-D7ylmzDw.js → plugin-registry-HFOrv3KN.js} +1 -1
  53. package/dist/plugin-sdk/{accounts-BToL3HlP.js → accounts-BtaOa4z_.js} +1 -1
  54. package/dist/plugin-sdk/{accounts-D9zGZU5t.js → accounts-Ddm33hQm.js} +3 -3
  55. package/dist/plugin-sdk/{accounts-Dtszw3Zn.js → accounts-s-AdhXVR.js} +1 -1
  56. package/dist/plugin-sdk/{active-listener-bEk__wbB.js → active-listener-BXYeALs0.js} +1 -1
  57. package/dist/plugin-sdk/{agent-scope-C3gMMKCU.js → agent-scope-CYYpcO9W.js} +2 -2
  58. package/dist/plugin-sdk/{api-key-rotation-CVBMpnPc.js → api-key-rotation-D_sMvI5W.js} +1 -1
  59. package/dist/plugin-sdk/{audio-preflight-DoQQKlxa.js → audio-preflight-VpItkiy3.js} +24 -24
  60. package/dist/plugin-sdk/{bindings-BbwoUGPx.js → bindings-C7hRtgYW.js} +2 -2
  61. package/dist/plugin-sdk/{channel-activity-Ji7f0gqq.js → channel-activity-DoC1xtDu.js} +1 -1
  62. package/dist/plugin-sdk/{channel-web-_efq-pM9.js → channel-web-E56yV1OA.js} +22 -22
  63. package/dist/plugin-sdk/{chrome-C7c_0I5M.js → chrome-B7RdxmJ0.js} +3 -3
  64. package/dist/plugin-sdk/{chunk-jvk9axTQ.js → chunk-Dw2XBYXv.js} +1 -1
  65. package/dist/plugin-sdk/{command-format-DSdvQ_M5.js → command-format-GKSevep4.js} +1 -1
  66. package/dist/plugin-sdk/{commands-registry-CQFbmUMs.js → commands-registry-COIaslGl.js} +4 -4
  67. package/dist/plugin-sdk/{config-DDkdiUOR.js → config-KlTNfkFF.js} +9 -9
  68. package/dist/plugin-sdk/{deliver-BZ6iNLl7.js → deliver-BZ99UKQq.js} +10 -10
  69. package/dist/plugin-sdk/{diagnostic-mFf4i4G9.js → diagnostic-05pm5Rxi.js} +1 -1
  70. package/dist/plugin-sdk/{image-BOYy0Ump.js → image-CLOPx7yW.js} +4 -4
  71. package/dist/plugin-sdk/{image-ops-Bnp6LXEx.js → image-ops-BlQR__MN.js} +1 -1
  72. package/dist/plugin-sdk/index.js +53 -53
  73. package/dist/plugin-sdk/{ir-Fb3qpcis.js → ir-BJ6BHE5b.js} +4 -4
  74. package/dist/plugin-sdk/{local-roots-Ckk1QfzI.js → local-roots-BHLNSI8U.js} +3 -3
  75. package/dist/plugin-sdk/{login-Bh3DZPam.js → login-DQMXuxOk.js} +7 -7
  76. package/dist/plugin-sdk/{login-qr-DbR7odSr.js → login-qr-BjVZSoCi.js} +9 -9
  77. package/dist/plugin-sdk/{manager-DckktAQ3.js → manager-CBSBFuFz.js} +8 -8
  78. package/dist/plugin-sdk/{manifest-registry-B3ugY9-f.js → manifest-registry-CPnHl_K3.js} +1 -1
  79. package/dist/plugin-sdk/{markdown-tables-Dfaqilz6.js → markdown-tables-BoYFajMu.js} +1 -1
  80. package/dist/plugin-sdk/{message-channel-BdI5Ra9S.js → message-channel-COTAJzHd.js} +1 -1
  81. package/dist/plugin-sdk/{model-selection-OpU8HN50.js → model-selection-CsbEfrS0.js} +4 -4
  82. package/dist/plugin-sdk/{outbound-rF6G8Xpr.js → outbound-B0e8KdaR.js} +7 -7
  83. package/dist/plugin-sdk/{outbound-attachment-DnVQfTG2.js → outbound-attachment-CnslKL38.js} +2 -2
  84. package/dist/plugin-sdk/{pi-auth-json-CJk8t14T.js → pi-auth-json-qWi7ZIYV.js} +5 -5
  85. package/dist/plugin-sdk/{pi-embedded-helpers-BveUP4hk.js → pi-embedded-helpers-CW630epe.js} +17 -17
  86. package/dist/plugin-sdk/{plugins-BbAvhC25.js → plugins-BNByVCIH.js} +4 -4
  87. package/dist/plugin-sdk/{pw-ai-DjGUsee-.js → pw-ai-CnbPIPY9.js} +8 -8
  88. package/dist/plugin-sdk/{qmd-manager-mjKcdwVr.js → qmd-manager-CH0XbIHf.js} +4 -4
  89. package/dist/plugin-sdk/{registry--_pGht6S.js → registry-D0xTnUWt.js} +2 -2
  90. package/dist/plugin-sdk/{replies-fI39rPGa.js → replies-LLcQL3w6.js} +3 -3
  91. package/dist/plugin-sdk/{reply-D2W7XCcz.js → reply-pPqvSkWb.js} +82 -303
  92. package/dist/plugin-sdk/{reply-prefix-BHuV5t70.js → reply-prefix-uxfMZW4p.js} +1 -1
  93. package/dist/plugin-sdk/{resolve-outbound-target-BkCUbYGV.js → resolve-outbound-target-BiyAyTWz.js} +2 -2
  94. package/dist/plugin-sdk/{resolve-route-D3JH_D2N.js → resolve-route-B3CCBumQ.js} +3 -3
  95. package/dist/plugin-sdk/{retry-ilSJqnz9.js → retry-CwQ_iIj8.js} +1 -1
  96. package/dist/plugin-sdk/{runner-BVqnEfNe.js → runner-CGBT7tgF.js} +9 -9
  97. package/dist/plugin-sdk/{send-BtANzsAo.js → send-B2CEnVLL.js} +6 -6
  98. package/dist/plugin-sdk/{send-BHbXh8Ly.js → send-C5h_YxNb.js} +7 -7
  99. package/dist/plugin-sdk/{send-D6LMZJ_h.js → send-CRsR8-vO.js} +10 -10
  100. package/dist/plugin-sdk/{send-Bxdu6ZZy.js → send-CjOBB3Vo.js} +10 -10
  101. package/dist/plugin-sdk/{send-BMfJIhCk.js → send-pYqe432l.js} +6 -6
  102. package/dist/plugin-sdk/{session-kI0tzViQ.js → session-BsOrxiMj.js} +4 -4
  103. package/dist/plugin-sdk/{skill-commands-DCNXVERE.js → skill-commands-ff_01_r3.js} +5 -5
  104. package/dist/plugin-sdk/{skills-B1GeRYlu.js → skills-_yTP47Cd.js} +7 -7
  105. package/dist/plugin-sdk/{sqlite-Cq_7Cg4E.js → sqlite-CxAR5ttJ.js} +1 -1
  106. package/dist/plugin-sdk/{store-Do3t33-c.js → store-BdrNabcU.js} +2 -2
  107. package/dist/plugin-sdk/{subsystem-Coz2AgU8.js → subsystem-B2uDN3TV.js} +1 -1
  108. package/dist/plugin-sdk/{tables-DR0NmBeH.js → tables-DNwXwNFa.js} +1 -1
  109. package/dist/plugin-sdk/{target-errors-B7YyMnIi.js → target-errors-Paro1BjP.js} +2 -2
  110. package/dist/plugin-sdk/{thinking-DCNUIAHY.js → thinking-CXqf7WTe.js} +5 -5
  111. package/dist/plugin-sdk/{tokens-CWMflosr.js → tokens-bC3UVmVH.js} +1 -1
  112. package/dist/plugin-sdk/{tool-images-D7Lno-TE.js → tool-images-HJ2sfZDV.js} +2 -2
  113. package/dist/plugin-sdk/{tool-loop-detection-DU5sTIKg.js → tool-loop-detection-at_K42K7.js} +2 -2
  114. package/dist/plugin-sdk/web-Msnzya6B.js +65 -0
  115. package/dist/plugin-sdk/{whatsapp-actions-CcBzDuL-.js → whatsapp-actions-DfseosPO.js} +21 -21
  116. package/dist/{plugins-cli-BUFrZlyR.js → plugins-cli-C7xTf9NV.js} +2 -2
  117. package/dist/{plugins-cli-CMCwFRL9.js → plugins-cli-CXz_UApK.js} +2 -2
  118. package/dist/{program-BdVazL5L.js → program-8hWr4qGZ.js} +7 -7
  119. package/dist/{program-context-DZNOBe-u.js → program-context-BBtSJunF.js} +17 -17
  120. package/dist/{prompt-select-styled-uLoOKbdZ.js → prompt-select-styled-CwfroEHp.js} +4 -4
  121. package/dist/{prompt-select-styled-XyOMjPBV.js → prompt-select-styled-DUXeA9Zp.js} +4 -4
  122. package/dist/{provider-auth-helpers-D01YbcHZ.js → provider-auth-helpers-Dc7jBEOA.js} +1 -1
  123. package/dist/{provider-auth-helpers-CWf7gdZW.js → provider-auth-helpers-DhLHWjNU.js} +1 -1
  124. package/dist/{push-apns-B-zVLcnN.js → push-apns-CVZe5WVN.js} +1 -1
  125. package/dist/{push-apns-B2bxLda8.js → push-apns-CflJh75N.js} +1 -1
  126. package/dist/{register.agent-BYZEiWk1.js → register.agent-BnuJQ5lg.js} +6 -6
  127. package/dist/{register.agent-BF6_rPdM.js → register.agent-DV7IR1rI.js} +5 -5
  128. package/dist/{register.configure-4lt1A0NF.js → register.configure-BhncI0ij.js} +6 -6
  129. package/dist/{register.configure-B0g-yfDR.js → register.configure-DaIrJXWo.js} +6 -6
  130. package/dist/{register.maintenance-WBpgdygw.js → register.maintenance-BO1XWhVb.js} +7 -7
  131. package/dist/{register.maintenance-DXZyjFYw.js → register.maintenance-DK_p-7so.js} +8 -8
  132. package/dist/{register.message-CuoXu-_e.js → register.message-B194ue2R.js} +2 -2
  133. package/dist/{register.message-BHRBK4eH.js → register.message-B4CGCAn_.js} +2 -2
  134. package/dist/{register.onboard-D5-L8JYT.js → register.onboard-DidMCka8.js} +4 -4
  135. package/dist/{register.onboard-D-P9Wc41.js → register.onboard-Dt53qGB5.js} +4 -4
  136. package/dist/{register.setup-BzmkdzSO.js → register.setup-CLV1kk2-.js} +4 -4
  137. package/dist/{register.setup-D7NNQwXc.js → register.setup-DgUxMRZR.js} +4 -4
  138. package/dist/{register.status-health-sessions-BIwZhPIZ.js → register.status-health-sessions-CB10JLY6.js} +3 -3
  139. package/dist/{register.status-health-sessions-DiCr003h.js → register.status-health-sessions-TvGuwVoR.js} +3 -3
  140. package/dist/{register.subclis-BxbyrMu1.js → register.subclis-elNdyQio.js} +9 -9
  141. package/dist/{reply-BgOOEOPX.js → reply-DUZvOCsG.js} +7 -228
  142. package/dist/{run-main-BW5eFi2Y.js → run-main-gBPGqO8r.js} +14 -14
  143. package/dist/{server-methods-D-Gd1kMo.js → server-methods-BG0N79yY.js} +7 -7
  144. package/dist/{server-methods-Dp8iuEko.js → server-methods-dgW-8gC7.js} +7 -7
  145. package/dist/{server-node-events-B2_RCsYi.js → server-node-events-B_hsQw_N.js} +2 -2
  146. package/dist/{server-node-events-CnjqDQbZ.js → server-node-events-ZtQKBPo3.js} +2 -2
  147. package/dist/{status-CGhoES6L.js → status-BqhJ-HsW.js} +1 -1
  148. package/dist/{status-4PSvL6ui.js → status-Cd9-xWsZ.js} +2 -2
  149. package/dist/{status-kFfqsras.js → status-D-IvYfjk.js} +2 -2
  150. package/dist/{status-CrVk9Tz5.js → status-D4Lr90yH.js} +1 -1
  151. package/dist/{subagent-registry-M6DQwhYN.js → subagent-registry-J2pIBQF7.js} +7 -228
  152. package/dist/{unified-runner-DckayuEM.js → unified-runner-oH9Pt-cO.js} +7 -228
  153. package/dist/{update-cli-DCYkskZu.js → update-cli-B7TLu25J.js} +8 -8
  154. package/dist/{update-cli-x5YGUm9F.js → update-cli-D8nA6U7C.js} +7 -7
  155. package/dist/{update-runner-BIp88-4P.js → update-runner-D8AFB8Oi.js} +1 -1
  156. package/dist/{update-runner-Dmki2xrH.js → update-runner-DvZOsoQs.js} +1 -1
  157. package/dist/{web-1JPHv6du.js → web-0xZpP0WA.js} +1 -1
  158. package/dist/{web-DWSTD7Gy.js → web-CAy-xQv2.js} +1 -1
  159. package/dist/{web-rShvuTx4.js → web-DDiOPIdv.js} +2 -2
  160. package/dist/{web-C40boK8U.js → web-mQInjWbW.js} +1 -1
  161. package/package.json +1 -1
  162. package/dist/plugin-sdk/web-CmT3D7vj.js +0 -65
  163. package/skills/self-inspect/SKILL.md +0 -109
@@ -1,7 +1,7 @@
1
1
  import "./paths-Cqn-zk3M.js";
2
2
  import "./utils-B-0b9bGM.js";
3
3
  import "./thinking-EAliFiVK.js";
4
- import { Et as agentCommand, Mt as resolveOutboundTarget, Pt as createOutboundSendDeps, b as resolveGatewaySessionStoreTarget, st as requestHeartbeatNow, v as loadSessionEntry, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys } from "./reply-BgOOEOPX.js";
4
+ import { Et as agentCommand, Mt as resolveOutboundTarget, Pt as createOutboundSendDeps, b as resolveGatewaySessionStoreTarget, st as requestHeartbeatNow, v as loadSessionEntry, xr as enqueueSystemEvent, y as pruneLegacyStoreKeys } from "./reply-DUZvOCsG.js";
5
5
  import { c as normalizeMainKey } from "./session-key-DCt45XZa.js";
6
6
  import "./registry-Cja8eT7G.js";
7
7
  import { f as defaultRuntime } from "./subsystem-D9vIQve0.js";
@@ -102,7 +102,7 @@ import "./pi-tools.policy-CIDBbw6x.js";
102
102
  import "./control-service-Bz7rxLWq.js";
103
103
  import "./stagger-BUClb97_.js";
104
104
  import "./channel-selection-DuWs0Aak.js";
105
- import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-B2bxLda8.js";
105
+ import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CflJh75N.js";
106
106
  import { randomUUID } from "node:crypto";
107
107
 
108
108
  //#region src/gateway/server-node-events.ts
@@ -1,4 +1,4 @@
1
- import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-BgOOEOPX.js";
1
+ import { dt as createPluginLoaderLogger, ft as loadSymiPlugins } from "./reply-DUZvOCsG.js";
2
2
  import { t as createSubsystemLogger } from "./subsystem-D9vIQve0.js";
3
3
  import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-CgUHAtCo.js";
4
4
  import { i as loadConfig } from "./config-CHwyw6l5.js";
@@ -1,6 +1,6 @@
1
1
  import { u as resolveGatewayPort } from "./paths-Cqn-zk3M.js";
2
2
  import { B as theme, k as info, z as isRich } from "./utils-B-0b9bGM.js";
3
- import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-BgOOEOPX.js";
3
+ import { B as summarizeRestartSentinel, Jt as sha256HexPrefix, _t as formatUsageReportLines, a as buildChannelSummary, gt as loadProviderUsageSummary, h as listAgentsForGateway, m as classifySessionKey, o as buildChannelAccountSnapshot, pr as lookupContextTokens, s as formatChannelAllowFrom, wr as peekSystemEvents, x as resolveSessionModelRef, z as readRestartSentinel } from "./reply-DUZvOCsG.js";
4
4
  import { S as parseAgentSessionKey } from "./session-key-DCt45XZa.js";
5
5
  import { t as resolveSymiPackageRoot } from "./symi-root-CrGJbkzf.js";
6
6
  import { n as runExec } from "./exec-CWkblSrI.js";
@@ -28,7 +28,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-CR9445g5.j
28
28
  import { t as readLastGatewayErrorLine } from "./diagnostics-BAMlsVVX.js";
29
29
  import { t as renderTable } from "./table-BTgkRafz.js";
30
30
  import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-CrITRV6w.js";
31
- import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-B3pwVJ_N.js";
31
+ import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-B32Q-KYM.js";
32
32
  import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-CtckACbb.js";
33
33
  import { t as resolveNodeService } from "./node-service-Cxz4e-Qd.js";
34
34
  import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-yQZNwAF2.js";
@@ -9,7 +9,7 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-D-jRCY0d.js";
9
9
  import { t as buildWorkspaceSkillStatus } from "./skills-status-DKXJ-tbi.js";
10
10
  import { H as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-DHBLS1Hl.js";
11
11
  import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BcE47FtD.js";
12
- import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-M6DQwhYN.js";
12
+ import { En as peekSystemEvents, St as summarizeRestartSentinel, cn as buildChannelAccountSnapshot, in as formatUsageReportLines, ln as formatChannelAllowFrom, nt as sha256HexPrefix, rn as loadProviderUsageSummary, sn as buildChannelSummary, xt as readRestartSentinel } from "./subagent-registry-J2pIBQF7.js";
13
13
  import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-CJXnZVjR.js";
14
14
  import { n as listChannelPlugins } from "./plugins-CwSlLxM8.js";
15
15
  import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-CbbvYNVw.js";
@@ -29,7 +29,7 @@ import { t as formatRuntimeStatusWithDetails } from "./runtime-status-hFVEC3wO.j
29
29
  import { t as readLastGatewayErrorLine } from "./diagnostics-CS1ov_hH.js";
30
30
  import { t as renderTable } from "./table-D01d2GuY.js";
31
31
  import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-Byo5jCLN.js";
32
- import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-8bTzq722.js";
32
+ import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CXjAtn1-.js";
33
33
  import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-ZdimP1aU.js";
34
34
  import { t as resolveNodeService } from "./node-service-fcZExd22.js";
35
35
  import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DVLB9DNB.js";
@@ -1,7 +1,7 @@
1
1
  import { o as createSubsystemLogger } from "./entry.js";
2
2
  import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-D-jRCY0d.js";
3
3
  import { i as loadConfig } from "./config-DHBLS1Hl.js";
4
- import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-M6DQwhYN.js";
4
+ import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-J2pIBQF7.js";
5
5
 
6
6
  //#region src/plugins/status.ts
7
7
  const log = createSubsystemLogger("plugins");
@@ -3,7 +3,7 @@ import { $t as triggerInternalHook, A as normalizeChannelId, B as getPluginComma
3
3
  import { A as buildConfiguredAllowlistKeys, At as resolveShellEnvFallbackTimeoutMs, Ct as resolveEnvApiKey, E as withFileLock, Et as normalizeSecretInput, F as modelKey, H as resolveDefaultModelForAgent, Ht as DEFAULT_MODEL, I as normalizeModelRef$2, K as resolveSubagentSpawnModelSelection, L as normalizeProviderId, M as findNormalizedProviderValue, Ot as getShellPathFromLoginShell, P as isCliProvider, T as resolveSymiAgentDir, Ut as DEFAULT_PROVIDER, V as resolveConfiguredModelRef, Vt as DEFAULT_CONTEXT_TOKENS, W as resolveModelRefFromString, Wt as resolveAuthProfileDisplayLabel, _t as createOllamaStreamFn, a as markAuthProfileFailure, b as ensureAuthProfileStore, bt as requireApiKey, c as resolveApiKeyForProfile, g as markAuthProfileGood, gt as OLLAMA_NATIVE_BASE_URL, h as listProfilesForProvider, i as isProfileInCooldown, j as buildModelAliasIndex, k as buildAllowedModelSet, m as dedupeProfileIds, n as resolveAuthProfileOrder, o as markAuthProfileUsed, q as resolveThinkingDefault, r as getSoonestCooldownExpiry, vt as getApiKeyForModel, w as resolveAuthStorePathForDisplay, wt as resolveModelAuthMode, xt as resolveApiKeyForProvider, yt as getCustomProviderApiKey } from "./auth-profiles-Q1xTr5SX.js";
4
4
  import { t as formatCliCommand } from "./command-format-BtYOfWxC.js";
5
5
  import { C as resolveThreadParentSessionKey, S as parseAgentSessionKey, _ as getSubagentDepth, b as isCronSessionKey, c as normalizeMainKey, d as sanitizeAgentId, h as normalizeAccountId$2, l as resolveAgentIdFromSessionKey, m as DEFAULT_ACCOUNT_ID, o as classifySessionKeyShape, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isAcpSessionKey, x as isSubagentSessionKey } from "./session-key-DjZ7Z1hW.js";
6
- import { n as resolveSymiPackageRootSync, t as resolveSymiPackageRoot } from "./symi-root-BNuQ4lAT.js";
6
+ import { t as resolveSymiPackageRoot } from "./symi-root-BNuQ4lAT.js";
7
7
  import { a as logError, i as logDebug, n as runExec, o as logInfo, r as spawnWithFallback, s as logWarn, t as runCommandWithTimeout } from "./exec-CBKBIMpA.js";
8
8
  import { C as ensureAgentWorkspace, E as loadWorkspaceBootstrapFiles, a as resolveAgentModelFallbacksOverride, c as resolveAgentWorkspaceDir, d as resolveSessionAgentId, f as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, l as resolveDefaultAgentId, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentModelPrimary, r as resolveAgentConfig, s as resolveAgentSkillsFilter, u as resolveEffectiveModelFallbacks, w as filterBootstrapFilesForSession } from "./agent-scope-D-jRCY0d.js";
9
9
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-DuFIqfeC.js";
@@ -32297,30 +32297,6 @@ function setCliSessionId(entry, provider, sessionId) {
32297
32297
  //#endregion
32298
32298
  //#region src/config/model-profiles-builtin.ts
32299
32299
  /**
32300
- * Starter pack — always-on context for models with tool arg corruption.
32301
- * ~500 tokens. Prevents the most common failure patterns.
32302
- * For detailed file modification guides, the self-inspect skill cascades from here.
32303
- */
32304
- const STARTER_PACK = [
32305
- "",
32306
- "YOUR FILES (use read tool directly on these paths — NEVER use exec to find or read files):",
32307
- "- Glass UI CSS: <SYMI_ROOT>/dist/control-ui/css/style.css",
32308
- "- Glass UI HTML: <SYMI_ROOT>/dist/control-ui/index.html",
32309
- "- Glass UI JS: <SYMI_ROOT>/dist/control-ui/js/app.js, gateway.js, render.js, models.js, history.js, symipulse.js, debug.js",
32310
- "- Package: <SYMI_ROOT>/package.json",
32311
- "- Config: ~/.symi/symi.json | Sessions: ~/.symi/agents/main/sessions/ | Memory: ~/.symi/state/memory/",
32312
- "- For detailed modification guides, read the self-inspect skill.",
32313
- "",
32314
- "TOOL RULES (mandatory):",
32315
- "- read/write/edit: Always provide the full absolute path directly. NEVER use exec with cat, head, find, grep, or ls to view files.",
32316
- "- exec/bash: Provide only valid shell syntax. No tags, no tokens, no markup. Spell commands exactly.",
32317
- "- web_search: Always include query argument. Example: web_search({ query: \"search terms\" })",
32318
- "- sessions_spawn: Always include task and mode. Example: sessions_spawn({ label: \"name\", mode: \"run\", task: \"description\" })",
32319
- "",
32320
- "KNOWN SHELL COMMANDS (use exact spelling):",
32321
- "awk basename brew cargo cat chmod chown cp curl cut date dd df diff dig dirname docker du echo env find gcc git go grep gunzip gzip head hostname id ifconfig ip java javac journalctl kill killall launchctl less ln locate ls make man mkdir mktemp more mount mv nc netstat nice node nohup npm npx open paste pbcopy pbpaste ping pip pip3 plutil printf ps pwd python python3 readlink realpath rm rmdir rsync ruby scp sed sleep sort ssh stat strings sudo su sw_vers sysctl system_profiler systemctl tail tar tee test top touch tr type uname uniq unzip wc wget which xargs xz yes zip"
32322
- ];
32323
- /**
32324
32300
  * Built-in model profiles. Ordered from most-specific to least-specific so
32325
32301
  * that `resolveModelProfile` can return the first match.
32326
32302
  *
@@ -32363,8 +32339,7 @@ const BUILTIN_PROFILES = [
32363
32339
  "- Do not write 'Verification:', 'Requirements:', 'Status Check:', or 'Everything is correct'.",
32364
32340
  "- If you need to verify your work, do so before writing your response, not after.",
32365
32341
  "- Send brief progress updates on long tasks so the user knows you are active.",
32366
- "- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax.",
32367
- ...STARTER_PACK
32342
+ "- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
32368
32343
  ],
32369
32344
  ui: {
32370
32345
  badge: "Local",
@@ -32436,8 +32411,7 @@ const BUILTIN_PROFILES = [
32436
32411
  "- If you need to verify your work, do so before writing your response, not after.",
32437
32412
  "- Keep planning and reasoning internal. Only speak when you have a result or need user input.",
32438
32413
  "- When working on multi-step tasks, send a brief one-line status update so the user knows you are active.",
32439
- "- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax.",
32440
- ...STARTER_PACK
32414
+ "- When calling tools, provide arguments as clean values only. Never include <|, |>, or XML-like tags in tool argument values. For exec/bash commands, provide only valid shell syntax."
32441
32415
  ],
32442
32416
  ui: {
32443
32417
  badge: "CoreWeave",
@@ -35605,175 +35579,6 @@ function toClientToolDefinitions(tools, onClientToolCall, hookContext) {
35605
35579
  * @module
35606
35580
  */
35607
35581
  /**
35608
- * Known shell commands for prefix deduplication.
35609
- * When token boundary corruption doubles a command prefix (grep → grgrep,
35610
- * ls → lsls), we check the first token against this set. If stripping
35611
- * the repeated prefix yields a known command, use it.
35612
- *
35613
- * O(1) lookup. Zero false positives — no valid command is its own prefix doubled.
35614
- */
35615
- const KNOWN_COMMANDS = new Set([
35616
- "ls",
35617
- "cat",
35618
- "cp",
35619
- "mv",
35620
- "rm",
35621
- "mkdir",
35622
- "rmdir",
35623
- "touch",
35624
- "chmod",
35625
- "chown",
35626
- "chgrp",
35627
- "ln",
35628
- "pwd",
35629
- "echo",
35630
- "printf",
35631
- "head",
35632
- "tail",
35633
- "wc",
35634
- "sort",
35635
- "uniq",
35636
- "cut",
35637
- "tr",
35638
- "tee",
35639
- "xargs",
35640
- "env",
35641
- "date",
35642
- "sleep",
35643
- "true",
35644
- "false",
35645
- "yes",
35646
- "test",
35647
- "expr",
35648
- "basename",
35649
- "dirname",
35650
- "readlink",
35651
- "realpath",
35652
- "mktemp",
35653
- "stat",
35654
- "file",
35655
- "dd",
35656
- "df",
35657
- "du",
35658
- "id",
35659
- "whoami",
35660
- "hostname",
35661
- "uname",
35662
- "grep",
35663
- "egrep",
35664
- "fgrep",
35665
- "find",
35666
- "locate",
35667
- "sed",
35668
- "awk",
35669
- "diff",
35670
- "patch",
35671
- "strings",
35672
- "less",
35673
- "more",
35674
- "tar",
35675
- "gzip",
35676
- "gunzip",
35677
- "zip",
35678
- "unzip",
35679
- "bzip2",
35680
- "xz",
35681
- "curl",
35682
- "wget",
35683
- "ssh",
35684
- "scp",
35685
- "rsync",
35686
- "ping",
35687
- "dig",
35688
- "nslookup",
35689
- "netstat",
35690
- "lsof",
35691
- "nc",
35692
- "ifconfig",
35693
- "ip",
35694
- "ps",
35695
- "top",
35696
- "kill",
35697
- "killall",
35698
- "nohup",
35699
- "nice",
35700
- "which",
35701
- "type",
35702
- "where",
35703
- "man",
35704
- "sudo",
35705
- "su",
35706
- "mount",
35707
- "umount",
35708
- "systemctl",
35709
- "journalctl",
35710
- "launchctl",
35711
- "dmesg",
35712
- "sysctl",
35713
- "git",
35714
- "make",
35715
- "gcc",
35716
- "python",
35717
- "python3",
35718
- "pip",
35719
- "pip3",
35720
- "node",
35721
- "npm",
35722
- "npx",
35723
- "pnpm",
35724
- "yarn",
35725
- "cargo",
35726
- "go",
35727
- "ruby",
35728
- "gem",
35729
- "java",
35730
- "javac",
35731
- "docker",
35732
- "brew",
35733
- "open",
35734
- "pbcopy",
35735
- "pbpaste",
35736
- "defaults",
35737
- "diskutil",
35738
- "sw_vers",
35739
- "system_profiler",
35740
- "plutil",
35741
- "mdfind",
35742
- "mdls",
35743
- "softwareupdate",
35744
- "caffeinate",
35745
- "say",
35746
- "osascript",
35747
- "security",
35748
- "codesign",
35749
- "hdiutil",
35750
- "installer",
35751
- "lipo",
35752
- "otool",
35753
- "dscl",
35754
- "scutil"
35755
- ]);
35756
- /**
35757
- * Fix command prefix duplication from token boundary splits.
35758
- * Token corruption can double a multi-char prefix: grep → grgrep, ls → lsls.
35759
- * Check if the first token starts with a repeated prefix that, when removed,
35760
- * yields a known command.
35761
- *
35762
- * Examples: grgrep → grep, lsls → ls, catcat → cat, curlcurl → curl
35763
- */
35764
- function dedupCommandPrefix(command) {
35765
- const match = command.match(/^([a-zA-Z0-9_-]+)/);
35766
- if (!match) return command;
35767
- const firstToken = match[1];
35768
- if (KNOWN_COMMANDS.has(firstToken)) return command;
35769
- for (let prefixLen = 2; prefixLen <= Math.min(10, Math.floor(firstToken.length / 2)); prefixLen++) {
35770
- const prefix = firstToken.slice(0, prefixLen);
35771
- const candidate = firstToken.slice(prefixLen);
35772
- if (candidate.startsWith(prefix.slice(0, Math.min(prefix.length, candidate.length))) && KNOWN_COMMANDS.has(candidate)) return candidate + command.slice(firstToken.length);
35773
- }
35774
- return command;
35775
- }
35776
- /**
35777
35582
  * Validate that a command string contains extractable valid shell syntax.
35778
35583
  * Returns the cleaned command if valid, or an error reason if not.
35779
35584
  *
@@ -35792,7 +35597,6 @@ function validateShellCommand(command) {
35792
35597
  cleaned = cleaned.replace(/<\|[^|>]*(?:\|>)?/g, "").trim();
35793
35598
  cleaned = cleanResidualTokenFragments(cleaned);
35794
35599
  }
35795
- cleaned = dedupCommandPrefix(cleaned);
35796
35600
  if (!cleaned || !cleaned.trim()) return {
35797
35601
  valid: false,
35798
35602
  cleaned: "",
@@ -39849,18 +39653,7 @@ async function runEmbeddedAttempt(params) {
39849
39653
  const profileModelKey = params.modelId ?? "";
39850
39654
  const modelProfile = resolveModelProfile(profileModelKey, params.config?.models?.profiles);
39851
39655
  log$5.debug(`[profile] resolved: modelId=${profileModelKey} → profile=${modelProfile.label} validateToolArgs=${modelProfile.filters?.validateToolArgs ?? false}`);
39852
- const systemPromptText = createSystemPromptOverride(appendPrompt + (() => {
39853
- if (modelProfile.promptAdditions.length === 0) return "";
39854
- let text = "\n\n" + modelProfile.promptAdditions.join("\n");
39855
- if (text.includes("<SYMI_ROOT>")) {
39856
- const symiRoot = resolveSymiPackageRootSync({
39857
- moduleUrl: import.meta.url,
39858
- argv1: process.argv[1]
39859
- });
39860
- if (symiRoot) text = text.replaceAll("<SYMI_ROOT>", symiRoot);
39861
- }
39862
- return text;
39863
- })())();
39656
+ const systemPromptText = createSystemPromptOverride(appendPrompt + (modelProfile.promptAdditions.length > 0 ? "\n\n" + modelProfile.promptAdditions.join("\n") : ""))();
39864
39657
  const sessionLock = await acquireSessionWriteLock({
39865
39658
  sessionFile: params.sessionFile,
39866
39659
  maxHoldMs: resolveSessionLockMaxHoldFromTimeout({ timeoutMs: params.timeoutMs })
@@ -40134,18 +39927,6 @@ async function runEmbeddedAttempt(params) {
40134
39927
  const TOOL_ERROR_ABORT_THRESHOLD = 5;
40135
39928
  const TOOL_ERROR_WARN_THRESHOLD = 3;
40136
39929
  let consecutiveToolErrors = 0;
40137
- /** Detect exec/bash results that indicate a shell error (non-zero exit, command not found, etc.) */
40138
- const isShellErrorResult = (result) => {
40139
- if (!result || typeof result !== "object") return false;
40140
- const content = result.content;
40141
- if (!Array.isArray(content)) return false;
40142
- const text = content.filter((b) => b && typeof b === "object" && b.type === "text").map((b) => {
40143
- const t = b.text;
40144
- return typeof t === "string" ? t : "";
40145
- }).join("\n");
40146
- if (!text) return false;
40147
- return /exit code [1-9]\d*|command not found|No such file or directory|syntax error|parse error|Permission denied|not recognized|cannot execute/i.test(text);
40148
- };
40149
39930
  const subscription = subscribeEmbeddedPiSession({
40150
39931
  session: activeSession,
40151
39932
  runId: params.runId,
@@ -40171,9 +39952,7 @@ async function runEmbeddedAttempt(params) {
40171
39952
  const phase = typeof evt.data?.phase === "string" ? evt.data.phase : "";
40172
39953
  const isError = evt.data?.isError === true;
40173
39954
  if (phase === "result") {
40174
- const toolName = typeof evt.data?.name === "string" ? evt.data.name : "";
40175
- const isExecShellError = !isError && (toolName === "exec" || toolName === "bash") && isShellErrorResult(evt.data?.result);
40176
- if (isError || isExecShellError) consecutiveToolErrors++;
39955
+ if (isError) consecutiveToolErrors++;
40177
39956
  else consecutiveToolErrors = 0;
40178
39957
  if (consecutiveToolErrors >= TOOL_ERROR_ABORT_THRESHOLD) {
40179
39958
  const toolName = typeof evt.data?.name === "string" ? evt.data.name : "unknown";
@@ -53300,7 +53079,7 @@ function isVoiceChannelType(type) {
53300
53079
  function createDefaultDeps() {
53301
53080
  return {
53302
53081
  sendMessageWhatsApp: async (...args) => {
53303
- const { sendMessageWhatsApp } = await import("./web-DWSTD7Gy.js");
53082
+ const { sendMessageWhatsApp } = await import("./web-CAy-xQv2.js");
53304
53083
  return await sendMessageWhatsApp(...args);
53305
53084
  },
53306
53085
  sendMessageTelegram: async (...args) => {
@@ -68614,7 +68393,7 @@ function loadWebLoginQr() {
68614
68393
  return webLoginQrPromise;
68615
68394
  }
68616
68395
  function loadWebChannel() {
68617
- webChannelPromise ??= import("./web-DWSTD7Gy.js");
68396
+ webChannelPromise ??= import("./web-CAy-xQv2.js");
68618
68397
  return webChannelPromise;
68619
68398
  }
68620
68399
  function loadWhatsAppActions() {