@visorcraft/idlehands 4.0.16 → 4.0.18
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/CHANGELOG.md +15 -0
- package/dist/{accounts-Dk8mJIrQ.js → accounts-CRDMZUcg.js} +6 -6
- package/dist/{accounts-BDVs8LTu.js → accounts-upx5iuke.js} +1 -1
- package/dist/{accounts-CIvVRRHb.js → accounts-yD5yI-jP.js} +1 -1
- package/dist/{agent-scope-DyP_tr7s.js → agent-scope-BVeQuh5x.js} +4 -4
- package/dist/{agent-via-gateway-Ceb_VeXS.js → agent-via-gateway-CC37LlPd.js} +3 -2
- package/dist/{agent-via-gateway-DIfwOe7Y.js → agent-via-gateway-Cl2YwlXJ.js} +2 -1
- package/dist/{agent-via-gateway-F1Zu0slF.js → agent-via-gateway-ClQrLbgo.js} +2 -1
- package/dist/{agent-via-gateway-7SDhvcBa.js → agent-via-gateway-pMCfUzW-.js} +61 -60
- package/dist/{agents-idaLog48.js → agents-DrnGQroU.js} +4 -4
- package/dist/{agents.config-w0ZcfpyW.js → agents.config-BZPnYIMF.js} +1 -1
- package/dist/{agents.config-DP_bqTwg.js → agents.config-DfWZrbXn.js} +1 -1
- package/dist/{anton-CzWIEEiT.js → anton-B-I7rEtn.js} +44 -15
- package/dist/{anton-B7VZSQo-.js → anton-BfrX2FMd.js} +40 -11
- package/dist/{anton-Cs1JPzv4.js → anton-BgKjig3B.js} +40 -11
- package/dist/{anton-BomwkDBv.js → anton-BrY-bWgq.js} +40 -11
- package/dist/{audio-preflight-BSlR2jEq.js → audio-preflight-aBtF0cRI.js} +35 -35
- package/dist/{auth-choice-D-TtZtMR.js → auth-choice-DtvI4epn.js} +1 -1
- package/dist/{auth-choice-C49o8owq.js → auth-choice-_C22dz9o.js} +1 -1
- package/dist/{auth-store-DXT-l7fO.js → auth-store-DQAd4LSE.js} +12 -12
- package/dist/{banner-DmFqQvFd.js → banner-B-UYZG8d.js} +1 -1
- package/dist/{bindings-D3b5Fmc9.js → bindings-B9L4cqmm.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +3 -3
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/{channel-activity-D_TMOGQ0.js → channel-activity-DOLX-uK1.js} +3 -3
- package/dist/{channel-options-CsEgIwgu.js → channel-options-BbwNg4q_.js} +1 -1
- package/dist/{channel-options-1Dqo0zkg.js → channel-options-C0iwLcfC.js} +1 -1
- package/dist/{channel-web-BicbbO9_.js → channel-web-BLxKeCXF.js} +2 -2
- package/dist/{channel-web-C7s5QLXL.js → channel-web-q6Ugfiks.js} +2 -2
- package/dist/{channels-cli-CWb-B8BT.js → channels-cli-BtL1XuuK.js} +7 -7
- package/dist/{channels-cli-REwO9h_a.js → channels-cli-DaRR8vAs.js} +7 -7
- package/dist/{chrome-_2tzVjVl.js → chrome-D_SXDetO.js} +17 -17
- package/dist/{chunk-CMpX7Jaz.js → chunk-BgScV6uo.js} +1 -1
- package/dist/{cli-B9ARC6CF.js → cli-BjhrdeVd.js} +2 -2
- package/dist/{cli-B4rP4MXJ.js → cli-CrUoGRuS.js} +2 -2
- package/dist/{command-registry-0e5VHciB.js → command-registry-BZNlvfaM.js} +10 -10
- package/dist/{commands-registry-j4vAzcF2.js → commands-registry-CK7aj_ri.js} +5 -5
- package/dist/{completion-cli-C1StqVUs.js → completion-cli-BIabgt7h.js} +1 -1
- package/dist/{completion-cli-BTtvgatl.js → completion-cli-p9W-g1Pe.js} +2 -2
- package/dist/{config-cli-C3As38Z_.js → config-cli-B4nNEjK9.js} +1 -1
- package/dist/{config-cli-B-yirt2T.js → config-cli-u4zbdm-e.js} +1 -1
- package/dist/{configure-Cw6aeqBy.js → configure-BbDbMd5G.js} +3 -3
- package/dist/{configure-BEd8nUOe.js → configure-Dj1JdeEI.js} +3 -3
- package/dist/{deliver-CVTXl0Cv.js → deliver-CJaM2zRY.js} +20 -20
- package/dist/{deps-C28cWNmF.js → deps-BMWq0kjy.js} +1 -1
- package/dist/{deps-Cn32rOjf.js → deps-BuRud-p8.js} +1 -1
- package/dist/{deps-CVb-kfIX.js → deps-CQzDLqTz.js} +6 -6
- package/dist/{deps-CYAKIzhf.js → deps-Dr9GpASq.js} +1 -1
- package/dist/{diagnostic-4owMk4vH.js → diagnostic-lz5wKsEe.js} +1 -1
- package/dist/{dock-BgOmHcbh.js → dock-6MgvdSqu.js} +6 -6
- package/dist/{doctor-completion-o6QBkVYG.js → doctor-completion-BLRGmusD.js} +1 -1
- package/dist/{doctor-completion-T5sq7t8L.js → doctor-completion-BeZMlZPb.js} +1 -1
- package/dist/{emergency-stop-CMeSxuEg.js → emergency-stop-BEsjWvQL.js} +2 -2
- package/dist/{emergency-stop-h5_WOPZT.js → emergency-stop-BU-Vbk3V.js} +2 -2
- package/dist/{emergency-stop-D-dp9zCO.js → emergency-stop-CSSPAKHr.js} +2 -2
- package/dist/emergency-stop-JXB5jZyK.js +113 -0
- package/dist/entry.js +1 -1
- package/dist/{env-B5G1qwGc.js → env-B7b7MKfk.js} +1 -1
- package/dist/{errors-C_0nm4TJ.js → errors--Eb33_ji.js} +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-OZ_PCUyr.js} +1 -1
- package/dist/{frontmatter-BOudmHMS.js → frontmatter-p8nPDprK.js} +2 -2
- package/dist/{fs-safe-CYUaAFO9.js → fs-safe-BEl8T_Vc.js} +2 -2
- package/dist/{gateway-cli-Dxoh3sSC.js → gateway-cli-BCHdAJHS.js} +9 -9
- package/dist/{gateway-cli-bZXsaQkU.js → gateway-cli-Dumy2IVU.js} +9 -9
- package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-CA0K3QXj.js} +2 -2
- package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-DCg9Q9Ll.js} +7 -7
- package/dist/{health-dLZas7f8.js → health-B3kk7l82.js} +1 -1
- package/dist/{health-OvNY74XL.js → health-CqdQAURH.js} +1 -1
- package/dist/{hooks-cli-DZr1MB1B.js → hooks-cli-Ba4woLl0.js} +3 -3
- package/dist/{hooks-cli-DOH-i33b.js → hooks-cli-jMG5GST1.js} +3 -3
- package/dist/{image-COw__ACq.js → image-BQ3RQWD8.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-ZNtLhD4c.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{ir-B7IBoKLy.js → ir-DnyYtX4H.js} +5 -5
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-C9CA2f0R.js} +5 -5
- package/dist/{login-CFr5vJmR.js → login-Cn1vc1bn.js} +6 -6
- package/dist/{login-qr-CFFFOjOl.js → login-qr-Dj0NmRdg.js} +11 -11
- package/dist/{manager-BE_76jWB.js → manager-DBd_2F6j.js} +15 -15
- package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-CsrsXS80.js} +1 -1
- package/dist/{message-channel-C8QtrwEU.js → message-channel-Cg9KtLfy.js} +1 -1
- package/dist/{model-selection-1MMYqY6M.js → model-selection-Vtu6d5Um.js} +41 -41
- package/dist/{models-Dvyot3-o.js → models-C6GypzZ1.js} +2 -2
- package/dist/{models-cli-Dtzht0md.js → models-cli-BaR1RccY.js} +4 -4
- package/dist/{models-cli-CKRL4j3x.js → models-cli-iLP9BnPA.js} +3 -3
- package/dist/{npm-resolution-BpruvRIr.js → npm-resolution-CWxaTTrT.js} +1 -1
- package/dist/{npm-resolution-iEXmU1Ol.js → npm-resolution-DYUWHUe5.js} +1 -1
- package/dist/{onboard-CS6IQorr.js → onboard-CinZ4CuY.js} +2 -2
- package/dist/{onboard-Ck4SwhZB.js → onboard-DdBsJgzg.js} +2 -2
- package/dist/{onboard-channels-CM4puuWQ.js → onboard-channels-9XAEsgO-.js} +1 -1
- package/dist/{onboard-channels-DzNjXM6f.js → onboard-channels-Bnwwq6TK.js} +1 -1
- package/dist/{onboarding-DMEJRAg4.js → onboarding-C4oujn63.js} +3 -3
- package/dist/{onboarding-0Pop0Cex.js → onboarding-DFvHWFqL.js} +3 -3
- package/dist/{onboarding.finalize-f2qChM_N.js → onboarding.finalize-BDWHPpyn.js} +6 -6
- package/dist/{onboarding.finalize-BZW1kZw7.js → onboarding.finalize-DMhdDTvo.js} +7 -7
- package/dist/{outbound-BNh6PpQb.js → outbound-BYm4JJli.js} +6 -6
- package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-DwaqvYNG.js} +2 -2
- package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-BnjbJzIQ.js} +1 -1
- package/dist/{paths-D_qUel1T.js → paths-0fcEvxu4.js} +3 -3
- package/dist/{paths-BYNVLNi_.js → paths-CkTEyLTV.js} +5 -5
- package/dist/{pi-embedded-Oto02Ard.js → pi-embedded-BDp9JsrM.js} +175 -175
- package/dist/{pi-embedded-BKTKQn_9.js → pi-embedded-Dap1HAGA.js} +11 -11
- package/dist/{pi-embedded-helpers-CyTpDKo5.js → pi-embedded-helpers-B1CKQ81Y.js} +24 -24
- package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-DBHbwKOo.js} +7 -7
- package/dist/{plugin-registry-BfNJBiAr.js → plugin-registry-CGFy1ugt.js} +1 -1
- package/dist/{plugin-registry-PcN7mK-d.js → plugin-registry-LYzfPk35.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-l3LvRB7r.js → agent-via-gateway-De4e2_-W.js} +3 -2
- package/dist/plugin-sdk/{anton-DJn2RPpW.js → anton-BO16dWNw.js} +40 -11
- package/dist/plugin-sdk/{channel-web-DvztgyXI.js → channel-web-Cd-eamYe.js} +2 -2
- package/dist/plugin-sdk/commands/agent-via-gateway.d.ts +1 -0
- package/dist/plugin-sdk/{deps-B1DxdYuU.js → deps-D6VWIdk7.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-CVZuzTM7.js → emergency-stop-w-HD2bz4.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-BhGucE6k.js → reply-BqAPyIsz.js} +11 -11
- package/dist/plugin-sdk/{web-BzmXmmAo.js → web-Dj_tThNQ.js} +3 -3
- package/dist/{plugins-CRB60mCJ.js → plugins-Bb6_uisJ.js} +10 -10
- package/dist/{plugins-cli-DOTZBHc7.js → plugins-cli-BCAcCeRZ.js} +3 -3
- package/dist/{plugins-cli-s1bEnfMn.js → plugins-cli-BQKfJ9aF.js} +3 -3
- package/dist/{program-Blak4A0H.js → program-Df-zk5RB.js} +8 -8
- package/dist/{program-context-DtHO30yM.js → program-context-DBOEyhi4.js} +18 -18
- package/dist/{prompt-select-styled-DuHE5c_O.js → prompt-select-styled-B0FsbRWb.js} +4 -4
- package/dist/{prompt-select-styled-D8vDTRY8.js → prompt-select-styled-DJVZSK4X.js} +4 -4
- package/dist/{provider-auth-helpers-PdlgGx1Z.js → provider-auth-helpers-Aojd4jNn.js} +1 -1
- package/dist/{provider-auth-helpers-CnqcE5__.js → provider-auth-helpers-D0cQmJkF.js} +1 -1
- package/dist/{push-apns-DkGS3lmo.js → push-apns-BtI9tV7C.js} +1 -1
- package/dist/{push-apns-CNVtKEbW.js → push-apns-qzriU6TC.js} +1 -1
- package/dist/{pw-ai-CowTfhOG.js → pw-ai-BKPa5DlF.js} +13 -13
- package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-DEJVRLvM.js} +8 -8
- package/dist/{query-expansion-DEq020GG.js → query-expansion-CW7PqIXL.js} +5 -5
- package/dist/{redact-Bvpf-ATQ.js → redact-D1Ebz_iR.js} +1 -1
- package/dist/{register.agent-BGs6wEo-.js → register.agent-ButiRGeg.js} +9 -9
- package/dist/{register.agent-DliuXWG0.js → register.agent-Xdy9Gu3H.js} +8 -8
- package/dist/{register.configure-D9bNPRml.js → register.configure-f4xr9iKB.js} +8 -8
- package/dist/{register.configure-DJsShg2l.js → register.configure-m5qhbCOO.js} +8 -8
- package/dist/{register.maintenance-B-36Avrl.js → register.maintenance-BA4e0HDc.js} +8 -8
- package/dist/{register.maintenance-B7ZM7NqF.js → register.maintenance-N55abUee.js} +9 -9
- package/dist/{register.message-CmEzaYEw.js → register.message-DaVB6EYW.js} +3 -3
- package/dist/{register.message-Cm5P_dls.js → register.message-Zta0bYh0.js} +3 -3
- package/dist/{register.onboard-ByUSn1hy.js → register.onboard-BHKf5Emm.js} +2 -2
- package/dist/{register.onboard-cB-UkXhL.js → register.onboard-BikBO9Gs.js} +2 -2
- package/dist/{register.orchestrator-anton-D_mAceTk.js → register.orchestrator-anton-DtPFOV9F.js} +2 -2
- package/dist/{register.orchestrator-anton-CADua5Nr.js → register.orchestrator-anton-x3yGok7b.js} +2 -2
- package/dist/{register.setup-CA3WwC1V.js → register.setup-BeRMjZaz.js} +2 -2
- package/dist/{register.setup-DOnWysTP.js → register.setup-DCIPrpG0.js} +2 -2
- package/dist/{register.status-health-sessions-DgR30NBl.js → register.status-health-sessions-CA5wMwpi.js} +4 -4
- package/dist/{register.status-health-sessions-Dsvbkrhh.js → register.status-health-sessions-I0YSjY_V.js} +4 -4
- package/dist/{register.subclis-CvN5J3oh.js → register.subclis-DZkq_g35.js} +9 -9
- package/dist/{replies-6_GxvQYe.js → replies-CXcxPRWk.js} +3 -3
- package/dist/{reply-D6y5faqD.js → reply-DlS9HBVo.js} +11 -11
- package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-49q2WQ2B.js} +1 -1
- package/dist/{resolve-route-DuttYY7A.js → resolve-route-Dr-fqH39.js} +4 -4
- package/dist/{retry-BeB9WenR.js → retry-DWN-e4ja.js} +1 -1
- package/dist/{run-main-BBYeikWD.js → run-main-B75ak_hb.js} +15 -15
- package/dist/{runner-BzNdfqDz.js → runner-DO528Ump.js} +11 -11
- package/dist/{send-BeIZJuy4.js → send-BspIjWIY.js} +7 -7
- package/dist/{send-DmLC7aEF.js → send-BypmtKl1.js} +10 -10
- package/dist/{send-D4bMycQu.js → send-CRnMBrJ2.js} +7 -7
- package/dist/{send-Dfa3sn6r.js → send-De8xTUIV.js} +24 -24
- package/dist/{send-C1hvd3bt.js → send-szC_vYk_.js} +6 -6
- package/dist/{server-node-events-CcAiA2an.js → server-node-events-B1RPoseF.js} +3 -3
- package/dist/{server-node-events-DeBYOK05.js → server-node-events-CufCnFp4.js} +3 -3
- package/dist/{session-F_YDS_1V.js → session-CKiIT4OY.js} +7 -7
- package/dist/{sessions-3ioSeOA1.js → sessions-BgxmLQuf.js} +41 -41
- package/dist/{skill-commands-Ck3flWX7.js → skill-commands-BOUMR5De.js} +9 -9
- package/dist/{skills-CnAPWfca.js → skills-OsjsCf_S.js} +22 -22
- package/dist/{status-Dd0rJBTD.js → status-ERmEJYw1.js} +2 -2
- package/dist/{status-BW8aF7xu.js → status-hXjECVBh.js} +2 -2
- package/dist/{store-CvMgrKWx.js → store-B4rHJvSg.js} +2 -2
- package/dist/{subagent-registry-DeXWDNty.js → subagent-registry-CcxZYIwL.js} +11 -11
- package/dist/{subsystem-tzu-rIAJ.js → subsystem-B98oWbbO.js} +1 -1
- package/dist/{tables-5k-zOZ-s.js → tables-DuOExt0S.js} +1 -1
- package/dist/{target-errors-BPfQrPim.js → target-errors-CWZr3RMI.js} +2 -2
- package/dist/{tokens-BRLyURxW.js → tokens-B9ArFCMX.js} +1 -1
- package/dist/{tool-images-CcGZpzmq.js → tool-images-DLiBUCZb.js} +2 -2
- package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-j48jLTrr.js} +3 -3
- package/dist/{update-cli-C97163Ne.js → update-cli-DROtjWg7.js} +9 -9
- package/dist/{update-cli-DLWAR9u6.js → update-cli-Rnv68OR6.js} +8 -8
- package/dist/{update-runner-Cft2lh5r.js → update-runner-BWxBVG9j.js} +1 -1
- package/dist/{update-runner-BV9LWTCG.js → update-runner-CqeNDbPD.js} +1 -1
- package/dist/{utils-CTFLl_ji.js → utils-ChNzRVsg.js} +18 -18
- package/dist/{web-BwZ1OGaX.js → web-5ddwA0bs.js} +66 -66
- package/dist/{web-D8zB-Qkg.js → web-BMSzFWiF.js} +3 -3
- package/dist/{web-DGPTqAhk.js → web-BQLIquZA.js} +3 -3
- package/dist/{web-Da_aB4Vm.js → web-CnzKMZK0.js} +3 -3
- package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-CYraflBZ.js} +25 -25
- package/dist/{workspace-DBFSzT6O.js → workspace-AM44PzIs.js} +18 -18
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +12 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-w0AyIMs7.js +0 -113
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir, i as isNixMode, l as resolveGatewayLockDir, o as resolveConfigPath, r as STATE_DIR, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, D as isPlainObject, E as truncateUtf16Safe, H as getLogger, M as logVerbose, P as setVerbose, R as colorize, S as shortenHomePath, U as getResolvedLoggerSettings, V as getChildLogger, c as ensureDir, r as clamp, y as resolveUserPath, z as isRich } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import { a as normalizeElevatedLevel, c as normalizeUsageDisplay, d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, o as normalizeReasoningLevel, s as normalizeThinkLevel, t as formatThinkingLevels } from "./thinking-EAliFiVK.js";
|
|
4
|
-
import { $ as normalizeOptionalAgentId, $n as resolveTtsAutoMode, $t as resolveAgentAvatar, A as resolveOutboundSessionRoute, B as setGatewaySigusr1RestartPolicy, Bn as buildOutboundSessionContext, Br as DEFAULT_INPUT_TIMEOUT_MS, Bt as createOutboundSendDeps, C as loadCombinedSessionStoreForGateway, Cn as formatZonedTimestamp, Cr as enqueueSystemEvent, D as resolveSessionModelRef, Dr as requestHeartbeatNow, Dt as requestBodyErrorToText, E as resolveGatewaySessionStoreTarget, En as getTotalPendingReplies, Et as readJsonBodyWithLimit, F as deferGatewayRestartUntilIdle, Fn as listDescendantRunsForRequester, Fr as normalizeSendPolicy, Gn as onAgentEvent, Gr as resolveAgentTimeoutMs, Gt as setCliSessionId, H as consumeRestartSentinel, Hn as clearAgentRunContext, Hr as extractImageContentFromSource, Ht as parseVerboseOverride, I as emitGatewayRestart, Ir as resolveSendPolicy, J as writeRestartSentinel, Jn as clearBootstrapSnapshot, K as summarizeRestartSentinel, Kn as registerAgentRunContext, Kt as runCliAgent, L as isGatewaySigusr1RestartExternallyAllowed, Ln as runSubagentAnnounceFlow, Lr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Lt as resolveOutboundTarget, M as resetDirectoryCache, Mn as stopSubagentsForRequester, Mr as ACP_SESSION_IDENTITY_RENDERER_VERSION, Nn as countActiveDescendantRuns, Nr as getAcpSessionManager, Nt as resolveAgentDeliveryPlan, Ot as computeBackoff, P as consumeGatewaySigusr1RestartAuthorization, Pn as initSubagentRegistry, Pr as resolveAgentSessionDirs, Pt as resolveAgentOutboundTarget, Q as inferLegacyName, Qn as resolveTtsApiKey, Qt as resolveSessionAuthProfileOverride, R as markGatewaySigusr1RestartHandled, Rn as resolveAnnounceTargetFromKey, Rr as DEFAULT_INPUT_IMAGE_MIMES, Rt as resolveSessionDeliveryTarget, S as listSessionsFromStore, T as pruneLegacyStoreKeys, Tn as createReplyDispatcher, Tt as handleSlackHttpRequest, U as formatDoctorNonInteractiveHint, Un as emitAgentEvent, Ur as normalizeMimeList, Ut as runWithModelFallback, V as setPreRestartDeferralCheck, Vn as clearSessionQueues, Vr as extractFileContentFromSource, Vt as applyVerboseOverride, W as formatRestartSentinelMessage, Wn as getAgentRunContext, Wr as resolveInputFileLimits, Wt as getCliSessionId, X as normalizeCronJobCreate, Xn as isTtsEnabled, Xt as lookupContextTokens, Y as normalizeHttpWebhookUrl, Yn as getTtsProvider, Yt as applyModelOverrideToSessionEntry, Z as normalizeCronJobPatch, Zn as isTtsProviderConfigured, _t as normalizeGroupActivation, an as getHookType, ar as textToSpeech, at as buildDeliveryFromLegacyPayload, br as stripHeartbeatToken, cr as getActiveTaskCount, d as runEmbeddedPiAgent, dn as buildHistoryContextFromEntries, dr as markGatewayDraining, dt as persistBrowserProxyFiles, er as resolveTtsConfig, et as normalizeOptionalSessionKey, f as abortEmbeddedPiRun, fr as resetAllLanes, ft as getPluginToolMeta, g as buildDefaultToolPolicyPipelineSteps, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, h as applyToolPolicyPipeline, hr as CommandLane, ht as loadIdleHandsPlugins, i as resolveCronStyleNow, in as detectSuspiciousPatterns, ir as setTtsProvider, it as migrateLegacyCronPayload, jn as isAbortRequestText, jt as agentCommand, k as ensureOutboundSessionEntry, kt as sleepWithAbort, m as waitForEmbeddedPiRunEnd, mr as waitForActiveTasks, n as BARE_SESSION_RESET_PROMPT, nr as resolveTtsProviderOrder, nt as normalizePayloadToSystemText, on as isExternalHookSession, or as OPENAI_TTS_MODELS, ot as hasLegacyDeliveryHints, p as getActiveEmbeddedRunCount, pr as setCommandLaneConcurrency, pt as resolvePluginTools, qn as resolveUserTimezone, rn as buildSafeExternalPrompt, rr as setTtsEnabled, rt as normalizeRequiredName, sn as unbindThreadBindingsBySessionKey, sr as OPENAI_TTS_VOICES, st as stripLegacyDeliveryFields, tr as resolveTtsPrefsPath, tt as normalizeOptionalText, ur as getTotalQueueSize, ut as applyBrowserProxyPaths, v as createIdleHandsTools, w as loadSessionEntry, wn as dispatchInboundMessage, wr as isSystemEventContextChanged, x as listAgentsForGateway, y as canonicalizeSpawnedByForAgent, yt as loadProviderUsageSummary, z as scheduleGatewaySigusr1Restart, zn as readLatestAssistantReply, zr as DEFAULT_INPUT_MAX_REDIRECTS, zt as resolveOutboundChannelPlugin } from "./reply-
|
|
4
|
+
import { $ as normalizeOptionalAgentId, $n as resolveTtsAutoMode, $t as resolveAgentAvatar, A as resolveOutboundSessionRoute, B as setGatewaySigusr1RestartPolicy, Bn as buildOutboundSessionContext, Br as DEFAULT_INPUT_TIMEOUT_MS, Bt as createOutboundSendDeps, C as loadCombinedSessionStoreForGateway, Cn as formatZonedTimestamp, Cr as enqueueSystemEvent, D as resolveSessionModelRef, Dr as requestHeartbeatNow, Dt as requestBodyErrorToText, E as resolveGatewaySessionStoreTarget, En as getTotalPendingReplies, Et as readJsonBodyWithLimit, F as deferGatewayRestartUntilIdle, Fn as listDescendantRunsForRequester, Fr as normalizeSendPolicy, Gn as onAgentEvent, Gr as resolveAgentTimeoutMs, Gt as setCliSessionId, H as consumeRestartSentinel, Hn as clearAgentRunContext, Hr as extractImageContentFromSource, Ht as parseVerboseOverride, I as emitGatewayRestart, Ir as resolveSendPolicy, J as writeRestartSentinel, Jn as clearBootstrapSnapshot, K as summarizeRestartSentinel, Kn as registerAgentRunContext, Kt as runCliAgent, L as isGatewaySigusr1RestartExternallyAllowed, Ln as runSubagentAnnounceFlow, Lr as DEFAULT_INPUT_IMAGE_MAX_BYTES, Lt as resolveOutboundTarget, M as resetDirectoryCache, Mn as stopSubagentsForRequester, Mr as ACP_SESSION_IDENTITY_RENDERER_VERSION, Nn as countActiveDescendantRuns, Nr as getAcpSessionManager, Nt as resolveAgentDeliveryPlan, Ot as computeBackoff, P as consumeGatewaySigusr1RestartAuthorization, Pn as initSubagentRegistry, Pr as resolveAgentSessionDirs, Pt as resolveAgentOutboundTarget, Q as inferLegacyName, Qn as resolveTtsApiKey, Qt as resolveSessionAuthProfileOverride, R as markGatewaySigusr1RestartHandled, Rn as resolveAnnounceTargetFromKey, Rr as DEFAULT_INPUT_IMAGE_MIMES, Rt as resolveSessionDeliveryTarget, S as listSessionsFromStore, T as pruneLegacyStoreKeys, Tn as createReplyDispatcher, Tt as handleSlackHttpRequest, U as formatDoctorNonInteractiveHint, Un as emitAgentEvent, Ur as normalizeMimeList, Ut as runWithModelFallback, V as setPreRestartDeferralCheck, Vn as clearSessionQueues, Vr as extractFileContentFromSource, Vt as applyVerboseOverride, W as formatRestartSentinelMessage, Wn as getAgentRunContext, Wr as resolveInputFileLimits, Wt as getCliSessionId, X as normalizeCronJobCreate, Xn as isTtsEnabled, Xt as lookupContextTokens, Y as normalizeHttpWebhookUrl, Yn as getTtsProvider, Yt as applyModelOverrideToSessionEntry, Z as normalizeCronJobPatch, Zn as isTtsProviderConfigured, _t as normalizeGroupActivation, an as getHookType, ar as textToSpeech, at as buildDeliveryFromLegacyPayload, br as stripHeartbeatToken, cr as getActiveTaskCount, d as runEmbeddedPiAgent, dn as buildHistoryContextFromEntries, dr as markGatewayDraining, dt as persistBrowserProxyFiles, er as resolveTtsConfig, et as normalizeOptionalSessionKey, f as abortEmbeddedPiRun, fr as resetAllLanes, ft as getPluginToolMeta, g as buildDefaultToolPolicyPipelineSteps, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, h as applyToolPolicyPipeline, hr as CommandLane, ht as loadIdleHandsPlugins, i as resolveCronStyleNow, in as detectSuspiciousPatterns, ir as setTtsProvider, it as migrateLegacyCronPayload, jn as isAbortRequestText, jt as agentCommand, k as ensureOutboundSessionEntry, kt as sleepWithAbort, m as waitForEmbeddedPiRunEnd, mr as waitForActiveTasks, n as BARE_SESSION_RESET_PROMPT, nr as resolveTtsProviderOrder, nt as normalizePayloadToSystemText, on as isExternalHookSession, or as OPENAI_TTS_MODELS, ot as hasLegacyDeliveryHints, p as getActiveEmbeddedRunCount, pr as setCommandLaneConcurrency, pt as resolvePluginTools, qn as resolveUserTimezone, rn as buildSafeExternalPrompt, rr as setTtsEnabled, rt as normalizeRequiredName, sn as unbindThreadBindingsBySessionKey, sr as OPENAI_TTS_VOICES, st as stripLegacyDeliveryFields, tr as resolveTtsPrefsPath, tt as normalizeOptionalText, ur as getTotalQueueSize, ut as applyBrowserProxyPaths, v as createIdleHandsTools, w as loadSessionEntry, wn as dispatchInboundMessage, wr as isSystemEventContextChanged, x as listAgentsForGateway, y as canonicalizeSpawnedByForAgent, yt as loadProviderUsageSummary, z as scheduleGatewaySigusr1Restart, zn as readLatestAssistantReply, zr as DEFAULT_INPUT_MAX_REDIRECTS, zt as resolveOutboundChannelPlugin } from "./reply-DlS9HBVo.js";
|
|
5
5
|
import { A as resolveDefaultAgentWorkspaceDir, C as DEFAULT_SOUL_FILENAME, E as ensureAgentWorkspace, O as isWorkspaceOnboardingCompleted, S as DEFAULT_MEMORY_FILENAME, T as DEFAULT_USER_FILENAME, a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, g as DEFAULT_AGENTS_FILENAME, i as resolveAgentConfig, j as resolveWorkspaceTemplateDir, l as resolveAgentSkillsFilter, m as resolveSessionAgentId, n as listAgentEntries, r as listAgentIds, u as resolveAgentWorkspaceDir, v as DEFAULT_BOOTSTRAP_FILENAME, w as DEFAULT_TOOLS_FILENAME, x as DEFAULT_MEMORY_ALT_FILENAME, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import { F as triggerInternalHook, M as clearInternalHooks, N as createInternalHookEvent, P as registerInternalHook, a as setConsoleSubsystemFilter, b as getActivePluginRegistry, d as CHANNEL_IDS, n as runtimeForLogger, o as setConsoleTimestampPrefix, t as createSubsystemLogger, w as createEmptyPluginRegistry } from "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -107,7 +107,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
107
107
|
import "./replies-hSFVxL4h.js";
|
|
108
108
|
import { S as registerSkillsChangeListener, _ as requestNodePairing, c as recordRemoteNodeInfo, d as removeRemoteNodeInfo, f as setSkillsRemoteRegistry, g as renamePairedNode, h as rejectNodePairing, l as refreshRemoteBinsForConnectedNodes, m as listNodePairing, o as getRemoteSkillEligibility, p as approveNodePairing, s as primeRemoteSkillsCache, u as refreshRemoteNodeBins, v as updatePairedNodeMetadata, x as getSkillsSnapshotVersion, y as verifyNodeToken } from "./skill-commands-BFzmZAfo.js";
|
|
109
109
|
import { t as listAgentWorkspaceDirs } from "./workspace-dirs-SsExQ3Bz.js";
|
|
110
|
-
import { n as createOutboundSendDeps$1, t as createDefaultDeps } from "./deps-
|
|
110
|
+
import { n as createOutboundSendDeps$1, t as createDefaultDeps } from "./deps-Dr9GpASq.js";
|
|
111
111
|
import { i as buildChannelUiCatalog, t as applyPluginAutoEnable } from "./plugin-auto-enable-7DUxMy6A.js";
|
|
112
112
|
import { n as resolveMessageChannelSelection } from "./channel-selection-ZxRkxpuF.js";
|
|
113
113
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -130,7 +130,7 @@ import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-ulSRJzn7.
|
|
|
130
130
|
import { n as inheritOptionFromParent } from "./command-options-D4MmqoOd.js";
|
|
131
131
|
import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
|
|
132
132
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C6eW1WGZ.js";
|
|
133
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
133
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BZPnYIMF.js";
|
|
134
134
|
import { t as isWithinDir } from "./path-safety-DwibX65n.js";
|
|
135
135
|
import "./install-safe-path-ChNR9pl6.js";
|
|
136
136
|
import "./skill-scanner-D7mzXRXd.js";
|
|
@@ -150,19 +150,19 @@ import { n as resolveWideAreaDiscoveryDomain, r as writeWideAreaGatewayZone } fr
|
|
|
150
150
|
import { i as toOptionString, n as extractGatewayMiskeys, r as maybeExplainGatewayServiceStop, t as describeUnknownError } from "./shared-DpLSpJIl.js";
|
|
151
151
|
import { a as isNodeCommandAllowed, n as collectEnabledInsecureOrDangerousFlags, o as resolveNodeCommandAllowlist, s as probeGateway } from "./audit-BmaVRZSd.js";
|
|
152
152
|
import { t as discoverGatewayBeacons } from "./bonjour-discovery-DMslm8Hx.js";
|
|
153
|
-
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-
|
|
154
|
-
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-
|
|
153
|
+
import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-hXjECVBh.js";
|
|
154
|
+
import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-CqdQAURH.js";
|
|
155
155
|
import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-C7ZpN9hN.js";
|
|
156
156
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CDbY5AIr.js";
|
|
157
157
|
import { i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-XmXLaHNk.js";
|
|
158
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
159
|
-
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-
|
|
158
|
+
import { t as runOnboardingWizard } from "./onboarding-C4oujn63.js";
|
|
159
|
+
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-qzriU6TC.js";
|
|
160
160
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-DRJTQOMM.js";
|
|
161
161
|
import "./node-service-C3vyxHLA.js";
|
|
162
162
|
import "./status.update-CTi6vuWj.js";
|
|
163
163
|
import { a as matchSystemRunApprovalBindingV1, i as buildSystemRunApprovalBindingV1, n as resolveSystemRunApprovalRequestContext, o as missingSystemRunApprovalBindingV1, r as resolveSystemRunApprovalRuntimeContext, s as toSystemRunApprovalMismatchError } from "./system-run-approval-context-CISBXlNw.js";
|
|
164
164
|
import { t as installSkill } from "./skills-install-tr6wRWZj.js";
|
|
165
|
-
import { t as runGatewayUpdate } from "./update-runner-
|
|
165
|
+
import { t as runGatewayUpdate } from "./update-runner-BWxBVG9j.js";
|
|
166
166
|
import { i as shouldIncludeHook, r as resolveHookConfig, t as loadWorkspaceHookEntries } from "./workspace-D3pARwoB.js";
|
|
167
167
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
168
168
|
import * as fsSync from "node:fs";
|
|
@@ -12691,7 +12691,7 @@ const nodeHandlers = {
|
|
|
12691
12691
|
const p = params;
|
|
12692
12692
|
const payloadJSON = typeof p.payloadJSON === "string" ? p.payloadJSON : p.payload !== void 0 ? JSON.stringify(p.payload) : null;
|
|
12693
12693
|
await respondUnavailableOnThrow(respond, async () => {
|
|
12694
|
-
const { handleNodeEvent } = await import("./server-node-events-
|
|
12694
|
+
const { handleNodeEvent } = await import("./server-node-events-B1RPoseF.js");
|
|
12695
12695
|
const nodeId = client?.connect?.device?.id ?? client?.connect?.client?.id ?? "node";
|
|
12696
12696
|
await handleNodeEvent({
|
|
12697
12697
|
deps: context.deps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
2
|
-
import { n as formatErrorMessage } from "./errors
|
|
1
|
+
import { c as normalizeProviderId } from "./model-selection-Vtu6d5Um.js";
|
|
2
|
+
import { n as formatErrorMessage } from "./errors--Eb33_ji.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/live-auth-keys.ts
|
|
5
5
|
const KEY_SPLIT_RE = /[\s,;]+/g;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as resolveStateDir } from "./paths-
|
|
2
|
+
import { d as resolveStateDir } from "./paths-CkTEyLTV.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fsSync from "node:fs";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/json-file.ts
|
|
7
7
|
function loadJsonFile(pathname) {
|
|
8
8
|
try {
|
|
9
|
-
if (!
|
|
10
|
-
const raw =
|
|
9
|
+
if (!fsSync.existsSync(pathname)) return;
|
|
10
|
+
const raw = fsSync.readFileSync(pathname, "utf8");
|
|
11
11
|
return JSON.parse(raw);
|
|
12
12
|
} catch {
|
|
13
13
|
return;
|
|
@@ -15,12 +15,12 @@ function loadJsonFile(pathname) {
|
|
|
15
15
|
}
|
|
16
16
|
function saveJsonFile(pathname, data) {
|
|
17
17
|
const dir = path.dirname(pathname);
|
|
18
|
-
if (!
|
|
18
|
+
if (!fsSync.existsSync(dir)) fsSync.mkdirSync(dir, {
|
|
19
19
|
recursive: true,
|
|
20
20
|
mode: 448
|
|
21
21
|
});
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
fsSync.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
23
|
+
fsSync.chmodSync(pathname, 384);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
@@ -7,7 +7,7 @@ import { l as resolveAgentIdFromSessionKey, p as toAgentStoreSessionKey, s as no
|
|
|
7
7
|
import { $ as canonicalizeMainSessionAlias, c as loadSessionStore, et as resolveAgentMainSessionKey, g as updateSessionStore, p as saveSessionStore } from "./sessions-BoqJKVEs.js";
|
|
8
8
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CCrfZ49T.js";
|
|
9
9
|
import { a as resolvePreferredAccountId, t as buildChannelAccountBindings } from "./bindings-Ch_2VM9i.js";
|
|
10
|
-
import { An as requestHeartbeatNow, Dr as isHeartbeatContentEffectivelyEmpty, Er as DEFAULT_HEARTBEAT_EVERY, Mn as resolveHeartbeatReasonKind, On as peekSystemEventEntries, Or as resolveHeartbeatPrompt$1, Tr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, bn as buildOutboundSessionContext, et as getReplyFromConfig, jn as setHeartbeatWakeHandler, kr as stripHeartbeatToken, mt as resolveHeartbeatSenderContext, nr as resolveUserTimezone, nt as appendCronStyleCurrentTimeLine, pt as resolveHeartbeatDeliveryTarget, vr as getQueueSize, wr as CommandLane } from "./subagent-registry-
|
|
10
|
+
import { An as requestHeartbeatNow, Dr as isHeartbeatContentEffectivelyEmpty, Er as DEFAULT_HEARTBEAT_EVERY, Mn as resolveHeartbeatReasonKind, On as peekSystemEventEntries, Or as resolveHeartbeatPrompt$1, Tr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, bn as buildOutboundSessionContext, et as getReplyFromConfig, jn as setHeartbeatWakeHandler, kr as stripHeartbeatToken, mt as resolveHeartbeatSenderContext, nr as resolveUserTimezone, nt as appendCronStyleCurrentTimeLine, pt as resolveHeartbeatDeliveryTarget, vr as getQueueSize, wr as CommandLane } from "./subagent-registry-CcxZYIwL.js";
|
|
11
11
|
import { i as resolveSessionFilePath, u as resolveStorePath } from "./paths-CC17i2eK.js";
|
|
12
12
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-DuNslqj2.js";
|
|
13
13
|
import { t as HEARTBEAT_TOKEN } from "./tokens-DMP8C42Q.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { B as theme, k as info, l as escapeRegExp, z as isRich } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { Bn as buildOutboundSessionContext, Dr as requestHeartbeatNow, Ft as resolveHeartbeatDeliveryTarget, It as resolveHeartbeatSenderContext, Or as setHeartbeatWakeHandler, Tr as peekSystemEventEntries, _r as DEFAULT_HEARTBEAT_EVERY, br as stripHeartbeatToken, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, hr as CommandLane, kr as resolveHeartbeatReasonKind, lr as getQueueSize, qn as resolveUserTimezone, r as appendCronStyleCurrentTimeLine, t as getReplyFromConfig, vr as isHeartbeatContentEffectivelyEmpty, yr as resolveHeartbeatPrompt$1 } from "./reply-
|
|
3
|
+
import { Bn as buildOutboundSessionContext, Dr as requestHeartbeatNow, Ft as resolveHeartbeatDeliveryTarget, It as resolveHeartbeatSenderContext, Or as setHeartbeatWakeHandler, Tr as peekSystemEventEntries, _r as DEFAULT_HEARTBEAT_EVERY, br as stripHeartbeatToken, gr as DEFAULT_HEARTBEAT_ACK_MAX_CHARS, hr as CommandLane, kr as resolveHeartbeatReasonKind, lr as getQueueSize, qn as resolveUserTimezone, r as appendCronStyleCurrentTimeLine, t as getReplyFromConfig, vr as isHeartbeatContentEffectivelyEmpty, yr as resolveHeartbeatPrompt$1 } from "./reply-DlS9HBVo.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, i as resolveAgentConfig, u as resolveAgentWorkspaceDir, y as DEFAULT_HEARTBEAT_FILENAME } from "./agent-scope-RA0zXRpu.js";
|
|
5
5
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
6
6
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, S as shortenHomePath, t as CONFIG_DIR, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-DlS9HBVo.js";
|
|
5
5
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -105,7 +105,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
105
105
|
import "./replies-hSFVxL4h.js";
|
|
106
106
|
import "./skill-commands-BFzmZAfo.js";
|
|
107
107
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
108
|
-
import "./deps-
|
|
108
|
+
import "./deps-Dr9GpASq.js";
|
|
109
109
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
110
110
|
import "./channel-selection-ZxRkxpuF.js";
|
|
111
111
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -123,7 +123,7 @@ import { a as resolveInstallModeOptions, c as withExtractedArchiveRoot, i as ins
|
|
|
123
123
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
124
124
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-D3pARwoB.js";
|
|
125
125
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DNGo2G8Q.js";
|
|
126
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
126
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-CWxaTTrT.js";
|
|
127
127
|
import fs from "node:fs";
|
|
128
128
|
import path from "node:path";
|
|
129
129
|
import fs$1 from "node:fs/promises";
|
|
@@ -28,7 +28,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
28
28
|
import "./auth-store-D9BmR4S6.js";
|
|
29
29
|
import "./send-m4lQkQcY.js";
|
|
30
30
|
import "./send-CCiDIuX4.js";
|
|
31
|
-
import "./subagent-registry-
|
|
31
|
+
import "./subagent-registry-CcxZYIwL.js";
|
|
32
32
|
import "./paths-CC17i2eK.js";
|
|
33
33
|
import "./chat-envelope-Dedaetiq.js";
|
|
34
34
|
import "./client-Brv1GCwX.js";
|
|
@@ -111,7 +111,7 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
111
111
|
import "./help-format-CldHB7lS.js";
|
|
112
112
|
import "./progress-B76RkFx7.js";
|
|
113
113
|
import "./replies-DSfpze17.js";
|
|
114
|
-
import "./deps-
|
|
114
|
+
import "./deps-BuRud-p8.js";
|
|
115
115
|
import "./onboard-helpers-Dp6wXNs7.js";
|
|
116
116
|
import "./prompt-style-XmK49QYK.js";
|
|
117
117
|
import "./pairing-labels-D7xcHkxi.js";
|
|
@@ -120,7 +120,7 @@ import { a as resolveInstallModeOptions, c as withExtractedArchiveRoot, i as ins
|
|
|
120
120
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
121
121
|
import { a as parseFrontmatter, t as loadWorkspaceHookEntries } from "./workspace-Dj1dL0rI.js";
|
|
122
122
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DdEXLhj3.js";
|
|
123
|
-
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-
|
|
123
|
+
import { n as resolvePinnedNpmInstallRecordForCli, r as buildPluginStatusReport, t as buildNpmInstallRecordFields } from "./npm-resolution-DYUWHUe5.js";
|
|
124
124
|
import path from "node:path";
|
|
125
125
|
import fs from "node:fs";
|
|
126
126
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
3
|
-
import { _ as shortenHomeInString, c as isRecord } from "./utils-
|
|
4
|
-
import { R as loadConfig, S as getApiKeyForModel, _ as normalizeProviders, dn as resolveIdleHandsAgentDir, gn as normalizeSecretInput, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
5
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
6
|
-
import { P as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
7
|
-
import { n as redactToolDetail } from "./redact-
|
|
2
|
+
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-BVeQuh5x.js";
|
|
3
|
+
import { _ as shortenHomeInString, c as isRecord } from "./utils-ChNzRVsg.js";
|
|
4
|
+
import { R as loadConfig, S as getApiKeyForModel, _ as normalizeProviders, dn as resolveIdleHandsAgentDir, gn as normalizeSecretInput, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-Vtu6d5Um.js";
|
|
5
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DBHbwKOo.js";
|
|
6
|
+
import { P as sanitizeUserFacingText } from "./pi-embedded-helpers-B1CKQ81Y.js";
|
|
7
|
+
import { n as redactToolDetail } from "./redact-D1Ebz_iR.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { complete } from "@mariozechner/pi-ai";
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./paths-Cn44w-EB.js";
|
|
3
3
|
import { B as theme, P as setVerbose, Q as tryParseLogLevel, T as toWhatsappJid, Y as ALLOWED_LOG_LEVELS, l as escapeRegExp, m as normalizeE164, n as assertWebChannel, z as isRich } from "./utils-CXzXXV2o.js";
|
|
4
4
|
import "./thinking-EAliFiVK.js";
|
|
5
|
-
import { Ct as resolveCommitHash, t as getReplyFromConfig } from "./reply-
|
|
5
|
+
import { Ct as resolveCommitHash, t as getReplyFromConfig } from "./reply-DlS9HBVo.js";
|
|
6
6
|
import "./agent-scope-RA0zXRpu.js";
|
|
7
7
|
import { r as enableConsoleCapture, u as visibleWidth } from "./subsystem-CGZX2PBV.js";
|
|
8
8
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -104,7 +104,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
104
104
|
import "./replies-hSFVxL4h.js";
|
|
105
105
|
import "./skill-commands-BFzmZAfo.js";
|
|
106
106
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
107
|
-
import { t as createDefaultDeps } from "./deps-
|
|
107
|
+
import { t as createDefaultDeps } from "./deps-Dr9GpASq.js";
|
|
108
108
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
109
109
|
import "./channel-selection-ZxRkxpuF.js";
|
|
110
110
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -117,7 +117,7 @@ import "./pairing-labels-ChQJzbS9.js";
|
|
|
117
117
|
import "./server-lifecycle-B5PlrlbG.js";
|
|
118
118
|
import "./stagger-rQoQSWkz.js";
|
|
119
119
|
import "./system-run-command-qJdgzxLp.js";
|
|
120
|
-
import { r as waitForever, t as monitorWebChannel } from "./channel-web-
|
|
120
|
+
import { r as waitForever, t as monitorWebChannel } from "./channel-web-BLxKeCXF.js";
|
|
121
121
|
import "./outbound-DPTxwchq.js";
|
|
122
122
|
import "./session-CdnrRhb4.js";
|
|
123
123
|
import "./login-CfUhrgWT.js";
|
|
@@ -126,9 +126,9 @@ import { t as ensureIdleHandsCliOnPath } from "./path-env-CKSLQUS1.js";
|
|
|
126
126
|
import { t as assertSupportedRuntime } from "./runtime-guard-X6f4YmTM.js";
|
|
127
127
|
import "./ports-B2o0FSFD.js";
|
|
128
128
|
import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-BWjW98Xn.js";
|
|
129
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
130
|
-
import "./plugin-registry-
|
|
131
|
-
import { n as resolveCliChannelOptions } from "./channel-options-
|
|
129
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-DBOEyhi4.js";
|
|
130
|
+
import "./plugin-registry-LYzfPk35.js";
|
|
131
|
+
import { n as resolveCliChannelOptions } from "./channel-options-C0iwLcfC.js";
|
|
132
132
|
import process$1 from "node:process";
|
|
133
133
|
import { fileURLToPath } from "node:url";
|
|
134
134
|
import { Command, InvalidArgumentError } from "commander";
|
|
@@ -559,7 +559,7 @@ function registerPreActionHooks(program, programVersion) {
|
|
|
559
559
|
commandPath
|
|
560
560
|
});
|
|
561
561
|
if (PLUGIN_REQUIRED_COMMANDS.has(commandPath[0])) {
|
|
562
|
-
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-
|
|
562
|
+
const { ensurePluginRegistryLoaded } = await import("./plugin-registry-LYzfPk35.js").then((n) => n.n);
|
|
563
563
|
ensurePluginRegistryLoaded();
|
|
564
564
|
}
|
|
565
565
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as shouldLogVerbose, D as logVerbose, h as resolveUserPath } from "./utils-
|
|
2
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-
|
|
3
|
-
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
4
|
-
import { a as chunkText } from "./chunk-
|
|
5
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
1
|
+
import { A as shouldLogVerbose, D as logVerbose, h as resolveUserPath } from "./utils-ChNzRVsg.js";
|
|
2
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-ZNtLhD4c.js";
|
|
3
|
+
import { r as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-BEl8T_Vc.js";
|
|
4
|
+
import { a as chunkText } from "./chunk-BgScV6uo.js";
|
|
5
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-C9CA2f0R.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, i as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, i as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-BVeQuh5x.js";
|
|
2
|
+
import "./paths-CkTEyLTV.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-B98oWbbO.js";
|
|
4
|
+
import "./utils-ChNzRVsg.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import { bn as DEFAULT_PROVIDER, l as parseModelRef, yn as DEFAULT_MODEL } from "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
6
|
+
import "./workspace-AM44PzIs.js";
|
|
7
|
+
import { bn as DEFAULT_PROVIDER, l as parseModelRef, yn as DEFAULT_MODEL } from "./model-selection-Vtu6d5Um.js";
|
|
8
|
+
import "./github-copilot-token-DCg9Q9Ll.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import "./dock-
|
|
12
|
-
import "./tokens-
|
|
13
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
14
|
-
import "./plugins-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./bindings-
|
|
17
|
-
import "./auth-store-
|
|
18
|
-
import "./send-
|
|
19
|
-
import "./send-
|
|
20
|
-
import "./deliver-
|
|
21
|
-
import "./diagnostic-
|
|
10
|
+
import "./env-B7b7MKfk.js";
|
|
11
|
+
import "./dock-6MgvdSqu.js";
|
|
12
|
+
import "./tokens-B9ArFCMX.js";
|
|
13
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-BDp9JsrM.js";
|
|
14
|
+
import "./plugins-Bb6_uisJ.js";
|
|
15
|
+
import "./accounts-CRDMZUcg.js";
|
|
16
|
+
import "./bindings-B9L4cqmm.js";
|
|
17
|
+
import "./auth-store-DQAd4LSE.js";
|
|
18
|
+
import "./send-BspIjWIY.js";
|
|
19
|
+
import "./send-BypmtKl1.js";
|
|
20
|
+
import "./deliver-CJaM2zRY.js";
|
|
21
|
+
import "./diagnostic-lz5wKsEe.js";
|
|
22
22
|
import "./diagnostic-session-state-BGF2r-kt.js";
|
|
23
|
-
import "./accounts-
|
|
24
|
-
import "./send-
|
|
25
|
-
import "./image-ops-
|
|
26
|
-
import "./pi-model-discovery-
|
|
27
|
-
import "./message-channel-
|
|
28
|
-
import "./pi-embedded-helpers-
|
|
29
|
-
import "./chrome-
|
|
23
|
+
import "./accounts-upx5iuke.js";
|
|
24
|
+
import "./send-De8xTUIV.js";
|
|
25
|
+
import "./image-ops-ZNtLhD4c.js";
|
|
26
|
+
import "./pi-model-discovery-DBHbwKOo.js";
|
|
27
|
+
import "./message-channel-Cg9KtLfy.js";
|
|
28
|
+
import "./pi-embedded-helpers-B1CKQ81Y.js";
|
|
29
|
+
import "./chrome-D_SXDetO.js";
|
|
30
30
|
import "./ssrf-CZeHDwVZ.js";
|
|
31
|
-
import "./frontmatter-
|
|
32
|
-
import "./skills-
|
|
33
|
-
import "./path-alias-guards-
|
|
34
|
-
import "./redact-
|
|
35
|
-
import "./errors
|
|
36
|
-
import "./fs-safe-
|
|
37
|
-
import "./store-
|
|
38
|
-
import "./sessions-
|
|
39
|
-
import "./accounts-
|
|
40
|
-
import "./paths-
|
|
41
|
-
import "./tool-images-
|
|
31
|
+
import "./frontmatter-p8nPDprK.js";
|
|
32
|
+
import "./skills-OsjsCf_S.js";
|
|
33
|
+
import "./path-alias-guards-BnjbJzIQ.js";
|
|
34
|
+
import "./redact-D1Ebz_iR.js";
|
|
35
|
+
import "./errors--Eb33_ji.js";
|
|
36
|
+
import "./fs-safe-BEl8T_Vc.js";
|
|
37
|
+
import "./store-B4rHJvSg.js";
|
|
38
|
+
import "./sessions-BgxmLQuf.js";
|
|
39
|
+
import "./accounts-yD5yI-jP.js";
|
|
40
|
+
import "./paths-0fcEvxu4.js";
|
|
41
|
+
import "./tool-images-DLiBUCZb.js";
|
|
42
42
|
import "./thinking-z4_linel.js";
|
|
43
|
-
import "./image-
|
|
44
|
-
import "./reply-prefix-
|
|
45
|
-
import "./manager-
|
|
46
|
-
import "./gemini-auth-
|
|
47
|
-
import "./fetch-guard-
|
|
48
|
-
import "./query-expansion-
|
|
49
|
-
import "./retry-
|
|
50
|
-
import "./target-errors-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./markdown-tables-
|
|
53
|
-
import "./local-roots-
|
|
54
|
-
import "./ir-
|
|
43
|
+
import "./image-BQ3RQWD8.js";
|
|
44
|
+
import "./reply-prefix-49q2WQ2B.js";
|
|
45
|
+
import "./manager-DBd_2F6j.js";
|
|
46
|
+
import "./gemini-auth-CA0K3QXj.js";
|
|
47
|
+
import "./fetch-guard-OZ_PCUyr.js";
|
|
48
|
+
import "./query-expansion-CW7PqIXL.js";
|
|
49
|
+
import "./retry-DWN-e4ja.js";
|
|
50
|
+
import "./target-errors-CWZr3RMI.js";
|
|
51
|
+
import "./chunk-BgScV6uo.js";
|
|
52
|
+
import "./markdown-tables-CsrsXS80.js";
|
|
53
|
+
import "./local-roots-C9CA2f0R.js";
|
|
54
|
+
import "./ir-DnyYtX4H.js";
|
|
55
55
|
import "./render-MTSxc7LK.js";
|
|
56
|
-
import "./commands-registry-
|
|
57
|
-
import "./skill-commands-
|
|
58
|
-
import "./runner-
|
|
56
|
+
import "./commands-registry-CK7aj_ri.js";
|
|
57
|
+
import "./skill-commands-BOUMR5De.js";
|
|
58
|
+
import "./runner-DO528Ump.js";
|
|
59
59
|
import "./fetch-CsfR_943.js";
|
|
60
|
-
import "./channel-activity-
|
|
61
|
-
import "./tables-
|
|
62
|
-
import "./send-
|
|
63
|
-
import "./outbound-attachment-
|
|
64
|
-
import "./send-
|
|
65
|
-
import "./resolve-route-
|
|
60
|
+
import "./channel-activity-DOLX-uK1.js";
|
|
61
|
+
import "./tables-DuOExt0S.js";
|
|
62
|
+
import "./send-szC_vYk_.js";
|
|
63
|
+
import "./outbound-attachment-DwaqvYNG.js";
|
|
64
|
+
import "./send-CRnMBrJ2.js";
|
|
65
|
+
import "./resolve-route-Dr-fqH39.js";
|
|
66
66
|
import "./proxy-CRB9oCP5.js";
|
|
67
|
-
import "./replies-
|
|
68
|
-
import "./deps-
|
|
67
|
+
import "./replies-CXcxPRWk.js";
|
|
68
|
+
import "./deps-CQzDLqTz.js";
|
|
69
69
|
import fs from "node:fs/promises";
|
|
70
70
|
import os from "node:os";
|
|
71
71
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
-
import { d as resolveStateDir } from "./paths-
|
|
3
|
-
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
4
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
5
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
1
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-BVeQuh5x.js";
|
|
2
|
+
import { d as resolveStateDir } from "./paths-CkTEyLTV.js";
|
|
3
|
+
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-ChNzRVsg.js";
|
|
4
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-ZNtLhD4c.js";
|
|
5
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-OZ_PCUyr.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/media/read-response-with-limit.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { T as info, j as success, w as danger } from "./utils-
|
|
2
|
+
import { T as info, j as success, w as danger } from "./utils-ChNzRVsg.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
4
|
-
import { x as logInfo } from "./workspace-
|
|
5
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
+
import { x as logInfo } from "./workspace-AM44PzIs.js";
|
|
5
|
+
import { R as loadConfig } from "./model-selection-Vtu6d5Um.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
7
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
8
|
-
import { a as logoutWeb } from "./auth-store-
|
|
9
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
7
|
+
import { n as resolveWhatsAppAccount } from "./accounts-CRDMZUcg.js";
|
|
8
|
+
import { a as logoutWeb } from "./auth-store-DQAd4LSE.js";
|
|
9
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CKiIT4OY.js";
|
|
10
10
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
11
11
|
|
|
12
12
|
//#region src/web/login.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import { T as info, j as success, w as danger } from "./utils-
|
|
1
|
+
import "./agent-scope-BVeQuh5x.js";
|
|
2
|
+
import "./paths-CkTEyLTV.js";
|
|
3
|
+
import "./subsystem-B98oWbbO.js";
|
|
4
|
+
import { T as info, j as success, w as danger } from "./utils-ChNzRVsg.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
6
|
-
import { x as logInfo } from "./workspace-
|
|
7
|
-
import { R as loadConfig } from "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
6
|
+
import { x as logInfo } from "./workspace-AM44PzIs.js";
|
|
7
|
+
import { R as loadConfig } from "./model-selection-Vtu6d5Um.js";
|
|
8
|
+
import "./github-copilot-token-DCg9Q9Ll.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
12
|
-
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-
|
|
13
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
10
|
+
import "./env-B7b7MKfk.js";
|
|
11
|
+
import { n as resolveWhatsAppAccount } from "./accounts-CRDMZUcg.js";
|
|
12
|
+
import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-DQAd4LSE.js";
|
|
13
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CKiIT4OY.js";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
16
16
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
-
import { d as resolveStateDir } from "./paths-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-
|
|
6
|
-
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
8
|
-
import { n as formatErrorMessage } from "./errors
|
|
9
|
-
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
2
|
+
import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-BVeQuh5x.js";
|
|
3
|
+
import { d as resolveStateDir } from "./paths-CkTEyLTV.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-B98oWbbO.js";
|
|
5
|
+
import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-ChNzRVsg.js";
|
|
6
|
+
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-Vtu6d5Um.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-B7b7MKfk.js";
|
|
8
|
+
import { n as formatErrorMessage } from "./errors--Eb33_ji.js";
|
|
9
|
+
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-0fcEvxu4.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-_OimdA_2.js";
|
|
11
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
12
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
13
|
-
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-
|
|
14
|
-
import { n as retryAsync } from "./retry-
|
|
11
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-CA0K3QXj.js";
|
|
12
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-OZ_PCUyr.js";
|
|
13
|
+
import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-CW7PqIXL.js";
|
|
14
|
+
import { n as retryAsync } from "./retry-DWN-e4ja.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import os from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fsSync from "node:fs";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { createInterface } from "node:readline";
|
|
21
21
|
import { Readable } from "node:stream";
|
|
@@ -627,7 +627,7 @@ function canAutoSelectLocal(options) {
|
|
|
627
627
|
if (/^(hf:|https?:)/i.test(modelPath)) return false;
|
|
628
628
|
const resolved = resolveUserPath(modelPath);
|
|
629
629
|
try {
|
|
630
|
-
return
|
|
630
|
+
return fsSync.statSync(resolved).isFile();
|
|
631
631
|
} catch {
|
|
632
632
|
return false;
|
|
633
633
|
}
|
|
@@ -2135,7 +2135,7 @@ var MemoryManagerSyncOps = class {
|
|
|
2135
2135
|
]);
|
|
2136
2136
|
const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
|
|
2137
2137
|
for (const entry of additionalPaths) try {
|
|
2138
|
-
const stat =
|
|
2138
|
+
const stat = fsSync.lstatSync(entry);
|
|
2139
2139
|
if (stat.isSymbolicLink()) continue;
|
|
2140
2140
|
if (stat.isDirectory()) {
|
|
2141
2141
|
watchPaths.add(path.join(entry, "**", "*.md"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-Bb6_uisJ.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/markdown-tables.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as normalizeChatChannelId, l as getActivePluginRegistry, n as CHANNEL_IDS } from "./subsystem-
|
|
1
|
+
import { c as normalizeChatChannelId, l as getActivePluginRegistry, n as CHANNEL_IDS } from "./subsystem-B98oWbbO.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|