@noxsoft/anima 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-4HFzweNO.js → accounts-ZMhj636e.js} +38 -38
- package/dist/{acp-cli-CHsShBeX.js → acp-cli-PhWp41mc.js} +2 -2
- package/dist/{agent-rY3gCqJE.js → agent-DvWSUuKy.js} +1 -1
- package/dist/{agent-events-BiKKV3wj.js → agent-events-iR_gRjZA.js} +2 -2
- package/dist/{agent-scope-BXuH9s05.js → agent-scope-DWKQJUUZ.js} +3 -3
- package/dist/{agents-GDJBET4Z.js → agents-DAg3VWr9.js} +1 -1
- package/dist/{audit-B_3ewOwt.js → audit-Cm50mcVm.js} +3 -3
- package/dist/{auth-choice-BTMheCDo.js → auth-choice-CPDNhDPT.js} +17 -4
- package/dist/{auth-profiles-xk_1uopf.js → auth-profiles-BqrAPweI.js} +9 -9
- package/dist/{auth-store-Bis9WSLR.js → auth-store-eNVxoq_h.js} +13 -13
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +22 -22
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +8 -8
- package/dist/{call-BBzfZU0_.js → call-C0Yk2qNb.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-BBctXTmi.js → channel-web-Co4IvTdB.js} +5 -5
- package/dist/{chrome-CVfcErE4.js → chrome-_87P03u5.js} +7 -7
- package/dist/{chrome-C1KpzLwu.js → chrome-s7nTgmbn.js} +12 -12
- package/dist/{chunk-Cguey_55.js → chunk-lDG_8LI5.js} +2 -2
- package/dist/{clack-prompter-S0pujJNH.js → clack-prompter-DXovYg0Q.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-B2StCcqh.js → cli-BkI8EYn3.js} +9 -9
- package/dist/{client-oEG5cM5Q.js → client-BM5PkIwQ.js} +3 -3
- package/dist/{command-registry-D5y3Nn9i.js → command-registry-Cl3Z-qsS.js} +7 -7
- package/dist/{common-DgcMt-pi.js → common-DbouukNi.js} +2 -2
- package/dist/{completion-cli-CDsbJ-p2.js → completion-cli-BB3_g8w5.js} +1 -1
- package/dist/{completion-cli-CqZwlvs2.js → completion-cli-DcTEhrAe.js} +2 -2
- package/dist/{config-CrQw7iqE.js → config-H_VHtPeY.js} +27 -27
- package/dist/{config-cli-Brwjz25Y.js → config-cli-DCNRWoyW.js} +1 -1
- package/dist/{config-cli-CaUpfkTl.js → config-cli-VB37XAkf.js} +1 -1
- package/dist/{configure-B_PLPDkP.js → configure-CkmVabju.js} +5 -5
- package/dist/{configure-QwZPOdBf.js → configure-Du07BFtQ.js} +1 -1
- package/dist/{control-service-DptjbgYI.js → control-service-BpEnt1xS.js} +3 -3
- package/dist/{cron-cli-CpzhiW5t.js → cron-cli-BT0i4_jA.js} +3 -3
- package/dist/{daemon-cli-CV9nly9k.js → daemon-cli-DlHFi5Gm.js} +2 -2
- package/dist/{deliver-Bri9Y1qG.js → deliver-DyQtnfXd.js} +14 -14
- package/dist/{deps-DcinYE4_.js → deps-DoPMG4GI.js} +1 -1
- package/dist/{dispatcher-CiJKNMU3.js → dispatcher-wmQlHNsm.js} +1 -1
- package/dist/{doctor-qFADypWz.js → doctor-BxzkshQH.js} +1 -1
- package/dist/{doctor-BDWGCEMG.js → doctor-C3foAiuj.js} +6 -6
- package/dist/{doctor-completion-DguJOZqA.js → doctor-completion-CZgNNZVd.js} +1 -1
- package/dist/{doctor-completion-BY4djQTY.js → doctor-completion-VtjYTwcS.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-DJTRaYS6.js → exec-CK8CHr7j.js} +7 -7
- package/dist/{exec-approvals-cli-ESNXHzjZ.js → exec-approvals-cli-CAwe3fFV.js} +3 -3
- package/dist/{frontmatter-DDYuWuK5.js → frontmatter-BBFYH_d2.js} +2 -2
- package/dist/{gateway-cli-B091bAD6.js → gateway-cli-BKmCrkp2.js} +26 -26
- package/dist/{gateway-cli-CUmQFMSU.js → gateway-cli-D0mD_UV8.js} +6 -6
- package/dist/{gateway-rpc-hgK9OB-O.js → gateway-rpc-elmeRwyu.js} +1 -1
- package/dist/{health-CH8yZB2L.js → health-Cb_2WS_Z.js} +3 -3
- package/dist/{hooks-cli-DBAcPJTk.js → hooks-cli-BkaD_Vnq.js} +10 -10
- package/dist/{image-ops-ZMEg1-kE.js → image-ops-DJjERl7d.js} +2 -2
- package/dist/index.js +17 -17
- package/dist/json-file-Dvrir7_o.js +25 -0
- package/dist/llm-slug-generator.js +5 -5
- package/dist/{login-Bdyk0es6.js → login-CBsXoiD_.js} +1 -1
- package/dist/{login-DP5hIYxG.js → login-CdRss5_H.js} +5 -5
- package/dist/{login-qr-DOt_1aAq.js → login-qr-DoNanonP.js} +10 -10
- package/dist/{login-qr-DQS-8_PV.js → login-qr-aHN20jEV.js} +1 -1
- package/dist/{logs-cli-VAcUvvxS.js → logs-cli-DbdMIph-.js} +3 -3
- package/dist/{manager-CHN3-66K.js → manager-BlXVqzLP.js} +14 -14
- package/dist/{model-auth-C4Jglp-Y.js → model-auth-ChSwMwh7.js} +3 -3
- package/dist/{model-selection-BsVvfxCt.js → model-selection-DPoLkg_t.js} +1 -1
- package/dist/{node-cli-BujxFy1-.js → node-cli-Bcrlhaq3.js} +6 -6
- package/dist/{onboard-B006xiEP.js → onboard-5GREpC8E.js} +5 -5
- package/dist/{onboard-BqpDno7i.js → onboard-D8Khq7CJ.js} +2 -2
- package/dist/{onboard-channels-BQ5lwRDU.js → onboard-channels-CuDv5j-L.js} +1 -1
- package/dist/{onboard-helpers-K7wUCSoE.js → onboard-helpers-CMW6MSXA.js} +1 -1
- package/dist/{onboarding-DXQ0Qtq6.js → onboarding-B_Gs5W53.js} +6 -6
- package/dist/{onboarding-BLFJufto.js → onboarding-CGG6jZ0y.js} +3 -3
- package/dist/{outbound-DdFghG1N.js → outbound-DK71dddk.js} +6 -6
- package/dist/{paths-OaazGgrn.js → paths-CmZenvlb.js} +2 -2
- package/dist/{paths-B-AkG5FD.js → paths-D2eokayo.js} +3 -3
- package/dist/{pi-auth-json-CYnJfuU-.js → pi-auth-json-BYN-DI5a.js} +7 -7
- package/dist/{pi-embedded-helpers-CeMv9QXO.js → pi-embedded-helpers-CvYnWzAn.js} +44 -44
- package/dist/{plugin-registry-BsdLXCVX.js → plugin-registry-CIluPn2C.js} +1 -1
- package/dist/{plugins-cli-OPa7o4qd.js → plugins-cli-CgSDRx-C.js} +10 -10
- package/dist/{program-CzWSwu9I.js → program-Dk1iylK1.js} +2 -2
- package/dist/{program-context-C8DYJdS-.js → program-context-r2WimvLs.js} +23 -23
- package/dist/{prompts-Cm8eJ-i3.js → prompts-BT5ztuUd.js} +17 -4
- package/dist/{pw-ai-DVQKx_ca.js → pw-ai-q5Enhcu7.js} +4 -4
- package/dist/{pw-ai-Rz1I4vvf.js → pw-ai-ycVS073z.js} +1 -1
- package/dist/{qmd-manager-lcdr9Faq.js → qmd-manager-D_lZFetA.js} +7 -7
- package/dist/{register.agent-DY1YeTsP.js → register.agent-BCbrZgZT.js} +15 -15
- package/dist/{register.agent-B_gLj3iW.js → register.agent-sq78vQTz.js} +2 -2
- package/dist/{register.configure-BHsLGGdB.js → register.configure-CM8ScF9N.js} +15 -15
- package/dist/{register.configure-De5ZyOFg.js → register.configure-w6Ptx3C9.js} +2 -2
- package/dist/{register.maintenance-DSQmEYe7.js → register.maintenance-B15nWIhc.js} +16 -16
- package/dist/{register.maintenance-Bcb2lf7H.js → register.maintenance-Chm2rk_s.js} +5 -5
- package/dist/{register.onboard-COEVeozO.js → register.onboard-B7Ozkx53.js} +7 -7
- package/dist/{register.onboard-DUWYMOX1.js → register.onboard-k9Rd9qzS.js} +19 -19
- package/dist/{register.setup-D__YdHzY.js → register.setup-BId1QGzk.js} +7 -7
- package/dist/{register.setup-fJdxj_9G.js → register.setup-CN1yxMOl.js} +19 -19
- package/dist/{register.status-health-sessions-BsGFhOsG.js → register.status-health-sessions-CNUs9w8v.js} +13 -13
- package/dist/{register.subclis-D2HE_7Rz.js → register.subclis-N7uAMRX_.js} +3 -3
- package/dist/{reply-B5IU75jY.js → reply-BJ3jrefM.js} +12 -12
- package/dist/{reply-prefix-B90kjTag.js → reply-prefix-DBJU0o4f.js} +2 -2
- package/dist/{routes-D7OuiEUz.js → routes-CNqS9gOj.js} +2 -2
- package/dist/{run-main-BTol0uPD.js → run-main-DA4rt9qc.js} +6 -6
- package/dist/{sandbox-cli-CRzBRQ9r.js → sandbox-cli-BsMjNBFN.js} +3 -3
- package/dist/{security-cli-CVkFh9a9.js → security-cli-pupt3tx1.js} +6 -6
- package/dist/{semantic-BTp-RtM8.js → semantic-BcioSN1d.js} +1 -1
- package/dist/{server-context-CHGGYs6i.js → server-context-CcPmRFx_.js} +4 -4
- package/dist/{server-node-events-DMEsGLU8.js → server-node-events-DNDwVJH_.js} +5 -5
- package/dist/{session-BpAyGjL3.js → session-D53RZP3i.js} +6 -6
- package/dist/{session-CzBccNiw.js → session-DTRcP2Sj.js} +1 -1
- package/dist/{shell-env-5vFwNQcz.js → shell-env-BBHdjHEl.js} +1 -1
- package/dist/{soul-D4rF0iXu.js → soul-CXGTzaKZ.js} +1 -1
- package/dist/{sqlite-B3u2TqVF.js → sqlite-B-dYyac7.js} +4 -4
- package/dist/{status-CHuLEuXT.js → status-DNUP2mgR.js} +5 -5
- package/dist/{status-CTYln2fY.js → status-DYGeQK4c.js} +1 -1
- package/dist/{subagent-registry-jwfG4kCT.js → subagent-registry-D4idxv3D.js} +1 -1
- package/dist/{subagent-registry-xUCd2ZX9.js → subagent-registry-DjB3VS5s.js} +28 -28
- package/dist/{subsystem-BlEuMJjX.js → subsystem-CJTCKTwb.js} +13 -13
- package/dist/{system-cli-C8kg1fwg.js → system-cli-BNhplLHn.js} +3 -3
- package/dist/{tool-images-2qKyjXUj.js → tool-images-DBOSl4NL.js} +2 -2
- package/dist/{tui-cli-CypnMid4.js → tui-cli-ByERfWnP.js} +6 -6
- package/dist/{tui-DBbVe-hW.js → tui-dHcni7fC.js} +2 -2
- package/dist/{update-cli-CATjbP1k.js → update-cli-CGVsahIi.js} +5 -5
- package/dist/{update-cli-C6zUK6ap.js → update-cli-D7SyNIoQ.js} +17 -17
- package/dist/{update-runner-B-JShOyr.js → update-runner-DeNUEGyr.js} +1 -1
- package/dist/{usage-kmpmqBES.js → usage-DSZ_juox.js} +20 -20
- package/dist/{web-CTS-vEIT.js → web-DY2TrPoD.js} +86 -86
- package/dist/{web-EevNfpKp.js → web-DyUoZrMO.js} +13 -13
- package/dist/{whatsapp-actions-qDftmVCc.js → whatsapp-actions-B_fglZZt.js} +13 -13
- package/dist/{workspace-CZlo4alz.js → workspace-xzxJwPTB.js} +5 -5
- package/package.json +2 -1
- package/dist/json-file-CZ3ssFR9.js +0 -25
- /package/dist/{config-Btt1rkoB.js → config-COtiNNtV.js} +0 -0
- /package/dist/{input-provenance-B0pwc6mp.js → input-provenance-MbkIKHHL.js} +0 -0
|
@@ -10,11 +10,11 @@ import "./env-CYcXAarB.js";
|
|
|
10
10
|
import "./shell-env-SbFYz02H.js";
|
|
11
11
|
import "./manifest-registry-DLouWVJe.js";
|
|
12
12
|
import "./message-channel-BbkwF58_.js";
|
|
13
|
-
import "./client-
|
|
14
|
-
import "./call-
|
|
13
|
+
import "./client-BM5PkIwQ.js";
|
|
14
|
+
import "./call-C0Yk2qNb.js";
|
|
15
15
|
import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
|
|
16
16
|
import "./progress-gdB4V88Q.js";
|
|
17
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
17
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-elmeRwyu.js";
|
|
18
18
|
|
|
19
19
|
//#region src/cli/system-cli.ts
|
|
20
20
|
const normalizeWakeMode = (raw) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-CJTCKTwb.js";
|
|
2
|
+
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-DJjERl7d.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/tool-images.ts
|
|
5
5
|
const MAX_IMAGE_DIMENSION_PX = 2e3;
|
|
@@ -13,22 +13,22 @@ import "./manifest-registry-DLouWVJe.js";
|
|
|
13
13
|
import "./sessions-0J_pFd44.js";
|
|
14
14
|
import "./image-ops-CVabMYiY.js";
|
|
15
15
|
import "./sandbox-wL61f1WP.js";
|
|
16
|
-
import "./chrome-
|
|
16
|
+
import "./chrome-_87P03u5.js";
|
|
17
17
|
import "./auth-B8ry4GB_.js";
|
|
18
|
-
import "./server-context-
|
|
18
|
+
import "./server-context-CcPmRFx_.js";
|
|
19
19
|
import "./skills-DsdcfeyV.js";
|
|
20
|
-
import "./routes-
|
|
20
|
+
import "./routes-CNqS9gOj.js";
|
|
21
21
|
import "./ports-CmAt9mb6.js";
|
|
22
22
|
import "./message-channel-BbkwF58_.js";
|
|
23
23
|
import "./plugins-CFb1gJ4N.js";
|
|
24
24
|
import "./paths-CqMZNi-M.js";
|
|
25
25
|
import "./tool-images-C4cophRS.js";
|
|
26
26
|
import { t as parseTimeoutMs } from "./parse-timeout-qnHqZvCW.js";
|
|
27
|
-
import "./client-
|
|
28
|
-
import "./call-
|
|
27
|
+
import "./client-BM5PkIwQ.js";
|
|
28
|
+
import "./call-C0Yk2qNb.js";
|
|
29
29
|
import "./redact-BICFkpn7.js";
|
|
30
30
|
import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
|
|
31
|
-
import { t as runTui } from "./tui-
|
|
31
|
+
import { t as runTui } from "./tui-dHcni7fC.js";
|
|
32
32
|
|
|
33
33
|
//#region src/cli/tui-cli.ts
|
|
34
34
|
function registerTuiCli(program) {
|
|
@@ -6,8 +6,8 @@ import { c as resolveDefaultAgentId } from "./agent-scope-vpVhWds3.js";
|
|
|
6
6
|
import { M as VERSION, i as loadConfig } from "./config-9JRRXykP.js";
|
|
7
7
|
import { f as GATEWAY_CLIENT_CAPS, h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BbkwF58_.js";
|
|
8
8
|
import { n as listChatCommands, r as listChatCommandsForConfig } from "./parse-timeout-qnHqZvCW.js";
|
|
9
|
-
import { Dt as PROTOCOL_VERSION, t as GatewayClient } from "./client-
|
|
10
|
-
import { a as resolveExplicitGatewayAuth, r as ensureExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-
|
|
9
|
+
import { Dt as PROTOCOL_VERSION, t as GatewayClient } from "./client-BM5PkIwQ.js";
|
|
10
|
+
import { a as resolveExplicitGatewayAuth, r as ensureExplicitGatewayAuth, t as buildGatewayConnectionDetails } from "./call-C0Yk2qNb.js";
|
|
11
11
|
import { n as formatTimeAgo, t as formatRelativeTimestamp } from "./format-relative-C57Jb4Zw.js";
|
|
12
12
|
import { n as formatTokenCount } from "./usage-format-C0mOZv3Q.js";
|
|
13
13
|
import { r as redactToolDetail } from "./redact-BICFkpn7.js";
|
|
@@ -60,10 +60,10 @@ import "./dispatcher-BhzRMibw.js";
|
|
|
60
60
|
import "./delivery-queue-BqJKnOa_.js";
|
|
61
61
|
import "./session-cost-usage-lfPU35Sb.js";
|
|
62
62
|
import "./accounts-BmC37n9k.js";
|
|
63
|
-
import "./register.subclis-
|
|
64
|
-
import "./command-registry-
|
|
63
|
+
import "./register.subclis-N7uAMRX_.js";
|
|
64
|
+
import "./command-registry-Cl3Z-qsS.js";
|
|
65
65
|
import "./program-context-DItEQSzX.js";
|
|
66
|
-
import { r as installCompletion } from "./completion-cli-
|
|
66
|
+
import { r as installCompletion } from "./completion-cli-DcTEhrAe.js";
|
|
67
67
|
import "./daemon-runtime-Cbi2Ox6g.js";
|
|
68
68
|
import { r as parseSemver } from "./runtime-guard-BdBLhuIK.js";
|
|
69
69
|
import "./onboard-helpers-DKu_2enh.js";
|
|
@@ -82,7 +82,7 @@ import "./health-format-Dug5Rbjg.js";
|
|
|
82
82
|
import { c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channels-status-issues-BSWv108Y.js";
|
|
83
83
|
import "./logging-B05aEFEO.js";
|
|
84
84
|
import "./note-Cdu0wcse.js";
|
|
85
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
85
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CZgNNZVd.js";
|
|
86
86
|
import "./skill-scanner-CUbVbJhZ.js";
|
|
87
87
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-_DOVm6Tr.js";
|
|
88
88
|
import "./archive-CI3UtbnF.js";
|
|
@@ -94,7 +94,7 @@ import "./doctor-config-flow-BAntaUow.js";
|
|
|
94
94
|
import { t as formatHelpExamples } from "./help-format-NtbQydGl.js";
|
|
95
95
|
import "./systemd-linger-BXOkxYnH.js";
|
|
96
96
|
import "./auth-health-C0g38cq2.js";
|
|
97
|
-
import { t as doctorCommand } from "./doctor-
|
|
97
|
+
import { t as doctorCommand } from "./doctor-BxzkshQH.js";
|
|
98
98
|
import { spawnSync } from "node:child_process";
|
|
99
99
|
import os from "node:os";
|
|
100
100
|
import path from "node:path";
|
|
@@ -2,8 +2,8 @@ import { m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { B as theme, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import { g as pathExists } from "./utils-RdHkpqQp.js";
|
|
4
4
|
import "./pi-embedded-helpers-6Tb87sgU.js";
|
|
5
|
-
import "./subagent-registry-
|
|
6
|
-
import { k as trimLogTail } from "./reply-
|
|
5
|
+
import "./subagent-registry-D4idxv3D.js";
|
|
6
|
+
import { k as trimLogTail } from "./reply-BJ3jrefM.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-Bsq6vlwp.js";
|
|
8
8
|
import { t as resolveAnimaPackageRoot } from "./anima-root-C5zoPibI.js";
|
|
9
9
|
import "./agent-scope-vpVhWds3.js";
|
|
@@ -24,11 +24,11 @@ import "./model-auth-DUHamQTz.js";
|
|
|
24
24
|
import "./cli-session-CIhvoVRb.js";
|
|
25
25
|
import "./tokens-BLOye_TP.js";
|
|
26
26
|
import "./sandbox-wL61f1WP.js";
|
|
27
|
-
import "./chrome-
|
|
27
|
+
import "./chrome-_87P03u5.js";
|
|
28
28
|
import "./auth-B8ry4GB_.js";
|
|
29
|
-
import "./server-context-
|
|
29
|
+
import "./server-context-CcPmRFx_.js";
|
|
30
30
|
import "./skills-DsdcfeyV.js";
|
|
31
|
-
import "./routes-
|
|
31
|
+
import "./routes-CNqS9gOj.js";
|
|
32
32
|
import "./ports-CmAt9mb6.js";
|
|
33
33
|
import "./message-channel-BbkwF58_.js";
|
|
34
34
|
import "./plugins-CFb1gJ4N.js";
|
|
@@ -38,8 +38,8 @@ import "./parse-timeout-qnHqZvCW.js";
|
|
|
38
38
|
import "./chunk-DprzQA5H.js";
|
|
39
39
|
import "./deliver-tQREYhAr.js";
|
|
40
40
|
import "./pi-tools.policy-BoWzLBtH.js";
|
|
41
|
-
import "./client-
|
|
42
|
-
import "./call-
|
|
41
|
+
import "./client-BM5PkIwQ.js";
|
|
42
|
+
import "./call-C0Yk2qNb.js";
|
|
43
43
|
import { r as formatDurationPrecise } from "./format-duration-DduItW4_.js";
|
|
44
44
|
import "./memory-cli-CDMb58Y3.js";
|
|
45
45
|
import "./manager-1ZMunRXe.js";
|
|
@@ -54,45 +54,45 @@ import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
|
|
|
54
54
|
import "./progress-gdB4V88Q.js";
|
|
55
55
|
import "./logging-1vypRz8h.js";
|
|
56
56
|
import "./auth-store-DWgI4Vj8.js";
|
|
57
|
-
import "./control-service-
|
|
58
|
-
import "./dispatcher-
|
|
57
|
+
import "./control-service-BpEnt1xS.js";
|
|
58
|
+
import "./dispatcher-wmQlHNsm.js";
|
|
59
59
|
import "./pi-model-discovery-HH8RvApN.js";
|
|
60
60
|
import "./delivery-queue-CdUtwMZr.js";
|
|
61
61
|
import "./session-cost-usage-CYdqhmt6.js";
|
|
62
62
|
import "./accounts-C9dcy8Gp.js";
|
|
63
63
|
import { r as parseSemver } from "./runtime-guard-PndcQBdO.js";
|
|
64
|
-
import "./program-context-
|
|
64
|
+
import "./program-context-r2WimvLs.js";
|
|
65
65
|
import "./catalog-VwQGLU6M.js";
|
|
66
66
|
import "./skills-status-DeW3dXom.js";
|
|
67
|
-
import { r as installCompletion } from "./completion-cli-
|
|
67
|
+
import { r as installCompletion } from "./completion-cli-BB3_g8w5.js";
|
|
68
68
|
import "./daemon-runtime-DOk9qM0y.js";
|
|
69
|
-
import "./onboard-helpers-
|
|
69
|
+
import "./onboard-helpers-CMW6MSXA.js";
|
|
70
70
|
import { n as stylePromptMessage, t as stylePromptHint } from "./prompt-style-CXrnxWQG.js";
|
|
71
71
|
import "./systemd-IDjybnbO.js";
|
|
72
72
|
import "./service-H_0E0nOX.js";
|
|
73
73
|
import "./lifecycle-core-BBpNy0vb.js";
|
|
74
|
-
import { r as runDaemonRestart } from "./daemon-cli-
|
|
74
|
+
import { r as runDaemonRestart } from "./daemon-cli-DlHFi5Gm.js";
|
|
75
75
|
import "./diagnostics-zpQTQwXE.js";
|
|
76
76
|
import "./service-audit-DLV93I95.js";
|
|
77
77
|
import { t as renderTable } from "./table-BDer4ZEZ.js";
|
|
78
|
-
import "./health-
|
|
78
|
+
import "./health-Cb_2WS_Z.js";
|
|
79
79
|
import "./plugin-auto-enable-BlyqT33k.js";
|
|
80
80
|
import "./health-format-BMwPAU53.js";
|
|
81
81
|
import { c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channels-status-issues-BCuAG8zm.js";
|
|
82
82
|
import "./logging-ClHj0gnP.js";
|
|
83
83
|
import "./note-CLRVmCnr.js";
|
|
84
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
84
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-VtjYTwcS.js";
|
|
85
85
|
import "./skill-scanner-BA9Rv4AE.js";
|
|
86
86
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-s92nCoGl.js";
|
|
87
87
|
import "./archive-BZANtsGY.js";
|
|
88
|
-
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-
|
|
88
|
+
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-DeNUEGyr.js";
|
|
89
89
|
import "./npm-registry-spec-C6ePuyB4.js";
|
|
90
90
|
import "./installs-BSwkFdS_.js";
|
|
91
91
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-D4AflGlu.js";
|
|
92
92
|
import "./doctor-config-flow-d6ocIX0r.js";
|
|
93
93
|
import { t as formatHelpExamples } from "./help-format-CaDQjeYI.js";
|
|
94
94
|
import "./systemd-linger-q1hyIpoI.js";
|
|
95
|
-
import { t as doctorCommand } from "./doctor-
|
|
95
|
+
import { t as doctorCommand } from "./doctor-C3foAiuj.js";
|
|
96
96
|
import os from "node:os";
|
|
97
97
|
import path from "node:path";
|
|
98
98
|
import fs from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as pathExists } from "./utils-RdHkpqQp.js";
|
|
2
|
-
import { k as trimLogTail } from "./reply-
|
|
2
|
+
import { k as trimLogTail } from "./reply-BJ3jrefM.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-Bsq6vlwp.js";
|
|
4
4
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-BMwPAU53.js";
|
|
5
5
|
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channels-status-issues-BCuAG8zm.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { E as resolveAgentIdFromSessionKey, M as parseAgentSessionKey, S as classifySessionKeyShape, _ as DEFAULT_AGENT_ID, f as loadWorkspaceBootstrapFiles, m as resolveAnimaPackageRoot, u as filterBootstrapFilesForSession, w as normalizeAgentId } from "./workspace-
|
|
2
|
-
import { t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } from "./subsystem-
|
|
3
|
-
import { _ as isRecord, l as CONFIG_DIR, m as escapeRegExp, n as runExec, t as runCommandWithTimeout, w as resolveUserPath } from "./exec-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-
|
|
1
|
+
import { E as resolveAgentIdFromSessionKey, M as parseAgentSessionKey, S as classifySessionKeyShape, _ as DEFAULT_AGENT_ID, f as loadWorkspaceBootstrapFiles, m as resolveAnimaPackageRoot, u as filterBootstrapFilesForSession, w as normalizeAgentId } from "./workspace-xzxJwPTB.js";
|
|
2
|
+
import { t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } from "./subsystem-CJTCKTwb.js";
|
|
3
|
+
import { _ as isRecord, l as CONFIG_DIR, m as escapeRegExp, n as runExec, t as runCommandWithTimeout, w as resolveUserPath } from "./exec-CK8CHr7j.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-DWKQJUUZ.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
|
|
6
|
-
import { M as resolvePluginSkillDirs, Ot as normalizeChatType, X as resolveBootstrapMaxChars, Y as buildBootstrapContextFiles, Z as resolveBootstrapTotalMaxChars, at as updateSessionStore, f as classifyFailoverReason, g as isLikelyContextOverflowError, h as isFailoverErrorMessage, jt as SILENT_REPLY_TOKEN, st as deliveryContextFromSession } from "./pi-embedded-helpers-
|
|
7
|
-
import { c as resolveAnimaAgentDir, n as resolveAuthProfileOrder, o as ensureAuthProfileStore, r as isProfileInCooldown } from "./auth-profiles-
|
|
8
|
-
import { a as modelKey, d as resolveModelRefFromString, h as DEFAULT_PROVIDER, l as resolveConfiguredModelRef, m as DEFAULT_MODEL, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, r as buildModelAliasIndex, s as normalizeProviderId, u as resolveDefaultModelForAgent } from "./model-selection-
|
|
9
|
-
import { A as normalizeMessageChannel, C as normalizeChannelId, T as isDeliverableMessageChannel, c as getFileExtension, f as normalizeMimeType, k as listDeliverableMessageChannels, w as INTERNAL_MESSAGE_CHANNEL, x as getChannelPlugin } from "./image-ops-
|
|
10
|
-
import { n as loadConfig } from "./config-
|
|
11
|
-
import { s as isTruthyEnvValue } from "./shell-env-
|
|
12
|
-
import { l as resolveHeartbeatPrompt } from "./agent-events-
|
|
6
|
+
import { M as resolvePluginSkillDirs, Ot as normalizeChatType, X as resolveBootstrapMaxChars, Y as buildBootstrapContextFiles, Z as resolveBootstrapTotalMaxChars, at as updateSessionStore, f as classifyFailoverReason, g as isLikelyContextOverflowError, h as isFailoverErrorMessage, jt as SILENT_REPLY_TOKEN, st as deliveryContextFromSession } from "./pi-embedded-helpers-CvYnWzAn.js";
|
|
7
|
+
import { c as resolveAnimaAgentDir, n as resolveAuthProfileOrder, o as ensureAuthProfileStore, r as isProfileInCooldown } from "./auth-profiles-BqrAPweI.js";
|
|
8
|
+
import { a as modelKey, d as resolveModelRefFromString, h as DEFAULT_PROVIDER, l as resolveConfiguredModelRef, m as DEFAULT_MODEL, n as buildConfiguredAllowlistKeys, o as normalizeModelRef, r as buildModelAliasIndex, s as normalizeProviderId, u as resolveDefaultModelForAgent } from "./model-selection-DPoLkg_t.js";
|
|
9
|
+
import { A as normalizeMessageChannel, C as normalizeChannelId, T as isDeliverableMessageChannel, c as getFileExtension, f as normalizeMimeType, k as listDeliverableMessageChannels, w as INTERNAL_MESSAGE_CHANNEL, x as getChannelPlugin } from "./image-ops-DJjERl7d.js";
|
|
10
|
+
import { n as loadConfig } from "./config-H_VHtPeY.js";
|
|
11
|
+
import { s as isTruthyEnvValue } from "./shell-env-BBHdjHEl.js";
|
|
12
|
+
import { l as resolveHeartbeatPrompt } from "./agent-events-iR_gRjZA.js";
|
|
13
13
|
import { i as triggerInternalHook, t as createInternalHookEvent } from "./internal-hooks-CmG29WRF.js";
|
|
14
|
-
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-
|
|
14
|
+
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-ChSwMwh7.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import os, { tmpdir } from "node:os";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
18
|
+
import fsSync, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { execSync, spawn } from "node:child_process";
|
|
20
20
|
import crypto, { randomUUID } from "node:crypto";
|
|
21
21
|
import { completeSimple } from "@mariozechner/pi-ai";
|
|
@@ -1393,7 +1393,7 @@ function resolvePowerShellPath() {
|
|
|
1393
1393
|
const systemRoot = process.env.SystemRoot || process.env.WINDIR;
|
|
1394
1394
|
if (systemRoot) {
|
|
1395
1395
|
const candidate = path.join(systemRoot, "System32", "WindowsPowerShell", "v1.0", "powershell.exe");
|
|
1396
|
-
if (
|
|
1396
|
+
if (fsSync.existsSync(candidate)) return candidate;
|
|
1397
1397
|
}
|
|
1398
1398
|
return "powershell.exe";
|
|
1399
1399
|
}
|
|
@@ -1431,7 +1431,7 @@ function resolveShellFromPath(name) {
|
|
|
1431
1431
|
for (const entry of entries) {
|
|
1432
1432
|
const candidate = path.join(entry, name);
|
|
1433
1433
|
try {
|
|
1434
|
-
|
|
1434
|
+
fsSync.accessSync(candidate, fsSync.constants.X_OK);
|
|
1435
1435
|
return candidate;
|
|
1436
1436
|
} catch {}
|
|
1437
1437
|
}
|
|
@@ -1604,7 +1604,7 @@ function resolveRepoRoot(params) {
|
|
|
1604
1604
|
const configured = params.config?.agents?.defaults?.repoRoot?.trim();
|
|
1605
1605
|
if (configured) try {
|
|
1606
1606
|
const resolved = path.resolve(configured);
|
|
1607
|
-
if (
|
|
1607
|
+
if (fsSync.statSync(resolved).isDirectory()) return resolved;
|
|
1608
1608
|
} catch {}
|
|
1609
1609
|
const candidates = [params.workspaceDir, params.cwd].map((value) => value?.trim()).filter(Boolean);
|
|
1610
1610
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1621,7 +1621,7 @@ function findGitRoot(startDir) {
|
|
|
1621
1621
|
for (let i = 0; i < 12; i += 1) {
|
|
1622
1622
|
const gitPath = path.join(current, ".git");
|
|
1623
1623
|
try {
|
|
1624
|
-
const stat =
|
|
1624
|
+
const stat = fsSync.statSync(gitPath);
|
|
1625
1625
|
if (stat.isDirectory() || stat.isFile()) return current;
|
|
1626
1626
|
} catch {}
|
|
1627
1627
|
const parent = path.dirname(current);
|
|
@@ -2443,7 +2443,7 @@ async function resolveAnimaDocsPath(params) {
|
|
|
2443
2443
|
const workspaceDir = params.workspaceDir?.trim();
|
|
2444
2444
|
if (workspaceDir) {
|
|
2445
2445
|
const workspaceDocs = path.join(workspaceDir, "docs");
|
|
2446
|
-
if (
|
|
2446
|
+
if (fsSync.existsSync(workspaceDocs)) return workspaceDocs;
|
|
2447
2447
|
}
|
|
2448
2448
|
const packageRoot = await resolveAnimaPackageRoot({
|
|
2449
2449
|
cwd: params.cwd,
|
|
@@ -2452,7 +2452,7 @@ async function resolveAnimaDocsPath(params) {
|
|
|
2452
2452
|
});
|
|
2453
2453
|
if (!packageRoot) return null;
|
|
2454
2454
|
const packageDocs = path.join(packageRoot, "docs");
|
|
2455
|
-
return
|
|
2455
|
+
return fsSync.existsSync(packageDocs) ? packageDocs : null;
|
|
2456
2456
|
}
|
|
2457
2457
|
|
|
2458
2458
|
//#endregion
|
|
@@ -2931,7 +2931,7 @@ async function loadModelCatalog(params) {
|
|
|
2931
2931
|
});
|
|
2932
2932
|
try {
|
|
2933
2933
|
await ensureAnimaModelsJson(params?.config ?? loadConfig());
|
|
2934
|
-
await (await import("./pi-auth-json-
|
|
2934
|
+
await (await import("./pi-auth-json-BYN-DI5a.js")).ensurePiAuthJsonFromAuthProfiles(resolveAnimaAgentDir());
|
|
2935
2935
|
const piSdk = await importPiSdk();
|
|
2936
2936
|
const agentDir = resolveAnimaAgentDir();
|
|
2937
2937
|
const { join } = await import("node:path");
|