@visorcraft/idlehands 4.0.8 → 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-via-gateway-DnukWgYg.js → agent-via-gateway-BBte3wQO.js} +1 -1
- package/dist/{agent-via-gateway-DAWRXgBZ.js → agent-via-gateway-CrOzfhDz.js} +2 -2
- package/dist/{agent-via-gateway-BNqWa2KY.js → agent-via-gateway-DUGRWtJj.js} +1 -1
- package/dist/{agent-via-gateway-ot70omgC.js → agent-via-gateway-Uh4YDv0D.js} +2 -2
- package/dist/{agents-etUqQ3vM.js → agents-Cfq6xBBC.js} +4 -4
- package/dist/{agents.config-DGaSmPdW.js → agents.config-CTvFfiWu.js} +1 -1
- package/dist/{agents.config-FFOmEBpp.js → agents.config-CdRRep4e.js} +1 -1
- package/dist/{anton-BV_xSUQi.js → anton-BXxn5CZ9.js} +1 -1
- package/dist/{anton-B7cGl-93.js → anton-CqvQ2Rxs.js} +1 -1
- package/dist/{anton-CZliSAOv.js → anton-UMHJ_Ff9.js} +1 -1
- package/dist/{anton-CdYcHDXy.js → anton-m3i557wG.js} +1 -1
- package/dist/{auth-choice-CdEVNS6t.js → auth-choice-Bhkp9GVM.js} +1 -1
- package/dist/{auth-choice-qQO5MWz8.js → auth-choice-Bj2Vw_zs.js} +1 -1
- package/dist/{banner-DKPFtm9j.js → banner-DvWLq_V8.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +2 -2
- package/dist/{channel-options-BNcsrd0d.js → channel-options-BVm5cVek.js} +1 -1
- package/dist/{channel-options-CSurZCfX.js → channel-options-DwfZU1bf.js} +1 -1
- package/dist/{channel-web-DfBOK5if.js → channel-web-D-gUmqXG.js} +2 -2
- package/dist/{channel-web-COYnY8sZ.js → channel-web-NfXtQ8lq.js} +2 -2
- package/dist/{channels-cli-BTIg3DJP.js → channels-cli-BMVWvCZG.js} +7 -7
- package/dist/{channels-cli-GZ16c99F.js → channels-cli-Bwcv-MbF.js} +7 -7
- package/dist/{cli-CBXoKbJn.js → cli-B3yoXae2.js} +2 -2
- package/dist/{cli-CnjJnIx0.js → cli-sryoNF62.js} +2 -2
- package/dist/{command-registry-D3iSv7Of.js → command-registry-_mRYoCdC.js} +10 -10
- package/dist/{completion-cli-Zaylny55.js → completion-cli-CMmi_4ns.js} +1 -1
- package/dist/{completion-cli-Dkh-Zrqo.js → completion-cli-tSiHAybF.js} +2 -2
- package/dist/{config-cli-B8R8eDUm.js → config-cli-BMyksxxQ.js} +1 -1
- package/dist/{config-cli-DOf-CodQ.js → config-cli-ppb9P91W.js} +1 -1
- package/dist/{configure-Wh7ZMjiP.js → configure-BLKrFCU5.js} +3 -3
- package/dist/{configure-3o91R4Qd.js → configure-Barc4UcZ.js} +3 -3
- package/dist/{deps-Bdrf7UsT.js → deps-BAUamBsC.js} +1 -1
- package/dist/{deps-DB6dI42Y.js → deps-BffOWnyg.js} +1 -1
- package/dist/{deps-0GRTVtgy.js → deps-Dswgef7W.js} +1 -1
- package/dist/{deps-Ci76e_07.js → deps-RwCK8twp.js} +1 -1
- package/dist/{doctor-completion-CeD_GwXj.js → doctor-completion-CGdUYR1K.js} +1 -1
- package/dist/{doctor-completion-BeqR17ft.js → doctor-completion-zcAbMjQ2.js} +1 -1
- package/dist/{emergency-stop-BpudAT0i.js → emergency-stop-BMOhiXlj.js} +2 -2
- package/dist/{emergency-stop-D8XCYE8L.js → emergency-stop-DJTRZhjJ.js} +2 -2
- package/dist/{emergency-stop-fApFDnLR.js → emergency-stop-gTWSglNP.js} +2 -2
- package/dist/{emergency-stop-B1ycCthl.js → emergency-stop-qtyxYgYw.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{gateway-cli-D9wmLKfn.js → gateway-cli-BXVdwolu.js} +9 -9
- package/dist/{gateway-cli-D3b05F0y.js → gateway-cli-BdgApNMg.js} +9 -9
- package/dist/{health-D6PJPflH.js → health-DBSDfGPQ.js} +1 -1
- package/dist/{health-cUQV1hzf.js → health-c6YfjqN9.js} +1 -1
- package/dist/{hooks-cli-Cg5joAHH.js → hooks-cli-CoJOwRWP.js} +3 -3
- package/dist/{hooks-cli-Cs51IGnr.js → hooks-cli-DuVFXBnl.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{models-tqBGSD-X.js → models-I1fimmye.js} +2 -2
- package/dist/{models-cli-Va0ILYmK.js → models-cli-XzrL7se3.js} +4 -4
- package/dist/{models-cli-D6CVD4Jl.js → models-cli-p17sGvc_.js} +3 -3
- package/dist/{npm-resolution-CCdELgCy.js → npm-resolution-CaV24X0a.js} +1 -1
- package/dist/{npm-resolution-DgW-oSJa.js → npm-resolution-CjE7drzJ.js} +1 -1
- package/dist/{onboard-Bfd4q7HR.js → onboard-B_fyzWtv.js} +2 -2
- package/dist/{onboard-Br7oW1Sf.js → onboard-Bqdp0JMX.js} +2 -2
- package/dist/{onboard-channels-BpCQ5nQX.js → onboard-channels-BSO1y0cA.js} +1 -1
- package/dist/{onboard-channels-wDbxIOXH.js → onboard-channels-CZ8FfTSc.js} +1 -1
- package/dist/{onboarding-CegT14jj.js → onboarding-B5h3HtpG.js} +3 -3
- package/dist/{onboarding-rD-jdAK3.js → onboarding-BAb3u5FQ.js} +3 -3
- package/dist/{onboarding.finalize-C50Cd_QG.js → onboarding.finalize-BFQ0FK67.js} +6 -6
- package/dist/{onboarding.finalize-CHq5hQxh.js → onboarding.finalize-C4yD5wdF.js} +7 -7
- package/dist/{pi-embedded-znVFwmix.js → pi-embedded-YwM9Q1Oj.js} +15 -13
- package/dist/{pi-embedded-2EqYdroP.js → pi-embedded-lIBDXwPw.js} +15 -13
- package/dist/{plugin-registry-DAtKgBy3.js → plugin-registry-9o2_nLCw.js} +1 -1
- package/dist/{plugin-registry-CYXCwXDq.js → plugin-registry-C0PH2a4D.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-BeEBACUq.js → agent-via-gateway-DeAyT5pO.js} +2 -2
- package/dist/plugin-sdk/{anton-DXocufH_.js → anton-CM_5r7wZ.js} +1 -1
- package/dist/plugin-sdk/{channel-web-DOG4rb7e.js → channel-web-DZEPgI9g.js} +2 -2
- package/dist/plugin-sdk/{deps--J_OAyWa.js → deps-C3O2JHMz.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-CAC-_dk-.js → emergency-stop-D_J66ezD.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-5pZsGmq0.js → reply-Bd7B0L5M.js} +15 -13
- package/dist/plugin-sdk/{upgrade-command-C2uWxfO3.js → upgrade-command-DKUGbn8D.js} +3 -3
- package/dist/plugin-sdk/{web-B-T8tUvc.js → web-BOTYNjJP.js} +3 -3
- package/dist/{plugins-cli-CAbzpQdE.js → plugins-cli-Bssd0vWc.js} +3 -3
- package/dist/{plugins-cli-Di1X-utw.js → plugins-cli-Buwy6BDo.js} +3 -3
- package/dist/{program-DCfsqP_8.js → program-DmoMcJbW.js} +8 -8
- package/dist/{program-context-Dhec-fGX.js → program-context-CvILUgwS.js} +22 -22
- package/dist/{prompt-select-styled-C1aw6YAJ.js → prompt-select-styled-Ba-sEW8U.js} +4 -4
- package/dist/{prompt-select-styled-CJ2ux4O0.js → prompt-select-styled-CQFQszFb.js} +4 -4
- package/dist/{provider-auth-helpers-aWibl0HT.js → provider-auth-helpers-DDd2VWFT.js} +1 -1
- package/dist/{provider-auth-helpers-BPsTPi3e.js → provider-auth-helpers-DUCFKGef.js} +1 -1
- package/dist/{push-apns-BracxehR.js → push-apns-CNG0oNRQ.js} +1 -1
- package/dist/{push-apns-By39WpiH.js → push-apns-Caq-I_Zt.js} +1 -1
- package/dist/{register.agent-BaVrC6Ay.js → register.agent-D8Nt6BUp.js} +9 -9
- package/dist/{register.agent-CyZyt49k.js → register.agent-tRfjcu32.js} +8 -8
- package/dist/{register.configure-CqmHvWcB.js → register.configure-BBgjG-V6.js} +8 -8
- package/dist/{register.configure-DmjP2LTb.js → register.configure-BlAHg6Pc.js} +8 -8
- package/dist/{register.maintenance-DYYx-jCe.js → register.maintenance-7jk9KK9w.js} +9 -9
- package/dist/{register.maintenance-DfWWglhS.js → register.maintenance-C4PEQN25.js} +8 -8
- package/dist/{register.message-C3tFRLbl.js → register.message-B35QKkNl.js} +3 -3
- package/dist/{register.message-Cke7XTrc.js → register.message-DRsct7hM.js} +3 -3
- package/dist/{register.onboard-BXK-V33E.js → register.onboard-CpXzVkMZ.js} +2 -2
- package/dist/{register.onboard-DLZNgT0T.js → register.onboard-Dfe2XWYP.js} +2 -2
- package/dist/{register.orchestrator-anton-D2g_KbgY.js → register.orchestrator-anton-BcvmMRCY.js} +2 -2
- package/dist/{register.orchestrator-anton-rvqNZKP1.js → register.orchestrator-anton-CLkzgvtb.js} +2 -2
- package/dist/{register.setup-DBL7rrRW.js → register.setup-D60l_E81.js} +2 -2
- package/dist/{register.setup-Dr-v5BSC.js → register.setup-DHvCXtrq.js} +2 -2
- package/dist/{register.status-health-sessions-BDG_QnIw.js → register.status-health-sessions-BjLIPEMo.js} +4 -4
- package/dist/{register.status-health-sessions-BrnK4KEW.js → register.status-health-sessions-BzFW2WeI.js} +4 -4
- package/dist/{register.subclis-SGnxsMrq.js → register.subclis-G3Znne6v.js} +13 -13
- package/dist/{reply-tuqCy_5s.js → reply-BjfZSyVA.js} +15 -13
- package/dist/{run-main-KfdXYi7n.js → run-main-uIK1D4ZZ.js} +15 -15
- package/dist/{server-node-events-BLSMmXyp.js → server-node-events-CNNvTDbI.js} +3 -3
- package/dist/{server-node-events-Brm38g1H.js → server-node-events-CjRXfyAl.js} +3 -3
- package/dist/{status-CLNSJORR.js → status-CCYiT1JP.js} +2 -2
- package/dist/{status-CmG_xHAm.js → status-Cl-QVMTz.js} +2 -2
- package/dist/{subagent-registry-B-ciR-Ya.js → subagent-registry-CXQ2ArrW.js} +15 -13
- package/dist/{update-cli-ButEdTeQ.js → update-cli-B2P4wjeX.js} +9 -9
- package/dist/{update-cli-B-RzWiVk.js → update-cli-BmyxJEDm.js} +8 -8
- package/dist/{update-runner-Cxg4n1sn.js → update-runner-BQ1zr3So.js} +1 -1
- package/dist/{update-runner-DizoiA2w.js → update-runner-BdYav5a2.js} +1 -1
- package/dist/{upgrade-command-5UDVpXfB.js → upgrade-command-Bh61DpzA.js} +5 -5
- package/dist/{upgrade-command-B2yxOLOn.js → upgrade-command-Bvrv4iDU.js} +3 -3
- package/dist/{upgrade-command-B_OSevDd.js → upgrade-command-CvbcPPIF.js} +3 -3
- package/dist/{upgrade-command-DP6F1cjV.js → upgrade-command-L9y3xbza.js} +5 -5
- package/dist/{web-DtCFqhdb.js → web-BVRZ7GPb.js} +3 -3
- package/dist/{web-C4Q6twkC.js → web-B_JttZzc.js} +3 -3
- package/dist/{web-DWhjgVIf.js → web-CAqyU7Tb.js} +3 -3
- package/dist/{web-D5dDa5kC.js → web-Ur3UMpna.js} +3 -3
- package/extensions/acpx/node_modules/.bin/acpx +2 -2
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
|
|
|
7
7
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
8
8
|
import { t as assertSupportedRuntime } from "./runtime-guard-DTSD0F6o.js";
|
|
9
9
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
|
|
10
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
10
|
+
import { t as runOnboardingWizard } from "./onboarding-BAb3u5FQ.js";
|
|
11
11
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
12
12
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DHfeIfN6.js";
|
|
13
13
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D12380q3.js";
|
|
@@ -250,7 +250,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
250
250
|
}
|
|
251
251
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
252
252
|
if (!opts.skipHealth) {
|
|
253
|
-
const { healthCommand } = await import("./health-
|
|
253
|
+
const { healthCommand } = await import("./health-DBSDfGPQ.js").then((n) => n.i);
|
|
254
254
|
await waitForGatewayReachable({
|
|
255
255
|
url: resolveControlUiLinks({
|
|
256
256
|
bind: gatewayResult.bind,
|
|
@@ -9,7 +9,7 @@ import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveD
|
|
|
9
9
|
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-frp6YB8O.js";
|
|
10
10
|
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-COaz4Gk1.js";
|
|
11
11
|
import { dt as normalizeDiscordSlug } from "./send-CCiDIuX4.js";
|
|
12
|
-
import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-
|
|
12
|
+
import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-CXQ2ArrW.js";
|
|
13
13
|
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-dpNitoNd.js";
|
|
14
14
|
import { s as normalizeIMessageHandle } from "./send-YcXS-UZJ.js";
|
|
15
15
|
import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-
|
|
3
|
+
import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-BjfZSyVA.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
5
5
|
import { g as listChatChannels, m as formatChannelSelectionLine, p as formatChannelPrimerLine, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
6
6
|
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-Cuihcz_O.js";
|
|
@@ -231,7 +231,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
231
231
|
const { ensureAuthProfileStore } = await import("./model-selection-0dGxYGp8.js").then((n) => n.ot);
|
|
232
232
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-CiRp6avH.js").then((n) => n.t);
|
|
233
233
|
const { promptCustomApiConfig } = await import("./onboard-custom-DUbzMMu7.js").then((n) => n.r);
|
|
234
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
234
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-Bj2Vw_zs.js").then((n) => n.t);
|
|
235
235
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-BkXoTOiA.js").then((n) => n.i);
|
|
236
236
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
237
237
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -285,7 +285,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
285
285
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
286
286
|
else {
|
|
287
287
|
const { listChannelPlugins } = await import("./plugins-D46VZh7u.js").then((n) => n.i);
|
|
288
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
288
|
+
const { setupChannels } = await import("./onboard-channels-CZ8FfTSc.js").then((n) => n.n);
|
|
289
289
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
290
290
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
291
291
|
allowSignalInstall: true,
|
|
@@ -311,7 +311,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
311
311
|
mode
|
|
312
312
|
});
|
|
313
313
|
await writeConfigFile(nextConfig);
|
|
314
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
314
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BFQ0FK67.js");
|
|
315
315
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
316
316
|
flow,
|
|
317
317
|
opts,
|
|
@@ -230,7 +230,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
230
230
|
const { ensureAuthProfileStore } = await import("./auth-profiles-Baj5ImDJ.js").then((n) => n.t);
|
|
231
231
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-kycZqH8q.js").then((n) => n.t);
|
|
232
232
|
const { promptCustomApiConfig } = await import("./onboard-custom-BjUK6yP5.js").then((n) => n.r);
|
|
233
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
233
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-Bhkp9GVM.js").then((n) => n.t);
|
|
234
234
|
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-D_yngXMe.js").then((n) => n.i);
|
|
235
235
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
236
236
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
285
285
|
else {
|
|
286
286
|
const { listChannelPlugins } = await import("./plugins-CCrfZ49T.js").then((n) => n.i);
|
|
287
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
287
|
+
const { setupChannels } = await import("./onboard-channels-BSO1y0cA.js").then((n) => n.n);
|
|
288
288
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
289
289
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
290
290
|
allowSignalInstall: true,
|
|
@@ -310,7 +310,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
310
310
|
mode
|
|
311
311
|
});
|
|
312
312
|
await writeConfigFile(nextConfig);
|
|
313
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
313
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-C4yD5wdF.js");
|
|
314
314
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
315
315
|
flow,
|
|
316
316
|
opts,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-BjfZSyVA.js";
|
|
5
5
|
import { v as DEFAULT_BOOTSTRAP_FILENAME } from "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { i as restoreTerminalState } from "./runtime-44j_X4Y6.js";
|
|
@@ -103,7 +103,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
103
103
|
import "./replies-hSFVxL4h.js";
|
|
104
104
|
import "./skill-commands-BFzmZAfo.js";
|
|
105
105
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
106
|
-
import "./deps-
|
|
106
|
+
import "./deps-BffOWnyg.js";
|
|
107
107
|
import "./plugin-auto-enable-7DUxMy6A.js";
|
|
108
108
|
import "./channel-selection-ZxRkxpuF.js";
|
|
109
109
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -117,17 +117,17 @@ import "./server-lifecycle-B5PlrlbG.js";
|
|
|
117
117
|
import "./stagger-rQoQSWkz.js";
|
|
118
118
|
import "./system-run-command-qJdgzxLp.js";
|
|
119
119
|
import "./runtime-guard-X6f4YmTM.js";
|
|
120
|
-
import "./program-context-
|
|
120
|
+
import "./program-context-CvILUgwS.js";
|
|
121
121
|
import "./note-69EfBEU-.js";
|
|
122
|
-
import { r as installCompletion } from "./completion-cli-
|
|
122
|
+
import { r as installCompletion } from "./completion-cli-CMmi_4ns.js";
|
|
123
123
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BZY9-jNW.js";
|
|
124
124
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
|
|
125
125
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CaCR5CyM.js";
|
|
126
126
|
import { t as resolveGatewayService } from "./service-C8NMS3m_.js";
|
|
127
|
-
import { r as healthCommand } from "./health-
|
|
127
|
+
import { r as healthCommand } from "./health-c6YfjqN9.js";
|
|
128
128
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-C7ZpN9hN.js";
|
|
129
129
|
import { t as formatHealthCheckFailure } from "./health-format-Ba_hOaT2.js";
|
|
130
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
130
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CGdUYR1K.js";
|
|
131
131
|
import { t as runTui } from "./tui-lalhRHve.js";
|
|
132
132
|
import os from "node:os";
|
|
133
133
|
import path from "node:path";
|
|
@@ -26,7 +26,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
26
26
|
import "./auth-store-D9BmR4S6.js";
|
|
27
27
|
import "./send-m4lQkQcY.js";
|
|
28
28
|
import "./send-CCiDIuX4.js";
|
|
29
|
-
import "./subagent-registry-
|
|
29
|
+
import "./subagent-registry-CXQ2ArrW.js";
|
|
30
30
|
import "./paths-CC17i2eK.js";
|
|
31
31
|
import "./chat-envelope-Dedaetiq.js";
|
|
32
32
|
import "./client-Brv1GCwX.js";
|
|
@@ -109,24 +109,24 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
109
109
|
import "./help-format-CldHB7lS.js";
|
|
110
110
|
import "./progress-B76RkFx7.js";
|
|
111
111
|
import "./replies-DSfpze17.js";
|
|
112
|
-
import "./deps-
|
|
112
|
+
import "./deps-Dswgef7W.js";
|
|
113
113
|
import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks, i as detectBrowserOpenSupport, m as probeGatewayReachable, o as formatControlUiSshHint } from "./onboard-helpers-Dp6wXNs7.js";
|
|
114
114
|
import "./prompt-style-XmK49QYK.js";
|
|
115
115
|
import "./pairing-labels-D7xcHkxi.js";
|
|
116
116
|
import "./note-C2HHth6G.js";
|
|
117
|
-
import { r as installCompletion } from "./completion-cli-
|
|
118
|
-
import "./register.subclis-
|
|
119
|
-
import "./command-registry-
|
|
117
|
+
import { r as installCompletion } from "./completion-cli-tSiHAybF.js";
|
|
118
|
+
import "./register.subclis-G3Znne6v.js";
|
|
119
|
+
import "./command-registry-_mRYoCdC.js";
|
|
120
120
|
import "./program-context-BrqeiWcA.js";
|
|
121
121
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-DUHqeg5Y.js";
|
|
122
122
|
import "./runtime-guard-DTSD0F6o.js";
|
|
123
123
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
|
|
124
124
|
import { r as isSystemdUserServiceAvailable } from "./systemd-CYLBa7fG.js";
|
|
125
125
|
import { t as resolveGatewayService } from "./service-BzgRt9im.js";
|
|
126
|
-
import { r as healthCommand } from "./health-
|
|
126
|
+
import { r as healthCommand } from "./health-DBSDfGPQ.js";
|
|
127
127
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-B5haX6bT.js";
|
|
128
128
|
import { t as formatHealthCheckFailure } from "./health-format-wax5NzZB.js";
|
|
129
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
129
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-zcAbMjQ2.js";
|
|
130
130
|
import { t as runTui } from "./tui-BPgLehyv.js";
|
|
131
131
|
import os from "node:os";
|
|
132
132
|
import path from "node:path";
|
|
@@ -75,7 +75,7 @@ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-rou
|
|
|
75
75
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-jilCMH1M.js";
|
|
76
76
|
import { t as makeProxyFetch } from "./proxy-CRB9oCP5.js";
|
|
77
77
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-6_GxvQYe.js";
|
|
78
|
-
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
78
|
+
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-BAUamBsC.js";
|
|
79
79
|
import { createRequire } from "node:module";
|
|
80
80
|
import * as fs$1 from "node:fs/promises";
|
|
81
81
|
import fs from "node:fs/promises";
|
|
@@ -23061,7 +23061,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23061
23061
|
};
|
|
23062
23062
|
const arg = body.slice(6).trim();
|
|
23063
23063
|
if (arg === "status" || arg === "") {
|
|
23064
|
-
const { antonStatus } = await import("./anton-
|
|
23064
|
+
const { antonStatus } = await import("./anton-m3i557wG.js");
|
|
23065
23065
|
const lines = [];
|
|
23066
23066
|
await antonStatus({
|
|
23067
23067
|
log: (msg) => lines.push(msg),
|
|
@@ -23077,7 +23077,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23077
23077
|
return { shouldContinue: false };
|
|
23078
23078
|
}
|
|
23079
23079
|
if (arg === "stop") {
|
|
23080
|
-
const { antonStop } = await import("./anton-
|
|
23080
|
+
const { antonStop } = await import("./anton-m3i557wG.js");
|
|
23081
23081
|
const lines = [];
|
|
23082
23082
|
await antonStop({
|
|
23083
23083
|
log: (msg) => lines.push(msg),
|
|
@@ -23115,8 +23115,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23115
23115
|
await sendProgress(replyCtx, text);
|
|
23116
23116
|
return { shouldContinue: false };
|
|
23117
23117
|
}
|
|
23118
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
23119
|
-
const { createDefaultDeps } = await import("./deps-
|
|
23118
|
+
const { runAnton, formatProgressMessage } = await import("./anton-m3i557wG.js");
|
|
23119
|
+
const { createDefaultDeps } = await import("./deps-BAUamBsC.js").then((n) => n.n);
|
|
23120
23120
|
const { createNonExitingRuntime } = await import("./runtime-8mi3mpYB.js").then((n) => n.r);
|
|
23121
23121
|
const runtime = createNonExitingRuntime();
|
|
23122
23122
|
const deps = createDefaultDeps();
|
|
@@ -29223,7 +29223,7 @@ const handleTtsCommands = async (params, allowTextCommands) => {
|
|
|
29223
29223
|
const handleUpgradeCommand = async (params, _allowTextCommands) => {
|
|
29224
29224
|
if (!params.command.commandBodyNormalized.startsWith("/upgrade")) return null;
|
|
29225
29225
|
if (!params.command.isAuthorizedSender) return { shouldContinue: false };
|
|
29226
|
-
const { performBotUpgrade } = await import("./upgrade-command-
|
|
29226
|
+
const { performBotUpgrade } = await import("./upgrade-command-Bvrv4iDU.js");
|
|
29227
29227
|
const channel = params.ctx.OriginatingChannel ?? params.command.channel;
|
|
29228
29228
|
const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
|
|
29229
29229
|
await routeReply({
|
|
@@ -48198,7 +48198,7 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
48198
48198
|
hasResolvedHeartbeatModelOverride = true;
|
|
48199
48199
|
}
|
|
48200
48200
|
}
|
|
48201
|
-
|
|
48201
|
+
let workspaceDir = (await ensureAgentWorkspace({
|
|
48202
48202
|
dir: resolveAgentWorkspaceDir(cfg, agentId) ?? DEFAULT_AGENT_WORKSPACE_DIR,
|
|
48203
48203
|
ensureBootstrapFiles: !agentCfg?.skipBootstrap && !isFastTestEnv
|
|
48204
48204
|
})).dir;
|
|
@@ -48244,6 +48244,8 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
48244
48244
|
cfg,
|
|
48245
48245
|
commandAuthorized
|
|
48246
48246
|
});
|
|
48247
|
+
const sessionWorkspaceDir = sessionEntry.workspaceDir?.trim();
|
|
48248
|
+
if (sessionWorkspaceDir) workspaceDir = sessionWorkspaceDir;
|
|
48247
48249
|
await applyResetModelOverride({
|
|
48248
48250
|
cfg,
|
|
48249
48251
|
resetTriggered,
|
|
@@ -57248,7 +57250,7 @@ function createDiscordMessageHandler(params) {
|
|
|
57248
57250
|
try {
|
|
57249
57251
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
57250
57252
|
if (messageText) {
|
|
57251
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57253
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BMOhiXlj.js");
|
|
57252
57254
|
if (isAbortRequestText(messageText)) {
|
|
57253
57255
|
const { resolveAgentRoute } = await import("./resolve-route-DuttYY7A.js").then((n) => n.r);
|
|
57254
57256
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -64746,7 +64748,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
64746
64748
|
}
|
|
64747
64749
|
const msgText = (message.text ?? "").trim();
|
|
64748
64750
|
if (msgText) {
|
|
64749
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
64751
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BMOhiXlj.js");
|
|
64750
64752
|
if (isAbortRequestText(msgText)) {
|
|
64751
64753
|
const { resolveAgentRoute } = await import("./resolve-route-DuttYY7A.js").then((n) => n.r);
|
|
64752
64754
|
const route = resolveAgentRoute({
|
|
@@ -67357,7 +67359,7 @@ function createSignalEventHandler(deps) {
|
|
|
67357
67359
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
67358
67360
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
67359
67361
|
if (bodyText) {
|
|
67360
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
67362
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BMOhiXlj.js");
|
|
67361
67363
|
if (isAbortRequestText(bodyText)) {
|
|
67362
67364
|
const { resolveAgentRoute } = await import("./resolve-route-DuttYY7A.js").then((n) => n.r);
|
|
67363
67365
|
const route = resolveAgentRoute({
|
|
@@ -70739,7 +70741,7 @@ function createSlackMessageHandler(params) {
|
|
|
70739
70741
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
70740
70742
|
const rawText = (message.text ?? "").trim();
|
|
70741
70743
|
if (rawText) {
|
|
70742
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
70744
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BMOhiXlj.js");
|
|
70743
70745
|
if (isAbortRequestText(rawText)) {
|
|
70744
70746
|
const { resolveAgentRoute } = await import("./resolve-route-DuttYY7A.js").then((n) => n.r);
|
|
70745
70747
|
const route = resolveAgentRoute({
|
|
@@ -72933,7 +72935,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
72933
72935
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
72934
72936
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
72935
72937
|
if (text) {
|
|
72936
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
72938
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BMOhiXlj.js");
|
|
72937
72939
|
if (isAbortRequestText(text)) {
|
|
72938
72940
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
72939
72941
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -76418,7 +76420,7 @@ function loadWebLoginQr() {
|
|
|
76418
76420
|
return webLoginQrPromise;
|
|
76419
76421
|
}
|
|
76420
76422
|
function loadWebChannel() {
|
|
76421
|
-
webChannelPromise ??= import("./web-
|
|
76423
|
+
webChannelPromise ??= import("./web-Ur3UMpna.js");
|
|
76422
76424
|
return webChannelPromise;
|
|
76423
76425
|
}
|
|
76424
76426
|
function loadWhatsAppActions() {
|
|
@@ -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-RwCK8twp.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";
|
|
@@ -23058,7 +23058,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23058
23058
|
};
|
|
23059
23059
|
const arg = body.slice(6).trim();
|
|
23060
23060
|
if (arg === "status" || arg === "") {
|
|
23061
|
-
const { antonStatus } = await import("./anton-
|
|
23061
|
+
const { antonStatus } = await import("./anton-BXxn5CZ9.js");
|
|
23062
23062
|
const lines = [];
|
|
23063
23063
|
await antonStatus({
|
|
23064
23064
|
log: (msg) => lines.push(msg),
|
|
@@ -23074,7 +23074,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23074
23074
|
return { shouldContinue: false };
|
|
23075
23075
|
}
|
|
23076
23076
|
if (arg === "stop") {
|
|
23077
|
-
const { antonStop } = await import("./anton-
|
|
23077
|
+
const { antonStop } = await import("./anton-BXxn5CZ9.js");
|
|
23078
23078
|
const lines = [];
|
|
23079
23079
|
await antonStop({
|
|
23080
23080
|
log: (msg) => lines.push(msg),
|
|
@@ -23112,8 +23112,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23112
23112
|
await sendProgress(replyCtx, text);
|
|
23113
23113
|
return { shouldContinue: false };
|
|
23114
23114
|
}
|
|
23115
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
23116
|
-
const { createDefaultDeps } = await import("./deps-
|
|
23115
|
+
const { runAnton, formatProgressMessage } = await import("./anton-BXxn5CZ9.js");
|
|
23116
|
+
const { createDefaultDeps } = await import("./deps-RwCK8twp.js").then((n) => n.n);
|
|
23117
23117
|
const { createNonExitingRuntime } = await import("./runtime-8mi3mpYB.js").then((n) => n.r);
|
|
23118
23118
|
const runtime = createNonExitingRuntime();
|
|
23119
23119
|
const deps = createDefaultDeps();
|
|
@@ -29220,7 +29220,7 @@ const handleTtsCommands = async (params, allowTextCommands) => {
|
|
|
29220
29220
|
const handleUpgradeCommand = async (params, _allowTextCommands) => {
|
|
29221
29221
|
if (!params.command.commandBodyNormalized.startsWith("/upgrade")) return null;
|
|
29222
29222
|
if (!params.command.isAuthorizedSender) return { shouldContinue: false };
|
|
29223
|
-
const { performBotUpgrade } = await import("./upgrade-command-
|
|
29223
|
+
const { performBotUpgrade } = await import("./upgrade-command-CvbcPPIF.js");
|
|
29224
29224
|
const channel = params.ctx.OriginatingChannel ?? params.command.channel;
|
|
29225
29225
|
const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
|
|
29226
29226
|
await routeReply({
|
|
@@ -48195,7 +48195,7 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
48195
48195
|
hasResolvedHeartbeatModelOverride = true;
|
|
48196
48196
|
}
|
|
48197
48197
|
}
|
|
48198
|
-
|
|
48198
|
+
let workspaceDir = (await ensureAgentWorkspace({
|
|
48199
48199
|
dir: resolveAgentWorkspaceDir(cfg, agentId) ?? DEFAULT_AGENT_WORKSPACE_DIR,
|
|
48200
48200
|
ensureBootstrapFiles: !agentCfg?.skipBootstrap && !isFastTestEnv
|
|
48201
48201
|
})).dir;
|
|
@@ -48241,6 +48241,8 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
48241
48241
|
cfg,
|
|
48242
48242
|
commandAuthorized
|
|
48243
48243
|
});
|
|
48244
|
+
const sessionWorkspaceDir = sessionEntry.workspaceDir?.trim();
|
|
48245
|
+
if (sessionWorkspaceDir) workspaceDir = sessionWorkspaceDir;
|
|
48244
48246
|
await applyResetModelOverride({
|
|
48245
48247
|
cfg,
|
|
48246
48248
|
resetTriggered,
|
|
@@ -57245,7 +57247,7 @@ function createDiscordMessageHandler(params) {
|
|
|
57245
57247
|
try {
|
|
57246
57248
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
57247
57249
|
if (messageText) {
|
|
57248
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57250
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-qtyxYgYw.js");
|
|
57249
57251
|
if (isAbortRequestText(messageText)) {
|
|
57250
57252
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
57251
57253
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -64743,7 +64745,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
64743
64745
|
}
|
|
64744
64746
|
const msgText = (message.text ?? "").trim();
|
|
64745
64747
|
if (msgText) {
|
|
64746
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
64748
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-qtyxYgYw.js");
|
|
64747
64749
|
if (isAbortRequestText(msgText)) {
|
|
64748
64750
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
64749
64751
|
const route = resolveAgentRoute({
|
|
@@ -67354,7 +67356,7 @@ function createSignalEventHandler(deps) {
|
|
|
67354
67356
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
67355
67357
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
67356
67358
|
if (bodyText) {
|
|
67357
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
67359
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-qtyxYgYw.js");
|
|
67358
67360
|
if (isAbortRequestText(bodyText)) {
|
|
67359
67361
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
67360
67362
|
const route = resolveAgentRoute({
|
|
@@ -70736,7 +70738,7 @@ function createSlackMessageHandler(params) {
|
|
|
70736
70738
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
70737
70739
|
const rawText = (message.text ?? "").trim();
|
|
70738
70740
|
if (rawText) {
|
|
70739
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
70741
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-qtyxYgYw.js");
|
|
70740
70742
|
if (isAbortRequestText(rawText)) {
|
|
70741
70743
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
70742
70744
|
const route = resolveAgentRoute({
|
|
@@ -72930,7 +72932,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
72930
72932
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
72931
72933
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
72932
72934
|
if (text) {
|
|
72933
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
72935
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-qtyxYgYw.js");
|
|
72934
72936
|
if (isAbortRequestText(text)) {
|
|
72935
72937
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
72936
72938
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -76415,7 +76417,7 @@ function loadWebLoginQr() {
|
|
|
76415
76417
|
return webLoginQrPromise;
|
|
76416
76418
|
}
|
|
76417
76419
|
function loadWebChannel() {
|
|
76418
|
-
webChannelPromise ??= import("./web-
|
|
76420
|
+
webChannelPromise ??= import("./web-CAqyU7Tb.js");
|
|
76419
76421
|
return webChannelPromise;
|
|
76420
76422
|
}
|
|
76421
76423
|
function loadWhatsAppActions() {
|
|
@@ -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-CXQ2ArrW.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-BjfZSyVA.js";
|
|
3
3
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
4
4
|
import { b as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import { It as loadConfig } from "./model-selection-0dGxYGp8.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-Bd7B0L5M.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-C3O2JHMz.js";
|
|
67
67
|
import "./outbound-attachment-BisU5Vji.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
@@ -216,7 +216,7 @@ async function loadAntonConfig() {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
async function runAgentTask(args) {
|
|
219
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
219
|
+
const { agentCliCommand } = await import("./agent-via-gateway-DeAyT5pO.js");
|
|
220
220
|
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;
|
|
221
221
|
await agentCliCommand({
|
|
222
222
|
message: args.message,
|
|
@@ -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-Bd7B0L5M.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-D_J66ezD.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);
|
|
@@ -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-BOTYNjJP.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-Bd7B0L5M.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-C3O2JHMz.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-Bd7B0L5M.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-DZEPgI9g.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-C3O2JHMz.js";
|
|
69
69
|
import "./outbound-attachment-BisU5Vji.js";
|
|
70
70
|
import "./outbound-Dx_q6JAI.js";
|
|
71
71
|
import "./session-DdJj6_DW.js";
|