@visorcraft/idlehands 4.2.3 → 4.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-B8cGzkjD.js → accounts-BDVs8LTu.js} +1 -1
- package/dist/{accounts-D5tB_lO0.js → accounts-CIvVRRHb.js} +1 -1
- package/dist/{accounts-BQC_GRUB.js → accounts-Dk8mJIrQ.js} +6 -6
- package/dist/{agent-scope-Bxq1eWbA.js → agent-scope-DyP_tr7s.js} +4 -4
- package/dist/{agent-via-gateway-BtMWCqx4.js → agent-via-gateway-CugFJzVP.js} +2 -2
- package/dist/{agent-via-gateway-BsTP4WyI.js → agent-via-gateway-DG8Axzn2.js} +60 -60
- package/dist/{agent-via-gateway-9aP1U_YQ.js → agent-via-gateway-DwRsFLFS.js} +1 -1
- package/dist/{agent-via-gateway-BN0HMYd7.js → agent-via-gateway-VdG-s4L4.js} +1 -1
- package/dist/{agents-Bitc3LDE.js → agents-DDuWSZ0g.js} +4 -4
- package/dist/{agents.config-DmFqh5v8.js → agents.config-8tuPdcTQ.js} +1 -1
- package/dist/{agents.config-DLjDlH4M.js → agents.config-A-WLFOiz.js} +1 -1
- package/dist/{anton-CmB9XtGt.js → anton-CaPVBTOS.js} +27 -7
- package/dist/{anton-DqSQ27RK.js → anton-DCN6G6Up.js} +27 -7
- package/dist/{anton-C3Y_hYo3.js → anton-DqWaq0gv.js} +26 -7
- package/dist/{anton-Dn_Pc4P0.js → anton-sGTx_HDs.js} +30 -11
- package/dist/{audio-preflight-qkU2lsDn.js → audio-preflight-CW8IH1lU.js} +35 -35
- package/dist/{auth-choice-nFObMeHm.js → auth-choice-C0ADVtim.js} +1 -1
- package/dist/{auth-choice-BKDISagq.js → auth-choice-CnB-Ffeh.js} +1 -1
- package/dist/{auth-store-Bb4aajHu.js → auth-store-DXT-l7fO.js} +12 -12
- package/dist/{banner-IB7Cylyq.js → banner-C1dFMwdL.js} +1 -1
- package/dist/{bindings-CLZIJ0Eo.js → bindings-D3b5Fmc9.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-DdL3RAv_.js → channel-activity-D_TMOGQ0.js} +3 -3
- package/dist/{channel-options-B2LlZj0S.js → channel-options-DPIZ2OfB.js} +1 -1
- package/dist/{channel-options-DcxOFxzU.js → channel-options-dvj7gQ75.js} +1 -1
- package/dist/{channel-web-XLD22Zzs.js → channel-web-C022IdsV.js} +2 -2
- package/dist/{channel-web-Cu_AcYVB.js → channel-web-DAeB1zPN.js} +2 -2
- package/dist/{channels-cli-BWMjEguK.js → channels-cli-BdUt4Lf-.js} +7 -7
- package/dist/{channels-cli-DZWOS5d6.js → channels-cli-DzA8ku51.js} +7 -7
- package/dist/{chrome-CT_a9OgI.js → chrome-BcJB6PcM.js} +17 -17
- package/dist/{chunk-Djk-9JeT.js → chunk-CMpX7Jaz.js} +1 -1
- package/dist/{cli-Bq5b8f58.js → cli-BC9fLKsk.js} +2 -2
- package/dist/{cli-BN8I3vTa.js → cli-VNJdJ9_T.js} +2 -2
- package/dist/{command-registry-CeIfSw9l.js → command-registry-Bo2L5BJz.js} +10 -10
- package/dist/{commands-registry-_TBHHpvt.js → commands-registry-j4vAzcF2.js} +5 -5
- package/dist/{completion-cli-Dh0MVQJ6.js → completion-cli-CevdZ8t2.js} +2 -2
- package/dist/{completion-cli-ClOKco1N.js → completion-cli-w7SY12wl.js} +1 -1
- package/dist/{config-cli-CpgR8c8d.js → config-cli-C8s4mZF3.js} +1 -1
- package/dist/{config-cli-BaNTuQ52.js → config-cli-D2221rb8.js} +1 -1
- package/dist/{configure-C4n13-o1.js → configure-6COQEc8d.js} +3 -3
- package/dist/{configure-BfzLtTQH.js → configure-BpeVYPCY.js} +3 -3
- package/dist/{deliver-Db2xqgLg.js → deliver-BUiQ-9fE.js} +20 -20
- package/dist/{deps-c-x2UBbd.js → deps-B3svY-p3.js} +1 -1
- package/dist/{deps-CnUuBleG.js → deps-BTDAxEQ6.js} +6 -6
- package/dist/{deps-CjvmCq-K.js → deps-Coo8Thxy.js} +1 -1
- package/dist/{deps-BH4bzzRD.js → deps-DOxHxBHl.js} +1 -1
- package/dist/{diagnostic-BvlZ0Sot.js → diagnostic-4owMk4vH.js} +1 -1
- package/dist/{dock-ejUetwTC.js → dock-BgOmHcbh.js} +6 -6
- package/dist/{doctor-completion-BUUL91Dy.js → doctor-completion-CCuJkHb8.js} +1 -1
- package/dist/{doctor-completion-IIzctUix.js → doctor-completion-CkCkSkfC.js} +1 -1
- package/dist/{emergency-stop-HaFAEk9Z.js → emergency-stop-BNon2wpA.js} +2 -2
- package/dist/{emergency-stop-CjxNr2he.js → emergency-stop-DO0wn668.js} +2 -2
- package/dist/{emergency-stop-Bg9a1fXU.js → emergency-stop-DZFe7oYv.js} +2 -2
- package/dist/emergency-stop-JMddgwUX.js +113 -0
- package/dist/entry.js +1 -1
- package/dist/{env-q-PhWbb_.js → env-B5G1qwGc.js} +1 -1
- package/dist/{errors-C4SHjIZK.js → errors-C_0nm4TJ.js} +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-guard-CcfDZXe9.js → fetch-guard-iuQsIjqN.js} +1 -1
- package/dist/{frontmatter-pTUG4Sx_.js → frontmatter-BOudmHMS.js} +2 -2
- package/dist/{fs-safe-2l05hI1Y.js → fs-safe-CYUaAFO9.js} +2 -2
- package/dist/{gateway-cli-C2jOWbsN.js → gateway-cli-Cf7kqenc.js} +9 -9
- package/dist/{gateway-cli-Bcamqq7Z.js → gateway-cli-D6Sh2d9w.js} +9 -9
- package/dist/{gemini-auth-DLSGffQK.js → gemini-auth-CIyaa44H.js} +2 -2
- package/dist/{github-copilot-token-BjmEQcmi.js → github-copilot-token-Dgt6cnsM.js} +7 -7
- package/dist/{health-3B8ANLz5.js → health-BavRGpi2.js} +1 -1
- package/dist/{health-BTU1dGHH.js → health-j2mDzeUl.js} +1 -1
- package/dist/{hooks-cli-CdEcbqPF.js → hooks-cli-AnCnOcQY.js} +3 -3
- package/dist/{hooks-cli-BOc85-37.js → hooks-cli-DDAeDBcO.js} +3 -3
- package/dist/{image-Dlu13Ebx.js → image-D8b_rlQC.js} +6 -6
- package/dist/{image-ops-J8P5zOFm.js → image-ops-D1KtygWz.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{ir-BT5aAdU9.js → ir-B7IBoKLy.js} +5 -5
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-d4y0lvs2.js → local-roots-KN4Hp1yZ.js} +5 -5
- package/dist/{login-C2X0In6m.js → login-CFr5vJmR.js} +6 -6
- package/dist/{login-qr-C17PY0rr.js → login-qr-CFFFOjOl.js} +11 -11
- package/dist/{manager-CgzA1hKo.js → manager-BE_76jWB.js} +15 -15
- package/dist/{markdown-tables-R8VTpfE9.js → markdown-tables-CzsockiZ.js} +1 -1
- package/dist/{message-channel-ZdI1-uUh.js → message-channel-C8QtrwEU.js} +1 -1
- package/dist/{model-selection-C5hI1dum.js → model-selection-1MMYqY6M.js} +41 -41
- package/dist/{models-CIS_OcjC.js → models-RiKkYhfQ.js} +2 -2
- package/dist/{models-cli-BS7pagh1.js → models-cli-B4HXQG2Q.js} +3 -3
- package/dist/{models-cli-6njz6jJl.js → models-cli-CSSZi7-P.js} +4 -4
- package/dist/{npm-resolution-CkpVYF4z.js → npm-resolution-D1b0Eoa4.js} +1 -1
- package/dist/{npm-resolution-DWXTcpqo.js → npm-resolution-vCuR0Tv5.js} +1 -1
- package/dist/{onboard-b_mYsSas.js → onboard-Dcj7w5Sb.js} +2 -2
- package/dist/{onboard-channels-sslbndju.js → onboard-channels-BT-vQKYZ.js} +1 -1
- package/dist/{onboard-channels-CzB1oDsu.js → onboard-channels-jrbhR8dl.js} +1 -1
- package/dist/{onboard-BYOBc47n.js → onboard-enaQTAES.js} +2 -2
- package/dist/{onboarding-BfDz8n6H.js → onboarding-BpiNSUID.js} +3 -3
- package/dist/{onboarding-qxSl79A_.js → onboarding-fRvJJ_jS.js} +3 -3
- package/dist/{onboarding.finalize-DGZkcjrv.js → onboarding.finalize-6q8jh9r4.js} +6 -6
- package/dist/{onboarding.finalize-DeEXxkOU.js → onboarding.finalize-B557eJgx.js} +7 -7
- package/dist/{outbound-CdY_AskB.js → outbound-BNh6PpQb.js} +6 -6
- package/dist/{outbound-attachment-IfeZJAKk.js → outbound-attachment-3I6GzwDe.js} +2 -2
- package/dist/{path-alias-guards-BZmt6hFb.js → path-alias-guards-Cu1nXNMM.js} +1 -1
- package/dist/{paths-DQpv9a3Q.js → paths-BYNVLNi_.js} +5 -5
- package/dist/{paths-D3p7ZvM6.js → paths-D_qUel1T.js} +3 -3
- package/dist/{pi-embedded-xW12sr9Q.js → pi-embedded-CMll1riT.js} +179 -179
- package/dist/{pi-embedded-E9CG0AZO.js → pi-embedded-D35RiR0f.js} +11 -11
- package/dist/{pi-embedded-helpers-B3ceCcxm.js → pi-embedded-helpers-CghCLoPo.js} +24 -24
- package/dist/{pi-model-discovery-Dlx4RLWo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
- package/dist/{plugin-registry-CY1u8bd9.js → plugin-registry-DMdIUK_2.js} +1 -1
- package/dist/{plugin-registry-CJfl54B-.js → plugin-registry-DdywtXL5.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-NXyTgftN.js → agent-via-gateway-W4SFqR3m.js} +2 -2
- package/dist/plugin-sdk/{anton-8LTiJnvw.js → anton-DgXekgcy.js} +26 -7
- package/dist/plugin-sdk/{channel-web-DEl6BZu6.js → channel-web-DbwkbMKY.js} +2 -2
- package/dist/plugin-sdk/commands/anton.d.ts +28 -4
- package/dist/plugin-sdk/{deps-CdRm6UCM.js → deps-HLNhWkFy.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-vr_MLBH0.js → emergency-stop-BXP-MZHW.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-Cii_-apO.js → reply-BEnj9--x.js} +11 -11
- package/dist/plugin-sdk/{web-BrcYG4Cd.js → web-TsEAe4Bs.js} +3 -3
- package/dist/{plugins-DYr-HHj0.js → plugins-CRB60mCJ.js} +10 -10
- package/dist/{plugins-cli-BsCu9ZxX.js → plugins-cli-CkqS4cmo.js} +3 -3
- package/dist/{plugins-cli-rEURRyag.js → plugins-cli-DHVkVGke.js} +3 -3
- package/dist/{program-CtFnQFId.js → program-BeB3v4zk.js} +8 -8
- package/dist/{program-context-BsCSqznM.js → program-context-w-tdgurY.js} +18 -18
- package/dist/{prompt-select-styled-BKPmN1HP.js → prompt-select-styled-CE6lL16-.js} +4 -4
- package/dist/{prompt-select-styled-BB8mtFS9.js → prompt-select-styled-CGdWABH5.js} +4 -4
- package/dist/{provider-auth-helpers-ar7t02s1.js → provider-auth-helpers-C72Fb__o.js} +1 -1
- package/dist/{provider-auth-helpers-486CLY6U.js → provider-auth-helpers-D0RhcC2q.js} +1 -1
- package/dist/{push-apns-CJJ-O5fL.js → push-apns-CeEArjp5.js} +1 -1
- package/dist/{push-apns-AHniql5u.js → push-apns-Nj66xHk1.js} +1 -1
- package/dist/{pw-ai-DIV4PcIo.js → pw-ai-CfYaR1K2.js} +13 -13
- package/dist/{qmd-manager-BRvg3Rx2.js → qmd-manager-B_GgyQQ0.js} +8 -8
- package/dist/{query-expansion-DHuNyU-_.js → query-expansion-DEq020GG.js} +5 -5
- package/dist/{redact-1Y0KPNtr.js → redact-Bvpf-ATQ.js} +1 -1
- package/dist/{register.agent-DswuLYd8.js → register.agent-BaiV-Kp5.js} +9 -9
- package/dist/{register.agent-TMXz7bwT.js → register.agent-CoADvHMz.js} +8 -8
- package/dist/{register.configure-BFWnHArB.js → register.configure-COg3mvRi.js} +8 -8
- package/dist/{register.configure-DlxSU46q.js → register.configure-Dhfhctpj.js} +8 -8
- package/dist/{register.maintenance-C2B-RPnI.js → register.maintenance-CjxM0oKc.js} +8 -8
- package/dist/{register.maintenance-Dj8A9Hj7.js → register.maintenance-MELPxVyx.js} +9 -9
- package/dist/{register.message-CR569hCK.js → register.message-CbssH6ek.js} +3 -3
- package/dist/{register.message-DWm_Lizi.js → register.message-kzRNe_7l.js} +3 -3
- package/dist/{register.onboard-CBlF61-5.js → register.onboard-CAbo-VF1.js} +2 -2
- package/dist/{register.onboard-BjMv8Rc2.js → register.onboard-CJeQ64iC.js} +2 -2
- package/dist/{register.orchestrator-anton-CehFZHyG.js → register.orchestrator-anton-CBnyqoHX.js} +2 -2
- package/dist/{register.orchestrator-anton-Cvw__ptb.js → register.orchestrator-anton-CdVQ30at.js} +2 -2
- package/dist/{register.setup-BrXOX1jn.js → register.setup-DEH8S3Y5.js} +2 -2
- package/dist/{register.setup-B8TX05TM.js → register.setup-XGT1lV6o.js} +2 -2
- package/dist/{register.status-health-sessions-DexyefSU.js → register.status-health-sessions-0ppExIVs.js} +4 -4
- package/dist/{register.status-health-sessions-C-3gl9qR.js → register.status-health-sessions-jEhyhioj.js} +4 -4
- package/dist/{register.subclis-CFcZU6Sc.js → register.subclis-DQx75Ni7.js} +9 -9
- package/dist/{replies-2C16fnBP.js → replies-6_GxvQYe.js} +3 -3
- package/dist/{reply-dLJYULbb.js → reply-Du7Q5RJl.js} +11 -11
- package/dist/{reply-prefix-DCljZiIB.js → reply-prefix-BUgeSN2R.js} +1 -1
- package/dist/{resolve-route-ClcifpKn.js → resolve-route-DuttYY7A.js} +4 -4
- package/dist/{retry-CG6cMRDQ.js → retry-BeB9WenR.js} +1 -1
- package/dist/{run-main-xc_0T201.js → run-main-D56C-iq4.js} +15 -15
- package/dist/{runner-BkCU-kqs.js → runner-PgRFPYUj.js} +11 -11
- package/dist/{send-DZa8fWSm.js → send-BeIZJuy4.js} +7 -7
- package/dist/{send-Y1hD4tQ1.js → send-C1hvd3bt.js} +6 -6
- package/dist/{send-BOxJ4QXF.js → send-D4bMycQu.js} +7 -7
- package/dist/{send-FLdrx-oF.js → send-Dfa3sn6r.js} +24 -24
- package/dist/{send-IlPMLAH-.js → send-DmLC7aEF.js} +10 -10
- package/dist/{server-node-events-CgSZVd8M.js → server-node-events-C1uC6pPJ.js} +3 -3
- package/dist/{server-node-events-Dj5jYSln.js → server-node-events-h-U5Mfvv.js} +3 -3
- package/dist/{session-nUPBXeEa.js → session-F_YDS_1V.js} +7 -7
- package/dist/{sessions-DRA4oaxz.js → sessions-3ioSeOA1.js} +41 -41
- package/dist/{skill-commands-BHTBXXVn.js → skill-commands-Ck3flWX7.js} +9 -9
- package/dist/{skills-umlGvChF.js → skills-CnAPWfca.js} +22 -22
- package/dist/{status-Bp-x4GJi.js → status-CQ18Gd-d.js} +2 -2
- package/dist/{status-CV7OIIGl.js → status-DmPnFNgt.js} +2 -2
- package/dist/{store-D-ZicQeo.js → store-CvMgrKWx.js} +2 -2
- package/dist/{subagent-registry-CJX_DOgh.js → subagent-registry-CPeVtSZk.js} +11 -11
- package/dist/{subsystem-D7ZepYT1.js → subsystem-tzu-rIAJ.js} +1 -1
- package/dist/{tables-Co_R_WKs.js → tables-5k-zOZ-s.js} +1 -1
- package/dist/{target-errors-B1mcM4WR.js → target-errors-BPfQrPim.js} +2 -2
- package/dist/{tokens-DGajj8M9.js → tokens-BRLyURxW.js} +1 -1
- package/dist/{tool-images-Duuqr4bN.js → tool-images-CcGZpzmq.js} +2 -2
- package/dist/{tool-loop-detection-CjWRg_4q.js → tool-loop-detection-BNGetx3Z.js} +3 -3
- package/dist/{update-cli-Crq7aGUA.js → update-cli-Di_N9xCB.js} +8 -8
- package/dist/{update-cli-z5fJRDU4.js → update-cli-DraOIip8.js} +9 -9
- package/dist/{update-runner-BLquhnrL.js → update-runner-BJRwxU_y.js} +1 -1
- package/dist/{update-runner-BkSrWsKc.js → update-runner-BQlZS5zz.js} +1 -1
- package/dist/{utils-D9wGoiU9.js → utils-CTFLl_ji.js} +18 -18
- package/dist/{web-CNowaS6B.js → web-Cp8ceOUo.js} +66 -66
- package/dist/{web-BKSxBqZw.js → web-CrYZNxAg.js} +3 -3
- package/dist/{web-BKs38Jg4.js → web-D77Xu1Fp.js} +3 -3
- package/dist/{web-B267OUXc.js → web-DzfcaLnK.js} +3 -3
- package/dist/{whatsapp-actions-BJ6kVDXi.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
- package/dist/{workspace-tAtkoD_r.js → workspace-DBFSzT6O.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/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/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- 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/package.json +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-Chw8LiXP.js +0 -113
|
@@ -72,7 +72,7 @@ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-rou
|
|
|
72
72
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-BnWIC6Jc.js";
|
|
73
73
|
import { t as makeProxyFetch } from "./proxy-CNZpb4NE.js";
|
|
74
74
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-CqYEEgmA.js";
|
|
75
|
-
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
75
|
+
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-B3svY-p3.js";
|
|
76
76
|
import { createRequire } from "node:module";
|
|
77
77
|
import * as path$1 from "node:path";
|
|
78
78
|
import path, { isAbsolute } from "node:path";
|
|
@@ -23059,7 +23059,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23059
23059
|
};
|
|
23060
23060
|
const arg = body.slice(6).trim();
|
|
23061
23061
|
if (arg === "status" || arg === "") {
|
|
23062
|
-
const { antonStatus } = await import("./anton-
|
|
23062
|
+
const { antonStatus } = await import("./anton-DqWaq0gv.js");
|
|
23063
23063
|
const lines = [];
|
|
23064
23064
|
await antonStatus({
|
|
23065
23065
|
log: (msg) => lines.push(msg),
|
|
@@ -23075,7 +23075,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23075
23075
|
return { shouldContinue: false };
|
|
23076
23076
|
}
|
|
23077
23077
|
if (arg === "stop") {
|
|
23078
|
-
const { antonStop } = await import("./anton-
|
|
23078
|
+
const { antonStop } = await import("./anton-DqWaq0gv.js");
|
|
23079
23079
|
const lines = [];
|
|
23080
23080
|
await antonStop({
|
|
23081
23081
|
log: (msg) => lines.push(msg),
|
|
@@ -23113,8 +23113,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23113
23113
|
await sendProgress(replyCtx, text);
|
|
23114
23114
|
return { shouldContinue: false };
|
|
23115
23115
|
}
|
|
23116
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
23117
|
-
const { createDefaultDeps } = await import("./deps-
|
|
23116
|
+
const { runAnton, formatProgressMessage } = await import("./anton-DqWaq0gv.js");
|
|
23117
|
+
const { createDefaultDeps } = await import("./deps-B3svY-p3.js").then((n) => n.n);
|
|
23118
23118
|
const { createNonExitingRuntime } = await import("./runtime-8mi3mpYB.js").then((n) => n.r);
|
|
23119
23119
|
const runtime = createNonExitingRuntime();
|
|
23120
23120
|
const deps = createDefaultDeps();
|
|
@@ -57267,7 +57267,7 @@ function createDiscordMessageHandler(params) {
|
|
|
57267
57267
|
try {
|
|
57268
57268
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
57269
57269
|
if (messageText) {
|
|
57270
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57270
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DZFe7oYv.js");
|
|
57271
57271
|
if (isAbortRequestText(messageText)) {
|
|
57272
57272
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
57273
57273
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -64765,7 +64765,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
64765
64765
|
}
|
|
64766
64766
|
const msgText = (message.text ?? "").trim();
|
|
64767
64767
|
if (msgText) {
|
|
64768
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
64768
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DZFe7oYv.js");
|
|
64769
64769
|
if (isAbortRequestText(msgText)) {
|
|
64770
64770
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
64771
64771
|
const route = resolveAgentRoute({
|
|
@@ -67376,7 +67376,7 @@ function createSignalEventHandler(deps) {
|
|
|
67376
67376
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
67377
67377
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
67378
67378
|
if (bodyText) {
|
|
67379
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
67379
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DZFe7oYv.js");
|
|
67380
67380
|
if (isAbortRequestText(bodyText)) {
|
|
67381
67381
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
67382
67382
|
const route = resolveAgentRoute({
|
|
@@ -70758,7 +70758,7 @@ function createSlackMessageHandler(params) {
|
|
|
70758
70758
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
70759
70759
|
const rawText = (message.text ?? "").trim();
|
|
70760
70760
|
if (rawText) {
|
|
70761
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
70761
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DZFe7oYv.js");
|
|
70762
70762
|
if (isAbortRequestText(rawText)) {
|
|
70763
70763
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
70764
70764
|
const route = resolveAgentRoute({
|
|
@@ -72952,7 +72952,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
72952
72952
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
72953
72953
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
72954
72954
|
if (text) {
|
|
72955
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
72955
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-DZFe7oYv.js");
|
|
72956
72956
|
if (isAbortRequestText(text)) {
|
|
72957
72957
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
72958
72958
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -76437,7 +76437,7 @@ function loadWebLoginQr() {
|
|
|
76437
76437
|
return webLoginQrPromise;
|
|
76438
76438
|
}
|
|
76439
76439
|
function loadWebChannel() {
|
|
76440
|
-
webChannelPromise ??= import("./web-
|
|
76440
|
+
webChannelPromise ??= import("./web-CrYZNxAg.js");
|
|
76441
76441
|
return webChannelPromise;
|
|
76442
76442
|
}
|
|
76443
76443
|
function loadWhatsAppActions() {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
-
import { n as STATE_DIR, s as resolveGatewayPort } from "./paths-
|
|
3
|
-
import { n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-
|
|
1
|
+
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import { n as STATE_DIR, s as resolveGatewayPort } from "./paths-BYNVLNi_.js";
|
|
3
|
+
import { n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import { _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, k as resolvePathViaExistingAncestorSync, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as openBoundaryFile } from "./workspace-
|
|
8
|
-
import { $ as getBlockedNetworkModeReason, H as writeConfigFile, L as createConfigIO, R as loadConfig } from "./model-selection-
|
|
7
|
+
import { _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, k as resolvePathViaExistingAncestorSync, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as openBoundaryFile } from "./workspace-DBFSzT6O.js";
|
|
8
|
+
import { $ as getBlockedNetworkModeReason, H as writeConfigFile, L as createConfigIO, R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
11
11
|
import { t as generateSecureToken } from "./secure-random-B1N_MXT_.js";
|
|
12
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
13
|
-
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-
|
|
12
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-D1KtygWz.js";
|
|
13
|
+
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-BcJB6PcM.js";
|
|
14
14
|
import { t as SsrFBlockedError } from "./ssrf-CZeHDwVZ.js";
|
|
15
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
16
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
17
|
-
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-
|
|
18
|
-
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
19
|
-
import { H as resolveAgentMainSessionKey, V as canonicalizeMainSessionAlias, q as acquireSessionWriteLock } from "./sessions-
|
|
20
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
15
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CnAPWfca.js";
|
|
16
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cu1nXNMM.js";
|
|
17
|
+
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-C_0nm4TJ.js";
|
|
18
|
+
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-CvMgrKWx.js";
|
|
19
|
+
import { H as resolveAgentMainSessionKey, V as canonicalizeMainSessionAlias, q as acquireSessionWriteLock } from "./sessions-3ioSeOA1.js";
|
|
20
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-CcGZpzmq.js";
|
|
21
21
|
import { o as normalizeThinkLevel } from "./thinking-z4_linel.js";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
import os from "node:os";
|
|
24
24
|
import path, { posix } from "node:path";
|
|
25
|
-
import
|
|
25
|
+
import syncFs, { existsSync } from "node:fs";
|
|
26
26
|
import { spawn } from "node:child_process";
|
|
27
27
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
28
28
|
import express from "express";
|
|
@@ -1182,7 +1182,7 @@ function isModuleNotFoundError(err) {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
async function loadPwAiModule(mode) {
|
|
1184
1184
|
try {
|
|
1185
|
-
return await import("./pw-ai-
|
|
1185
|
+
return await import("./pw-ai-CfYaR1K2.js");
|
|
1186
1186
|
} catch (err) {
|
|
1187
1187
|
if (mode === "soft") return null;
|
|
1188
1188
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -2922,11 +2922,11 @@ async function movePathToTrash(targetPath) {
|
|
|
2922
2922
|
return targetPath;
|
|
2923
2923
|
} catch {
|
|
2924
2924
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
2925
|
-
|
|
2925
|
+
syncFs.mkdirSync(trashDir, { recursive: true });
|
|
2926
2926
|
const base = path.basename(targetPath);
|
|
2927
2927
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
2928
|
-
if (
|
|
2929
|
-
|
|
2928
|
+
if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
2929
|
+
syncFs.renameSync(targetPath, dest);
|
|
2930
2930
|
return dest;
|
|
2931
2931
|
}
|
|
2932
2932
|
}
|
|
@@ -3004,7 +3004,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
3004
3004
|
} catch {}
|
|
3005
3005
|
const userDataDir = resolveIdleHandsUserDataDir(name);
|
|
3006
3006
|
const profileDir = path.dirname(userDataDir);
|
|
3007
|
-
if (
|
|
3007
|
+
if (syncFs.existsSync(profileDir)) {
|
|
3008
3008
|
await movePathToTrash(profileDir);
|
|
3009
3009
|
deleted = true;
|
|
3010
3010
|
}
|
|
@@ -3717,13 +3717,13 @@ function createProfileContext(opts, profile) {
|
|
|
3717
3717
|
const userDataDir = resolveIdleHandsUserDataDir(profile.name);
|
|
3718
3718
|
const profileState = getProfileState();
|
|
3719
3719
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3720
|
-
await (await import("./pw-ai-
|
|
3720
|
+
await (await import("./pw-ai-CfYaR1K2.js")).closePlaywrightBrowserConnection();
|
|
3721
3721
|
} catch {}
|
|
3722
3722
|
if (profileState.running) await stopRunningBrowser();
|
|
3723
3723
|
try {
|
|
3724
|
-
await (await import("./pw-ai-
|
|
3724
|
+
await (await import("./pw-ai-CfYaR1K2.js")).closePlaywrightBrowserConnection();
|
|
3725
3725
|
} catch {}
|
|
3726
|
-
if (!
|
|
3726
|
+
if (!syncFs.existsSync(userDataDir)) return {
|
|
3727
3727
|
moved: false,
|
|
3728
3728
|
from: userDataDir
|
|
3729
3729
|
};
|
|
@@ -5350,7 +5350,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
5350
5350
|
});
|
|
5351
5351
|
if (!guarded.ok) {
|
|
5352
5352
|
if (guarded.reason !== "path" || options.allowMissingTarget === false) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
|
|
5353
|
-
} else
|
|
5353
|
+
} else syncFs.closeSync(guarded.fd);
|
|
5354
5354
|
const canonicalContainerPath = await this.resolveCanonicalContainerPath({
|
|
5355
5355
|
containerPath: target.containerPath,
|
|
5356
5356
|
allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-1MMYqY6M.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-auth-credentials.ts
|
|
@@ -70,10 +70,10 @@ function isRecord(value) {
|
|
|
70
70
|
}
|
|
71
71
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
72
72
|
if (process.env.IDLEHANDS_AUTH_STORE_READONLY === "1") return;
|
|
73
|
-
if (!
|
|
73
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
|
|
77
77
|
} catch {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
if (!changed) return;
|
|
89
89
|
if (Object.keys(parsed).length === 0) {
|
|
90
|
-
|
|
90
|
+
syncFs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
syncFs.chmodSync(pathname, 384);
|
|
95
95
|
}
|
|
96
96
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
97
97
|
const withInMemory = AuthStorageLike;
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { E as getActivePluginRegistry, s as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { j as loadConfig } from "./auth-profiles-Baj5ImDJ.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
5
|
-
import { _ as loadIdleHandsPlugins } from "./subagent-registry-
|
|
5
|
+
import { _ as loadIdleHandsPlugins } from "./subagent-registry-CPeVtSZk.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ht as loadIdleHandsPlugins } from "./reply-
|
|
2
|
+
import { ht as loadIdleHandsPlugins } from "./reply-Du7Q5RJl.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-DbNnv10G.js";
|
|
4
4
|
import { b as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-BTkYq-SM.js";
|
|
5
5
|
import { It as loadConfig } from "./model-selection-Df4-bBn3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import "./accounts-BLYMokxV.js";
|
|
3
|
-
import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-
|
|
3
|
+
import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-BEnj9--x.js";
|
|
4
4
|
import "./paths-CtGV5i8O.js";
|
|
5
5
|
import "./github-copilot-token-CY2euW0d.js";
|
|
6
6
|
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
@@ -63,7 +63,7 @@ import "./send-B26cNPqY.js";
|
|
|
63
63
|
import "./proxy-C4ewPdlN.js";
|
|
64
64
|
import "./resolve-route-BZABUE4J.js";
|
|
65
65
|
import "./replies-ZovJp-3F.js";
|
|
66
|
-
import "./deps-
|
|
66
|
+
import "./deps-HLNhWkFy.js";
|
|
67
67
|
import "./outbound-attachment-BisU5Vji.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
@@ -168,6 +168,21 @@ function buildImplementationRetryPrompt(task, planFilePath) {
|
|
|
168
168
|
"If you only provide analysis/diff text without edit/write tool calls, this attempt fails."
|
|
169
169
|
].join("\n");
|
|
170
170
|
}
|
|
171
|
+
function resolveAntonExecutionConfig(params) {
|
|
172
|
+
const antonCfg = params.config ?? {};
|
|
173
|
+
const preflightCfg = antonCfg.preflight ?? {};
|
|
174
|
+
const requestedMode = params.modeOverride ?? antonCfg.mode ?? "direct";
|
|
175
|
+
const mode = requestedMode === "preflight" && preflightCfg.enabled === false ? "direct" : requestedMode;
|
|
176
|
+
const taskTimeoutSec = antonCfg.taskTimeoutSec ?? 1200;
|
|
177
|
+
return {
|
|
178
|
+
mode,
|
|
179
|
+
requirementsReview: antonCfg.requirementsReview ?? preflightCfg.requirementsReview ?? false,
|
|
180
|
+
taskTimeoutSec,
|
|
181
|
+
discoveryTimeoutSec: antonCfg.discoveryTimeoutSec ?? preflightCfg.discoveryTimeoutSec ?? taskTimeoutSec,
|
|
182
|
+
reviewTimeoutSec: antonCfg.reviewTimeoutSec ?? preflightCfg.reviewTimeoutSec ?? taskTimeoutSec,
|
|
183
|
+
preflightMaxRetries: antonCfg.preflightMaxRetries ?? preflightCfg.maxRetries ?? 2
|
|
184
|
+
};
|
|
185
|
+
}
|
|
171
186
|
function formatDuration(ms) {
|
|
172
187
|
const seconds = Math.floor(ms / 1e3);
|
|
173
188
|
if (seconds < 60) return `${seconds}s`;
|
|
@@ -232,7 +247,7 @@ async function loadAntonConfig() {
|
|
|
232
247
|
}
|
|
233
248
|
}
|
|
234
249
|
async function runAgentTask(args) {
|
|
235
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
250
|
+
const { agentCliCommand } = await import("./agent-via-gateway-W4SFqR3m.js");
|
|
236
251
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
237
252
|
const result = await agentCliCommand({
|
|
238
253
|
message: args.message,
|
|
@@ -598,12 +613,16 @@ async function runAnton(args) {
|
|
|
598
613
|
return;
|
|
599
614
|
}
|
|
600
615
|
const antonCfg = await loadAntonConfig();
|
|
601
|
-
const
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
const
|
|
606
|
-
const
|
|
616
|
+
const execution = resolveAntonExecutionConfig({
|
|
617
|
+
config: antonCfg,
|
|
618
|
+
modeOverride: args.mode
|
|
619
|
+
});
|
|
620
|
+
const mode = execution.mode;
|
|
621
|
+
const requirementsReview = execution.requirementsReview;
|
|
622
|
+
const taskTimeout = execution.taskTimeoutSec;
|
|
623
|
+
const discoveryTimeout = execution.discoveryTimeoutSec;
|
|
624
|
+
const reviewTimeout = execution.reviewTimeoutSec;
|
|
625
|
+
const preflightMaxRetries = execution.preflightMaxRetries;
|
|
607
626
|
const planDir = antonCfg.planDir ? path.resolve(antonCfg.planDir) : path.resolve(path.dirname(filePath), ".agents", "tasks");
|
|
608
627
|
const { loadConfig } = await import("./config-CEgzwk0J.js").then((n) => n.t);
|
|
609
628
|
const cfg = loadConfig();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, f as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { i as resolveWhatsAppAccount } from "./accounts-BLYMokxV.js";
|
|
3
|
-
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-
|
|
3
|
+
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-BEnj9--x.js";
|
|
4
4
|
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
5
5
|
import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-Dyj2wV4e.js";
|
|
6
6
|
import { l as normalizeChatChannelId, t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
@@ -878,7 +878,7 @@ async function monitorWebInbox(options) {
|
|
|
878
878
|
};
|
|
879
879
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
880
880
|
if (stopText) {
|
|
881
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
881
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BXP-MZHW.js");
|
|
882
882
|
if (isAbortRequestText(stopText)) {
|
|
883
883
|
const { loadConfig: loadCfg } = await import("./config-CEgzwk0J.js").then((n) => n.t);
|
|
884
884
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
@@ -94,19 +94,43 @@ export type AntonProgressCallback = (event: AntonProgressEvent) => Promise<void>
|
|
|
94
94
|
export type AntonConfig = {
|
|
95
95
|
/** Execution mode: "direct" (single agent) or "preflight" (discovery → implementation). Default: "direct". */
|
|
96
96
|
mode?: "direct" | "preflight";
|
|
97
|
-
/**
|
|
97
|
+
/** Nested preflight settings used by config wizard/new schema. */
|
|
98
|
+
preflight?: {
|
|
99
|
+
/** When false, preflight mode is disabled and execution falls back to direct mode. */
|
|
100
|
+
enabled?: boolean;
|
|
101
|
+
/** Enable requirements review stage between discovery and implementation. */
|
|
102
|
+
requirementsReview?: boolean;
|
|
103
|
+
/** Discovery-stage timeout in seconds. Falls back to taskTimeoutSec. */
|
|
104
|
+
discoveryTimeoutSec?: number;
|
|
105
|
+
/** Requirements-review-stage timeout in seconds. Falls back to taskTimeoutSec. */
|
|
106
|
+
reviewTimeoutSec?: number;
|
|
107
|
+
/** Max retries for discovery/review before skipping. */
|
|
108
|
+
maxRetries?: number;
|
|
109
|
+
};
|
|
110
|
+
/** Legacy top-level requirements review flag (backward compatibility). */
|
|
98
111
|
requirementsReview?: boolean;
|
|
99
112
|
/** Per-task timeout in seconds. Default: 1200. */
|
|
100
113
|
taskTimeoutSec?: number;
|
|
101
|
-
/**
|
|
114
|
+
/** Legacy top-level discovery timeout in seconds. Falls back to taskTimeoutSec. */
|
|
102
115
|
discoveryTimeoutSec?: number;
|
|
103
|
-
/**
|
|
116
|
+
/** Legacy top-level requirements-review timeout in seconds. Falls back to taskTimeoutSec. */
|
|
104
117
|
reviewTimeoutSec?: number;
|
|
105
|
-
/**
|
|
118
|
+
/** Legacy top-level max retries for discovery/review before skipping. */
|
|
106
119
|
preflightMaxRetries?: number;
|
|
107
120
|
/** Directory to store plan files. Default: .agents/tasks/ relative to workspace. */
|
|
108
121
|
planDir?: string;
|
|
109
122
|
};
|
|
123
|
+
export declare function resolveAntonExecutionConfig(params: {
|
|
124
|
+
config: AntonConfig;
|
|
125
|
+
modeOverride?: "direct" | "preflight";
|
|
126
|
+
}): {
|
|
127
|
+
mode: "direct" | "preflight";
|
|
128
|
+
requirementsReview: boolean;
|
|
129
|
+
taskTimeoutSec: number;
|
|
130
|
+
discoveryTimeoutSec: number;
|
|
131
|
+
reviewTimeoutSec: number;
|
|
132
|
+
preflightMaxRetries: number;
|
|
133
|
+
};
|
|
110
134
|
export declare function formatProgressMessage(event: AntonProgressEvent): string;
|
|
111
135
|
export declare function antonStatus(runtime: RuntimeEnv): Promise<void>;
|
|
112
136
|
export declare function antonStop(runtime: RuntimeEnv): Promise<void>;
|
|
@@ -18,7 +18,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
|
|
|
18
18
|
function createDefaultDeps() {
|
|
19
19
|
return {
|
|
20
20
|
sendMessageWhatsApp: async (...args) => {
|
|
21
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
21
|
+
const { sendMessageWhatsApp } = await import("./web-TsEAe4Bs.js");
|
|
22
22
|
return await sendMessageWhatsApp(...args);
|
|
23
23
|
},
|
|
24
24
|
sendMessageTelegram: async (...args) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./accounts-BLYMokxV.js";
|
|
2
|
-
import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-
|
|
2
|
+
import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-BEnj9--x.js";
|
|
3
3
|
import "./paths-CtGV5i8O.js";
|
|
4
4
|
import "./github-copilot-token-CY2euW0d.js";
|
|
5
5
|
import "./config-CEgzwk0J.js";
|
|
@@ -61,7 +61,7 @@ import "./send-B26cNPqY.js";
|
|
|
61
61
|
import "./proxy-C4ewPdlN.js";
|
|
62
62
|
import "./resolve-route-BZABUE4J.js";
|
|
63
63
|
import "./replies-ZovJp-3F.js";
|
|
64
|
-
import "./deps-
|
|
64
|
+
import "./deps-HLNhWkFy.js";
|
|
65
65
|
import "./outbound-attachment-BisU5Vji.js";
|
|
66
66
|
|
|
67
67
|
//#region src/auto-reply/reply/emergency-stop.ts
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId, u as resolveThreadSessionKeys } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, o as createAccountListHelpers, r as resolveDefaultWhatsAppAccountId } from "./accounts-BLYMokxV.js";
|
|
3
|
-
import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-
|
|
3
|
+
import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-BEnj9--x.js";
|
|
4
4
|
import "./paths-CtGV5i8O.js";
|
|
5
5
|
import "./github-copilot-token-CY2euW0d.js";
|
|
6
6
|
import { A as GroupPolicySchema, An as acquireFileLock, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, R as normalizeAllowFrom, d as GoogleChatConfigSchema, f as IMessageConfigSchema, g as TelegramConfigSchema, h as SlackConfigSchema, j as MarkdownConfigSchema, jn as withFileLock, k as DmPolicySchema, l as WhatsAppConfigSchema, m as SignalConfigSchema, p as MSTeamsConfigSchema, u as DiscordConfigSchema, z as requireOpenAllowFrom } from "./config-CEgzwk0J.js";
|
|
@@ -52,7 +52,7 @@ import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticE
|
|
|
52
52
|
import { n as extractOriginalFilename } from "./store-CCCXwngh.js";
|
|
53
53
|
import "./pi-embedded-helpers-B68z4sHq.js";
|
|
54
54
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CnUtsDch.js";
|
|
55
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
55
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-DbwkbMKY.js";
|
|
56
56
|
import "./thinking-g4Rrlwu4.js";
|
|
57
57
|
import "./image-C_1tftC8.js";
|
|
58
58
|
import "./pi-model-discovery-Dt6899be.js";
|
|
@@ -65,7 +65,7 @@ import "./send-B26cNPqY.js";
|
|
|
65
65
|
import "./proxy-C4ewPdlN.js";
|
|
66
66
|
import "./resolve-route-BZABUE4J.js";
|
|
67
67
|
import "./replies-ZovJp-3F.js";
|
|
68
|
-
import "./deps-
|
|
68
|
+
import "./deps-HLNhWkFy.js";
|
|
69
69
|
import "./outbound-attachment-BisU5Vji.js";
|
|
70
70
|
import "./outbound-Dx_q6JAI.js";
|
|
71
71
|
import "./session-DdJj6_DW.js";
|
|
@@ -72,7 +72,7 @@ import { t as makeProxyFetch } from "./proxy-C4ewPdlN.js";
|
|
|
72
72
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BZABUE4J.js";
|
|
73
73
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-ZovJp-3F.js";
|
|
74
74
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-WMrtFGPv.js";
|
|
75
|
-
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
75
|
+
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-HLNhWkFy.js";
|
|
76
76
|
import { createRequire } from "node:module";
|
|
77
77
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
78
78
|
import * as path$1 from "node:path";
|
|
@@ -33091,7 +33091,7 @@ function createDiscordMessageHandler(params) {
|
|
|
33091
33091
|
try {
|
|
33092
33092
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
33093
33093
|
if (messageText) {
|
|
33094
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
33094
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BXP-MZHW.js");
|
|
33095
33095
|
if (isAbortRequestText(messageText)) {
|
|
33096
33096
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
33097
33097
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -43835,7 +43835,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
43835
43835
|
}
|
|
43836
43836
|
const msgText = (message.text ?? "").trim();
|
|
43837
43837
|
if (msgText) {
|
|
43838
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
43838
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BXP-MZHW.js");
|
|
43839
43839
|
if (isAbortRequestText(msgText)) {
|
|
43840
43840
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
43841
43841
|
const route = resolveAgentRoute({
|
|
@@ -46231,7 +46231,7 @@ function createSignalEventHandler(deps) {
|
|
|
46231
46231
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
46232
46232
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
46233
46233
|
if (bodyText) {
|
|
46234
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
46234
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BXP-MZHW.js");
|
|
46235
46235
|
if (isAbortRequestText(bodyText)) {
|
|
46236
46236
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
46237
46237
|
const route = resolveAgentRoute({
|
|
@@ -49602,7 +49602,7 @@ function createSlackMessageHandler(params) {
|
|
|
49602
49602
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
49603
49603
|
const rawText = (message.text ?? "").trim();
|
|
49604
49604
|
if (rawText) {
|
|
49605
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49605
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BXP-MZHW.js");
|
|
49606
49606
|
if (isAbortRequestText(rawText)) {
|
|
49607
49607
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
49608
49608
|
const route = resolveAgentRoute({
|
|
@@ -54225,7 +54225,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
54225
54225
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
54226
54226
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
54227
54227
|
if (text) {
|
|
54228
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
54228
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BXP-MZHW.js");
|
|
54229
54229
|
if (isAbortRequestText(text)) {
|
|
54230
54230
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
54231
54231
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -57710,7 +57710,7 @@ function loadWebLoginQr() {
|
|
|
57710
57710
|
return webLoginQrPromise;
|
|
57711
57711
|
}
|
|
57712
57712
|
function loadWebChannel() {
|
|
57713
|
-
webChannelPromise ??= import("./web-
|
|
57713
|
+
webChannelPromise ??= import("./web-TsEAe4Bs.js");
|
|
57714
57714
|
return webChannelPromise;
|
|
57715
57715
|
}
|
|
57716
57716
|
function loadWhatsAppActions() {
|
|
@@ -80282,7 +80282,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80282
80282
|
};
|
|
80283
80283
|
const arg = body.slice(6).trim();
|
|
80284
80284
|
if (arg === "status" || arg === "") {
|
|
80285
|
-
const { antonStatus } = await import("./anton-
|
|
80285
|
+
const { antonStatus } = await import("./anton-DgXekgcy.js");
|
|
80286
80286
|
const lines = [];
|
|
80287
80287
|
await antonStatus({
|
|
80288
80288
|
log: (msg) => lines.push(msg),
|
|
@@ -80298,7 +80298,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80298
80298
|
return { shouldContinue: false };
|
|
80299
80299
|
}
|
|
80300
80300
|
if (arg === "stop") {
|
|
80301
|
-
const { antonStop } = await import("./anton-
|
|
80301
|
+
const { antonStop } = await import("./anton-DgXekgcy.js");
|
|
80302
80302
|
const lines = [];
|
|
80303
80303
|
await antonStop({
|
|
80304
80304
|
log: (msg) => lines.push(msg),
|
|
@@ -80336,8 +80336,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80336
80336
|
await sendProgress(replyCtx, text);
|
|
80337
80337
|
return { shouldContinue: false };
|
|
80338
80338
|
}
|
|
80339
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
80340
|
-
const { createDefaultDeps } = await import("./deps-
|
|
80339
|
+
const { runAnton, formatProgressMessage } = await import("./anton-DgXekgcy.js");
|
|
80340
|
+
const { createDefaultDeps } = await import("./deps-HLNhWkFy.js").then((n) => n.n);
|
|
80341
80341
|
const { createNonExitingRuntime } = await import("./runtime-CjfcfOBD.js").then((n) => n.r);
|
|
80342
80342
|
const runtime = createNonExitingRuntime();
|
|
80343
80343
|
const deps = createDefaultDeps();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./accounts-BLYMokxV.js";
|
|
2
|
-
import "./reply-
|
|
2
|
+
import "./reply-BEnj9--x.js";
|
|
3
3
|
import "./paths-CtGV5i8O.js";
|
|
4
4
|
import "./github-copilot-token-CY2euW0d.js";
|
|
5
5
|
import "./config-CEgzwk0J.js";
|
|
@@ -49,7 +49,7 @@ import "./deliver-BNfMF0Nb.js";
|
|
|
49
49
|
import "./diagnostic-ByA6zvzu.js";
|
|
50
50
|
import "./store-CCCXwngh.js";
|
|
51
51
|
import "./pi-embedded-helpers-B68z4sHq.js";
|
|
52
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
52
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DbwkbMKY.js";
|
|
53
53
|
import "./thinking-g4Rrlwu4.js";
|
|
54
54
|
import "./image-C_1tftC8.js";
|
|
55
55
|
import "./pi-model-discovery-Dt6899be.js";
|
|
@@ -62,7 +62,7 @@ import "./send-B26cNPqY.js";
|
|
|
62
62
|
import "./proxy-C4ewPdlN.js";
|
|
63
63
|
import "./resolve-route-BZABUE4J.js";
|
|
64
64
|
import "./replies-ZovJp-3F.js";
|
|
65
|
-
import "./deps-
|
|
65
|
+
import "./deps-HLNhWkFy.js";
|
|
66
66
|
import "./outbound-attachment-BisU5Vji.js";
|
|
67
67
|
import { n as sendMessageWhatsApp } from "./outbound-Dx_q6JAI.js";
|
|
68
68
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-DdJj6_DW.js";
|