squidclaw 3.0.7 → 3.0.8
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/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{command-registry-Dw2lXmUy.js → command-registry-CGSJnTGc.js} +4 -4
- package/dist/{completion-cli-eA4JUOZT.js → completion-cli-6rDw9Vgd.js} +2 -2
- package/dist/{completion-cli-D5qk7bww.js → completion-cli-CnnbGfPk.js} +1 -1
- package/dist/{doctor-completion-CvQj6O2Q.js → doctor-completion-CC0lUyzO.js} +1 -1
- package/dist/{doctor-completion-wX-JySOG.js → doctor-completion-D08-ZGv_.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{gateway-cli-DFVbXY2h.js → gateway-cli-1qoqHHCn.js} +1 -1
- package/dist/{gateway-cli-CFgc8s-Z.js → gateway-cli-DxQPkbc5.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{onboard-BnXVNO2s.js → onboard-Cblf5YfI.js} +1 -1
- package/dist/{onboard-CFYdBaxI.js → onboard-DNVPNtLC.js} +1 -1
- package/dist/{onboarding-Cckw2J8d.js → onboarding-DG1HG1hZ.js} +3 -2
- package/dist/{onboarding-lys5RDtd.js → onboarding-DMoDasxG.js} +3 -2
- package/dist/{onboarding.finalize-BzIsvr89.js → onboarding.finalize-C73A2Ey4.js} +3 -3
- package/dist/{onboarding.finalize-DcRoSMD8.js → onboarding.finalize-D4zecIE7.js} +4 -4
- package/dist/plugin-sdk/{accounts-YTdQYQFr.js → accounts-CxUSDHsT.js} +3 -3
- package/dist/plugin-sdk/{accounts-h__dTrLK.js → accounts-PSzw-z3S.js} +2 -2
- package/dist/plugin-sdk/{accounts-DghIDNk2.js → accounts-kr-Gz1hk.js} +2 -2
- package/dist/plugin-sdk/{active-listener-_PRYjtJv.js → active-listener-BQNrTcR3.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-mVDSAkKQ.js → api-key-rotation-DE4gr5YM.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-BZlQM-qX.js → audio-preflight-_xgGaeho.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CrYTX8py.js → audio-transcription-runner-Dwc0Eh-B.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-Xl20kCBe.js → audit-membership-runtime-DHQDvH4u.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-gwxRn4wF.js → channel-activity-XajEg_DL.js} +3 -3
- package/dist/plugin-sdk/{channel-web-1WF-Nabe.js → channel-web-KtqCp4mz.js} +18 -18
- package/dist/plugin-sdk/{chrome-BXbYwXRH.js → chrome-diV5m81I.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-0w-aZenK.js → commands-registry-DwZAJuut.js} +4 -4
- package/dist/plugin-sdk/{common-DBOCt6Yv.js → common-CqnO92P8.js} +2 -2
- package/dist/plugin-sdk/{config-pRtEoVyZ.js → config-DYbtdrsT.js} +7 -7
- package/dist/plugin-sdk/{deliver-FjlJrtZk.js → deliver-DG_7Uagn.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-BdTC7uKE.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-CObCNMt3.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-DlWgi2DH.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-Cz7FT8J8.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-D4vDoRsg.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DjTVED_m.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-CRWOIKRC.js +57 -0
- package/dist/plugin-sdk/{diagnostic-Dt2i3afe.js → diagnostic-CT7v_kM2.js} +2 -2
- package/dist/plugin-sdk/{errors-CgRPdp3o.js → errors-9oVz7reJ.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DyPZh8r2.js → fetch-guard-Or5BCq0E.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DqCO1D4C.js → fs-safe-DFbwq9CS.js} +3 -3
- package/dist/plugin-sdk/{image-ops-sw0uZ0GN.js → image-ops-CMsocOob.js} +2 -2
- package/dist/plugin-sdk/image-runtime-Cjz368oj.js +25 -0
- package/dist/plugin-sdk/{image-CQ9TZ9vq.js → image-rycGCqJO.js} +6 -6
- package/dist/plugin-sdk/{ir-BVZ5kUMb.js → ir-DihI2SIz.js} +7 -7
- package/dist/plugin-sdk/{local-roots-fO3ZgW3G.js → local-roots-1xVosTZ4.js} +4 -4
- package/dist/plugin-sdk/{logger-DIb2cGHp.js → logger-Bg4vIUJn.js} +2 -2
- package/dist/plugin-sdk/{login-Dg5cxB_3.js → login-YhFrVUWo.js} +4 -4
- package/dist/plugin-sdk/{login-qr-C3Vn30cq.js → login-qr-SpUTuwYv.js} +5 -5
- package/dist/plugin-sdk/{manager-BR-TwWTH.js → manager-DrzOPeMD.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-CF55pBNe.js +15 -0
- package/dist/plugin-sdk/{outbound-1a3Z_QJ2.js → outbound-Cc4cUn9K.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-BTQjD4YE.js → outbound-attachment-Dtp3hQgc.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-TnxupPQC.js → path-alias-guards-DA0MhfkG.js} +1 -1
- package/dist/plugin-sdk/{paths-B7_75Pdr.js → paths-CP67O8eN.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DZRNadD8.js → pi-embedded-helpers-BDJ_4Plh.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DGh6xekX.js → pi-model-discovery-Mk0GTDJl.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-BrwtJHPU.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-BZ9XgG_x.js → pi-tools.before-tool-call.runtime-DV72wTDb.js} +4 -4
- package/dist/plugin-sdk/{plugins-B8pWVYug.js → plugins-DSs2-fnK.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-BOlkiW1-.js → proxy-env-Ib4-LUh-.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Dt5BedH8.js → proxy-fetch-Cf3IUSDw.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-C17A1o4w.js → pw-ai-DIx2wpkY.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Bei6TaFq.js → qmd-manager-Ov9ElEfG.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-POz2za8a.js → query-expansion-CzjwW461.js} +4 -4
- package/dist/plugin-sdk/{redact-9WsNyb7S.js → redact-DfACyt0X.js} +1 -1
- package/dist/plugin-sdk/{reply-BFbijn6_.js → reply-CWWUd_JS.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-B9iFEh0y.js → resolve-outbound-target-BOkvxZtM.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-DmTrN5JG.js → run-with-concurrency-kVooFCVo.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DitS0I1z.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYCr6A3v.js +19 -0
- package/dist/plugin-sdk/{send-BGZo6HW1.js → send-BP1fSEBR.js} +5 -5
- package/dist/plugin-sdk/{send-BqkUDZed.js → send-BeLBlAsQ.js} +13 -13
- package/dist/plugin-sdk/{send-BisREGBZ.js → send-D9CSOGul.js} +6 -6
- package/dist/plugin-sdk/{send-D6_nNvi0.js → send-DLKxJJYV.js} +8 -8
- package/dist/plugin-sdk/{send-Dj7XEcZN.js → send-XZ6IXCtL.js} +7 -7
- package/dist/plugin-sdk/{session-D4KDs7Hq.js → session-DtLUYWvY.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-D_xeseiI.js → skill-commands-Bv7EZypt.js} +4 -4
- package/dist/plugin-sdk/{skills-Bs2b3JfV.js → skills-BzXN4uev.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-Bx1K1iqP.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DVn338JI.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-Dbi_YzPO.js +16 -0
- package/dist/plugin-sdk/{store-B7ESm9_L.js → store-DnJhFFW5.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-FhP0l-Rw.js +52 -0
- package/dist/plugin-sdk/{tables-1vhBJPK_.js → tables-CpmqssLF.js} +1 -1
- package/dist/plugin-sdk/{thinking-DjaClmzi.js → thinking-1UCPuD9d.js} +7 -7
- package/dist/plugin-sdk/{tokens-CLE20fRI.js → tokens-DAL_5WHL.js} +1 -1
- package/dist/plugin-sdk/{tool-images-B95xcwiR.js → tool-images-RX4QTMnt.js} +2 -2
- package/dist/plugin-sdk/web-AtEy-48y.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-BYpcWkTN.js → whatsapp-actions-BF6ih4Gi.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/plugin-sdk/zalouser.js +2 -2
- package/dist/{program-CiVwDECs.js → program-B6qrkS8k.js} +2 -2
- package/dist/{program-context-DL7G8nIV.js → program-context-BI4RLPKE.js} +6 -6
- package/dist/{prompt-select-styled-D2v-PcJd.js → prompt-select-styled-15p-EqkU.js} +1 -1
- package/dist/{prompt-select-styled-BrkB1FUz.js → prompt-select-styled-DgOGstZD.js} +1 -1
- package/dist/{register.maintenance-CmYWQzFL.js → register.maintenance-C4XxOMVa.js} +5 -5
- package/dist/{register.maintenance-DTBy1d2x.js → register.maintenance-CTGczchl.js} +4 -4
- package/dist/{register.onboard-Bp_ORnSC.js → register.onboard-B7sv06Nj.js} +2 -2
- package/dist/{register.onboard-qDUZWg2_.js → register.onboard-DQ-fbOHv.js} +2 -2
- package/dist/{register.setup-DPISAnNR.js → register.setup-CkieBd76.js} +2 -2
- package/dist/{register.setup-CyM-Xcuz.js → register.setup-DOBBtw-F.js} +2 -2
- package/dist/{register.subclis-GFcxmic8.js → register.subclis-B2-bYRai.js} +3 -3
- package/dist/{run-main-C4ENRKiY.js → run-main--RtRUDZ1.js} +3 -3
- package/dist/{update-cli-HwgCPSAf.js → update-cli-B7QjEzzI.js} +4 -4
- package/dist/{update-cli-ky4dsy09.js → update-cli-DbO-YsuU.js} +5 -5
- package/package.json +1 -1
- package/dist/plugin-sdk/deliver-runtime-DEzvpBW1.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-Bhusa_Hi.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-bmakPm5f.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-n00sfFto.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-BvM3Z-Mr.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-CPuMkcmo.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-BzO6S-KX.js +0 -57
- package/dist/plugin-sdk/image-runtime-17_mTqsy.js +0 -25
- package/dist/plugin-sdk/manager-runtime-CvI9wF8N.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-DjjBdPYt.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DzhkSmLi.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-DyILWezU.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-CUb5sqqf.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-DCB6bGjB.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-BqEweE4K.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-CCUW4SbM.js +0 -52
- package/dist/plugin-sdk/web-DeRmHQ4_.js +0 -56
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ebaf7497fd7876a628d11978310ce2136e0e7ec0d828b4caa42b868aa54b1e8c
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { F as getPrimaryCommand, R as hasHelpOrVersion } from "./globals-BrhVUl-N.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-B2-bYRai.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-DOBBtw-F.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-DQ-fbOHv.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-C4XxOMVa.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -4,8 +4,8 @@ import { g as resolveStateDir } from "./paths-CHIu6D1E.js";
|
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-Bw5n50gj.js";
|
|
5
5
|
import { m as pathExists } from "./utils-D6vohX1h.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-Dye6HsRG.js";
|
|
7
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
8
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
7
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-B2-bYRai.js";
|
|
8
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-CGSJnTGc.js";
|
|
9
9
|
import { t as getProgramContext } from "./program-context-DKVuITe2.js";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -4,7 +4,7 @@ import { p as theme } from "./globals-xfUIfxbE.js";
|
|
|
4
4
|
import { h as pathExists } from "./utils-DMGXr25O.js";
|
|
5
5
|
import { i as routeLogsToStderr } from "./subsystem-DC87CPVS.js";
|
|
6
6
|
import { t as formatDocsLink } from "./links-De9M3AmU.js";
|
|
7
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
7
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-BI4RLPKE.js";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveCliName } from "./command-format-D8-lYArk.js";
|
|
2
2
|
import { t as resolveSquidClawPackageRoot } from "./squidclaw-root-BQfLymzj.js";
|
|
3
3
|
import { t as note } from "./note-IoQo8Ol0.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-6rDw9Vgd.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as resolveSquidClawPackageRoot } from "./squidclaw-root-CnE19yKj.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-z1t1m-Kx.js";
|
|
3
3
|
import { t as note } from "./note-CBt9wSWa.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-CnnbGfPk.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -370,7 +370,7 @@ if (!isMainModule({
|
|
|
370
370
|
}
|
|
371
371
|
function tryHandleRootHelpFastPath(argv) {
|
|
372
372
|
if (!isRootHelpInvocation(argv)) return false;
|
|
373
|
-
import("./program-
|
|
373
|
+
import("./program-B6qrkS8k.js").then(({ buildProgram }) => {
|
|
374
374
|
buildProgram().outputHelp();
|
|
375
375
|
}).catch((error) => {
|
|
376
376
|
console.error("[squidclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -389,7 +389,7 @@ if (!isMainModule({
|
|
|
389
389
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
390
390
|
process$1.argv = parsed.argv;
|
|
391
391
|
}
|
|
392
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main
|
|
392
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main--RtRUDZ1.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
|
|
393
393
|
console.error("[squidclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
394
394
|
process$1.exitCode = 1;
|
|
395
395
|
});
|
|
@@ -153,7 +153,7 @@ import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t
|
|
|
153
153
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CQ6rCiGI.js";
|
|
154
154
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-p-NlFhs9.js";
|
|
155
155
|
import "./onboarding.secret-input-Blkshntx.js";
|
|
156
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
156
|
+
import { t as runOnboardingWizard } from "./onboarding-DMoDasxG.js";
|
|
157
157
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-rK-2DkTr.js";
|
|
158
158
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BDpWdYq5.js";
|
|
159
159
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-CWFxjK-r.js";
|
|
@@ -152,7 +152,7 @@ import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t
|
|
|
152
152
|
import { h as normalizeUpdateChannel, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-e4ysObLI.js";
|
|
153
153
|
import { a as resolveCommandSecretsFromActiveRuntimeSnapshot, i as prepareSecretsRuntimeSnapshot, n as clearSecretsRuntimeSnapshot, r as getActiveSecretsRuntimeSnapshot, t as activateSecretsRuntimeSnapshot } from "./runtime-DNEPlni4.js";
|
|
154
154
|
import "./onboarding.secret-input-CpbcFdVE.js";
|
|
155
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
155
|
+
import { t as runOnboardingWizard } from "./onboarding-DG1HG1hZ.js";
|
|
156
156
|
import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-Bmzz46UG.js";
|
|
157
157
|
import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-CDJE1jBL.js";
|
|
158
158
|
import { n as isNodeCommandAllowed, r as resolveNodeCommandAllowlist } from "./node-command-policy-Bfp1jHbs.js";
|
package/dist/index.js
CHANGED
|
@@ -119,7 +119,7 @@ import { t as isMainModule } from "./is-main-D5LnS2LP.js";
|
|
|
119
119
|
import { t as ensureSquidClawCliOnPath } from "./path-env-kSxA2INU.js";
|
|
120
120
|
import { t as assertSupportedRuntime } from "./runtime-guard-pMNmDPEU.js";
|
|
121
121
|
import "./ports-CXjhFS7T.js";
|
|
122
|
-
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-
|
|
122
|
+
import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-BI4RLPKE.js";
|
|
123
123
|
import "./plugin-registry-C3_4F3FU.js";
|
|
124
124
|
import { n as resolveCliChannelOptions } from "./channel-options-BsIX_w4i.js";
|
|
125
125
|
import process$1 from "node:process";
|
|
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-pMNmDPEU.js";
|
|
|
8
8
|
import { t as WizardCancelledError } from "./prompts-knTF_LVq.js";
|
|
9
9
|
import { t as createClackPrompter } from "./clack-prompter-Bx0vssUh.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Di8BSZyD.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-DG1HG1hZ.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-AGpu_2Pc.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-BpV7mEJN.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-a-Bwydlo.js";
|
|
@@ -8,7 +8,7 @@ import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-DU01bRlk.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-BPoq8vFM.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-DMoDasxG.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-ZAeFsd9K.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DjGs2ip7.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-C0UVcgCr.js";
|
|
@@ -302,9 +302,10 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
const { listChannelPlugins } = await import("./plugins-H53_4Gxb.js").then((n) => n.i);
|
|
303
303
|
const { setupChannels } = await import("./onboard-channels-BB39kGye.js").then((n) => n.n);
|
|
304
304
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
305
|
+
const forceAllowFromChannels = Array.from(new Set([...quickstartAllowFromChannels, "telegram"]));
|
|
305
306
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
306
307
|
allowSignalInstall: true,
|
|
307
|
-
forceAllowFromChannels
|
|
308
|
+
forceAllowFromChannels,
|
|
308
309
|
skipDmPolicyPrompt: flow === "quickstart",
|
|
309
310
|
skipConfirm: flow === "quickstart",
|
|
310
311
|
quickstartDefaults: flow === "quickstart",
|
|
@@ -327,7 +328,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
327
328
|
mode
|
|
328
329
|
});
|
|
329
330
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
331
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-C73A2Ey4.js");
|
|
331
332
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
333
|
flow,
|
|
333
334
|
opts,
|
|
@@ -302,9 +302,10 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
302
302
|
const { listChannelPlugins } = await import("./plugins-BDTkSIi7.js").then((n) => n.i);
|
|
303
303
|
const { setupChannels } = await import("./onboard-channels-Dt3KBZ1w.js").then((n) => n.n);
|
|
304
304
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
305
|
+
const forceAllowFromChannels = Array.from(new Set([...quickstartAllowFromChannels, "telegram"]));
|
|
305
306
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
306
307
|
allowSignalInstall: true,
|
|
307
|
-
forceAllowFromChannels
|
|
308
|
+
forceAllowFromChannels,
|
|
308
309
|
skipDmPolicyPrompt: flow === "quickstart",
|
|
309
310
|
skipConfirm: flow === "quickstart",
|
|
310
311
|
quickstartDefaults: flow === "quickstart",
|
|
@@ -327,7 +328,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
327
328
|
mode
|
|
328
329
|
});
|
|
329
330
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
331
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-D4zecIE7.js");
|
|
331
332
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
333
|
flow,
|
|
333
334
|
opts,
|
|
@@ -111,9 +111,9 @@ import "./progress-BHN121Ps.js";
|
|
|
111
111
|
import "./server-lifecycle-DfGhxo90.js";
|
|
112
112
|
import "./stagger-DL-XRpny.js";
|
|
113
113
|
import "./runtime-guard-pMNmDPEU.js";
|
|
114
|
-
import "./program-context-
|
|
114
|
+
import "./program-context-BI4RLPKE.js";
|
|
115
115
|
import "./note-CBt9wSWa.js";
|
|
116
|
-
import { r as installCompletion } from "./completion-cli-
|
|
116
|
+
import { r as installCompletion } from "./completion-cli-CnnbGfPk.js";
|
|
117
117
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-a4pGEsbA.js";
|
|
118
118
|
import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Di8BSZyD.js";
|
|
119
119
|
import { r as isSystemdUserServiceAvailable } from "./systemd-DEyfdNKS.js";
|
|
@@ -122,7 +122,7 @@ import { r as healthCommand } from "./health-CrEBegrW.js";
|
|
|
122
122
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Bz7TCLpb.js";
|
|
123
123
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-CpbcFdVE.js";
|
|
124
124
|
import { t as formatHealthCheckFailure } from "./health-format-B3bJdIC6.js";
|
|
125
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
125
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D08-ZGv_.js";
|
|
126
126
|
import { t as runTui } from "./tui-Cwz3AqOg.js";
|
|
127
127
|
import os from "node:os";
|
|
128
128
|
import path from "node:path";
|
|
@@ -112,9 +112,9 @@ import "./cli-utils-BKqG4ZT-.js";
|
|
|
112
112
|
import "./help-format-CpR5cEGe.js";
|
|
113
113
|
import "./progress-DuhDspl6.js";
|
|
114
114
|
import "./note-IoQo8Ol0.js";
|
|
115
|
-
import { r as installCompletion } from "./completion-cli-
|
|
116
|
-
import "./register.subclis-
|
|
117
|
-
import "./command-registry-
|
|
115
|
+
import { r as installCompletion } from "./completion-cli-6rDw9Vgd.js";
|
|
116
|
+
import "./register.subclis-B2-bYRai.js";
|
|
117
|
+
import "./command-registry-CGSJnTGc.js";
|
|
118
118
|
import "./program-context-DKVuITe2.js";
|
|
119
119
|
import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-CJtiW2RE.js";
|
|
120
120
|
import "./runtime-guard-BPoq8vFM.js";
|
|
@@ -125,7 +125,7 @@ import { r as healthCommand } from "./health-xBOt7lp3.js";
|
|
|
125
125
|
import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BYEy341x.js";
|
|
126
126
|
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-Blkshntx.js";
|
|
127
127
|
import { t as formatHealthCheckFailure } from "./health-format-eNDYxTNS.js";
|
|
128
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
128
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CC0lUyzO.js";
|
|
129
129
|
import { t as runTui } from "./tui-Dihw6VdK.js";
|
|
130
130
|
import os from "node:os";
|
|
131
131
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
3
|
-
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-DYbtdrsT.js";
|
|
3
|
+
import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import { o as resolveOAuthDir } from "./paths-Duwviem_.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-CxUSDHsT.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-
|
|
1
|
+
import { ot as normalizeAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-CxUSDHsT.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand } from "./config-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Tr as formatCliCommand } from "./config-DYbtdrsT.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ht as normalizeProviderId } from "./config-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { Ht as normalizeProviderId } from "./config-DYbtdrsT.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-9oVz7reJ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./config-
|
|
3
|
-
import { L as logVerbose, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import "./config-DYbtdrsT.js";
|
|
3
|
+
import { L as logVerbose, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import "./paths-Duwviem_.js";
|
|
5
|
-
import "./accounts-
|
|
6
|
-
import "./plugins-
|
|
7
|
-
import "./thinking-
|
|
8
|
-
import "./accounts-
|
|
9
|
-
import "./image-ops-
|
|
10
|
-
import "./pi-embedded-helpers-
|
|
11
|
-
import "./accounts-
|
|
5
|
+
import "./accounts-CxUSDHsT.js";
|
|
6
|
+
import "./plugins-DSs2-fnK.js";
|
|
7
|
+
import "./thinking-1UCPuD9d.js";
|
|
8
|
+
import "./accounts-PSzw-z3S.js";
|
|
9
|
+
import "./image-ops-CMsocOob.js";
|
|
10
|
+
import "./pi-embedded-helpers-BDJ_4Plh.js";
|
|
11
|
+
import "./accounts-kr-Gz1hk.js";
|
|
12
12
|
import "./github-copilot-token-C0y6vp3r.js";
|
|
13
|
-
import "./paths-
|
|
14
|
-
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
15
|
-
import "./image-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./skills-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./store-
|
|
24
|
-
import "./tool-images-
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./api-key-rotation-
|
|
27
|
-
import "./local-roots-
|
|
28
|
-
import "./proxy-fetch-
|
|
13
|
+
import "./paths-CP67O8eN.js";
|
|
14
|
+
import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-Dwc0Eh-B.js";
|
|
15
|
+
import "./image-rycGCqJO.js";
|
|
16
|
+
import "./chrome-diV5m81I.js";
|
|
17
|
+
import "./skills-BzXN4uev.js";
|
|
18
|
+
import "./path-alias-guards-DA0MhfkG.js";
|
|
19
|
+
import "./redact-DfACyt0X.js";
|
|
20
|
+
import "./errors-9oVz7reJ.js";
|
|
21
|
+
import "./fs-safe-DFbwq9CS.js";
|
|
22
|
+
import "./proxy-env-Ib4-LUh-.js";
|
|
23
|
+
import "./store-DnJhFFW5.js";
|
|
24
|
+
import "./tool-images-RX4QTMnt.js";
|
|
25
|
+
import "./fetch-guard-Or5BCq0E.js";
|
|
26
|
+
import "./api-key-rotation-DE4gr5YM.js";
|
|
27
|
+
import "./local-roots-1xVosTZ4.js";
|
|
28
|
+
import "./proxy-fetch-Cf3IUSDw.js";
|
|
29
29
|
|
|
30
30
|
//#region src/media-understanding/audio-preflight.ts
|
|
31
31
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-
|
|
2
|
-
import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-
|
|
3
|
-
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { _ as normalizeChatType } from "./plugins-
|
|
5
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
6
|
-
import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-
|
|
1
|
+
import { O as runExec, U as resolveAgentModelFallbackValues, W as resolveAgentModelPrimaryValue } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Fn as resolveSquidClawAgentDir, Ht as normalizeProviderId, Yt as normalizeGoogleModelId, dn as resolveApiKeyForProvider, f as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, h as resolveIMessageAttachmentRoots, m as mergeInboundPathRoots, n as loadConfig, p as isInboundPathAllowed, un as requireApiKey } from "./config-DYbtdrsT.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
|
|
4
|
+
import { _ as normalizeChatType } from "./plugins-DSs2-fnK.js";
|
|
5
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-CMsocOob.js";
|
|
6
|
+
import { C as ensureSquidClawModelsJson, t as describeImageWithModel } from "./image-rycGCqJO.js";
|
|
7
7
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
8
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
9
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
10
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
11
|
-
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-
|
|
8
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-Or5BCq0E.js";
|
|
9
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DE4gr5YM.js";
|
|
10
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-1xVosTZ4.js";
|
|
11
|
+
import { n as resolveProxyFetchFromEnv } from "./proxy-fetch-Cf3IUSDw.js";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { constants } from "node:fs";
|
|
14
14
|
import os from "node:os";
|
|
@@ -990,7 +990,7 @@ var MediaAttachmentCache = class {
|
|
|
990
990
|
const log = createSubsystemLogger("model-catalog");
|
|
991
991
|
let modelCatalogPromise = null;
|
|
992
992
|
let hasLoggedModelCatalogError = false;
|
|
993
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
993
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-Mk0GTDJl.js").then((n) => n.r);
|
|
994
994
|
let importPiSdk = defaultImportPiSdk;
|
|
995
995
|
const CODEX_PROVIDER = "openai-codex";
|
|
996
996
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { f as isRecord } from "./logger-
|
|
1
|
+
import { f as isRecord } from "./logger-Bg4vIUJn.js";
|
|
2
2
|
import "./paths-Duwviem_.js";
|
|
3
3
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
4
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
4
|
+
import { t as makeProxyFetch } from "./proxy-fetch-Cf3IUSDw.js";
|
|
5
5
|
import "./proxy-BOZmkV9K.js";
|
|
6
6
|
|
|
7
7
|
//#region src/telegram/audit-membership-runtime.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { en as resolveRetryConfig, tn as retryAsync } from "./config-
|
|
2
|
-
import { O as createSubsystemLogger } from "./logger-
|
|
3
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { en as resolveRetryConfig, tn as retryAsync } from "./config-DYbtdrsT.js";
|
|
2
|
+
import { O as createSubsystemLogger } from "./logger-Bg4vIUJn.js";
|
|
3
|
+
import { r as formatErrorMessage } from "./errors-9oVz7reJ.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-
|
|
2
|
-
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-
|
|
3
|
-
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-
|
|
4
|
-
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-
|
|
5
|
-
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-
|
|
6
|
-
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-
|
|
7
|
-
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-
|
|
8
|
-
import { s as resolveStorePath } from "./paths-
|
|
9
|
-
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-
|
|
10
|
-
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
11
|
-
import { i as saveMediaBuffer } from "./store-
|
|
12
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
13
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-
|
|
14
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
15
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
16
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
17
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
18
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
1
|
+
import { $ as normalizeAgentId, J as buildAgentMainSessionKey, X as buildGroupHistoryKey, at as DEFAULT_ACCOUNT_ID, q as DEFAULT_MAIN_KEY } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Tr as formatCliCommand, n as loadConfig, ur as normalizeChatChannelId } from "./config-DYbtdrsT.js";
|
|
3
|
+
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-Bg4vIUJn.js";
|
|
4
|
+
import { i as resolveWhatsAppAccount, p as readWebSelfId, s as getWebAuthAgeMs } from "./accounts-CxUSDHsT.js";
|
|
5
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy } from "./thinking-1UCPuD9d.js";
|
|
6
|
+
import { A as shouldComputeCommandAuthorized, B as formatDurationPrecise, C as createInboundDebouncer, D as buildAgentSessionKey, E as createDedupeCache, G as resolveOpenProviderRuntimeGroupPolicy, H as finalizeInboundContext, I as resolveIdentityNamePrefix, K as warnMissingProviderGroupPolicyFallbackOnce, L as resolveMessagePrefix, O as resolveAgentRoute, R as buildMentionRegexes, T as formatInboundEnvelope, V as enqueueSystemEvent, W as resolveDefaultGroupPolicy, _ as resolveDmGroupAccessWithCommandGate, a as parseActivationCommand, b as shouldAckReactionForWhatsApp, c as computeBackoff, d as buildPairingReply, f as resolveMentionGating, g as readStoreAllowFromForDmPolicy, h as recordPendingHistoryEntryIfEnabled, i as normalizeGroupActivation, k as hasControlCommand, l as sleepWithAbort, m as buildHistoryContextFromEntries, p as DEFAULT_GROUP_HISTORY_LIMIT, s as resolveInboundSessionEnvelopeContext, t as getReplyFromConfig, u as createReplyPrefixOptions, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as normalizeMentionText } from "./reply-CWWUd_JS.js";
|
|
7
|
+
import { _t as loadSessionStore, bt as updateLastRoute, in as resolveGroupSessionKey, yt as recordSessionMetaFromInbound } from "./pi-embedded-helpers-BDJ_4Plh.js";
|
|
8
|
+
import { s as resolveStorePath } from "./paths-CP67O8eN.js";
|
|
9
|
+
import { X as toLocationContext, Y as formatLocationText, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest } from "./send-BeLBlAsQ.js";
|
|
10
|
+
import { f as registerUnhandledRejectionHandler } from "./audio-transcription-runner-Dwc0Eh-B.js";
|
|
11
|
+
import { i as saveMediaBuffer } from "./store-DnJhFFW5.js";
|
|
12
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-1xVosTZ4.js";
|
|
13
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-DihI2SIz.js";
|
|
14
|
+
import { n as recordChannelActivity } from "./channel-activity-XajEg_DL.js";
|
|
15
|
+
import { t as convertMarkdownTables } from "./tables-CpmqssLF.js";
|
|
16
|
+
import { r as setActiveWebListener } from "./active-listener-BQNrTcR3.js";
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-Cc4cUn9K.js";
|
|
18
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DtLUYWvY.js";
|
|
19
19
|
import { randomUUID } from "node:crypto";
|
|
20
20
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
21
21
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-
|
|
2
|
-
import { A as normalizeIpAddress, O as isLoopbackIpAddress, k as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-
|
|
3
|
-
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR } from "./logger-
|
|
4
|
-
import { a as isErrno } from "./errors-
|
|
5
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
-
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
1
|
+
import { R as isNotFoundPathError, z as isPathInside } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { A as normalizeIpAddress, O as isLoopbackIpAddress, k as isPrivateOrLoopbackIpAddress, n as loadConfig } from "./config-DYbtdrsT.js";
|
|
3
|
+
import { O as createSubsystemLogger, Y as resolvePreferredSquidClawTmpDir, a as CONFIG_DIR } from "./logger-Bg4vIUJn.js";
|
|
4
|
+
import { a as isErrno } from "./errors-9oVz7reJ.js";
|
|
5
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DFbwq9CS.js";
|
|
6
|
+
import { o as isPrivateNetworkAllowedByPolicy, s as resolvePinnedHostnameWithPolicy, t as hasProxyEnvConfigured } from "./proxy-env-Ib4-LUh-.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Gn as DEFAULT_MODEL, Kn as DEFAULT_PROVIDER, Ut as resolveConfiguredModelRef, dr as getActivePluginRegistry } from "./config-
|
|
2
|
-
import { D as isPlainObject, u as escapeRegExp } from "./logger-
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
1
|
+
import { Gn as DEFAULT_MODEL, Kn as DEFAULT_PROVIDER, Ut as resolveConfiguredModelRef, dr as getActivePluginRegistry } from "./config-DYbtdrsT.js";
|
|
2
|
+
import { D as isPlainObject, u as escapeRegExp } from "./logger-Bg4vIUJn.js";
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-DSs2-fnK.js";
|
|
4
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-1UCPuD9d.js";
|
|
5
5
|
|
|
6
6
|
//#region src/config/commands.ts
|
|
7
7
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-CMsocOob.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-RX4QTMnt.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/outbound/target-errors.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as normalizeAgentId, A as canUseBoundaryFileOpen, G as toAgentModelListLike, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, W as resolveAgentModelPrimaryValue, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency, z as isPathInside$2 } from "./run-with-concurrency-
|
|
3
|
-
import { C as sleep, D as isPlainObject$2, L as logVerbose, O as createSubsystemLogger, _ as resolveConfigDir, f as isRecord$3, k as stripAnsi, y as resolveUserPath } from "./logger-
|
|
2
|
+
import { $ as normalizeAgentId, A as canUseBoundaryFileOpen, G as toAgentModelListLike, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, W as resolveAgentModelPrimaryValue, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, i as resolveAgentConfig, l as resolveDefaultAgentId, o as resolveAgentEffectiveModelPrimary, t as runTasksWithConcurrency, z as isPathInside$2 } from "./run-with-concurrency-kVooFCVo.js";
|
|
3
|
+
import { C as sleep, D as isPlainObject$2, L as logVerbose, O as createSubsystemLogger, _ as resolveConfigDir, f as isRecord$3, k as stripAnsi, y as resolveUserPath } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, i as resolveDefaultConfigCandidates, l as expandHomePrefix, r as resolveConfigPath, s as resolveOAuthPath, t as DEFAULT_GATEWAY_PORT } from "./paths-Duwviem_.js";
|
|
5
5
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-C0y6vp3r.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
|
-
import
|
|
10
|
+
import json5 from "json5";
|
|
11
11
|
import { isDeepStrictEqual } from "node:util";
|
|
12
12
|
import fs$1 from "node:fs/promises";
|
|
13
13
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -8162,7 +8162,7 @@ const defaultResolver = {
|
|
|
8162
8162
|
resolvedPath,
|
|
8163
8163
|
rootRealDir
|
|
8164
8164
|
}),
|
|
8165
|
-
parseJson: (raw) =>
|
|
8165
|
+
parseJson: (raw) => json5.parse(raw)
|
|
8166
8166
|
};
|
|
8167
8167
|
/**
|
|
8168
8168
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -17370,7 +17370,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
17370
17370
|
function normalizeDeps(overrides = {}) {
|
|
17371
17371
|
return {
|
|
17372
17372
|
fs: overrides.fs ?? fs,
|
|
17373
|
-
json5: overrides.json5 ??
|
|
17373
|
+
json5: overrides.json5 ?? json5,
|
|
17374
17374
|
env: overrides.env ?? process.env,
|
|
17375
17375
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
17376
17376
|
configPath: overrides.configPath ?? "",
|
|
@@ -17381,11 +17381,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
17381
17381
|
if (env !== process.env) return;
|
|
17382
17382
|
loadDotEnv({ quiet: true });
|
|
17383
17383
|
}
|
|
17384
|
-
function parseConfigJson5(raw, json5 =
|
|
17384
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
17385
17385
|
try {
|
|
17386
17386
|
return {
|
|
17387
17387
|
ok: true,
|
|
17388
|
-
parsed: json5.parse(raw)
|
|
17388
|
+
parsed: json5$1.parse(raw)
|
|
17389
17389
|
};
|
|
17390
17390
|
} catch (err) {
|
|
17391
17391
|
return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { Cr as createInternalHookEvent, dr as getActivePluginRegistry, pr as getActivePluginRegistryVersion, wr as triggerInternalHook } from "./config-
|
|
3
|
-
import { L as logVerbose, O as createSubsystemLogger } from "./logger-
|
|
1
|
+
import { ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-kVooFCVo.js";
|
|
2
|
+
import { Cr as createInternalHookEvent, dr as getActivePluginRegistry, pr as getActivePluginRegistryVersion, wr as triggerInternalHook } from "./config-DYbtdrsT.js";
|
|
3
|
+
import { L as logVerbose, O as createSubsystemLogger } from "./logger-Bg4vIUJn.js";
|
|
4
4
|
import { c as resolveStateDir } from "./paths-Duwviem_.js";
|
|
5
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
6
|
-
import { d as getChannelDock } from "./thinking-
|
|
7
|
-
import { Ft as parseInlineDirectives, ht as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, mt as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
8
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
5
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DSs2-fnK.js";
|
|
6
|
+
import { d as getChannelDock } from "./thinking-1UCPuD9d.js";
|
|
7
|
+
import { Ft as parseInlineDirectives, ht as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, mt as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-BDJ_4Plh.js";
|
|
8
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-DAL_5WHL.js";
|
|
9
9
|
import { n as generateSecureUuid } from "./secure-random-D2mQUJdh.js";
|
|
10
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-1xVosTZ4.js";
|
|
11
11
|
import { r as parseTelegramTarget } from "./targets-BHZKnwxJ.js";
|
|
12
|
-
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-
|
|
13
|
-
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
12
|
+
import { d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, l as chunkByParagraph, m as resolveChunkMode, s as resolveMarkdownTableMode, v as parseFenceSpans } from "./ir-DihI2SIz.js";
|
|
13
|
+
import { c as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-BP1fSEBR.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
|