@noxsoft/anima 6.5.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/README.md +48 -0
- package/dist/{agent-VRQM14Xp.js → agent-BoAAHGEA.js} +3 -3
- package/dist/{agent-CnS0SRpT.js → agent-DuW0onwk.js} +4 -4
- package/dist/{agents-CvMRplDx.js → agents-BUXkSDns.js} +4 -4
- package/dist/{anthropic-direct-runner-C2Kwju-r.js → anthropic-direct-runner-DizCei79.js} +420 -4
- package/dist/{anthropic-direct-runner-BeYCnvZ8.js → anthropic-direct-runner-OjcTAH6g.js} +420 -3
- package/dist/{auth-choice-Dc5TAJwT.js → auth-choice-B1iGnjuE.js} +1 -1
- package/dist/{auth-choice-DY1saszS.js → auth-choice-HF9x6xk2.js} +1 -1
- package/dist/{banner-DAMtSjUF.js → banner-Dpa5d1If.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 +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/a2ui/a2ui.bundle.js +16410 -18893
- package/dist/{channel-web-B8mzTSaY.js → channel-web-C5mzsaa3.js} +3 -3
- package/dist/{cli-hcHk5KuP.js → cli-Cuq4bIg4.js} +2 -2
- package/dist/{cli-D8exVpuI.js → cli-X9ikywQ3.js} +3 -3
- package/dist/{command-registry-D3VhxpWx.js → command-registry-9V4uqrBV.js} +12 -12
- package/dist/{completion-cli-B3BqQJq9.js → completion-cli-BtvcR-U5.js} +1 -1
- package/dist/{completion-cli-CepDzeW1.js → completion-cli-DNWDwhab.js} +2 -2
- package/dist/{config-cli-B6Np85rk.js → config-cli-DfHE3KG-.js} +1 -1
- package/dist/{config-cli-3CaIxSKo.js → config-cli-fleq7-gq.js} +1 -1
- package/dist/{configure-zXK6UZ51.js → configure-B2Mfnwy_.js} +3 -3
- package/dist/{configure-D88dg6mE.js → configure-SnvMHZPD.js} +7 -7
- package/dist/{configure-D882Bg7c.js → configure-ZWxixuRA.js} +3 -3
- package/dist/{configure-xpjwedvJ.js → configure-lkozxQed.js} +8 -8
- package/dist/context-mdxDsO1v.js +223 -0
- package/dist/control-ui/assets/{index-DVpMpG5G.js → index-D4wqLVMN.js} +2 -2
- package/dist/control-ui/assets/{index-DVpMpG5G.js.map → index-D4wqLVMN.js.map} +1 -1
- package/dist/control-ui/assets/index-DIEQjjCN.js +73 -0
- package/dist/control-ui/assets/index-DIEQjjCN.js.map +1 -0
- package/dist/control-ui/assets/{observers-CxfWf9RO.js → observers-B7MfWiIZ.js} +2 -2
- package/dist/control-ui/assets/{observers-CxfWf9RO.js.map → observers-B7MfWiIZ.js.map} +1 -1
- package/dist/control-ui/index.html +1 -1
- package/dist/{deps-DyT32VfN.js → deps-BKLIBKjK.js} +1 -1
- package/dist/{doctor-WpKCNZeO.js → doctor-D7kKyUVk.js} +4 -4
- package/dist/{doctor-DEnSKgHu.js → doctor-DmCnZ-jF.js} +4 -4
- package/dist/{doctor-completion-CypXc1Uo.js → doctor-completion-B9SBdMoR.js} +1 -1
- package/dist/{doctor-completion-CPff9UlF.js → doctor-completion-BBvW4_J9.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-B_xsx5Nv.js → gateway-cli-CEM1vBuk.js} +15 -15
- package/dist/{gateway-cli-D3VBOA_i.js → gateway-cli-iumkTohn.js} +17 -17
- package/dist/{health-CabOEPQ0.js → health-B5N6_UOf.js} +3 -3
- package/dist/{health-C8KCBhuo.js → health-Cndq9b7A.js} +3 -3
- package/dist/{heartbeat-visibility-ZfNSbFcq.js → heartbeat-visibility-BQL13ZBH.js} +1 -1
- package/dist/{heartbeat-visibility-BjYY-mKG.js → heartbeat-visibility-CwcYugaR.js} +1 -1
- package/dist/{hooks-cli-Cs7GUa7G.js → hooks-cli-BZcvdIwE.js} +4 -4
- package/dist/{hooks-cli-DOs9WZ3K.js → hooks-cli-DSlPBQSY.js} +3 -3
- package/dist/index.js +10 -10
- package/dist/llm-slug-generator.js +1 -1
- package/dist/{login-BHnvW9HA.js → login-BEaBOSnw.js} +1 -1
- package/dist/{login-CrMpAZ0n.js → login-MzVPMRxL.js} +1 -1
- package/dist/{login-qr-DILcBA_q.js → login-qr-BjpDVBJE.js} +1 -1
- package/dist/{login-qr-CsAVGp00.js → login-qr-CxRI-tE2.js} +1 -1
- package/dist/{models-BM2_NkMu.js → models-CdNeYfSp.js} +4 -4
- package/dist/{models-cli-BpjeKsUz.js → models-cli-D7eSsPuk.js} +3 -3
- package/dist/{models-cli-BjY8wA-C.js → models-cli-fTZXo1zx.js} +5 -5
- package/dist/{onboard-DM9gULJN.js → onboard-C5K37NvY.js} +3 -3
- package/dist/{onboard-_-D81kAy.js → onboard-D-6QCnTi.js} +3 -3
- package/dist/{onboard-channels-UkphAdCy.js → onboard-channels-BsCq32Hn.js} +1 -1
- package/dist/{onboard-channels-CtT-RN60.js → onboard-channels-bx6oelzj.js} +1 -1
- package/dist/{onboarding-Djmm0PEM.js → onboarding-BeuMAyic.js} +4 -4
- package/dist/{onboarding-BB9PteK8.js → onboarding-CX1vIkcB.js} +4 -4
- package/dist/{outbound-send-deps-T_FgdfgW.js → outbound-send-deps-Y9AxHeLG.js} +1 -1
- package/dist/{pi-embedded-BMbtgOzv.js → pi-embedded-D15iww51.js} +1010 -104
- package/dist/{pi-embedded-DfbM3fAT.js → pi-embedded-DR8Pfd05.js} +1010 -104
- package/dist/{plugin-registry-QTkplP4s.js → plugin-registry-Do2D1nDk.js} +1 -1
- package/dist/{plugin-registry-DePMxn4z.js → plugin-registry-ME2FQAi-.js} +1 -1
- package/dist/plugin-sdk/affect/ego.d.ts +140 -0
- package/dist/plugin-sdk/agents/models-config.d.ts +5 -6
- package/dist/plugin-sdk/agents/noxsoft-runner.d.ts +3 -0
- package/dist/plugin-sdk/agents/openai-direct-runner.d.ts +41 -0
- package/dist/plugin-sdk/commands/steer.d.ts +49 -0
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +2 -2
- package/dist/{plugins-cli-Dv0KQTWo.js → plugins-cli-CVFzwdmI.js} +4 -4
- package/dist/{plugins-cli-Bc9oU1ld.js → plugins-cli-CoVt2ewg.js} +3 -3
- package/dist/{program-CuwbF8YO.js → program-8rF4C_wd.js} +8 -8
- package/dist/{program-context-CxPfy-Wr.js → program-context-DP3qjW7A.js} +18 -18
- package/dist/{register.agent-DFQmkIEH.js → register.agent-BIrXCVtQ.js} +9 -9
- package/dist/{register.agent-DUjwGw9d.js → register.agent-DnkOx0U8.js} +7 -7
- package/dist/{register.anima-CtKNrpE8.js → register.anima-B36rTHUt.js} +2 -2
- package/dist/{register.anima-CRFHJu2J.js → register.anima-DXT9bM9A.js} +2 -2
- package/dist/{register.configure-CnEKV57N.js → register.configure-CuzJxZmk.js} +6 -6
- package/dist/{register.configure-CSSN07XN.js → register.configure-DCpvHX3m.js} +7 -7
- package/dist/{register.maintenance-fhcCB7ih.js → register.maintenance-CcxBFfv5.js} +10 -10
- package/dist/{register.maintenance-CU1A-90-.js → register.maintenance-Dla0H12S.js} +8 -8
- package/dist/{register.message-C1a0y2ZR.js → register.message-Brtushvp.js} +4 -4
- package/dist/{register.message-fM0jSKB8.js → register.message-CD7xV-jz.js} +5 -5
- package/dist/{register.onboard-BhPlqjFi.js → register.onboard-23Mra3LN.js} +11 -11
- package/dist/{register.onboard-B7Gavmvt.js → register.onboard-6CbODzQ6.js} +9 -9
- package/dist/{register.setup-CADdQUEN.js → register.setup-CqQw13Ky.js} +11 -11
- package/dist/{register.setup-0jPnMgnz.js → register.setup-DlVH7FKe.js} +9 -9
- package/dist/{register.status-health-sessions-Cu5fDT-z.js → register.status-health-sessions-CduFjFDB.js} +4 -4
- package/dist/{register.status-health-sessions-DdQsABr_.js → register.status-health-sessions-CxtgPKu9.js} +6 -6
- package/dist/{register.subclis-CZ91ufCy.js → register.subclis-CtANqD5P.js} +7 -7
- package/dist/{reply-DtHlnzOx.js → reply-93fMzde1.js} +610 -75
- package/dist/{reply-prefix-C8dIgJur.js → reply-prefix-B7Fb3fO8.js} +1 -1
- package/dist/{reply-prefix-DmWGtcH-.js → reply-prefix-BzdhJDqP.js} +1 -1
- package/dist/{run-Dfz_7j7t.js → run-CF3kHOGH.js} +1717 -83
- package/dist/{run-DqBQ-bGn.js → run-Cq_iTGK_.js} +1718 -84
- package/dist/{run-main-DGDW0fhx.js → run-main-BiIRcc6s.js} +17 -17
- package/dist/{server-node-events-Ca797E1d.js → server-node-events-B3Serk9L.js} +6 -6
- package/dist/{server-node-events-BR1aXVlu.js → server-node-events-DgvKcH5q.js} +5 -5
- package/dist/{session-C7IGnhd1.js → session-BMDpwIJu.js} +1 -1
- package/dist/{session-FmXsucR7.js → session-BzrnfWQ2.js} +2 -2
- package/dist/{session-DfsMJNG3.js → session-C_d9uvLf.js} +1 -1
- package/dist/{session-DLevr8Vd.js → session-jljC5QVG.js} +2 -2
- package/dist/{sessions-Dj7_4mkr.js → sessions-BmE5Z_1i.js} +1 -1
- package/dist/{settings-cli-DxNeu6kx.js → settings-cli-CZdlEmNi.js} +7 -7
- package/dist/{settings-cli-Dytfop1H.js → settings-cli-DsDqNpW_.js} +8 -8
- package/dist/{setup-token-B802CZwe.js → setup-token-C8Gg1P6T.js} +1 -1
- package/dist/{setup-token-DYh2QzJ-.js → setup-token-Lee4gM5w.js} +1 -1
- package/dist/{start-BqnPia0t.js → start-CK6urvnN.js} +17 -17
- package/dist/{start-C3fuLzX0.js → start-Cs1aPMq2.js} +15 -15
- package/dist/{status-CHGNPonc.js → status-BO5BIf81.js} +3 -3
- package/dist/{status-CxF6k_jr.js → status-COc4xMti.js} +1 -1
- package/dist/{status-tLgozFYL.js → status-C_NBOv_V.js} +1 -1
- package/dist/{status-DfZJJqNs.js → status-uakoP719.js} +4 -4
- package/dist/{subagent-registry-CPtElVX0.js → subagent-registry-fLI7QDKe.js} +449 -77
- package/dist/{update-cli-C-er5av6.js → update-cli-D3Ujz_cW.js} +10 -10
- package/dist/{update-cli-BuCw75tM.js → update-cli-DEe62XGU.js} +8 -8
- package/dist/{update-runner-kE8AMQt4.js → update-runner-DUl-g4mB.js} +1 -1
- package/dist/{update-runner-czCqHZCu.js → update-runner-DZfnquWO.js} +1 -1
- package/dist/{web-BHGK5GtV.js → web-C-cK9OCd.js} +1 -1
- package/dist/{web-DvTXV-fo.js → web-Di8j762D.js} +6 -6
- package/dist/{web-CyYunanU.js → web-Dybw4K7C.js} +6 -6
- package/dist/{web-so3pGceM.js → web-DzSlI8A6.js} +1 -1
- package/package.json +4 -4
- package/dist/context-B5X720Bs.js +0 -60
- package/dist/control-ui/assets/index-CBUvF5Mp.js +0 -72
- package/dist/control-ui/assets/index-CBUvF5Mp.js.map +0 -1
|
@@ -17,10 +17,10 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
17
17
|
import "./client-CfLiulzK.js";
|
|
18
18
|
import "./call-B4lhqS6H.js";
|
|
19
19
|
import "./message-channel-DIHHKJhk.js";
|
|
20
|
-
import { bt as trimLogTail } from "./subagent-registry-
|
|
20
|
+
import { bt as trimLogTail } from "./subagent-registry-fLI7QDKe.js";
|
|
21
21
|
import "./sessions-C_3wTmSA.js";
|
|
22
22
|
import "./tokens-CmlI2hSz.js";
|
|
23
|
-
import "./anthropic-direct-runner-
|
|
23
|
+
import "./anthropic-direct-runner-DizCei79.js";
|
|
24
24
|
import "./pi-embedded-helpers-D2SLlgS4.js";
|
|
25
25
|
import "./sandbox-D-N7M7lp.js";
|
|
26
26
|
import "./chrome-CmxIwwsr.js";
|
|
@@ -46,7 +46,7 @@ import "./common-CqIa2poH.js";
|
|
|
46
46
|
import "./chunk-Cy0Bj0F3.js";
|
|
47
47
|
import "./parse-timeout-D4UO8pY_.js";
|
|
48
48
|
import "./active-listener-gGCoq55D.js";
|
|
49
|
-
import "./context-
|
|
49
|
+
import "./context-mdxDsO1v.js";
|
|
50
50
|
import "./pi-tools.policy-D2FusuQa.js";
|
|
51
51
|
import { r as formatDurationPrecise } from "./format-duration-BoQ6ac8g.js";
|
|
52
52
|
import "./session-cost-usage-DnxtnK1E.js";
|
|
@@ -59,10 +59,10 @@ import "./progress-glCgu57m.js";
|
|
|
59
59
|
import "./logging-DWwOqnTW.js";
|
|
60
60
|
import "./auth-store-BEfSfCbW.js";
|
|
61
61
|
import "./accounts-COxGcLGB.js";
|
|
62
|
-
import "./register.subclis-
|
|
63
|
-
import "./command-registry-
|
|
62
|
+
import "./register.subclis-CtANqD5P.js";
|
|
63
|
+
import "./command-registry-9V4uqrBV.js";
|
|
64
64
|
import "./program-context-Dw8HDTRz.js";
|
|
65
|
-
import { r as installCompletion } from "./completion-cli-
|
|
65
|
+
import { r as installCompletion } from "./completion-cli-DNWDwhab.js";
|
|
66
66
|
import "./daemon-runtime-DCqwraWR.js";
|
|
67
67
|
import { r as parseSemver } from "./runtime-guard-DdP10b7Q.js";
|
|
68
68
|
import "./onboard-helpers-CFudIoX4.js";
|
|
@@ -74,18 +74,18 @@ import { r as runDaemonRestart } from "./daemon-cli-9zrnYRjh.js";
|
|
|
74
74
|
import "./diagnostics-BhSwKIcN.js";
|
|
75
75
|
import "./service-audit-Bwpoc2LD.js";
|
|
76
76
|
import { t as renderTable } from "./table-Bt7rSYC6.js";
|
|
77
|
-
import "./health-
|
|
77
|
+
import "./health-Cndq9b7A.js";
|
|
78
78
|
import "./catalog-B-TAbJ2o.js";
|
|
79
79
|
import "./plugin-auto-enable-DhuD30Je.js";
|
|
80
80
|
import "./health-format-BLnFZCH_.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-CklLFAsD.js";
|
|
82
82
|
import "./logging-_rCcBkls.js";
|
|
83
83
|
import "./note-CeLGcHqv.js";
|
|
84
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
84
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BBvW4_J9.js";
|
|
85
85
|
import "./skill-scanner-Dld2ijVw.js";
|
|
86
86
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-E9dSFk_b.js";
|
|
87
87
|
import "./archive-CNqghdwQ.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-DUl-g4mB.js";
|
|
89
89
|
import "./npm-registry-spec-jf7Mowdn.js";
|
|
90
90
|
import "./auth-health-Dhr8p2SD.js";
|
|
91
91
|
import "./installs-a4Vz_J08.js";
|
|
@@ -93,7 +93,7 @@ import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from
|
|
|
93
93
|
import "./doctor-config-flow-Dxy7RIm0.js";
|
|
94
94
|
import { t as formatHelpExamples } from "./help-format-ZKxl6UCb.js";
|
|
95
95
|
import "./systemd-linger-CxGmIy_5.js";
|
|
96
|
-
import { t as doctorCommand } from "./doctor-
|
|
96
|
+
import { t as doctorCommand } from "./doctor-DmCnZ-jF.js";
|
|
97
97
|
import { spawnSync } from "node:child_process";
|
|
98
98
|
import os from "node:os";
|
|
99
99
|
import path from "node:path";
|
|
@@ -2,7 +2,7 @@ import { m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { V as theme, d as defaultRuntime } from "./subsystem-BAADN1B8.js";
|
|
3
3
|
import { g as pathExists } from "./utils-CLYlhJuc.js";
|
|
4
4
|
import "./pi-embedded-helpers-BZ9GspxK.js";
|
|
5
|
-
import { Ht as trimLogTail } from "./reply-
|
|
5
|
+
import { Ht as trimLogTail } from "./reply-93fMzde1.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-BylR5qWS.js";
|
|
7
7
|
import { t as resolveAnimaPackageRoot } from "./anima-root-xWSKR6Wm.js";
|
|
8
8
|
import "./agent-scope-CXxC8FFX.js";
|
|
@@ -31,7 +31,7 @@ import "./auth-profiles-C-LuhW6c.js";
|
|
|
31
31
|
import "./file-lock-Z53aFHvY.js";
|
|
32
32
|
import "./model-auth-CHB3EySM.js";
|
|
33
33
|
import "./tokens-SP2Q7i59.js";
|
|
34
|
-
import "./anthropic-direct-runner-
|
|
34
|
+
import "./anthropic-direct-runner-OjcTAH6g.js";
|
|
35
35
|
import "./deliver-BKzX3YoN.js";
|
|
36
36
|
import "./memory-cli-DLtBA6r5.js";
|
|
37
37
|
import "./manager-D8VCuzru.js";
|
|
@@ -60,10 +60,10 @@ import "./session-cost-usage-BWqR-ik6.js";
|
|
|
60
60
|
import { r as formatDurationPrecise } from "./format-duration-CnGkTPRF.js";
|
|
61
61
|
import "./accounts-B_2nt5Cd.js";
|
|
62
62
|
import { r as parseSemver } from "./runtime-guard-D14Z_QY6.js";
|
|
63
|
-
import "./program-context-
|
|
63
|
+
import "./program-context-DP3qjW7A.js";
|
|
64
64
|
import "./catalog-CsXv59Tq.js";
|
|
65
65
|
import "./skills-status-CvH7AUoY.js";
|
|
66
|
-
import { r as installCompletion } from "./completion-cli-
|
|
66
|
+
import { r as installCompletion } from "./completion-cli-BtvcR-U5.js";
|
|
67
67
|
import "./daemon-runtime-BrUj88ZO.js";
|
|
68
68
|
import "./onboard-helpers-CJ3HzoUO.js";
|
|
69
69
|
import { n as stylePromptMessage, t as stylePromptHint } from "./prompt-style-BI53UVgE.js";
|
|
@@ -74,17 +74,17 @@ import { r as runDaemonRestart } from "./daemon-cli-CrdPhSxr.js";
|
|
|
74
74
|
import "./diagnostics-Cu9pZAFn.js";
|
|
75
75
|
import "./service-audit-KzOtcw_V.js";
|
|
76
76
|
import { t as renderTable } from "./table-Blmz7glr.js";
|
|
77
|
-
import "./health-
|
|
77
|
+
import "./health-B5N6_UOf.js";
|
|
78
78
|
import "./plugin-auto-enable-CtYcdTju.js";
|
|
79
79
|
import "./health-format-D-JJ5_S4.js";
|
|
80
80
|
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-WkG3Tmxk.js";
|
|
81
81
|
import "./logging-Chc1Sj6N.js";
|
|
82
82
|
import "./note-iMYVGjpA.js";
|
|
83
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
83
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-B9SBdMoR.js";
|
|
84
84
|
import "./skill-scanner-5_Y3u6SU.js";
|
|
85
85
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-B6Tdpk07.js";
|
|
86
86
|
import "./archive-D-dHRz-v.js";
|
|
87
|
-
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-
|
|
87
|
+
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-DZfnquWO.js";
|
|
88
88
|
import "./npm-registry-spec-Br4B4I_3.js";
|
|
89
89
|
import "./auth-health-Cc8-vy8y.js";
|
|
90
90
|
import "./installs-Bi6UipiE.js";
|
|
@@ -92,7 +92,7 @@ import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from
|
|
|
92
92
|
import "./doctor-config-flow-Bgl0Cc20.js";
|
|
93
93
|
import { t as formatHelpExamples } from "./help-format-Dt-I_Mls.js";
|
|
94
94
|
import "./systemd-linger-BVwGXVS0.js";
|
|
95
|
-
import { t as doctorCommand } from "./doctor-
|
|
95
|
+
import { t as doctorCommand } from "./doctor-D7kKyUVk.js";
|
|
96
96
|
import os from "node:os";
|
|
97
97
|
import path from "node:path";
|
|
98
98
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-D1VGbO3C.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BtBJICHE.js";
|
|
3
|
-
import { bt as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { bt as trimLogTail } from "./subagent-registry-fLI7QDKe.js";
|
|
4
4
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-BLnFZCH_.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-CklLFAsD.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as pathExists } from "./utils-CLYlhJuc.js";
|
|
2
|
-
import { Ht as trimLogTail } from "./reply-
|
|
2
|
+
import { Ht as trimLogTail } from "./reply-93fMzde1.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-BylR5qWS.js";
|
|
4
4
|
import { i as resolveControlUiDistIndexPathForRoot, r as resolveControlUiDistIndexHealth } from "./health-format-D-JJ5_S4.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-WkG3Tmxk.js";
|
|
@@ -2,7 +2,7 @@ import { E as getChildLogger, _ as logVerbose, b as shouldLogVerbose, n as defau
|
|
|
2
2
|
import { D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, M as normalizeAgentId, k as buildGroupHistoryKey } from "./agent-scope-ByIGrCTT.js";
|
|
3
3
|
import { A as toWhatsappJid, C as resolveJidToE164, O as sleep, b as normalizeE164, u as clamp, v as isSelfChatMode, y as jidToE164 } from "./exec-C6tXfeqA.js";
|
|
4
4
|
import "./model-selection-CLcoOT3e.js";
|
|
5
|
-
import { C as resolveEnvelopeFormatOptions, D as buildMentionRegexes, E as CURRENT_MESSAGE_MARKER, F as resolveIdentityNamePrefix, I as resolveMessagePrefix, N as resolveEffectiveMessagesConfig, O as normalizeMentionText, P as resolveIdentityName, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as enqueueSystemEvent, a as resolveChannelGroupRequireMention, b as createInboundDebouncer, c as createDedupeCache, d as resolveAgentRoute, f as normalizeGroupActivation, g as upsertChannelPairingRequest, h as readChannelAllowFromStore, i as resolveChannelGroupPolicy, j as extractShortModelName, l as getReplyFromConfig, m as formatDurationPrecise, n as buildPairingReply, o as shouldAckReactionForWhatsApp, p as parseActivationCommand, r as recordChannelActivity, s as dispatchReplyWithBufferedBlockDispatcher, u as buildAgentSessionKey, v as registerUnhandledRejectionHandler, w as hasControlCommand, x as resolveInboundDebounceMs, y as finalizeInboundContext } from "./pi-embedded-
|
|
5
|
+
import { C as resolveEnvelopeFormatOptions, D as buildMentionRegexes, E as CURRENT_MESSAGE_MARKER, F as resolveIdentityNamePrefix, I as resolveMessagePrefix, N as resolveEffectiveMessagesConfig, O as normalizeMentionText, P as resolveIdentityName, S as formatInboundEnvelope, T as shouldComputeCommandAuthorized, _ as enqueueSystemEvent, a as resolveChannelGroupRequireMention, b as createInboundDebouncer, c as createDedupeCache, d as resolveAgentRoute, f as normalizeGroupActivation, g as upsertChannelPairingRequest, h as readChannelAllowFromStore, i as resolveChannelGroupPolicy, j as extractShortModelName, l as getReplyFromConfig, m as formatDurationPrecise, n as buildPairingReply, o as shouldAckReactionForWhatsApp, p as parseActivationCommand, r as recordChannelActivity, s as dispatchReplyWithBufferedBlockDispatcher, u as buildAgentSessionKey, v as registerUnhandledRejectionHandler, w as hasControlCommand, x as resolveInboundDebounceMs, y as finalizeInboundContext } from "./pi-embedded-D15iww51.js";
|
|
6
6
|
import { B as readSessionUpdatedAt, U as updateLastRoute, V as recordSessionMetaFromInbound, ft as resolveGroupSessionKey, vt as saveMediaBuffer, z as loadSessionStore } from "./deliver-B-dPbUIs.js";
|
|
7
7
|
import { n as loadConfig } from "./config-ZYN8tezd.js";
|
|
8
8
|
import "./shell-env-CMI9f7-7.js";
|
|
@@ -16,10 +16,10 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
16
16
|
import "./client-CfLiulzK.js";
|
|
17
17
|
import "./call-B4lhqS6H.js";
|
|
18
18
|
import "./message-channel-DIHHKJhk.js";
|
|
19
|
-
import { C as createDedupeCache, Cr as resolveMessagePrefix, Fn as enqueueSystemEvent, Sr as resolveIdentityNamePrefix, Vn as registerUnhandledRejectionHandler, Xt as normalizeGroupActivation, Zt as parseActivationCommand, _ as recordChannelActivity, _r as buildMentionRegexes, cr as resolveInboundDebounceMs, fr as hasControlCommand, h as buildPairingReply, lr as formatInboundEnvelope, nr as finalizeInboundContext, nt as resolveAgentRoute, pr as shouldComputeCommandAuthorized, sr as createInboundDebouncer, tt as buildAgentSessionKey, ur as resolveEnvelopeFormatOptions, v as shouldAckReactionForWhatsApp, vr as normalizeMentionText, w as getReplyFromConfig, y as dispatchReplyWithBufferedBlockDispatcher } from "./subagent-registry-
|
|
19
|
+
import { C as createDedupeCache, Cr as resolveMessagePrefix, Fn as enqueueSystemEvent, Sr as resolveIdentityNamePrefix, Vn as registerUnhandledRejectionHandler, Xt as normalizeGroupActivation, Zt as parseActivationCommand, _ as recordChannelActivity, _r as buildMentionRegexes, cr as resolveInboundDebounceMs, fr as hasControlCommand, h as buildPairingReply, lr as formatInboundEnvelope, nr as finalizeInboundContext, nt as resolveAgentRoute, pr as shouldComputeCommandAuthorized, sr as createInboundDebouncer, tt as buildAgentSessionKey, ur as resolveEnvelopeFormatOptions, v as shouldAckReactionForWhatsApp, vr as normalizeMentionText, w as getReplyFromConfig, y as dispatchReplyWithBufferedBlockDispatcher } from "./subagent-registry-fLI7QDKe.js";
|
|
20
20
|
import { a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, j as resolveGroupSessionKey, o as recordSessionMetaFromInbound } from "./sessions-C_3wTmSA.js";
|
|
21
21
|
import "./tokens-CmlI2hSz.js";
|
|
22
|
-
import "./anthropic-direct-runner-
|
|
22
|
+
import "./anthropic-direct-runner-DizCei79.js";
|
|
23
23
|
import "./pi-embedded-helpers-D2SLlgS4.js";
|
|
24
24
|
import "./sandbox-D-N7M7lp.js";
|
|
25
25
|
import "./chrome-CmxIwwsr.js";
|
|
@@ -45,7 +45,7 @@ import "./common-CqIa2poH.js";
|
|
|
45
45
|
import { c as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, s as resolveChunkMode } from "./chunk-Cy0Bj0F3.js";
|
|
46
46
|
import "./parse-timeout-D4UO8pY_.js";
|
|
47
47
|
import { a as resolveMarkdownTableMode, c as loadWebMedia, i as convertMarkdownTables, r as setActiveWebListener } from "./active-listener-gGCoq55D.js";
|
|
48
|
-
import "./context-
|
|
48
|
+
import "./context-mdxDsO1v.js";
|
|
49
49
|
import { d as upsertChannelPairingRequest, l as readChannelAllowFromStore, o as resolveChannelGroupPolicy, s as resolveChannelGroupRequireMention } from "./pi-tools.policy-D2FusuQa.js";
|
|
50
50
|
import { r as formatDurationPrecise } from "./format-duration-BoQ6ac8g.js";
|
|
51
51
|
import "./session-cost-usage-DnxtnK1E.js";
|
|
@@ -58,10 +58,10 @@ import "./progress-glCgu57m.js";
|
|
|
58
58
|
import "./logging-DWwOqnTW.js";
|
|
59
59
|
import { c as readWebSelfId, f as webAuthExists, i as logWebSelfId, n as getWebAuthAgeMs, s as pickWebChannel, t as WA_WEB_AUTH_DIR } from "./auth-store-BEfSfCbW.js";
|
|
60
60
|
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-C577aWZp.js";
|
|
61
|
-
import { a as downloadMediaMessage, c as normalizeMessageContent, i as waitForWaConnection, l as isJidGroup, n as formatError, o as extractMessageContent, r as getStatusCode, s as getContentType, t as createWaSocket, u as DisconnectReason } from "./session-
|
|
62
|
-
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
61
|
+
import { a as downloadMediaMessage, c as normalizeMessageContent, i as waitForWaConnection, l as isJidGroup, n as formatError, o as extractMessageContent, r as getStatusCode, s as getContentType, t as createWaSocket, u as DisconnectReason } from "./session-BzrnfWQ2.js";
|
|
62
|
+
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-BzdhJDqP.js";
|
|
63
63
|
import { n as resolveWhatsAppAccount } from "./accounts-COxGcLGB.js";
|
|
64
|
-
import { t as loginWeb } from "./login-
|
|
64
|
+
import { t as loginWeb } from "./login-MzVPMRxL.js";
|
|
65
65
|
import { randomUUID } from "node:crypto";
|
|
66
66
|
import { setTimeout } from "node:timers/promises";
|
|
67
67
|
|
|
@@ -2,7 +2,7 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import "./subsystem-BAADN1B8.js";
|
|
3
3
|
import "./utils-CLYlhJuc.js";
|
|
4
4
|
import "./pi-embedded-helpers-BZ9GspxK.js";
|
|
5
|
-
import "./reply-
|
|
5
|
+
import "./reply-93fMzde1.js";
|
|
6
6
|
import "./exec-BylR5qWS.js";
|
|
7
7
|
import "./agent-scope-CXxC8FFX.js";
|
|
8
8
|
import "./model-selection-CY6r_3wt.js";
|
|
@@ -29,7 +29,7 @@ import "./auth-profiles-C-LuhW6c.js";
|
|
|
29
29
|
import "./file-lock-Z53aFHvY.js";
|
|
30
30
|
import "./model-auth-CHB3EySM.js";
|
|
31
31
|
import "./tokens-SP2Q7i59.js";
|
|
32
|
-
import "./anthropic-direct-runner-
|
|
32
|
+
import "./anthropic-direct-runner-OjcTAH6g.js";
|
|
33
33
|
import "./deliver-BKzX3YoN.js";
|
|
34
34
|
import "./memory-cli-DLtBA6r5.js";
|
|
35
35
|
import "./manager-D8VCuzru.js";
|
|
@@ -55,11 +55,11 @@ import "./pi-model-discovery-Bu4Zr7nI.js";
|
|
|
55
55
|
import "./noxsoft-auth-CE75mBXE.js";
|
|
56
56
|
import "./delivery-queue-CExaJXRz.js";
|
|
57
57
|
import "./session-cost-usage-BWqR-ik6.js";
|
|
58
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
58
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-C5mzsaa3.js";
|
|
59
59
|
import { n as sendMessageWhatsApp } from "./outbound-fPqdCDR4.js";
|
|
60
|
-
import { i as waitForWaConnection, t as createWaSocket } from "./session-
|
|
61
|
-
import "./reply-prefix-
|
|
60
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-jljC5QVG.js";
|
|
61
|
+
import "./reply-prefix-B7Fb3fO8.js";
|
|
62
62
|
import "./accounts-B_2nt5Cd.js";
|
|
63
|
-
import { t as loginWeb } from "./login-
|
|
63
|
+
import { t as loginWeb } from "./login-BEaBOSnw.js";
|
|
64
64
|
|
|
65
65
|
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -4,7 +4,7 @@ import { D as getChildLogger, n as defaultRuntime, t as createSubsystemLogger, v
|
|
|
4
4
|
import { A as toWhatsappJid, C as resolveJidToE164, O as sleep, b as normalizeE164, u as clamp, v as isSelfChatMode, y as jidToE164 } from "./exec-DUzVF5_D.js";
|
|
5
5
|
import "./agent-scope-CxBzAozu.js";
|
|
6
6
|
import { G as updateLastRoute, H as loadSessionStore, St as saveMediaBuffer, U as readSessionUpdatedAt, W as recordSessionMetaFromInbound, gt as resolveGroupSessionKey } from "./deliver-d-CaN0uL.js";
|
|
7
|
-
import { $ as resolveEffectiveMessagesConfig, B as shouldComputeCommandAuthorized, C as upsertChannelPairingRequest, F as createInboundDebouncer, H as buildMentionRegexes, I as resolveInboundDebounceMs, J as extractShortModelName, L as formatInboundEnvelope, N as registerUnhandledRejectionHandler, P as finalizeInboundContext, R as resolveEnvelopeFormatOptions, S as readChannelAllowFromStore, U as normalizeMentionText, V as CURRENT_MESSAGE_MARKER, _ as normalizeGroupActivation, a as resolveChannelGroupRequireMention, c as createDedupeCache, et as resolveIdentityName, f as buildAgentSessionKey, i as resolveChannelGroupPolicy, j as enqueueSystemEvent, l as getReplyFromConfig, n as buildPairingReply, nt as resolveMessagePrefix, o as shouldAckReactionForWhatsApp, p as resolveAgentRoute, r as recordChannelActivity, s as dispatchReplyWithBufferedBlockDispatcher, tt as resolveIdentityNamePrefix, v as parseActivationCommand, x as formatDurationPrecise, z as hasControlCommand } from "./pi-embedded-
|
|
7
|
+
import { $ as resolveEffectiveMessagesConfig, B as shouldComputeCommandAuthorized, C as upsertChannelPairingRequest, F as createInboundDebouncer, H as buildMentionRegexes, I as resolveInboundDebounceMs, J as extractShortModelName, L as formatInboundEnvelope, N as registerUnhandledRejectionHandler, P as finalizeInboundContext, R as resolveEnvelopeFormatOptions, S as readChannelAllowFromStore, U as normalizeMentionText, V as CURRENT_MESSAGE_MARKER, _ as normalizeGroupActivation, a as resolveChannelGroupRequireMention, c as createDedupeCache, et as resolveIdentityName, f as buildAgentSessionKey, i as resolveChannelGroupPolicy, j as enqueueSystemEvent, l as getReplyFromConfig, n as buildPairingReply, nt as resolveMessagePrefix, o as shouldAckReactionForWhatsApp, p as resolveAgentRoute, r as recordChannelActivity, s as dispatchReplyWithBufferedBlockDispatcher, tt as resolveIdentityNamePrefix, v as parseActivationCommand, x as formatDurationPrecise, z as hasControlCommand } from "./pi-embedded-DR8Pfd05.js";
|
|
8
8
|
import { n as loadConfig } from "./config-CweTwOtr.js";
|
|
9
9
|
import "./boolean-Ce2-qkSB.js";
|
|
10
10
|
import "./shell-env-HkVWMh--.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noxsoft/anima",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "AI life system — persistent identity, sovereign memory, heartbeat-driven existence — by NoxSoft",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"qrcode-terminal": "^0.12.0",
|
|
161
161
|
"sharp": "^0.34.5",
|
|
162
162
|
"sqlite-vec": "0.1.7-alpha.2",
|
|
163
|
-
"tar": "7.5.
|
|
163
|
+
"tar": "7.5.8",
|
|
164
164
|
"tslog": "^4.10.2",
|
|
165
165
|
"undici": "^7.22.0",
|
|
166
166
|
"ws": "^8.19.0",
|
|
@@ -198,11 +198,11 @@
|
|
|
198
198
|
"pnpm": {
|
|
199
199
|
"minimumReleaseAge": 2880,
|
|
200
200
|
"overrides": {
|
|
201
|
-
"fast-xml-parser": "5.3.
|
|
201
|
+
"fast-xml-parser": ">=5.3.8",
|
|
202
202
|
"form-data": "2.5.4",
|
|
203
203
|
"qs": "6.14.2",
|
|
204
204
|
"@sinclair/typebox": "0.34.48",
|
|
205
|
-
"tar": "7.5.
|
|
205
|
+
"tar": ">=7.5.8",
|
|
206
206
|
"tough-cookie": "4.1.3"
|
|
207
207
|
},
|
|
208
208
|
"onlyBuiltDependencies": [
|
package/dist/context-B5X720Bs.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { t as resolveAnimaAgentDir } from "./agent-paths-niQrLbGc.js";
|
|
2
|
-
import { i as loadConfig } from "./config-BrVuTQ8R.js";
|
|
3
|
-
import path from "node:path";
|
|
4
|
-
import fs from "node:fs/promises";
|
|
5
|
-
|
|
6
|
-
//#region src/agents/models-config.ts
|
|
7
|
-
/**
|
|
8
|
-
* Models configuration — SIMPLIFIED
|
|
9
|
-
*
|
|
10
|
-
* The multi-provider LLM abstraction (pi-ai) has been removed.
|
|
11
|
-
* ANIMA uses Claude Code CLI exclusively. This file retains only
|
|
12
|
-
* the minimal interface needed by the rest of the codebase.
|
|
13
|
-
* Full replacement comes in Phase 2.
|
|
14
|
-
*/
|
|
15
|
-
async function ensureAnimaModelsJson(config, agentDirOverride) {
|
|
16
|
-
config ?? loadConfig();
|
|
17
|
-
const agentDir = agentDirOverride?.trim() ? agentDirOverride.trim() : resolveAnimaAgentDir();
|
|
18
|
-
await fs.mkdir(agentDir, {
|
|
19
|
-
recursive: true,
|
|
20
|
-
mode: 448
|
|
21
|
-
});
|
|
22
|
-
const targetPath = path.join(agentDir, "models.json");
|
|
23
|
-
const content = JSON.stringify({ providers: {} }, null, 2) + "\n";
|
|
24
|
-
let existing = "";
|
|
25
|
-
try {
|
|
26
|
-
existing = await fs.readFile(targetPath, "utf8");
|
|
27
|
-
} catch {}
|
|
28
|
-
if (existing === content) return {
|
|
29
|
-
agentDir,
|
|
30
|
-
wrote: false
|
|
31
|
-
};
|
|
32
|
-
await fs.writeFile(targetPath, content, { mode: 384 });
|
|
33
|
-
return {
|
|
34
|
-
agentDir,
|
|
35
|
-
wrote: true
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region src/agents/context.ts
|
|
41
|
-
const MODEL_CACHE = /* @__PURE__ */ new Map();
|
|
42
|
-
(async () => {
|
|
43
|
-
try {
|
|
44
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-BZryRo8-.js").then((n) => n.r);
|
|
45
|
-
await ensureAnimaModelsJson(loadConfig());
|
|
46
|
-
const agentDir = resolveAnimaAgentDir();
|
|
47
|
-
const models = discoverModels(discoverAuthStorage(agentDir), agentDir).getAll();
|
|
48
|
-
for (const m of models) {
|
|
49
|
-
if (!m?.id) continue;
|
|
50
|
-
if (typeof m.contextWindow === "number" && m.contextWindow > 0) MODEL_CACHE.set(m.id, m.contextWindow);
|
|
51
|
-
}
|
|
52
|
-
} catch {}
|
|
53
|
-
})();
|
|
54
|
-
function lookupContextTokens(modelId) {
|
|
55
|
-
if (!modelId) return;
|
|
56
|
-
return MODEL_CACHE.get(modelId);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
//#endregion
|
|
60
|
-
export { ensureAnimaModelsJson as n, lookupContextTokens as t };
|