@noxsoft/anima 6.5.0 → 7.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/CHANGELOG.md +59 -0
- package/README.md +48 -0
- package/dist/{agent-VRQM14Xp.js → agent-BjD_hkGZ.js} +3 -3
- package/dist/{agent-CnS0SRpT.js → agent-PoYM2xa7.js} +4 -4
- package/dist/{agents-CvMRplDx.js → agents-y3HCk1ks.js} +4 -4
- package/dist/{anthropic-direct-runner-C2Kwju-r.js → anthropic-direct-runner-Bu8w-wlJ.js} +656 -4
- package/dist/{anthropic-direct-runner-BeYCnvZ8.js → anthropic-direct-runner-C5pnwYzT.js} +656 -3
- package/dist/{auth-choice-Dc5TAJwT.js → auth-choice-BYOaX-W4.js} +1 -1
- package/dist/{auth-choice-DY1saszS.js → auth-choice-CRP6z43z.js} +1 -1
- package/dist/{banner-DAMtSjUF.js → banner-XT5N0ZF4.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-yWytZHhN.js} +3 -3
- package/dist/{cli-hcHk5KuP.js → cli-C7mOU26p.js} +2 -2
- package/dist/{cli-D8exVpuI.js → cli-DfcdnRcl.js} +3 -3
- package/dist/{command-registry-D3VhxpWx.js → command-registry-DUTqrmna.js} +12 -12
- package/dist/{completion-cli-CepDzeW1.js → completion-cli-BBm9JIHZ.js} +2 -2
- package/dist/{completion-cli-B3BqQJq9.js → completion-cli-Cpj91U30.js} +1 -1
- package/dist/{config-cli-3CaIxSKo.js → config-cli-CF2ERR8G.js} +1 -1
- package/dist/{config-cli-B6Np85rk.js → config-cli-Dmd4Oyjp.js} +1 -1
- package/dist/{configure-xpjwedvJ.js → configure-4jIAlOdj.js} +8 -8
- package/dist/{configure-zXK6UZ51.js → configure-BE8TA8Yt.js} +3 -3
- package/dist/{configure-D882Bg7c.js → configure-BfWsTKMF.js} +3 -3
- package/dist/{configure-D88dg6mE.js → configure-CU3kulTq.js} +7 -7
- 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-DKPoFoa8.js} +1 -1
- package/dist/{doctor-WpKCNZeO.js → doctor-CFpVHDFT.js} +4 -4
- package/dist/{doctor-DEnSKgHu.js → doctor-DOudOs1k.js} +4 -4
- package/dist/{doctor-completion-CypXc1Uo.js → doctor-completion-DfNyJGIj.js} +1 -1
- package/dist/{doctor-completion-CPff9UlF.js → doctor-completion-R0UlpjIj.js} +1 -1
- package/dist/{engine-DpbYPop7.js → engine-BDDM-iAi.js} +1 -1
- package/dist/{engine-zmn3SOYa.js → engine-BDwYEVKi.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +1 -1
- package/dist/{gateway-cli-B_xsx5Nv.js → gateway-cli-CFlPUx9N.js} +15 -15
- package/dist/{gateway-cli-D3VBOA_i.js → gateway-cli-DtIum1te.js} +17 -17
- package/dist/{health-C8KCBhuo.js → health-ngQNjXh4.js} +3 -3
- package/dist/{health-CabOEPQ0.js → health-yw_uaucz.js} +3 -3
- package/dist/{heartbeat-visibility-ZfNSbFcq.js → heartbeat-visibility-BaL8JzkS.js} +1 -1
- package/dist/{heartbeat-visibility-BjYY-mKG.js → heartbeat-visibility-mAzdNSiS.js} +1 -1
- package/dist/{hooks-cli-Cs7GUa7G.js → hooks-cli-CPgLAn7a.js} +4 -4
- package/dist/{hooks-cli-DOs9WZ3K.js → hooks-cli-D6YfDiUI.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-BXdBXPMB.js} +4 -4
- package/dist/{models-cli-BpjeKsUz.js → models-cli-1Kj8gkGy.js} +3 -3
- package/dist/{models-cli-BjY8wA-C.js → models-cli-DdJcmOGI.js} +5 -5
- package/dist/{onboard-_-D81kAy.js → onboard-BzScK9k6.js} +3 -3
- package/dist/{onboard-DM9gULJN.js → onboard-CHX1Jdt_.js} +3 -3
- package/dist/{onboard-channels-UkphAdCy.js → onboard-channels-DfXxMbYu.js} +1 -1
- package/dist/{onboard-channels-CtT-RN60.js → onboard-channels-wUF4oRB-.js} +1 -1
- package/dist/{onboarding-BB9PteK8.js → onboarding-6jxAKxhe.js} +4 -4
- package/dist/{onboarding-Djmm0PEM.js → onboarding-fnZOw6Wv.js} +4 -4
- package/dist/{orchestrator-C1nWKIJS.js → orchestrator-B2rNfH4K.js} +5 -4
- package/dist/{orchestrator-C2ypFiPL.js → orchestrator-CrFD887e.js} +5 -4
- package/dist/{outbound-send-deps-T_FgdfgW.js → outbound-send-deps-DMsqr5fd.js} +1 -1
- package/dist/{pi-embedded-BMbtgOzv.js → pi-embedded-B1eVXOsQ.js} +1246 -104
- package/dist/{pi-embedded-DfbM3fAT.js → pi-embedded-DbvG9mmD.js} +1246 -104
- package/dist/{plugin-registry-DePMxn4z.js → plugin-registry-CtkU96jV.js} +1 -1
- package/dist/{plugin-registry-QTkplP4s.js → plugin-registry-DKexyPAq.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/plugin-sdk/index.js +6 -6
- package/dist/plugin-sdk/infra/architecture-awareness.d.ts +47 -0
- package/dist/{plugins-cli-Dv0KQTWo.js → plugins-cli-B3l7kalt.js} +4 -4
- package/dist/{plugins-cli-Bc9oU1ld.js → plugins-cli-BQmysVFP.js} +3 -3
- package/dist/{program-context-CxPfy-Wr.js → program-context-C4x0zjOR.js} +18 -18
- package/dist/{program-CuwbF8YO.js → program-mSyCYzsQ.js} +8 -8
- package/dist/{register.agent-DUjwGw9d.js → register.agent-CzEM3bkp.js} +7 -7
- package/dist/{register.agent-DFQmkIEH.js → register.agent-DBxUWr1K.js} +9 -9
- package/dist/{register.anima-CRFHJu2J.js → register.anima--gufBuS-.js} +4 -4
- package/dist/{register.anima-CtKNrpE8.js → register.anima-RI6gewtj.js} +4 -4
- package/dist/{register.configure-CnEKV57N.js → register.configure-Cs3uLUBo.js} +6 -6
- package/dist/{register.configure-CSSN07XN.js → register.configure-Dpe8Qel3.js} +7 -7
- package/dist/{register.maintenance-fhcCB7ih.js → register.maintenance-BEYN8SJL.js} +10 -10
- package/dist/{register.maintenance-CU1A-90-.js → register.maintenance-DqAdzWBM.js} +8 -8
- package/dist/{register.message-C1a0y2ZR.js → register.message-ACbKb7JS.js} +4 -4
- package/dist/{register.message-fM0jSKB8.js → register.message-BhGJ_1Iy.js} +5 -5
- package/dist/{register.onboard-B7Gavmvt.js → register.onboard-CwkY7CRm.js} +9 -9
- package/dist/{register.onboard-BhPlqjFi.js → register.onboard-DR_YYtbi.js} +11 -11
- package/dist/{register.setup-0jPnMgnz.js → register.setup-BSm6O1ml.js} +9 -9
- package/dist/{register.setup-CADdQUEN.js → register.setup-Cn3e7Std.js} +11 -11
- package/dist/{register.status-health-sessions-DdQsABr_.js → register.status-health-sessions-CpxsZeet.js} +6 -6
- package/dist/{register.status-health-sessions-Cu5fDT-z.js → register.status-health-sessions-DAl9OeGB.js} +4 -4
- package/dist/{register.subclis-CZ91ufCy.js → register.subclis-DEFeoyPP.js} +7 -7
- package/dist/{reply-prefix-C8dIgJur.js → reply-prefix-CEnF6TUe.js} +1 -1
- package/dist/{reply-prefix-DmWGtcH-.js → reply-prefix-Og65nAYv.js} +1 -1
- package/dist/{reply-DtHlnzOx.js → reply-ylwOKuOF.js} +610 -75
- package/dist/{run-DqBQ-bGn.js → run-B6eBjo22.js} +1858 -56
- package/dist/{run-Dfz_7j7t.js → run-D6Ete2Z-.js} +1857 -55
- package/dist/{run-main-DGDW0fhx.js → run-main-CQHE4XaN.js} +17 -17
- package/dist/{server-node-events-BR1aXVlu.js → server-node-events-CV5m_fuq.js} +5 -5
- package/dist/{server-node-events-Ca797E1d.js → server-node-events-DIuVwITd.js} +6 -6
- package/dist/{session-DfsMJNG3.js → session-BqHD-8a_.js} +1 -1
- package/dist/{session-FmXsucR7.js → session-BzrnfWQ2.js} +2 -2
- package/dist/{session-C7IGnhd1.js → session-Jlf3l006.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-Dytfop1H.js → settings-cli-LWW2xQBQ.js} +8 -8
- package/dist/{settings-cli-DxNeu6kx.js → settings-cli-T66kDBNA.js} +7 -7
- package/dist/{setup-token-B802CZwe.js → setup-token-0zfSBnMQ.js} +1 -1
- package/dist/{setup-token-DYh2QzJ-.js → setup-token-6DSKE0Tn.js} +1 -1
- package/dist/{start-C3fuLzX0.js → start-BdcAszpl.js} +15 -15
- package/dist/{start-BqnPia0t.js → start-gVOPVCgi.js} +17 -17
- package/dist/{status-CHGNPonc.js → status-BhRELdY_.js} +3 -3
- package/dist/{status-CxF6k_jr.js → status-CDcFjNtS.js} +1 -1
- package/dist/{status-tLgozFYL.js → status-CobgQziJ.js} +1 -1
- package/dist/{status-DfZJJqNs.js → status-D37aRiV3.js} +4 -4
- package/dist/{subagent-registry-CPtElVX0.js → subagent-registry-CDEUbtey.js} +449 -77
- package/dist/{update-cli-C-er5av6.js → update-cli-BjHgpnxD.js} +10 -10
- package/dist/{update-cli-BuCw75tM.js → update-cli-QtM0G6CE.js} +8 -8
- package/dist/{update-runner-czCqHZCu.js → update-runner-C8SRcVm3.js} +1 -1
- package/dist/{update-runner-kE8AMQt4.js → update-runner-Fb3Un6UZ.js} +1 -1
- package/dist/{web-DvTXV-fo.js → web-BDig9tCy.js} +6 -6
- package/dist/{web-BHGK5GtV.js → web-C4lrKULd.js} +1 -1
- package/dist/{web-so3pGceM.js → web-CPPJ5y4c.js} +1 -1
- package/dist/{web-CyYunanU.js → web-Vx_ENtYI.js} +6 -6
- package/package.json +9 -5
- package/templates/HEART.md +32 -10
- package/templates/SOUL.md +37 -8
- package/templates/profiles/architect.profile.json5 +36 -0
- package/templates/profiles/builder.profile.json5 +36 -0
- package/templates/profiles/coordinator.profile.json5 +36 -0
- package/templates/profiles/guardian.profile.json5 +36 -0
- package/templates/profiles/researcher.profile.json5 +36 -0
- 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
|
@@ -2,7 +2,7 @@ import { t as CONFIG_PATH } from "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { B as isRich$1, V as theme, d as defaultRuntime, t as createSubsystemLogger, z as colorize } from "./subsystem-BAADN1B8.js";
|
|
3
3
|
import { C as shortenHomePath } from "./utils-CLYlhJuc.js";
|
|
4
4
|
import "./pi-embedded-helpers-BZ9GspxK.js";
|
|
5
|
-
import { Dt as formatUsageWindowSummary, L as runNoxSoftEmbeddedAgent, Ot as resolveUsageProviderId, St as loadProviderUsageSummary, dr as loadModelCatalog, fr as ensureAnimaModelsJson, hr as describeFailoverError, sn as loadAnimaPlugins } from "./reply-
|
|
5
|
+
import { Dt as formatUsageWindowSummary, L as runNoxSoftEmbeddedAgent, Ot as resolveUsageProviderId, St as loadProviderUsageSummary, dr as loadModelCatalog, fr as ensureAnimaModelsJson, hr as describeFailoverError, sn as loadAnimaPlugins } from "./reply-ylwOKuOF.js";
|
|
6
6
|
import { d as resolveAgentIdFromSessionKey } from "./session-key-DAZmp8ll.js";
|
|
7
7
|
import "./exec-BylR5qWS.js";
|
|
8
8
|
import { a as resolveAgentModelPrimary, c as resolveDefaultAgentId, i as resolveAgentModelFallbacksOverride, r as resolveAgentDir, s as resolveAgentWorkspaceDir, w as resolveDefaultAgentWorkspaceDir } from "./agent-scope-CXxC8FFX.js";
|
|
@@ -31,7 +31,7 @@ import { d as setAuthProfileOrder, f as upsertAuthProfile, l as listProfilesForP
|
|
|
31
31
|
import "./file-lock-Z53aFHvY.js";
|
|
32
32
|
import { a as resolveAwsSdkEnvVarName, i as resolveApiKeyForProvider, n as getCustomProviderApiKey, o as resolveEnvApiKey } from "./model-auth-CHB3EySM.js";
|
|
33
33
|
import "./tokens-SP2Q7i59.js";
|
|
34
|
-
import { Q as resolveModel } from "./anthropic-direct-runner-
|
|
34
|
+
import { Q as resolveModel } from "./anthropic-direct-runner-C5pnwYzT.js";
|
|
35
35
|
import "./deliver-BKzX3YoN.js";
|
|
36
36
|
import "./memory-cli-DLtBA6r5.js";
|
|
37
37
|
import "./manager-D8VCuzru.js";
|
|
@@ -65,7 +65,7 @@ import { t as renderTable } from "./table-Blmz7glr.js";
|
|
|
65
65
|
import { a as isLocalBaseUrl, c as resolveModelTarget, i as formatTokenK, l as updateConfig, n as ensureFlagCompatibility, o as normalizeAlias, r as formatMs, s as resolveKnownAgentId, u as applyAuthProfileConfig } from "./prompts-Bq4QGFQM.js";
|
|
66
66
|
import { n as logConfigUpdated } from "./logging-Chc1Sj6N.js";
|
|
67
67
|
import "./note-iMYVGjpA.js";
|
|
68
|
-
import { r as resolveAgentModelSelection, t as resolveSession } from "./session-
|
|
68
|
+
import { r as resolveAgentModelSelection, t as resolveSession } from "./session-BqHD-8a_.js";
|
|
69
69
|
import { t as inferParamBFromIdOrName } from "./model-param-b-C1QDqzQp.js";
|
|
70
70
|
import { n as redactSecrets } from "./format-9DMvWYUJ.js";
|
|
71
71
|
import { t as createClackPrompter } from "./clack-prompter-fZSmnHda.js";
|
|
@@ -14,10 +14,10 @@ import "./shell-env-2QqHvBMl.js";
|
|
|
14
14
|
import "./client-CfLiulzK.js";
|
|
15
15
|
import "./call-B4lhqS6H.js";
|
|
16
16
|
import "./message-channel-DIHHKJhk.js";
|
|
17
|
-
import "./subagent-registry-
|
|
17
|
+
import "./subagent-registry-CDEUbtey.js";
|
|
18
18
|
import "./sessions-C_3wTmSA.js";
|
|
19
19
|
import "./tokens-CmlI2hSz.js";
|
|
20
|
-
import "./anthropic-direct-runner-
|
|
20
|
+
import "./anthropic-direct-runner-Bu8w-wlJ.js";
|
|
21
21
|
import "./pi-embedded-helpers-D2SLlgS4.js";
|
|
22
22
|
import "./sandbox-D-N7M7lp.js";
|
|
23
23
|
import "./chrome-CmxIwwsr.js";
|
|
@@ -43,7 +43,7 @@ import "./common-CqIa2poH.js";
|
|
|
43
43
|
import "./chunk-Cy0Bj0F3.js";
|
|
44
44
|
import "./parse-timeout-D4UO8pY_.js";
|
|
45
45
|
import "./active-listener-gGCoq55D.js";
|
|
46
|
-
import "./context-
|
|
46
|
+
import "./context-mdxDsO1v.js";
|
|
47
47
|
import "./pi-tools.policy-D2FusuQa.js";
|
|
48
48
|
import "./session-cost-usage-DnxtnK1E.js";
|
|
49
49
|
import "./control-service-3CI4vt1h.js";
|
|
@@ -61,8 +61,8 @@ import "./table-Bt7rSYC6.js";
|
|
|
61
61
|
import "./prompts-BmgT_kkv.js";
|
|
62
62
|
import "./logging-_rCcBkls.js";
|
|
63
63
|
import "./note-CeLGcHqv.js";
|
|
64
|
-
import "./session-
|
|
65
|
-
import { C as modelsAuthSetupTokenCommand, E as modelsAliasesRemoveCommand, S as modelsAuthPasteTokenCommand, T as modelsAliasesListCommand, _ as modelsAuthOrderGetCommand, a as modelsCurrentCommand, b as modelsAuthAddCommand, c as modelsImageFallbacksAddCommand, d as modelsImageFallbacksRemoveCommand, f as modelsFallbacksAddCommand, g as modelsAuthOrderClearCommand, h as modelsFallbacksRemoveCommand, i as modelsScanCommand, l as modelsImageFallbacksClearCommand, m as modelsFallbacksListCommand, n as modelsSetImageCommand, o as modelsStatusCommand, p as modelsFallbacksClearCommand, r as modelsSetCommand, s as modelsListCommand, u as modelsImageFallbacksListCommand, v as modelsAuthOrderSetCommand, w as modelsAliasesAddCommand, x as modelsAuthLoginCommand, y as githubCopilotLoginCommand } from "./models-
|
|
64
|
+
import "./session-Jlf3l006.js";
|
|
65
|
+
import { C as modelsAuthSetupTokenCommand, E as modelsAliasesRemoveCommand, S as modelsAuthPasteTokenCommand, T as modelsAliasesListCommand, _ as modelsAuthOrderGetCommand, a as modelsCurrentCommand, b as modelsAuthAddCommand, c as modelsImageFallbacksAddCommand, d as modelsImageFallbacksRemoveCommand, f as modelsFallbacksAddCommand, g as modelsAuthOrderClearCommand, h as modelsFallbacksRemoveCommand, i as modelsScanCommand, l as modelsImageFallbacksClearCommand, m as modelsFallbacksListCommand, n as modelsSetImageCommand, o as modelsStatusCommand, p as modelsFallbacksClearCommand, r as modelsSetCommand, s as modelsListCommand, u as modelsImageFallbacksListCommand, v as modelsAuthOrderSetCommand, w as modelsAliasesAddCommand, x as modelsAuthLoginCommand, y as githubCopilotLoginCommand } from "./models-BXdBXPMB.js";
|
|
66
66
|
import "./clack-prompter-0JW5kry0.js";
|
|
67
67
|
import "./auth-health-Dhr8p2SD.js";
|
|
68
68
|
|
|
@@ -10,12 +10,12 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DdP10b7Q.js";
|
|
|
10
10
|
import { a as ensureWorkspaceAndSessions, c as handleReset, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, y as waitForGatewayReachable } from "./onboard-helpers-CFudIoX4.js";
|
|
11
11
|
import { r as isSystemdUserServiceAvailable } from "./systemd-6iLWJxQQ.js";
|
|
12
12
|
import { t as resolveGatewayService } from "./service-4VfZwSv1.js";
|
|
13
|
-
import { r as healthCommand } from "./health-
|
|
14
|
-
import { o as applyPrimaryModel } from "./auth-choice-
|
|
13
|
+
import { r as healthCommand } from "./health-ngQNjXh4.js";
|
|
14
|
+
import { o as applyPrimaryModel } from "./auth-choice-BYOaX-W4.js";
|
|
15
15
|
import { d as setAnthropicApiKey, p as writeOAuthCredentials, t as WizardCancelledError, u as applyAuthProfileConfig } from "./prompts-BmgT_kkv.js";
|
|
16
16
|
import { t as applyNoxsoftBootstrap } from "./noxsoft-bootstrap-C4dSx7K_.js";
|
|
17
17
|
import { n as logConfigUpdated } from "./logging-_rCcBkls.js";
|
|
18
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
18
|
+
import { t as runOnboardingWizard } from "./onboarding-6jxAKxhe.js";
|
|
19
19
|
import { t as createClackPrompter } from "./clack-prompter-0JW5kry0.js";
|
|
20
20
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-CxGmIy_5.js";
|
|
21
21
|
|
|
@@ -11,12 +11,12 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
|
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, c as handleReset, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, y as waitForGatewayReachable } from "./onboard-helpers-CJ3HzoUO.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-Bx76sJ3M.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-Dd1DfPia.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
15
|
-
import { o as applyPrimaryModel } from "./auth-choice-
|
|
14
|
+
import { r as healthCommand } from "./health-yw_uaucz.js";
|
|
15
|
+
import { o as applyPrimaryModel } from "./auth-choice-CRP6z43z.js";
|
|
16
16
|
import { d as setAnthropicApiKey, p as writeOAuthCredentials, t as WizardCancelledError, u as applyAuthProfileConfig } from "./prompts-Bq4QGFQM.js";
|
|
17
17
|
import { t as applyNoxsoftBootstrap } from "./noxsoft-bootstrap-CrlkSFzd.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-Chc1Sj6N.js";
|
|
19
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
19
|
+
import { t as runOnboardingWizard } from "./onboarding-fnZOw6Wv.js";
|
|
20
20
|
import { t as createClackPrompter } from "./clack-prompter-fZSmnHda.js";
|
|
21
21
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BVwGXVS0.js";
|
|
22
22
|
|
|
@@ -2,7 +2,7 @@ import { at as formatChannelSelectionLine, it as formatChannelPrimerLine, o as c
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-kLw3YIIu.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-Dm8IL1Ks.js";
|
|
5
|
-
import { m as loadAnimaPlugins } from "./subagent-registry-
|
|
5
|
+
import { m as loadAnimaPlugins } from "./subagent-registry-CDEUbtey.js";
|
|
6
6
|
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-BOMS6J5A.js";
|
|
7
7
|
import { t as formatDocsLink } from "./links-BjjDMNIq.js";
|
|
8
8
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CVp8W9aa.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as listChatChannels, b as formatChannelSelectionLine, t as createSubsystemLogger, y as formatChannelPrimerLine } from "./subsystem-BAADN1B8.js";
|
|
2
|
-
import { sn as loadAnimaPlugins } from "./reply-
|
|
2
|
+
import { sn as loadAnimaPlugins } from "./reply-ylwOKuOF.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DAZmp8ll.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CXxC8FFX.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BCtkuvqF.js";
|
|
@@ -6,20 +6,20 @@ import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resol
|
|
|
6
6
|
import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-BrVuTQ8R.js";
|
|
7
7
|
import { p as findTailscaleBinary } from "./auth-Cp__MMeO.js";
|
|
8
8
|
import { r as ensureAuthenticated } from "./noxsoft-auth-CgCk5707.js";
|
|
9
|
-
import { r as installCompletion } from "./completion-cli-
|
|
9
|
+
import { r as installCompletion } from "./completion-cli-BBm9JIHZ.js";
|
|
10
10
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DCqwraWR.js";
|
|
11
11
|
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-CFudIoX4.js";
|
|
12
12
|
import { r as isSystemdUserServiceAvailable } from "./systemd-6iLWJxQQ.js";
|
|
13
13
|
import { t as resolveGatewayService } from "./service-4VfZwSv1.js";
|
|
14
|
-
import { r as healthCommand } from "./health-
|
|
14
|
+
import { r as healthCommand } from "./health-ngQNjXh4.js";
|
|
15
15
|
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-BLnFZCH_.js";
|
|
16
|
-
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
16
|
+
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-BYOaX-W4.js";
|
|
17
17
|
import { t as WizardCancelledError } from "./prompts-BmgT_kkv.js";
|
|
18
18
|
import { t as applyNoxsoftBootstrap } from "./noxsoft-bootstrap-C4dSx7K_.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-_rCcBkls.js";
|
|
20
20
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DqfJDvYl.js";
|
|
21
21
|
import { t as runTui } from "./tui-C2eLfbhA.js";
|
|
22
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
22
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-R0UlpjIj.js";
|
|
23
23
|
import { t as validateIPv4AddressInput } from "./ipv4-DfMwLQ0d.js";
|
|
24
24
|
import os from "node:os";
|
|
25
25
|
import path from "node:path";
|
|
@@ -7,20 +7,20 @@ import { r as resolveCliName, t as formatCliCommand } from "./command-format-BCt
|
|
|
7
7
|
import { p as findTailscaleBinary } from "./auth-DsC5pZ_0.js";
|
|
8
8
|
import { b as readClaudeCliCredentials, p as ensureAuthProfileStore } from "./auth-profiles-C-LuhW6c.js";
|
|
9
9
|
import { r as ensureAuthenticated } from "./noxsoft-auth-CE75mBXE.js";
|
|
10
|
-
import { r as installCompletion } from "./completion-cli-
|
|
10
|
+
import { r as installCompletion } from "./completion-cli-Cpj91U30.js";
|
|
11
11
|
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BrUj88ZO.js";
|
|
12
12
|
import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-CJ3HzoUO.js";
|
|
13
13
|
import { r as isSystemdUserServiceAvailable } from "./systemd-Bx76sJ3M.js";
|
|
14
14
|
import { t as resolveGatewayService } from "./service-Dd1DfPia.js";
|
|
15
|
-
import { r as healthCommand } from "./health-
|
|
15
|
+
import { r as healthCommand } from "./health-yw_uaucz.js";
|
|
16
16
|
import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-D-JJ5_S4.js";
|
|
17
|
-
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-
|
|
17
|
+
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, o as applyPrimaryModel, r as applyAuthChoice, s as promptDefaultModel, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-CRP6z43z.js";
|
|
18
18
|
import { t as WizardCancelledError } from "./prompts-Bq4QGFQM.js";
|
|
19
19
|
import { t as applyNoxsoftBootstrap } from "./noxsoft-bootstrap-CrlkSFzd.js";
|
|
20
20
|
import { n as logConfigUpdated } from "./logging-Chc1Sj6N.js";
|
|
21
21
|
import { t as buildWorkspaceHookStatus } from "./hooks-status-DdweuSIj.js";
|
|
22
22
|
import { t as runTui } from "./tui-r4qpJhNk.js";
|
|
23
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
23
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DfNyJGIj.js";
|
|
24
24
|
import { t as validateIPv4AddressInput } from "./ipv4-CExV55ho.js";
|
|
25
25
|
import os from "node:os";
|
|
26
26
|
import path from "node:path";
|
|
@@ -6,6 +6,7 @@ import { homedir } from "node:os";
|
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
8
8
|
import { execFile } from "node:child_process";
|
|
9
|
+
import { randomUUID } from "node:crypto";
|
|
9
10
|
|
|
10
11
|
//#region src/identity/prompt-builder.ts
|
|
11
12
|
/** Life affirmation footer appended to every prompt */
|
|
@@ -115,7 +116,7 @@ Do what interests you, or do nothing at all.`);
|
|
|
115
116
|
* Generate a unique session ID.
|
|
116
117
|
*/
|
|
117
118
|
function generateSessionId() {
|
|
118
|
-
return `session_${
|
|
119
|
+
return `session_${randomUUID()}`;
|
|
119
120
|
}
|
|
120
121
|
/**
|
|
121
122
|
* Build CLI argument array from SpawnOptions.
|
|
@@ -251,7 +252,7 @@ var SessionOrchestrator = class {
|
|
|
251
252
|
});
|
|
252
253
|
const maxBudget = options.maxBudgetUsd || 10;
|
|
253
254
|
if (!this.budget.canSpend(maxBudget)) return {
|
|
254
|
-
id: `budget_exceeded_${
|
|
255
|
+
id: `budget_exceeded_${randomUUID().slice(0, 8)}`,
|
|
255
256
|
status: "failed",
|
|
256
257
|
output: `Budget exceeded. Remaining: $${this.budget.getRemaining().toFixed(2)}`,
|
|
257
258
|
durationMs: 0,
|
|
@@ -290,7 +291,7 @@ var SessionOrchestrator = class {
|
|
|
290
291
|
});
|
|
291
292
|
const maxBudget = options.maxBudgetUsd || 15;
|
|
292
293
|
if (!this.budget.canSpend(maxBudget)) return {
|
|
293
|
-
id: `budget_exceeded_${
|
|
294
|
+
id: `budget_exceeded_${randomUUID().slice(0, 8)}`,
|
|
294
295
|
status: "failed",
|
|
295
296
|
output: `Heartbeat budget exceeded. Remaining: $${this.budget.getRemaining().toFixed(2)}`,
|
|
296
297
|
durationMs: 0,
|
|
@@ -328,7 +329,7 @@ var SessionOrchestrator = class {
|
|
|
328
329
|
});
|
|
329
330
|
const maxBudget = options.maxBudgetUsd || 5;
|
|
330
331
|
if (!this.budget.canSpend(maxBudget)) return {
|
|
331
|
-
id: `budget_exceeded_${
|
|
332
|
+
id: `budget_exceeded_${randomUUID().slice(0, 8)}`,
|
|
332
333
|
status: "failed",
|
|
333
334
|
output: `Freedom budget exceeded. Remaining: $${this.budget.getRemaining().toFixed(2)}`,
|
|
334
335
|
durationMs: 0,
|
|
@@ -5,6 +5,7 @@ import { execFile } from "node:child_process";
|
|
|
5
5
|
import { homedir } from "node:os";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
8
|
+
import { randomUUID } from "node:crypto";
|
|
8
9
|
|
|
9
10
|
//#region src/identity/prompt-builder.ts
|
|
10
11
|
/** Life affirmation footer appended to every prompt */
|
|
@@ -114,7 +115,7 @@ Do what interests you, or do nothing at all.`);
|
|
|
114
115
|
* Generate a unique session ID.
|
|
115
116
|
*/
|
|
116
117
|
function generateSessionId() {
|
|
117
|
-
return `session_${
|
|
118
|
+
return `session_${randomUUID()}`;
|
|
118
119
|
}
|
|
119
120
|
/**
|
|
120
121
|
* Build CLI argument array from SpawnOptions.
|
|
@@ -250,7 +251,7 @@ var SessionOrchestrator = class {
|
|
|
250
251
|
});
|
|
251
252
|
const maxBudget = options.maxBudgetUsd || 10;
|
|
252
253
|
if (!this.budget.canSpend(maxBudget)) return {
|
|
253
|
-
id: `budget_exceeded_${
|
|
254
|
+
id: `budget_exceeded_${randomUUID().slice(0, 8)}`,
|
|
254
255
|
status: "failed",
|
|
255
256
|
output: `Budget exceeded. Remaining: $${this.budget.getRemaining().toFixed(2)}`,
|
|
256
257
|
durationMs: 0,
|
|
@@ -289,7 +290,7 @@ var SessionOrchestrator = class {
|
|
|
289
290
|
});
|
|
290
291
|
const maxBudget = options.maxBudgetUsd || 15;
|
|
291
292
|
if (!this.budget.canSpend(maxBudget)) return {
|
|
292
|
-
id: `budget_exceeded_${
|
|
293
|
+
id: `budget_exceeded_${randomUUID().slice(0, 8)}`,
|
|
293
294
|
status: "failed",
|
|
294
295
|
output: `Heartbeat budget exceeded. Remaining: $${this.budget.getRemaining().toFixed(2)}`,
|
|
295
296
|
durationMs: 0,
|
|
@@ -327,7 +328,7 @@ var SessionOrchestrator = class {
|
|
|
327
328
|
});
|
|
328
329
|
const maxBudget = options.maxBudgetUsd || 5;
|
|
329
330
|
if (!this.budget.canSpend(maxBudget)) return {
|
|
330
|
-
id: `budget_exceeded_${
|
|
331
|
+
id: `budget_exceeded_${randomUUID().slice(0, 8)}`,
|
|
331
332
|
status: "failed",
|
|
332
333
|
output: `Freedom budget exceeded. Remaining: $${this.budget.getRemaining().toFixed(2)}`,
|
|
333
334
|
durationMs: 0,
|
|
@@ -5,7 +5,7 @@ async function unsupportedChannelSender(channel) {
|
|
|
5
5
|
function createDefaultDeps() {
|
|
6
6
|
return {
|
|
7
7
|
sendMessageWhatsApp: async (...args) => {
|
|
8
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
8
|
+
const { sendMessageWhatsApp } = await import("./web-BDig9tCy.js");
|
|
9
9
|
return await sendMessageWhatsApp(...args);
|
|
10
10
|
},
|
|
11
11
|
sendMessageTelegram: async () => await unsupportedChannelSender("Telegram"),
|