@symerian/symi 3.5.25 → 3.5.27
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/{agent-DgVWcnlD.js → agent-CB5yb-7V.js} +1 -1
- package/dist/{agent-CBfp75J4.js → agent-DxRVDqSg.js} +1 -1
- package/dist/{agents-Dlcpc1K3.js → agents-DtRd3yEb.js} +3 -3
- package/dist/{audit-Ce-u6aaR.js → audit-C_3fAFeS.js} +2 -2
- package/dist/{audit-CPloCzEZ.js → audit-DyncRBKq.js} +2 -2
- package/dist/{auth-choice--DymOp5O.js → auth-choice-5SLfZiQ7.js} +2 -2
- package/dist/{auth-choice-CUvx59kv.js → auth-choice-DQplW60s.js} +2 -2
- package/dist/{banner-CY_9VW7E.js → banner-B_P_FrmA.js} +1 -1
- package/dist/{browser-cli-C5VVk6C9.js → browser-cli-CcCYZtag.js} +3 -3
- package/dist/{browser-cli-Ibgld3mA.js → browser-cli-D6xFqw9w.js} +3 -3
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{call-xdEE97oU.js → call-AZ9vNhST.js} +1 -1
- package/dist/{call-C2urR5Fj.js → call-DTshgdlW.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-rFgJaKzJ.js → channel-options-8NGYZjfd.js} +1 -1
- package/dist/{channel-options-DCmWOAc0.js → channel-options-DnWkDAWi.js} +1 -1
- package/dist/{channels-cli-QMHCRAb5.js → channels-cli-Bx90nSmB.js} +9 -9
- package/dist/{channels-cli-Cs1Z0dn8.js → channels-cli-CGCyzahW.js} +9 -9
- package/dist/{cli-BafqEuaj.js → cli-DHG9iZJi.js} +6 -6
- package/dist/{cli-CadU09SC.js → cli-DZAtyHzb.js} +6 -6
- package/dist/{client-yVTJ5jx5.js → client-BOd5o3Kp.js} +9 -1
- package/dist/{client-Cs9Bh-G0.js → client-DH75FlQF.js} +9 -1
- package/dist/{command-registry-CLm8TAH3.js → command-registry-DBbzZvh6.js} +11 -11
- package/dist/{completion-cli-Dd56ibFZ.js → completion-cli-Cbf0-8ob.js} +1 -1
- package/dist/{completion-cli-DOBXkVwG.js → completion-cli-DoQrkCAd.js} +2 -2
- package/dist/{config-cli-BgHYqFH1.js → config-cli-9a5qBcdo.js} +1 -1
- package/dist/{config-cli-GwUJEapt.js → config-cli-D4RmoOxe.js} +1 -1
- package/dist/{configure-5md67tCP.js → configure-kaf3aurx.js} +6 -6
- package/dist/{configure-DmzM0S7L.js → configure-ryB8EvyP.js} +6 -6
- package/dist/control-ui/css/style.css +311 -0
- package/dist/control-ui/index.html +42 -0
- package/dist/control-ui/js/symframe-modes.js +65 -0
- package/dist/control-ui/js/symframe.js +139 -0
- package/dist/{cron-cli-BNBs3zue.js → cron-cli-DsGkkt1s.js} +3 -3
- package/dist/{cron-cli-CE9bV9Et.js → cron-cli-VH_t2D1o.js} +3 -3
- package/dist/{daemon-cli-BYiG4GOU.js → daemon-cli-3PFXkheJ.js} +2 -2
- package/dist/{daemon-cli-DDqeG2nd.js → daemon-cli-dbAPTgGm.js} +2 -2
- package/dist/daemon-cli.js +9 -1
- package/dist/{devices-cli-Bhr6jGtH.js → devices-cli-Bhi1rWnT.js} +2 -2
- package/dist/{devices-cli-BJ3rVWOw.js → devices-cli-CIAuYH4P.js} +2 -2
- package/dist/{doctor-completion-BpUGRguQ.js → doctor-completion--j-3qqz6.js} +1 -1
- package/dist/{doctor-completion-k0HiL05o.js → doctor-completion-Bk55g4MP.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-Cau1vPQI.js → exec-approvals-cli-BiXeyPPz.js} +4 -4
- package/dist/{exec-approvals-cli-CzvIqBUd.js → exec-approvals-cli-xTOKcyZh.js} +4 -4
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-D1d5YAt0.js → gateway-cli-B3FuQctH.js} +16 -16
- package/dist/{gateway-cli-DgmGygc6.js → gateway-cli-BGMVOW2G.js} +16 -16
- package/dist/{gateway-rpc-BTGT1SuZ.js → gateway-rpc-C6lKFbor.js} +1 -1
- package/dist/{gateway-rpc-Kv0-8W2E.js → gateway-rpc-DpRnrv_i.js} +1 -1
- package/dist/{glass-ui-ws-BH9WH_VN.js → glass-ui-ws-BJcI_IdV.js} +13 -13
- package/dist/{glass-ui-ws-Dl45d7eU.js → glass-ui-ws-Z-W33_mF.js} +13 -13
- package/dist/{health-DpE9GWGn.js → health-7UqIGG8U.js} +1 -1
- package/dist/{health-znS85U-F.js → health-Dkwuq8ta.js} +1 -1
- package/dist/{hooks-cli-Cb9BzCOY.js → hooks-cli-Bn6x6Jnj.js} +7 -7
- package/dist/{hooks-cli-D7xxbEwI.js → hooks-cli-D43GEG-W.js} +7 -7
- package/dist/index.js +10 -10
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{logs-cli-DvIVuW0d.js → logs-cli-BTU7zrkU.js} +3 -3
- package/dist/{logs-cli-LiAjkog2.js → logs-cli-CJLJ745C.js} +3 -3
- package/dist/{manager-V4UCf0Av.js → manager-BHddoe4T.js} +1 -1
- package/dist/{manager-CoCX7L5u.js → manager-Cw7IJGbB.js} +1 -1
- package/dist/{manager-CceVgXHV.js → manager-DH00nlW8.js} +1 -1
- package/dist/{manager-Cv4xI8sP.js → manager-DbVMwpDc.js} +1 -1
- package/dist/{memory-B067LTL9.js → memory-BZ24UkLW.js} +2 -2
- package/dist/{memory-A2D5e8dL.js → memory-C02Znuee.js} +2 -2
- package/dist/{memory-cli-1zjVJITN.js → memory-cli-083UJtVJ.js} +2 -2
- package/dist/{memory-cli-D8Z_5-Nz.js → memory-cli-0HHYm-B8.js} +2 -2
- package/dist/{models-BYev6YAG.js → models-Bh_frCup.js} +3 -3
- package/dist/{models-cli-Fa5r1QYP.js → models-cli-BhBu4Dwm.js} +9 -9
- package/dist/{models-cli-C979SN3Z.js → models-cli-C2EXmrYH.js} +8 -8
- package/dist/{node-cli-Cv7x1gGu.js → node-cli-CBW_ECu_.js} +1 -1
- package/dist/{node-cli-DGybtex_.js → node-cli-CWbA6YCw.js} +1 -1
- package/dist/{nodes-cli-C-mEw2av.js → nodes-cli-BfHcv62i.js} +3 -3
- package/dist/{nodes-cli-DaHOBbd4.js → nodes-cli-CJ0gxF5n.js} +3 -3
- package/dist/{onboard-D-m6WTZl.js → onboard-BSxqEQfo.js} +3 -3
- package/dist/{onboard-CotuAZi6.js → onboard-DnwWawQO.js} +3 -3
- package/dist/{onboard-channels-Z-Jkrk5-.js → onboard-channels-BkR3MKMp.js} +1 -1
- package/dist/{onboard-channels-DSyynpou.js → onboard-channels-qDThNkyj.js} +1 -1
- package/dist/{onboard-helpers-CLXJ8zp0.js → onboard-helpers-7IGQ8nAM.js} +1 -1
- package/dist/{onboard-helpers-Dhr98nj8.js → onboard-helpers-t7tI9KSA.js} +1 -1
- package/dist/{onboard-remote-DZdMxd1Q.js → onboard-remote-DH3bPYbE.js} +1 -1
- package/dist/{onboard-remote-BYBai0w3.js → onboard-remote-Dr75eqOQ.js} +1 -1
- package/dist/{onboard-skills-2SUv-W7i.js → onboard-skills-Bjf7kWvg.js} +1 -1
- package/dist/{onboard-skills-BxJlS1Bk.js → onboard-skills-uO7HZwjc.js} +1 -1
- package/dist/{onboarding-BckHLQMV.js → onboarding-CrCGoZ4H.js} +7 -7
- package/dist/{onboarding-BnoGiOh3.js → onboarding-DxZAGVkD.js} +7 -7
- package/dist/{onboarding.finalize-CbH_ShIW.js → onboarding.finalize-BYzduVFA.js} +9 -9
- package/dist/{onboarding.finalize-g86Q4433.js → onboarding.finalize-Dt-rcgpk.js} +8 -8
- package/dist/{onboarding.gateway-config-CEXjbEM0.js → onboarding.gateway-config-CkP7K4EN.js} +3 -3
- package/dist/{onboarding.gateway-config-sNSeEykB.js → onboarding.gateway-config-xWUSbtoY.js} +3 -3
- package/dist/{pi-embedded-B9rtlNMc.js → pi-embedded-DGnpyHm-.js} +50 -7
- package/dist/{plugin-registry-CS4WgHbu.js → plugin-registry-B74FBx4U.js} +1 -1
- package/dist/{plugin-registry-AsC9gydF.js → plugin-registry-D2_TLnOr.js} +1 -1
- package/dist/plugin-sdk/agents/tools/browser-tool.schema.d.ts +1 -1
- package/dist/plugin-sdk/gateway/protocol/schema/logs-chat.d.ts +5 -1
- package/dist/plugin-sdk/infra/symframe-broadcast.d.ts +7 -2
- package/dist/{plugins-cli-BY42hyHP.js → plugins-cli-Cmf3kRf5.js} +7 -7
- package/dist/{plugins-cli-CbByGz8z.js → plugins-cli-CqV1Q7ao.js} +7 -7
- package/dist/{program-P9F1DxBa.js → program-CGuYYumL.js} +12 -12
- package/dist/{program-context-CiyK6MfV.js → program-context-B0ovpbFU.js} +30 -30
- package/dist/{prompt-select-styled-DaNQ_GgB.js → prompt-select-styled-B5GrNfqR.js} +7 -7
- package/dist/{prompt-select-styled-B2ah467m.js → prompt-select-styled-b752FPLG.js} +7 -7
- package/dist/{provider-auth-helpers-Bgb_Bfp9.js → provider-auth-helpers-BKveYcEH.js} +1 -1
- package/dist/{provider-auth-helpers-D2FDvwT5.js → provider-auth-helpers-DU8RlQz7.js} +1 -1
- package/dist/{push-apns-va-DRu4U.js → push-apns-CyAPMMJC.js} +1 -1
- package/dist/{push-apns-DnSCjFu7.js → push-apns-HNg0rTkI.js} +1 -1
- package/dist/{register.agent-BqdQ0s30.js → register.agent-BKbQhrre.js} +11 -11
- package/dist/{register.agent-BuEcmVg0.js → register.agent-DbPYGG3u.js} +12 -12
- package/dist/{register.configure-YDKJ-KQg.js → register.configure-B0M15y31.js} +14 -14
- package/dist/{register.configure-Dhwi-4FG.js → register.configure-C4_ShaQV.js} +14 -14
- package/dist/{register.maintenance-iMjNw9uy.js → register.maintenance-BOYWTu9C.js} +12 -12
- package/dist/{register.maintenance-BiGvpEj-.js → register.maintenance-bzLNOqch.js} +13 -13
- package/dist/{register.message-BIuLbESM.js → register.message-Bfukmte_.js} +7 -7
- package/dist/{register.message-Ao_b9s2g.js → register.message-BtCthbpo.js} +7 -7
- package/dist/{register.onboard-C4vIASed.js → register.onboard-CDsSVoFI.js} +6 -6
- package/dist/{register.onboard-ymhSAezZ.js → register.onboard-D5GmuX8K.js} +6 -6
- package/dist/{register.setup-D-Jt2e1d.js → register.setup-Bp8rYeRx.js} +6 -6
- package/dist/{register.setup-CKs9mqtD.js → register.setup-DzospfSf.js} +6 -6
- package/dist/{register.status-health-sessions-BY9hMD1s.js → register.status-health-sessions-DE2db_Uo.js} +8 -8
- package/dist/{register.status-health-sessions-U-azRmpb.js → register.status-health-sessions-NVbWTQpZ.js} +8 -8
- package/dist/{register.subclis-Cibmeapc.js → register.subclis-QXO75pUm.js} +20 -20
- package/dist/{rpc-DjqFrbOc.js → rpc-B1czfnym.js} +1 -1
- package/dist/{rpc-BnAKPQDB.js → rpc-BBtNUyxN.js} +1 -1
- package/dist/{run-main-BhEQjKtM.js → run-main-MD8Z8ydF.js} +20 -20
- package/dist/{security-cli-CS-ZT1LE.js → security-cli-DZ-6QDRB.js} +3 -3
- package/dist/{security-cli-JKsf9SIu.js → security-cli-l59T6lAJ.js} +3 -3
- package/dist/{server-methods-B2tykucj.js → server-methods-Bl41VzMu.js} +18 -12
- package/dist/{server-methods-CWxr5b-w.js → server-methods-DTkVQH8Q.js} +18 -12
- package/dist/{server-node-events-ClDEcUTJ.js → server-node-events-C0smPxrR.js} +8 -8
- package/dist/{server-node-events-BKqszk_a.js → server-node-events-CxYKzrbU.js} +8 -8
- package/dist/{status-ojZB_Lrf.js → status-BEZotN01.js} +5 -5
- package/dist/{status-DHBVIMyL.js → status-D7QX7VDk.js} +5 -5
- package/dist/{status-DPGFZPpp.js → status-DrWy5OkC.js} +1 -1
- package/dist/{status-K1k4g3Ai.js → status-OTYFx93W.js} +1 -1
- package/dist/{subagent-registry-BOt7g9hn.js → subagent-registry-CVhLz4p3.js} +43 -8
- package/dist/{symframe-cli-CrUtJw_7.js → symframe-cli-BSAQ05fb.js} +22 -6
- package/dist/{symframe-cli-CX3dINPw.js → symframe-cli-BVmRLRid.js} +22 -6
- package/dist/{synthesis-Bc2QkGvt.js → synthesis-C1mZnGqD.js} +2 -2
- package/dist/{synthesis-yl24Ovw4.js → synthesis-CO5pr92g.js} +2 -2
- package/dist/{synthesis-BIQLrbys.js → synthesis-RhT991Ni.js} +6 -6
- package/dist/{synthesis-DmqicCsT.js → synthesis-ts2nG0tK.js} +6 -6
- package/dist/{system-cli-DUHzCGfK.js → system-cli-Du1GEeoO.js} +3 -3
- package/dist/{system-cli-CvN-Wq9U.js → system-cli-Dy6_0Qp7.js} +3 -3
- package/dist/{tui-DCqVZ6sC.js → tui-B2MY6Mj2.js} +2 -2
- package/dist/{tui-cli-DqvgN5ng.js → tui-cli-B-DKpOxE.js} +3 -3
- package/dist/{tui-cli-CI-P3sei.js → tui-cli-BMEnosW9.js} +3 -3
- package/dist/{tui-BxgdImL_.js → tui-h57L-YTX.js} +2 -2
- package/dist/{unified-runner-CznU7Ad0.js → unified-runner-4O0ifBsI.js} +43 -8
- package/dist/{unified-runner-BV5TdNFv.js → unified-runner-O3qR5Iie.js} +50 -7
- package/dist/{update-cli-DBoIBDNe.js → update-cli-BMURsYJU.js} +13 -13
- package/dist/{update-cli-Dn6QQZLd.js → update-cli-D9g9s187.js} +14 -14
- package/extensions/memory-core/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/outlook/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as resolveOutboundTarget } from "./unified-runner-
|
|
1
|
+
import { k as resolveOutboundTarget } from "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import "./registry-Sbac4a4z.js";
|
|
3
3
|
import "./paths-By0XjHBk.js";
|
|
4
4
|
import "./utils-CTPsqyE_.js";
|
|
@@ -51,8 +51,8 @@ import "./session-cost-usage-D3mgssM_.js";
|
|
|
51
51
|
import { C as enqueueSystemEvent, c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-Cs1jlD-q.js";
|
|
52
52
|
import "./with-timeout-DPR4A2dx.js";
|
|
53
53
|
import "./reply-prefix-BFNeXT65.js";
|
|
54
|
-
import "./memory-
|
|
55
|
-
import "./manager-
|
|
54
|
+
import "./memory-BZ24UkLW.js";
|
|
55
|
+
import "./manager-Cw7IJGbB.js";
|
|
56
56
|
import "./sqlite-Cod7C5ba.js";
|
|
57
57
|
import "./chunk-BxfKjCUx.js";
|
|
58
58
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
@@ -60,8 +60,8 @@ import "./fetch-guard-JHxT9355.js";
|
|
|
60
60
|
import "./local-roots-CgDCgCuM.js";
|
|
61
61
|
import "./commands-DUzLGgEZ.js";
|
|
62
62
|
import "./commands-registry-Ca5hh7nh.js";
|
|
63
|
-
import "./client-
|
|
64
|
-
import "./call-
|
|
63
|
+
import "./client-DH75FlQF.js";
|
|
64
|
+
import "./call-AZ9vNhST.js";
|
|
65
65
|
import "./pairing-token-Dcy37-4s.js";
|
|
66
66
|
import "./tool-display-DFOL6UQ9.js";
|
|
67
67
|
import "./skills-remote-bz71Bstn.js";
|
|
@@ -83,14 +83,14 @@ import "./links-Bqr0FxXx.js";
|
|
|
83
83
|
import "./cli-utils-CuyGL3rq.js";
|
|
84
84
|
import "./help-format-7hFcsqss.js";
|
|
85
85
|
import "./progress-swt2y17x.js";
|
|
86
|
-
import "./memory-cli-
|
|
86
|
+
import "./memory-cli-0HHYm-B8.js";
|
|
87
87
|
import "./logging-BWknayJl.js";
|
|
88
88
|
import "./replies-CbXXjn9X.js";
|
|
89
89
|
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
90
90
|
import "./model-MUMSB_7d.js";
|
|
91
91
|
import "./deps-Bf9dt2UO.js";
|
|
92
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
93
|
-
import { t as agentCommand } from "./agent-
|
|
92
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-CyAPMMJC.js";
|
|
93
|
+
import { t as agentCommand } from "./agent-DxRVDqSg.js";
|
|
94
94
|
import { t as createOutboundSendDeps } from "./outbound-send-deps--SpwgFhS.js";
|
|
95
95
|
import { randomUUID } from "node:crypto";
|
|
96
96
|
|
|
@@ -8,13 +8,13 @@ import { c as resolveAgentWorkspaceDir } from "./agent-scope-C-Jte08L.js";
|
|
|
8
8
|
import { C as DEFAULT_MODEL, S as DEFAULT_CONTEXT_TOKENS, m as resolveConfiguredModelRef, w as DEFAULT_PROVIDER } from "./model-selection-CMx1evaF.js";
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-g3ssrjuX.js";
|
|
10
10
|
import { N as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-D7TcU4qN.js";
|
|
11
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
11
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DTshgdlW.js";
|
|
12
12
|
import { F as resolveMainSessionKey, j as resolveFreshSessionTotalTokens, o as loadSessionStore } from "./sessions-Dn6VXn4p.js";
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-BsEhWvLn.js";
|
|
14
14
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-FeJ1M0mP.js";
|
|
15
15
|
import { i as formatPortDiagnostics, n as inspectPortUsage } from "./ports-uA7P2qIK.js";
|
|
16
16
|
import { c as resolveStorePath } from "./paths-DtiEyjsC.js";
|
|
17
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
17
|
+
import { t as getMemorySearchManager } from "./memory-C02Znuee.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-CxLpEQOX.js";
|
|
19
19
|
import { t as getRemoteSkillEligibility } from "./skills-remote-DSGpkPJE.js";
|
|
20
20
|
import { _ as peekSystemEvents, b as formatChannelAllowFrom, d as formatUsageReportLines, n as sha256HexPrefix, o as readRestartSentinel, s as summarizeRestartSentinel, u as loadProviderUsageSummary, v as buildChannelSummary, y as buildChannelAccountSnapshot } from "./redact-identifier-BOxAUdff.js";
|
|
@@ -23,13 +23,13 @@ import { r as formatDurationPrecise } from "./format-duration-CIjmjQST.js";
|
|
|
23
23
|
import { n as withProgress } from "./progress-CI19Xh3z.js";
|
|
24
24
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CBCZwlBW.js";
|
|
25
25
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-BTvrA4nx.js";
|
|
26
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
26
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-t7tI9KSA.js";
|
|
27
27
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-DYpU1ajf.js";
|
|
28
28
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-BgZqic8M.js";
|
|
29
29
|
import { t as readLastGatewayErrorLine } from "./diagnostics-D2oNwzue.js";
|
|
30
30
|
import { t as renderTable } from "./table-D0JXlEhQ.js";
|
|
31
|
-
import { l as probeGateway, o as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
32
|
-
import { t as formatHealthChannelLines } from "./health-
|
|
31
|
+
import { l as probeGateway, o as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-DyncRBKq.js";
|
|
32
|
+
import { t as formatHealthChannelLines } from "./health-Dkwuq8ta.js";
|
|
33
33
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-DLOnLuop.js";
|
|
34
34
|
import { t as resolveNodeService } from "./node-service-CZlyWmxa.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-BcXs5iuf.js";
|
|
@@ -13,8 +13,8 @@ import { H as resolveMainSessionKey, R as resolveFreshSessionTotalTokens, o as l
|
|
|
13
13
|
import { n as listChannelPlugins } from "./plugins-CF5skkHh.js";
|
|
14
14
|
import { c as resolveStorePath } from "./paths-BtvQ7JvU.js";
|
|
15
15
|
import { A as sha256HexPrefix, D as buildChannelAccountSnapshot, E as buildChannelSummary, O as formatChannelAllowFrom, T as peekSystemEvents, _ as loadProviderUsageSummary, l as resolveSessionModelRef, m as summarizeRestartSentinel, n as classifySessionKey, p as readRestartSentinel, r as listAgentsForGateway, v as formatUsageReportLines, x as lookupContextTokens } from "./session-utils-Cs1jlD-q.js";
|
|
16
|
-
import { t as getMemorySearchManager } from "./memory-
|
|
17
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { t as getMemorySearchManager } from "./memory-BZ24UkLW.js";
|
|
17
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-AZ9vNhST.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-D4GQsWlP.js";
|
|
19
19
|
import { t as getRemoteSkillEligibility } from "./skills-remote-bz71Bstn.js";
|
|
20
20
|
import { r as formatDurationPrecise } from "./format-duration-CIjmjQST.js";
|
|
@@ -22,13 +22,13 @@ import { n as withProgress } from "./progress-swt2y17x.js";
|
|
|
22
22
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-BKX1PjCc.js";
|
|
23
23
|
import { t as resolveChannelDefaultAccountId } from "./helpers-G6zuddmF.js";
|
|
24
24
|
import { t as collectChannelStatusIssues } from "./channels-status-issues-DLIzUsjR.js";
|
|
25
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
25
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-7IGQ8nAM.js";
|
|
26
26
|
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-e6MzlLCd.js";
|
|
27
27
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-DV2uMNRb.js";
|
|
28
28
|
import { t as readLastGatewayErrorLine } from "./diagnostics-DlZODdRf.js";
|
|
29
29
|
import { t as renderTable } from "./table-0A3xKJVC.js";
|
|
30
|
-
import { l as probeGateway, o as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-
|
|
31
|
-
import { t as formatHealthChannelLines } from "./health-
|
|
30
|
+
import { l as probeGateway, o as resolveGatewayProbeAuth$1, t as runSecurityAudit } from "./audit-C_3fAFeS.js";
|
|
31
|
+
import { t as formatHealthChannelLines } from "./health-7UqIGG8U.js";
|
|
32
32
|
import { g as resolveUpdateChannelDisplay, i as formatGitInstallLabel, m as normalizeUpdateChannel, t as checkUpdateStatus } from "./update-check-BCL_K7kx.js";
|
|
33
33
|
import { t as resolveNodeService } from "./node-service-BH08wY5j.js";
|
|
34
34
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-CZeGyu83.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-
|
|
1
|
+
import { o as createPluginLoaderLogger, s as loadSymiPlugins } from "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-CHbO_DkH.js";
|
|
3
3
|
import { D as resolveDefaultAgentWorkspaceDir, c as resolveAgentWorkspaceDir, l as resolveDefaultAgentId } from "./agent-scope-DOrZjOnW.js";
|
|
4
4
|
import { i as loadConfig } from "./config-B4jkreCN.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-C-Jte08L.js";
|
|
3
3
|
import { i as loadConfig } from "./config-D7TcU4qN.js";
|
|
4
|
-
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-
|
|
4
|
+
import { m as loadSymiPlugins, p as createPluginLoaderLogger } from "./subagent-registry-CVhLz4p3.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -20,8 +20,8 @@ import { a as resolveSkillsPromptForRun, d as resolveSandboxInputPath, h as appl
|
|
|
20
20
|
import { a as safeStatSync, c as applyTestPluginDefaults, d as resolveEnableState, f as resolveMemorySlotDecision, h as isDangerousHostEnvVarName, i as isPathInside, n as loadPluginManifestRegistry, r as discoverSymiPlugins, u as normalizePluginsConfig } from "./manifest-registry-CVLmi8rz.js";
|
|
21
21
|
import { A as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, C as unsetConfigValueAtPath, N as VERSION, S as setConfigValueAtPath, _ as resetConfigOverrides, b as getConfigValueAtPath, c as resolveConfigSnapshotHash, f as parseDurationMs, g as getConfigOverrides, h as validateJsonSchemaValue, i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot, u as validateConfigObjectWithPlugins, v as setConfigOverride, x as parseConfigPath, y as unsetConfigOverride } from "./config-D7TcU4qN.js";
|
|
22
22
|
import { i as resolveShellEnvFallbackTimeoutMs, n as getShellPathFromLoginShell } from "./shell-env-CTYaxUs_.js";
|
|
23
|
-
import { Ht as SESSION_LABEL_MAX_LENGTH } from "./client-
|
|
24
|
-
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege } from "./call-
|
|
23
|
+
import { Ht as SESSION_LABEL_MAX_LENGTH } from "./client-BOd5o3Kp.js";
|
|
24
|
+
import { a as randomIdempotencyKey, d as resolveLeastPrivilegeOperatorScopesForMethod, n as callGateway, r as callGatewayLeastPrivilege } from "./call-DTshgdlW.js";
|
|
25
25
|
import { a as isInternalMessageChannel, c as listDeliverableMessageChannels, h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES, n as isDeliverableMessageChannel, o as isMarkdownCapableMessageChannel, p as GATEWAY_CLIENT_IDS, t as INTERNAL_MESSAGE_CHANNEL, u as resolveGatewayMessageChannel } from "./message-channel-DXToSaWK.js";
|
|
26
26
|
import { i as normalizeInputProvenance, n as applyInputProvenanceToUserMessage, r as hasInterSessionUserProvenance } from "./input-provenance-BdV0rbga.js";
|
|
27
27
|
import { A as DEFAULT_RESET_TRIGGERS, B as resolveGroupSessionKey, D as resolveSessionResetPolicy, E as resolveChannelResetConfig, F as resolveMainSessionKey, G as deliveryContextKey, J as normalizeSessionDeliveryFields, K as mergeDeliveryContext, L as deriveSessionMetaPatch, O as resolveSessionResetType, T as evaluateSessionFreshness, U as resolveSessionLockMaxHoldFromTimeout, V as acquireSessionWriteLock, W as deliveryContextFromSession, _ as capArrayByJsonBytes, a as resolveAndPersistSessionFile, c as recordSessionMetaFromInbound, d as updateSessionStore, f as updateSessionStoreEntry, g as archiveSessionTranscripts, j as resolveFreshSessionTotalTokens, k as resolveThreadFlag, m as resolveCacheTtlMs$1, o as loadSessionStore, p as isCacheEnabled, q as normalizeDeliveryContext, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateLastRoute, w as resolveSessionKey } from "./sessions-Dn6VXn4p.js";
|
|
@@ -49,8 +49,8 @@ import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsX
|
|
|
49
49
|
import { i as resolveApiKeyForProvider, n as getCustomProviderApiKey, o as resolveEnvApiKey, r as requireApiKey, s as resolveModelAuthMode, t as getApiKeyForModel } from "./model-auth-Byr7Gic_.js";
|
|
50
50
|
import { b as OLLAMA_NATIVE_BASE_URL, c as normalizeGoogleModelId, t as ensureSymiModelsJson, x as createOllamaStreamFn } from "./models-config-CiR_RUxw.js";
|
|
51
51
|
import { i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-DV3KhOhL.js";
|
|
52
|
-
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-
|
|
53
|
-
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-
|
|
52
|
+
import { n as resolveMemoryBackendConfig, t as getMemorySearchManager } from "./memory-C02Znuee.js";
|
|
53
|
+
import { a as parseGeminiAuth, c as resolveMemorySearchConfig, n as retryAsync, o as collectProviderApiKeysForExecution, s as executeWithApiKeyRotation } from "./manager-DH00nlW8.js";
|
|
54
54
|
import { f as runTasksWithConcurrency } from "./internal-D3mEiuyB.js";
|
|
55
55
|
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-B2lBXhR0.js";
|
|
56
56
|
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEdkErjm.js";
|
|
@@ -83,7 +83,7 @@ import { t as emitSymframePush } from "./symframe-broadcast-BVxModY5.js";
|
|
|
83
83
|
import { n as resolveMessageChannelSelection, t as listConfiguredMessageChannels } from "./channel-selection-CmU8iVio.js";
|
|
84
84
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BVJ4-d9c.js";
|
|
85
85
|
import { t as parseTimeoutMs } from "./parse-timeout-widuTpq9.js";
|
|
86
|
-
import { n as registerMemoryCli } from "./memory-cli-
|
|
86
|
+
import { n as registerMemoryCli } from "./memory-cli-083UJtVJ.js";
|
|
87
87
|
import { i as resolveSlackThreadTs, n as deliverReplies, t as createSlackReplyDeliveryPlan } from "./replies-CLREUzzB.js";
|
|
88
88
|
import { a as resolveSubagentToolPolicy, i as resolveGroupToolPolicy, n as isToolAllowedByPolicies, r as resolveEffectiveToolPolicy, t as filterToolsByPolicy } from "./pi-tools.policy-06k__URR.js";
|
|
89
89
|
import { createRequire } from "node:module";
|
|
@@ -15427,6 +15427,12 @@ function buildAgentSystemPrompt(params) {
|
|
|
15427
15427
|
" - `recall` — re-summon a recently-released card (id optional → most-recent).",
|
|
15428
15428
|
" - `pin` — persist a card across reload + /new (user-curated; the user can also pin from the UI).",
|
|
15429
15429
|
" - `unpin` — remove the pin; does NOT drop the card.",
|
|
15430
|
+
"Panel modes (Stage D — `action: \"setMode\"` with `mode` and optional `focusedId`):",
|
|
15431
|
+
" - `ambient` (default) — substrate + cards + AWAITING all visible. Normal multi-task posture.",
|
|
15432
|
+
" - `focus` — one card centered, substrate dim, AWAITING hidden. Use when actively iterating on a single artifact (e.g. drafting an email). Pass `focusedId` to halo a specific card.",
|
|
15433
|
+
" - `awaiting` — footer prominent, cards collapsed to titles. Use when you've kicked off long-running work (subagents, scheduled tasks) and the user is waiting for results.",
|
|
15434
|
+
" - `quiet` — substrate only, cards + AWAITING hidden. Use when you're thinking and have nothing actionable to surface yet.",
|
|
15435
|
+
"Modes are sticky until you `setMode` again or the user overrides via the header chips. Default to `ambient`; pick `focus` only when you genuinely want a single card to dominate; pick `awaiting` only when waiting is the user's primary experience.",
|
|
15430
15436
|
"After pushing, briefly tell the user what's in the panel (e.g. \"Drafted the email — shown in your panel.\"). Don't repeat the full content in chat.",
|
|
15431
15437
|
"",
|
|
15432
15438
|
...compactMode ? [] : [
|
|
@@ -21049,7 +21055,14 @@ const ARTIFACT_ACTIONS = [
|
|
|
21049
21055
|
"release",
|
|
21050
21056
|
"recall",
|
|
21051
21057
|
"pin",
|
|
21052
|
-
"unpin"
|
|
21058
|
+
"unpin",
|
|
21059
|
+
"setMode"
|
|
21060
|
+
];
|
|
21061
|
+
const PANEL_MODES = [
|
|
21062
|
+
"ambient",
|
|
21063
|
+
"focus",
|
|
21064
|
+
"awaiting",
|
|
21065
|
+
"quiet"
|
|
21053
21066
|
];
|
|
21054
21067
|
/**
|
|
21055
21068
|
* Stage A: intent vocabulary added as orthogonal metadata to renderer type.
|
|
@@ -21097,7 +21110,9 @@ const DisplayArtifactSchema = Type.Object({
|
|
|
21097
21110
|
email: Type.Optional(EmailFieldsSchema),
|
|
21098
21111
|
actions: Type.Optional(Type.Array(ActionSchema)),
|
|
21099
21112
|
sticky: Type.Optional(Type.Boolean()),
|
|
21100
|
-
force: Type.Optional(Type.Boolean())
|
|
21113
|
+
force: Type.Optional(Type.Boolean()),
|
|
21114
|
+
mode: Type.Optional(stringEnum(PANEL_MODES)),
|
|
21115
|
+
focusedId: Type.Optional(Type.String())
|
|
21101
21116
|
});
|
|
21102
21117
|
function genCardId() {
|
|
21103
21118
|
return `sf-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
|
@@ -21106,12 +21121,32 @@ function createDisplayArtifactTool() {
|
|
|
21106
21121
|
return {
|
|
21107
21122
|
label: "Display Artifact",
|
|
21108
21123
|
name: "display_artifact",
|
|
21109
|
-
description: "Push a card into the Glass UI symframe — the right-column window into your mind. Use for content that represents what you're thinking about, holding, considering, or producing — drafts, references you're keeping in view, options being weighed, generated artifacts. Always set `intent` (holding | weighing | producing | drafted | reference | awaiting). Renderer `type`: text | markdown | code | email-draft | pdf | audio | video. Returns the card id; pass action=update with the same id to revise (set force:true to update a sticky card), action=remove to dismiss. Stage-C attention verbs (id-only, no card body): action=dwell pulls a card to the top with a brief highlight, action=release softly fades a card out (recoverable via recall), action=recall re-summons a recently-released card (id optional → most recent), action=pin persists across reload, action=unpin removes the pin.",
|
|
21124
|
+
description: "Push a card into the Glass UI symframe — the right-column window into your mind. Use for content that represents what you're thinking about, holding, considering, or producing — drafts, references you're keeping in view, options being weighed, generated artifacts. Always set `intent` (holding | weighing | producing | drafted | reference | awaiting). Renderer `type`: text | markdown | code | email-draft | pdf | audio | video. Returns the card id; pass action=update with the same id to revise (set force:true to update a sticky card), action=remove to dismiss. Stage-C attention verbs (id-only, no card body): action=dwell pulls a card to the top with a brief highlight, action=release softly fades a card out (recoverable via recall), action=recall re-summons a recently-released card (id optional → most recent), action=pin persists across reload, action=unpin removes the pin. Stage-D mode verb: action=setMode with mode=ambient|focus|awaiting|quiet (optional focusedId for focus) switches the panel's posture for the current task.",
|
|
21110
21125
|
parameters: DisplayArtifactSchema,
|
|
21111
21126
|
execute: async (_toolCallId, args) => {
|
|
21112
21127
|
const params = args;
|
|
21113
21128
|
const actionRaw = readStringParam(params, "action");
|
|
21114
21129
|
const action = ARTIFACT_ACTIONS.includes(actionRaw ?? "") ? actionRaw : "add";
|
|
21130
|
+
if (action === "setMode") {
|
|
21131
|
+
const modeRaw = readStringParam(params, "mode");
|
|
21132
|
+
if (!modeRaw || !PANEL_MODES.includes(modeRaw)) return jsonResult({
|
|
21133
|
+
ok: false,
|
|
21134
|
+
error: `setMode requires \`mode\` ∈ {${PANEL_MODES.join(" | ")}}`
|
|
21135
|
+
});
|
|
21136
|
+
const mode = modeRaw;
|
|
21137
|
+
const focusedId = readStringParam(params, "focusedId");
|
|
21138
|
+
emitSymframePush({
|
|
21139
|
+
action: "setMode",
|
|
21140
|
+
mode,
|
|
21141
|
+
focusedId: focusedId || void 0
|
|
21142
|
+
});
|
|
21143
|
+
return jsonResult({
|
|
21144
|
+
ok: true,
|
|
21145
|
+
action,
|
|
21146
|
+
mode,
|
|
21147
|
+
focusedId
|
|
21148
|
+
});
|
|
21149
|
+
}
|
|
21115
21150
|
const id = readStringParam(params, "id") || (action === "add" ? genCardId() : void 0);
|
|
21116
21151
|
if (action !== "add" && action !== "recall" && !id) return jsonResult({
|
|
21117
21152
|
ok: false,
|
|
@@ -5,18 +5,18 @@ import "./model-selection-CMx1evaF.js";
|
|
|
5
5
|
import "./manifest-registry-CVLmi8rz.js";
|
|
6
6
|
import "./config-D7TcU4qN.js";
|
|
7
7
|
import "./shell-env-CTYaxUs_.js";
|
|
8
|
-
import "./client-
|
|
9
|
-
import "./call-
|
|
8
|
+
import "./client-BOd5o3Kp.js";
|
|
9
|
+
import "./call-DTshgdlW.js";
|
|
10
10
|
import "./message-channel-DXToSaWK.js";
|
|
11
11
|
import "./pairing-token-B-OTYROz.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
13
13
|
import "./progress-CI19Xh3z.js";
|
|
14
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
14
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DpRnrv_i.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/symframe-cli.ts
|
|
18
18
|
function registerSymframeCli(program) {
|
|
19
|
-
addGatewayClientOptions(program.command("symframe").description("Push cards to the Glass UI symframe (right-column dynamic display)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/symframe", "docs.symi.ai/cli/symframe")}\n`).command("push").description("Push (add/update/remove) a card to the symframe").option("--action <add|update|remove|dwell|release|recall|pin|unpin>", "Action (default: add). Stage-C verbs (dwell|release|recall|pin|unpin) are id-only — no card body.", "add").option("--id <id>", "Card id (required for update/remove; auto-generated for add)").option("--type <type>", "Renderer type — text | markdown | code | email-draft | pdf | audio | video", "text").option("--intent <intent>", "Card intent (mental-state slot) — holding | weighing | producing | awaiting | drafted | reference").option("--title <title>", "Card title (header text)").option("--body <body>", "Card body text (code source if --type=code)").option("--file <path>", "Read body from file (overrides --body)").option("--language <lang>", "Language hint for --type=code (e.g. ts, py, sh)").option("--url <url>", "Media URL for --type=pdf|audio|video").option("--mime <type>", "MIME type for --type=audio|video (e.g. audio/mpeg)").option("--data <json>", "Extra structured fields merged into the card (e.g. email-draft uses { email: { from, to, subject, body } })").option("--sticky", "Anchor at the bottom of the stack (no dismiss button)", false).option("--force", "Required to update or remove a sticky card (use sparingly)", false).option("--json", "Output JSON", false)).action(async (opts) => {
|
|
19
|
+
addGatewayClientOptions(program.command("symframe").description("Push cards to the Glass UI symframe (right-column dynamic display)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/symframe", "docs.symi.ai/cli/symframe")}\n`).command("push").description("Push (add/update/remove) a card to the symframe").option("--action <add|update|remove|dwell|release|recall|pin|unpin|setMode>", "Action (default: add). Stage-C verbs (dwell|release|recall|pin|unpin) are id-only — no card body. Stage-D verb (setMode) needs --mode.", "add").option("--id <id>", "Card id (required for update/remove; auto-generated for add)").option("--type <type>", "Renderer type — text | markdown | code | email-draft | pdf | audio | video", "text").option("--intent <intent>", "Card intent (mental-state slot) — holding | weighing | producing | awaiting | drafted | reference").option("--title <title>", "Card title (header text)").option("--body <body>", "Card body text (code source if --type=code)").option("--file <path>", "Read body from file (overrides --body)").option("--language <lang>", "Language hint for --type=code (e.g. ts, py, sh)").option("--url <url>", "Media URL for --type=pdf|audio|video").option("--mime <type>", "MIME type for --type=audio|video (e.g. audio/mpeg)").option("--data <json>", "Extra structured fields merged into the card (e.g. email-draft uses { email: { from, to, subject, body } })").option("--sticky", "Anchor at the bottom of the stack (no dismiss button)", false).option("--force", "Required to update or remove a sticky card (use sparingly)", false).option("--mode <ambient|focus|awaiting|quiet>", "Panel posture for --action=setMode").option("--focused-id <id>", "Optional card id to halo when --mode=focus").option("--json", "Output JSON", false)).action(async (opts) => {
|
|
20
20
|
try {
|
|
21
21
|
const action = (opts.action ?? "add").trim();
|
|
22
22
|
if (!new Set([
|
|
@@ -27,13 +27,29 @@ function registerSymframeCli(program) {
|
|
|
27
27
|
"release",
|
|
28
28
|
"recall",
|
|
29
29
|
"pin",
|
|
30
|
-
"unpin"
|
|
31
|
-
|
|
30
|
+
"unpin",
|
|
31
|
+
"setMode"
|
|
32
|
+
]).has(action)) throw new Error(`--action must be one of: add | update | remove | dwell | release | recall | pin | unpin | setMode (got '${action}')`);
|
|
32
33
|
let bodyText = opts.body;
|
|
33
34
|
if (opts.file) bodyText = await fs.readFile(opts.file, "utf8");
|
|
34
35
|
const params = { action };
|
|
35
36
|
if (opts.id) params.id = opts.id;
|
|
36
37
|
if (opts.force) params.force = true;
|
|
38
|
+
if (action === "setMode") {
|
|
39
|
+
const VALID_MODES = new Set([
|
|
40
|
+
"ambient",
|
|
41
|
+
"focus",
|
|
42
|
+
"awaiting",
|
|
43
|
+
"quiet"
|
|
44
|
+
]);
|
|
45
|
+
if (!opts.mode || !VALID_MODES.has(opts.mode)) throw new Error("--mode is required for setMode and must be one of: ambient | focus | awaiting | quiet");
|
|
46
|
+
params.mode = opts.mode;
|
|
47
|
+
if (opts.focusedId) params.focusedId = opts.focusedId;
|
|
48
|
+
const result = await callGatewayFromCli("chat.symframe.push", opts, params, { expectFinal: false });
|
|
49
|
+
if (opts.json) defaultRuntime.log(JSON.stringify(result ?? { ok: true }, null, 2));
|
|
50
|
+
else defaultRuntime.log("ok");
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
37
53
|
const ID_ONLY_VERBS = new Set([
|
|
38
54
|
"remove",
|
|
39
55
|
"dwell",
|
|
@@ -11,17 +11,17 @@ import "./env-BRnPI9sO.js";
|
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
12
12
|
import "./manifest-registry-D1MLZEjS.js";
|
|
13
13
|
import "./message-channel-DgjXWzf-.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
14
|
+
import "./client-DH75FlQF.js";
|
|
15
|
+
import "./call-AZ9vNhST.js";
|
|
16
16
|
import "./pairing-token-Dcy37-4s.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
18
18
|
import "./progress-swt2y17x.js";
|
|
19
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
19
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-C6lKFbor.js";
|
|
20
20
|
import fs from "node:fs/promises";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/symframe-cli.ts
|
|
23
23
|
function registerSymframeCli(program) {
|
|
24
|
-
addGatewayClientOptions(program.command("symframe").description("Push cards to the Glass UI symframe (right-column dynamic display)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/symframe", "docs.symi.ai/cli/symframe")}\n`).command("push").description("Push (add/update/remove) a card to the symframe").option("--action <add|update|remove|dwell|release|recall|pin|unpin>", "Action (default: add). Stage-C verbs (dwell|release|recall|pin|unpin) are id-only — no card body.", "add").option("--id <id>", "Card id (required for update/remove; auto-generated for add)").option("--type <type>", "Renderer type — text | markdown | code | email-draft | pdf | audio | video", "text").option("--intent <intent>", "Card intent (mental-state slot) — holding | weighing | producing | awaiting | drafted | reference").option("--title <title>", "Card title (header text)").option("--body <body>", "Card body text (code source if --type=code)").option("--file <path>", "Read body from file (overrides --body)").option("--language <lang>", "Language hint for --type=code (e.g. ts, py, sh)").option("--url <url>", "Media URL for --type=pdf|audio|video").option("--mime <type>", "MIME type for --type=audio|video (e.g. audio/mpeg)").option("--data <json>", "Extra structured fields merged into the card (e.g. email-draft uses { email: { from, to, subject, body } })").option("--sticky", "Anchor at the bottom of the stack (no dismiss button)", false).option("--force", "Required to update or remove a sticky card (use sparingly)", false).option("--json", "Output JSON", false)).action(async (opts) => {
|
|
24
|
+
addGatewayClientOptions(program.command("symframe").description("Push cards to the Glass UI symframe (right-column dynamic display)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/symframe", "docs.symi.ai/cli/symframe")}\n`).command("push").description("Push (add/update/remove) a card to the symframe").option("--action <add|update|remove|dwell|release|recall|pin|unpin|setMode>", "Action (default: add). Stage-C verbs (dwell|release|recall|pin|unpin) are id-only — no card body. Stage-D verb (setMode) needs --mode.", "add").option("--id <id>", "Card id (required for update/remove; auto-generated for add)").option("--type <type>", "Renderer type — text | markdown | code | email-draft | pdf | audio | video", "text").option("--intent <intent>", "Card intent (mental-state slot) — holding | weighing | producing | awaiting | drafted | reference").option("--title <title>", "Card title (header text)").option("--body <body>", "Card body text (code source if --type=code)").option("--file <path>", "Read body from file (overrides --body)").option("--language <lang>", "Language hint for --type=code (e.g. ts, py, sh)").option("--url <url>", "Media URL for --type=pdf|audio|video").option("--mime <type>", "MIME type for --type=audio|video (e.g. audio/mpeg)").option("--data <json>", "Extra structured fields merged into the card (e.g. email-draft uses { email: { from, to, subject, body } })").option("--sticky", "Anchor at the bottom of the stack (no dismiss button)", false).option("--force", "Required to update or remove a sticky card (use sparingly)", false).option("--mode <ambient|focus|awaiting|quiet>", "Panel posture for --action=setMode").option("--focused-id <id>", "Optional card id to halo when --mode=focus").option("--json", "Output JSON", false)).action(async (opts) => {
|
|
25
25
|
try {
|
|
26
26
|
const action = (opts.action ?? "add").trim();
|
|
27
27
|
if (!new Set([
|
|
@@ -32,13 +32,29 @@ function registerSymframeCli(program) {
|
|
|
32
32
|
"release",
|
|
33
33
|
"recall",
|
|
34
34
|
"pin",
|
|
35
|
-
"unpin"
|
|
36
|
-
|
|
35
|
+
"unpin",
|
|
36
|
+
"setMode"
|
|
37
|
+
]).has(action)) throw new Error(`--action must be one of: add | update | remove | dwell | release | recall | pin | unpin | setMode (got '${action}')`);
|
|
37
38
|
let bodyText = opts.body;
|
|
38
39
|
if (opts.file) bodyText = await fs.readFile(opts.file, "utf8");
|
|
39
40
|
const params = { action };
|
|
40
41
|
if (opts.id) params.id = opts.id;
|
|
41
42
|
if (opts.force) params.force = true;
|
|
43
|
+
if (action === "setMode") {
|
|
44
|
+
const VALID_MODES = new Set([
|
|
45
|
+
"ambient",
|
|
46
|
+
"focus",
|
|
47
|
+
"awaiting",
|
|
48
|
+
"quiet"
|
|
49
|
+
]);
|
|
50
|
+
if (!opts.mode || !VALID_MODES.has(opts.mode)) throw new Error("--mode is required for setMode and must be one of: ambient | focus | awaiting | quiet");
|
|
51
|
+
params.mode = opts.mode;
|
|
52
|
+
if (opts.focusedId) params.focusedId = opts.focusedId;
|
|
53
|
+
const result = await callGatewayFromCli("chat.symframe.push", opts, params, { expectFinal: false });
|
|
54
|
+
if (opts.json) defaultRuntime.log(JSON.stringify(result ?? { ok: true }, null, 2));
|
|
55
|
+
else defaultRuntime.log("ok");
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
42
58
|
const ID_ONLY_VERBS = new Set([
|
|
43
59
|
"remove",
|
|
44
60
|
"dwell",
|
|
@@ -6,7 +6,7 @@ import "./model-selection-BisYvTBb.js";
|
|
|
6
6
|
import "./reply-prefix-i-FPYcoQ.js";
|
|
7
7
|
import "./plugins-CZ_mYwXq.js";
|
|
8
8
|
import "./replies-0nzkXt6o.js";
|
|
9
|
-
import { n as runAgentTurn } from "./pi-embedded-
|
|
9
|
+
import { n as runAgentTurn } from "./pi-embedded-DGnpyHm-.js";
|
|
10
10
|
import "./deliver-f3cIWxXT.js";
|
|
11
11
|
import "./diagnostic-BdRnGknC.js";
|
|
12
12
|
import "./diagnostic-session-state-DpxCUzoM.js";
|
|
@@ -23,7 +23,7 @@ import "./errors-BEU7IHU6.js";
|
|
|
23
23
|
import "./tokens-yWO1wD7Z.js";
|
|
24
24
|
import "./thinking-DgjGxdSP.js";
|
|
25
25
|
import "./paths-BsT3BvfH.js";
|
|
26
|
-
import "./manager-
|
|
26
|
+
import "./manager-BHddoe4T.js";
|
|
27
27
|
import "./github-copilot-token-dYUr1mDQ.js";
|
|
28
28
|
import "./sqlite-D8iYC_CU.js";
|
|
29
29
|
import "./markdown-tables-jQzXAsf3.js";
|
|
@@ -3,7 +3,7 @@ import "./registry-C-JddWwo.js";
|
|
|
3
3
|
import "./agent-scope-B1Ina6jV.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-DzRUKS9f.js";
|
|
5
5
|
import "./workspace-CsaDUuDn.js";
|
|
6
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
6
|
+
import { t as runAgentTurn } from "./unified-runner-O3qR5Iie.js";
|
|
7
7
|
import "./auth-profiles-BSw0aQND.js";
|
|
8
8
|
import "./model-selection-BqshlIZc.js";
|
|
9
9
|
import "./deliver-BiWlR84Y.js";
|
|
@@ -25,7 +25,7 @@ import "./paths-BsT3BvfH.js";
|
|
|
25
25
|
import "./tokens-D_vCJSzF.js";
|
|
26
26
|
import "./diagnostic-BALvP9wI.js";
|
|
27
27
|
import "./diagnostic-session-state-BDfanaOY.js";
|
|
28
|
-
import "./manager-
|
|
28
|
+
import "./manager-DbVMwpDc.js";
|
|
29
29
|
import "./github-copilot-token-uhEBNQfj.js";
|
|
30
30
|
import "./pi-auth-json-DCGR3yfh.js";
|
|
31
31
|
import "./reply-prefix-D0NzzC4I.js";
|
|
@@ -13,11 +13,11 @@ import "./skills-cLBEdkqu.js";
|
|
|
13
13
|
import "./manifest-registry-CVLmi8rz.js";
|
|
14
14
|
import "./config-D7TcU4qN.js";
|
|
15
15
|
import "./shell-env-CTYaxUs_.js";
|
|
16
|
-
import "./client-
|
|
17
|
-
import "./call-
|
|
16
|
+
import "./client-BOd5o3Kp.js";
|
|
17
|
+
import "./call-DTshgdlW.js";
|
|
18
18
|
import "./message-channel-DXToSaWK.js";
|
|
19
19
|
import "./pairing-token-B-OTYROz.js";
|
|
20
|
-
import { T as runAgentTurn } from "./subagent-registry-
|
|
20
|
+
import { T as runAgentTurn } from "./subagent-registry-CVhLz4p3.js";
|
|
21
21
|
import "./sessions-Dn6VXn4p.js";
|
|
22
22
|
import "./plugins-BsEhWvLn.js";
|
|
23
23
|
import "./send-Dq252-bi.js";
|
|
@@ -47,8 +47,8 @@ import "./model-auth-Byr7Gic_.js";
|
|
|
47
47
|
import "./github-copilot-token-B5y4__YM.js";
|
|
48
48
|
import "./models-config-CiR_RUxw.js";
|
|
49
49
|
import "./reply-prefix-DV3KhOhL.js";
|
|
50
|
-
import "./memory-
|
|
51
|
-
import "./manager-
|
|
50
|
+
import "./memory-C02Znuee.js";
|
|
51
|
+
import "./manager-DH00nlW8.js";
|
|
52
52
|
import "./sqlite-9jF_eajd.js";
|
|
53
53
|
import "./chunk-B2lBXhR0.js";
|
|
54
54
|
import "./markdown-tables-BEdkErjm.js";
|
|
@@ -79,7 +79,7 @@ import "./links-Dnmd-RS-.js";
|
|
|
79
79
|
import "./cli-utils-DXfA5936.js";
|
|
80
80
|
import "./help-format-Dbp8yEhl.js";
|
|
81
81
|
import "./progress-CI19Xh3z.js";
|
|
82
|
-
import "./memory-cli-
|
|
82
|
+
import "./memory-cli-083UJtVJ.js";
|
|
83
83
|
import "./logging-UO6tk8Em.js";
|
|
84
84
|
import "./replies-CLREUzzB.js";
|
|
85
85
|
import "./pi-tools.policy-06k__URR.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as runAgentTurn } from "./unified-runner-
|
|
1
|
+
import { t as runAgentTurn } from "./unified-runner-4O0ifBsI.js";
|
|
2
2
|
import "./registry-Sbac4a4z.js";
|
|
3
3
|
import "./paths-By0XjHBk.js";
|
|
4
4
|
import "./utils-CTPsqyE_.js";
|
|
@@ -50,8 +50,8 @@ import "./session-cost-usage-D3mgssM_.js";
|
|
|
50
50
|
import "./session-utils-Cs1jlD-q.js";
|
|
51
51
|
import "./with-timeout-DPR4A2dx.js";
|
|
52
52
|
import "./reply-prefix-BFNeXT65.js";
|
|
53
|
-
import "./memory-
|
|
54
|
-
import "./manager-
|
|
53
|
+
import "./memory-BZ24UkLW.js";
|
|
54
|
+
import "./manager-Cw7IJGbB.js";
|
|
55
55
|
import "./sqlite-Cod7C5ba.js";
|
|
56
56
|
import "./chunk-BxfKjCUx.js";
|
|
57
57
|
import "./markdown-tables-CS1Tvb3z.js";
|
|
@@ -59,8 +59,8 @@ import "./fetch-guard-JHxT9355.js";
|
|
|
59
59
|
import "./local-roots-CgDCgCuM.js";
|
|
60
60
|
import "./commands-DUzLGgEZ.js";
|
|
61
61
|
import "./commands-registry-Ca5hh7nh.js";
|
|
62
|
-
import "./client-
|
|
63
|
-
import "./call-
|
|
62
|
+
import "./client-DH75FlQF.js";
|
|
63
|
+
import "./call-AZ9vNhST.js";
|
|
64
64
|
import "./pairing-token-Dcy37-4s.js";
|
|
65
65
|
import "./tool-display-DFOL6UQ9.js";
|
|
66
66
|
import "./skills-remote-bz71Bstn.js";
|
|
@@ -82,7 +82,7 @@ import "./links-Bqr0FxXx.js";
|
|
|
82
82
|
import "./cli-utils-CuyGL3rq.js";
|
|
83
83
|
import "./help-format-7hFcsqss.js";
|
|
84
84
|
import "./progress-swt2y17x.js";
|
|
85
|
-
import "./memory-cli-
|
|
85
|
+
import "./memory-cli-0HHYm-B8.js";
|
|
86
86
|
import "./logging-BWknayJl.js";
|
|
87
87
|
import "./replies-CbXXjn9X.js";
|
|
88
88
|
import "./pi-tools.policy-H2t-Xkfc.js";
|
|
@@ -11,12 +11,12 @@ import "./env-BRnPI9sO.js";
|
|
|
11
11
|
import "./shell-env-Dc3iU7HK.js";
|
|
12
12
|
import "./manifest-registry-D1MLZEjS.js";
|
|
13
13
|
import "./message-channel-DgjXWzf-.js";
|
|
14
|
-
import "./client-
|
|
15
|
-
import "./call-
|
|
14
|
+
import "./client-DH75FlQF.js";
|
|
15
|
+
import "./call-AZ9vNhST.js";
|
|
16
16
|
import "./pairing-token-Dcy37-4s.js";
|
|
17
17
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
18
18
|
import "./progress-swt2y17x.js";
|
|
19
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
19
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-C6lKFbor.js";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/system-cli.ts
|
|
22
22
|
function registerSystemCli(program) {
|
|
@@ -5,13 +5,13 @@ import "./model-selection-CMx1evaF.js";
|
|
|
5
5
|
import "./manifest-registry-CVLmi8rz.js";
|
|
6
6
|
import "./config-D7TcU4qN.js";
|
|
7
7
|
import "./shell-env-CTYaxUs_.js";
|
|
8
|
-
import "./client-
|
|
9
|
-
import "./call-
|
|
8
|
+
import "./client-BOd5o3Kp.js";
|
|
9
|
+
import "./call-DTshgdlW.js";
|
|
10
10
|
import "./message-channel-DXToSaWK.js";
|
|
11
11
|
import "./pairing-token-B-OTYROz.js";
|
|
12
12
|
import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
13
13
|
import "./progress-CI19Xh3z.js";
|
|
14
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
14
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-DpRnrv_i.js";
|
|
15
15
|
|
|
16
16
|
//#region src/cli/system-cli.ts
|
|
17
17
|
function registerSystemCli(program) {
|
|
@@ -7,8 +7,8 @@ import { k as stripLeadingInboundMetadata } from "./sessions-Dxf5Kjig.js";
|
|
|
7
7
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DgjXWzf-.js";
|
|
8
8
|
import { c as normalizeUsageDisplay, r as listThinkingLevelLabels, t as formatThinkingLevels, u as resolveResponseUsageMode } from "./thinking-COroyVA5.js";
|
|
9
9
|
import { n as listChatCommands, r as listChatCommandsForConfig } from "./commands-registry-Ca5hh7nh.js";
|
|
10
|
-
import { t as GatewayClient, zt as PROTOCOL_VERSION } from "./client-
|
|
11
|
-
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as GatewayClient, zt as PROTOCOL_VERSION } from "./client-DH75FlQF.js";
|
|
11
|
+
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-AZ9vNhST.js";
|
|
12
12
|
import { n as resolveToolDisplay, t as formatToolDetail } from "./tool-display-DFOL6UQ9.js";
|
|
13
13
|
import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-D4GQsWlP.js";
|
|
14
14
|
import { n as formatTokenCount } from "./usage-format-DeczTGI-.js";
|
|
@@ -7,8 +7,8 @@ import "./skills-cLBEdkqu.js";
|
|
|
7
7
|
import "./manifest-registry-CVLmi8rz.js";
|
|
8
8
|
import "./config-D7TcU4qN.js";
|
|
9
9
|
import "./shell-env-CTYaxUs_.js";
|
|
10
|
-
import "./client-
|
|
11
|
-
import "./call-
|
|
10
|
+
import "./client-BOd5o3Kp.js";
|
|
11
|
+
import "./call-DTshgdlW.js";
|
|
12
12
|
import "./message-channel-DXToSaWK.js";
|
|
13
13
|
import "./pairing-token-B-OTYROz.js";
|
|
14
14
|
import "./sessions-Dn6VXn4p.js";
|
|
@@ -36,7 +36,7 @@ import "./commands-registry-D8LQ9fss.js";
|
|
|
36
36
|
import "./tool-display-DxbOx1Kx.js";
|
|
37
37
|
import { t as parseTimeoutMs } from "./parse-timeout-widuTpq9.js";
|
|
38
38
|
import { t as formatDocsLink } from "./links-Dnmd-RS-.js";
|
|
39
|
-
import { t as runTui } from "./tui-
|
|
39
|
+
import { t as runTui } from "./tui-h57L-YTX.js";
|
|
40
40
|
|
|
41
41
|
//#region src/cli/tui-cli.ts
|
|
42
42
|
function registerTuiCli(program) {
|
|
@@ -35,13 +35,13 @@ import "./paths-BtvQ7JvU.js";
|
|
|
35
35
|
import "./thinking-COroyVA5.js";
|
|
36
36
|
import "./commands-DUzLGgEZ.js";
|
|
37
37
|
import "./commands-registry-Ca5hh7nh.js";
|
|
38
|
-
import "./client-
|
|
39
|
-
import "./call-
|
|
38
|
+
import "./client-DH75FlQF.js";
|
|
39
|
+
import "./call-AZ9vNhST.js";
|
|
40
40
|
import "./pairing-token-Dcy37-4s.js";
|
|
41
41
|
import "./tool-display-DFOL6UQ9.js";
|
|
42
42
|
import { t as parseTimeoutMs } from "./parse-timeout-DmEcHIsV.js";
|
|
43
43
|
import { t as formatDocsLink } from "./links-Bqr0FxXx.js";
|
|
44
|
-
import { t as runTui } from "./tui-
|
|
44
|
+
import { t as runTui } from "./tui-B2MY6Mj2.js";
|
|
45
45
|
|
|
46
46
|
//#region src/cli/tui-cli.ts
|
|
47
47
|
function registerTuiCli(program) {
|
|
@@ -2,8 +2,8 @@ import { h as visibleWidth, m as stripAnsi } from "./entry.js";
|
|
|
2
2
|
import { o as normalizeAgentId, r as buildAgentMainSessionKey, s as normalizeMainKey, x as parseAgentSessionKey } from "./session-key-CFxFgYxM.js";
|
|
3
3
|
import { l as resolveDefaultAgentId } from "./agent-scope-C-Jte08L.js";
|
|
4
4
|
import { N as VERSION, i as loadConfig } from "./config-D7TcU4qN.js";
|
|
5
|
-
import { t as GatewayClient, zt as PROTOCOL_VERSION } from "./client-
|
|
6
|
-
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
5
|
+
import { t as GatewayClient, zt as PROTOCOL_VERSION } from "./client-BOd5o3Kp.js";
|
|
6
|
+
import { i as ensureExplicitGatewayAuth, o as resolveExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-DTshgdlW.js";
|
|
7
7
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DXToSaWK.js";
|
|
8
8
|
import { C as stripLeadingInboundMetadata } from "./sessions-Dn6VXn4p.js";
|
|
9
9
|
import { y as formatRawAssistantErrorForUi } from "./pi-embedded-helpers-BQjRftRI.js";
|