@noxsoft/anima 2.1.0 → 3.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 +36 -1
- package/dist/{accounts-CGzuQdAx.js → accounts-4HFzweNO.js} +3 -3
- package/dist/{acp-cli-C2nYnQx-.js → acp-cli-CHsShBeX.js} +4 -4
- package/dist/{acp-cli-B91vBbbX.js → acp-cli-CcOE2A2i.js} +4 -4
- package/dist/{agent-Bd6Zpqnq.js → agent-CT2PCft4.js} +9 -9
- package/dist/{agent-events-BVc91Gjk.js → agent-events-BiKKV3wj.js} +1 -1
- package/dist/{agent-CoxwYg20.js → agent-rY3gCqJE.js} +8 -8
- package/dist/{agent-scope-BoQtElEh.js → agent-scope-BXuH9s05.js} +1 -1
- package/dist/{agent-scope-CuAaArMB.js → agent-scope-M302b8FW.js} +3 -1
- package/dist/{agent-scope-kT_pK2eJ.js → agent-scope-vpVhWds3.js} +3 -1
- package/dist/{agents-ERV83c8T.js → agents-GDJBET4Z.js} +9 -9
- package/dist/{agents.config-Bar8RHWv.js → agents.config-Dqcq7hEy.js} +1 -1
- package/dist/{agents.config-CvQgWymp.js → agents.config-M3p4E9Vk.js} +1 -1
- package/dist/{audit-C4pngOZo.js → audit-BDXqNA5J.js} +6 -6
- package/dist/{audit-94c4PKy2.js → audit-B_3ewOwt.js} +6 -6
- package/dist/{auth-choice-RnqXSEZo.js → auth-choice-BTMheCDo.js} +132 -7
- package/dist/{auth-health-C2V2unOG.js → auth-health-C0g38cq2.js} +1 -1
- package/dist/{auth-profiles-DNpEm389.js → auth-profiles-BYETsqKc.js} +1 -1
- package/dist/{auth-profiles-CzyebTC0.js → auth-profiles-DZS4PC_i.js} +1 -1
- package/dist/{auth-profiles-DxPI9Swi.js → auth-profiles-xk_1uopf.js} +2 -2
- package/dist/{auth-store-vxi4ZPnZ.js → auth-store-Bis9WSLR.js} +1 -1
- package/dist/{auto-update-CFjmeMj2.js → auto-update-D5cnVgXE.js} +10 -4
- package/dist/{auto-update-Ct6OO4xu.js → auto-update-DYjBYplz.js} +10 -4
- package/dist/{banner-D3viiyMP.js → banner-CcUSTTQw.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +14 -14
- package/dist/bundled/bootstrap-extra-files/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +4 -4
- package/dist/{call-CItRp_pr.js → call-BBzfZU0_.js} +1 -1
- package/dist/{call-DxImJH07.js → call-LugHQWOF.js} +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-web-DbqT9emt.js → channel-web-BBctXTmi.js} +10 -10
- package/dist/{chunk-B7HJmFUg.js → chunk-Cguey_55.js} +1 -1
- package/dist/{clack-prompter-DzyUpdYc.js → clack-prompter-1d_RjjVW.js} +1 -1
- package/dist/{clack-prompter-DGILBk0Q.js → clack-prompter-S0pujJNH.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CIqM2CiL.js → cli-4D3JIGFt.js} +21 -21
- package/dist/{cli-D3fgTPqQ.js → cli-B2StCcqh.js} +20 -20
- package/dist/{cli-session-C5q6Uryq.js → cli-session-CIhvoVRb.js} +55 -7
- package/dist/{cli-session-DQ9kepDS.js → cli-session-CJ4_a3AU.js} +56 -8
- package/dist/{command-registry-S2ZqFzVe.js → command-registry-D5y3Nn9i.js} +10 -10
- package/dist/{commands-C8xFlkZx.js → commands-BsZdF-6N.js} +1 -1
- package/dist/{commands-Cd2w9dmK.js → commands-quS1zRPr.js} +1 -1
- package/dist/{completion-cli-BHlamZC3.js → completion-cli-CDsbJ-p2.js} +1 -1
- package/dist/{completion-cli-CC0KmaZL.js → completion-cli-CqZwlvs2.js} +2 -2
- package/dist/{config-CaE6v09P.js → config-6zE4ZkSF.js} +2 -2
- package/dist/{config-Bda-8Rdh.js → config-9JRRXykP.js} +2 -2
- package/dist/{config-BEiShGVB.js → config-CrQw7iqE.js} +3 -3
- package/dist/{config-cli-DtJe8KPs.js → config-cli-Brwjz25Y.js} +4 -4
- package/dist/{config-cli-CEU2oLOH.js → config-cli-CaUpfkTl.js} +4 -4
- package/dist/{config-guard-CQWaFJGt.js → config-guard-BUrJR68X.js} +2 -2
- package/dist/{config-guard-a6BWW0DS.js → config-guard-DJ_IK05w.js} +6 -6
- package/dist/{config-sync-DtK8vF0a.js → config-sync-B6XNCiWO.js} +4 -2
- package/dist/{config-sync-DHZT44We.js → config-sync-CVNJhO-W.js} +4 -2
- package/dist/{configure-BwR-MQg6.js → configure-B_PLPDkP.js} +9 -9
- package/dist/{configure-BiIaL4NZ.js → configure-QwZPOdBf.js} +10 -10
- package/dist/{context-Nk3BLa3u.js → context-CsnIPzGP.js} +1 -1
- package/dist/{control-service-CJ2uXWYM.js → control-service-DptjbgYI.js} +2 -2
- package/dist/{control-service-9uTsix_O.js → control-service-dAtxFV2S.js} +2 -2
- package/dist/control-ui/assets/index-CEuStzNh.js +18 -0
- package/dist/control-ui/assets/index-CEuStzNh.js.map +1 -0
- package/dist/control-ui/assets/index-CbNrH7Wu.css +1 -0
- package/dist/control-ui/index.html +20 -0
- package/dist/{cron-cli-Diyg0pr6.js → cron-cli-CpzhiW5t.js} +5 -5
- package/dist/{cron-cli-BoB3GX76.js → cron-cli-DUVPrjk1.js} +5 -5
- package/dist/{daemon-cli-CR7yHMws.js → daemon-cli-CV9nly9k.js} +5 -5
- package/dist/{daemon-cli-CXnpU1lw.js → daemon-cli-tZXFDpZX.js} +5 -5
- package/dist/{daemon-runtime-C-xevhQ5.js → daemon-runtime-Cbi2Ox6g.js} +1 -1
- package/dist/{daemon-runtime-DP9zI3um.js → daemon-runtime-DOk9qM0y.js} +1 -1
- package/dist/{deliver-BJ1xFt2X.js → deliver-Bri9Y1qG.js} +2 -2
- package/dist/{deliver-ZUV32EzH.js → deliver-CkrMkcOx.js} +1 -1
- package/dist/{deliver-TokuvSTy.js → deliver-tQREYhAr.js} +1 -1
- package/dist/{deps-CV9EwaiA.js → deps-DcinYE4_.js} +1 -1
- package/dist/{dispatcher-DT5y2bRx.js → dispatcher-BhzRMibw.js} +1 -1
- package/dist/{dispatcher-DnyO_pzZ.js → dispatcher-CiJKNMU3.js} +1 -1
- package/dist/{dns-cli-Cw0G6u5i.js → dns-cli-B6bcA4-G.js} +3 -3
- package/dist/{dns-cli-CTpT3A5j.js → dns-cli-BvKJGCxL.js} +3 -3
- package/dist/{doctor-a5nLQGbD.js → doctor-BDWGCEMG.js} +19 -19
- package/dist/{doctor-completion-Dnj6NNct.js → doctor-completion-BY4djQTY.js} +1 -1
- package/dist/{doctor-completion-DpxcKMA5.js → doctor-completion-DguJOZqA.js} +1 -1
- package/dist/{doctor-config-flow-D80QIcc-.js → doctor-config-flow-BAntaUow.js} +4 -4
- package/dist/{doctor-config-flow-BZOFJuDW.js → doctor-config-flow-d6ocIX0r.js} +4 -4
- package/dist/{doctor-BRbtvinF.js → doctor-qFADypWz.js} +20 -20
- package/dist/{engine-Df9mQ7es.js → engine-C6iz-qEe.js} +5 -3
- package/dist/{engine-BqAGzYXO.js → engine-CIid6j5k.js} +5 -3
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-cli-BWeKuHMf.js → exec-approvals-cli-COqsRheN.js} +5 -5
- package/dist/{exec-approvals-cli-C5OuptCV.js → exec-approvals-cli-ESNXHzjZ.js} +5 -5
- package/dist/extensionAPI.js +3 -1
- package/dist/{gateway-cli-DpikYazv.js → gateway-cli-B091bAD6.js} +45 -45
- package/dist/{gateway-cli-CLhlz_uA.js → gateway-cli-CUmQFMSU.js} +48 -48
- package/dist/{gateway-rpc-B30vCjdB.js → gateway-rpc-2MG1-jz-.js} +1 -1
- package/dist/{gateway-rpc-CeSf5jMa.js → gateway-rpc-hgK9OB-O.js} +1 -1
- package/dist/{health-1JahEOfG.js → health-27WiwNrh.js} +9 -9
- package/dist/{health-BLxSP-s_.js → health-CH8yZB2L.js} +9 -9
- package/dist/{heartbeat-visibility-CS0wp8uu.js → heartbeat-visibility-Blrqxom1.js} +1 -1
- package/dist/{heartbeat-visibility-DgxM3da_.js → heartbeat-visibility-CDRbkOeP.js} +1 -1
- package/dist/{hooks-cli-B-PZNrq5.js → hooks-cli-C7hx3yOv.js} +22 -22
- package/dist/{hooks-cli-Bb1UXfXv.js → hooks-cli-DBAcPJTk.js} +21 -21
- package/dist/index.js +30 -30
- package/dist/{ipv4-BXko1df7.js → ipv4-sll41DXC.js} +4 -4
- package/dist/{ipv4-BmsAjDnB.js → ipv4-yUiIU5CD.js} +5 -5
- package/dist/llm-slug-generator.js +2 -2
- package/dist/{login-DIm-BAka.js → login-Bdyk0es6.js} +2 -2
- package/dist/{login-jV3UWUGr.js → login-DP5hIYxG.js} +3 -3
- package/dist/{login-DQALESNM.js → login-DcBFdgol.js} +2 -2
- package/dist/{login-qr-BMMUazkr.js → login-qr-CEarfn5e.js} +4 -4
- package/dist/{login-qr-CJXqxq1y.js → login-qr-DOt_1aAq.js} +6 -6
- package/dist/{login-qr-BzS8xa3D.js → login-qr-DQS-8_PV.js} +4 -4
- package/dist/{logs-cli-DHjyZjyi.js → logs-cli-O9Vm67Ps.js} +5 -5
- package/dist/{logs-cli-yKcOyM8n.js → logs-cli-VAcUvvxS.js} +5 -5
- package/dist/{manager-eyHWQVGS.js → manager-1ZMunRXe.js} +2 -2
- package/dist/{manager-I5MlcYXv.js → manager-BVhxScwx.js} +2 -2
- package/dist/{manager-BssWfixS.js → manager-CHN3-66K.js} +4 -4
- package/dist/{memory-cli-hyoQVF7L.js → memory-cli-CDMb58Y3.js} +5 -5
- package/dist/{memory-cli-DQm_Q8ks.js → memory-cli-DEnGCMk0.js} +5 -5
- package/dist/{model-auth-CQNrcIIT.js → model-auth-B3BPcnwt.js} +2 -2
- package/dist/{model-auth-BbZzb3IY.js → model-auth-C4Jglp-Y.js} +2 -2
- package/dist/{model-auth-Cyx2Xoz0.js → model-auth-DUHamQTz.js} +2 -2
- package/dist/{model-selection-CtPzqKKJ.js → model-selection-BsVvfxCt.js} +1 -1
- package/dist/{model-selection-MwLHFnAb.js → model-selection-C2dz3AhV.js} +1 -1
- package/dist/{model-selection-BjcyTJyU.js → model-selection-DJcZ82uR.js} +1 -1
- package/dist/{models-Ca4_dCTC.js → models-B8eCDKpA.js} +26 -26
- package/dist/{node-cli-gop9c9Qq.js → node-cli-BujxFy1-.js} +8 -8
- package/dist/{node-cli-CJ-oQ5U6.js → node-cli-CXUIMB7W.js} +8 -8
- package/dist/{onboard-Dyr-G4cr.js → onboard-B006xiEP.js} +48 -13
- package/dist/{onboard-DbCuaHlU.js → onboard-BqpDno7i.js} +49 -13
- package/dist/{onboard-channels-h35eneL1.js → onboard-channels-BQ5lwRDU.js} +3 -3
- package/dist/{onboard-channels-D_jRjSPh.js → onboard-channels-DUklZSXY.js} +3 -3
- package/dist/{onboard-helpers-CAxb1eBy.js → onboard-helpers-DKu_2enh.js} +5 -4
- package/dist/{onboard-helpers-DVbPW8Cs.js → onboard-helpers-K7wUCSoE.js} +5 -4
- package/dist/{onboarding-Djv0NsZi.js → onboarding-BLFJufto.js} +35 -16
- package/dist/{onboarding-ifLjX4Oc.js → onboarding-DXQ0Qtq6.js} +34 -15
- package/dist/{orchestrator-DeKyZfHL.js → orchestrator-CZ5SiD5l.js} +4 -2
- package/dist/{orchestrator-DAY2aHzl.js → orchestrator-KqoQDkvl.js} +4 -2
- package/dist/{outbound-_KURrkN3.js → outbound-Cf_1Utlz.js} +1 -1
- package/dist/{outbound-DptF-A0k.js → outbound-CwCRq4Cg.js} +1 -1
- package/dist/{outbound-ChmdbJju.js → outbound-DdFghG1N.js} +2 -2
- package/dist/{parse-timeout-ByYuFf-D.js → parse-timeout-DhqvtdXz.js} +1 -1
- package/dist/{parse-timeout-PImvLfCF.js → parse-timeout-qnHqZvCW.js} +1 -1
- package/dist/{paths-BzTTzuSa.js → paths-OaazGgrn.js} +1 -1
- package/dist/{pi-auth-json-Ct4FUjxN.js → pi-auth-json-CYnJfuU-.js} +4 -4
- package/dist/{pi-auth-json-QVWbBbGs.js → pi-auth-json-Crkmg439.js} +3 -3
- package/dist/{pi-auth-json-BvGZollA.js → pi-auth-json-PEKcHBMl.js} +3 -3
- package/dist/{pi-embedded-helpers-BS_VM3j4.js → pi-embedded-helpers-CeMv9QXO.js} +4 -4
- package/dist/{pi-tools.policy-BntNhXqZ.js → pi-tools.policy-BoWzLBtH.js} +3 -3
- package/dist/{pi-tools.policy-pvzE9Rfa.js → pi-tools.policy-ClzqRWic.js} +3 -3
- package/dist/{plugin-auto-enable-j_zHeVf1.js → plugin-auto-enable-BlyqT33k.js} +1 -1
- package/dist/{plugin-auto-enable-BvCuJgmb.js → plugin-auto-enable-Df0BKZyz.js} +1 -1
- package/dist/{plugin-registry-BgzrHeH3.js → plugin-registry-BsdLXCVX.js} +3 -3
- package/dist/{plugin-registry-DurMOI5P.js → plugin-registry-k-cSnXEV.js} +3 -3
- package/dist/plugin-sdk/agents/workspace.d.ts +1 -0
- package/dist/plugin-sdk/index.js +6 -6
- package/dist/{plugins-cli-DJKbvRtd.js → plugins-cli-CXap4R64.js} +22 -22
- package/dist/{plugins-cli-BFJqs061.js → plugins-cli-OPa7o4qd.js} +21 -21
- package/dist/{program-8-GzSO81.js → program-CzWSwu9I.js} +27 -27
- package/dist/{program-context-CC-g5UxM.js → program-context-C8DYJdS-.js} +29 -29
- package/dist/{prompts-BWkFLWEk.js → prompts-Cm8eJ-i3.js} +131 -6
- package/dist/{prompts-CAgrJeru.js → prompts-vr_Njtil.js} +1 -1
- package/dist/{qmd-manager-TUpRgiFa.js → qmd-manager-BD0uCIzM.js} +1 -1
- package/dist/{qmd-manager-NwDwG7DY.js → qmd-manager-CaNCfJK6.js} +1 -1
- package/dist/{qmd-manager-B5wbKcWC.js → qmd-manager-lcdr9Faq.js} +4 -4
- package/dist/{queue-9vTUxVNg.js → queue-CRtO6LOL.js} +3 -1
- package/dist/{queue-R94Bcxk5.js → queue-DMVbLSSW.js} +3 -1
- package/dist/{register.agent-BWl6JYHL.js → register.agent-B_gLj3iW.js} +30 -30
- package/dist/{register.agent-BcxdwhFz.js → register.agent-DY1YeTsP.js} +28 -28
- package/dist/{register.anima-D9CE9aVh.js → register.anima-B0tWw_hC.js} +13 -13
- package/dist/{register.anima-D8cnU8Zq.js → register.anima-CObVi7FQ.js} +13 -13
- package/dist/{register.configure-BQ7viIFW.js → register.configure-BHsLGGdB.js} +29 -29
- package/dist/{register.configure-CWWSJ12h.js → register.configure-De5ZyOFg.js} +32 -32
- package/dist/{register.maintenance-BS36METc.js → register.maintenance-Bcb2lf7H.js} +34 -34
- package/dist/{register.maintenance-BUkkCBQa.js → register.maintenance-DSQmEYe7.js} +31 -31
- package/dist/{register.onboard-CxktbTOi.js → register.onboard-COEVeozO.js} +41 -37
- package/dist/{register.onboard-ks3BprXH.js → register.onboard-DUWYMOX1.js} +37 -33
- package/dist/register.setup-D__YdHzY.js +270 -0
- package/dist/register.setup-fJdxj_9G.js +267 -0
- package/dist/{register.status-health-sessions-Bmgu0PWs.js → register.status-health-sessions-BsGFhOsG.js} +25 -25
- package/dist/{register.status-health-sessions-Cfhab3ds.js → register.status-health-sessions-CP9VvjA9.js} +27 -27
- package/dist/{register.subclis-Cp2R1dTl.js → register.subclis-D2HE_7Rz.js} +20 -20
- package/dist/{reply-F1NR0Mmi.js → reply-B5IU75jY.js} +27 -27
- package/dist/{reply-BWWaNSoB.js → reply-LaOwllAB.js} +28 -28
- package/dist/{reply-prefix-ByFTwsu6.js → reply-prefix-B90kjTag.js} +2 -2
- package/dist/{reply-prefix-Cd1ryhL4.js → reply-prefix-Dl_Gro6x.js} +2 -2
- package/dist/{routes-DdssPiMt.js → routes-Bifu4ATk.js} +2 -2
- package/dist/{routes-TJ5bwx27.js → routes-D7OuiEUz.js} +2 -2
- package/dist/{run-main-Br6uQWzH.js → run-main-BTol0uPD.js} +40 -40
- package/dist/{sandbox-BIZzFPco.js → sandbox-CR2AIW2N.js} +3 -3
- package/dist/{sandbox-cli-DjALBAAV.js → sandbox-cli-CRzBRQ9r.js} +7 -7
- package/dist/{sandbox-cli-DMBBlMK-.js → sandbox-cli-c_HPZNmf.js} +7 -7
- package/dist/{sandbox-hOY3muxh.js → sandbox-wL61f1WP.js} +3 -3
- package/dist/{security-cli-GXZAU0Ax.js → security-cli-CVkFh9a9.js} +10 -10
- package/dist/{security-cli-CsDWYPNG.js → security-cli-DTAzTIiZ.js} +10 -10
- package/dist/{server-context-BW5BY88Y.js → server-context-C2TNamEJ.js} +1 -1
- package/dist/{server-context-C0YSbjOv.js → server-context-CHGGYs6i.js} +1 -1
- package/dist/{server-node-events-DM3CCYrf.js → server-node-events-DMEsGLU8.js} +13 -13
- package/dist/{server-node-events-Byy-Is6v.js → server-node-events-DsfvuRBK.js} +13 -13
- package/dist/{service-audit-u3qzhhqv.js → service-audit-BG0tcSCo.js} +1 -1
- package/dist/{service-audit-CGmQWccK.js → service-audit-DLV93I95.js} +1 -1
- package/dist/{session-BQzzYRDO.js → session-BpAyGjL3.js} +1 -1
- package/dist/{session-ititeJ0j.js → session-ygzMc3r1.js} +4 -4
- package/dist/{sessions-DiW7DuJO.js → sessions-0J_pFd44.js} +1 -1
- package/dist/{sessions-wzfE85C2.js → sessions-C7jYs5Sc.js} +1 -1
- package/dist/{sessions-Bxpm8P5t.js → sessions-CbUTEpMF.js} +4 -4
- package/dist/{shared-DynkOTFs.js → shared-B9kttsme.js} +1 -1
- package/dist/{skills-cli-Dttyzhqz.js → skills-cli-CrB84lEO.js} +3 -3
- package/dist/{skills-cli-DA18YLo4.js → skills-cli-DC6nGiOg.js} +3 -3
- package/dist/{sqlite-Dx5ydniE.js → sqlite-B3u2TqVF.js} +1 -1
- package/dist/{start-BNGlbbt9.js → start-BLi_X68Y.js} +36 -13
- package/dist/{start-DSZJq_zz.js → start-BQfR8aBZ.js} +36 -13
- package/dist/{status-BToHtmWf.js → status-CHuLEuXT.js} +12 -12
- package/dist/{status-QWb0sx59.js → status-CTYln2fY.js} +3 -3
- package/dist/{status-DVYPFs7b.js → status-CzCmUbgr.js} +13 -13
- package/dist/{status-BCbWWHdA.js → status-D5zPydam.js} +3 -3
- package/dist/{status.update-CwIUq3Bq.js → status.update-_DOVm6Tr.js} +1 -1
- package/dist/{status.update-CJR_Zlvb.js → status.update-s92nCoGl.js} +1 -1
- package/dist/{subagent-registry-DEjp4eYh.js → subagent-registry-DQzBrh1E.js} +5 -5
- package/dist/{subagent-registry-BOsyxABV.js → subagent-registry-jwfG4kCT.js} +5 -5
- package/dist/{subagent-registry-DXy6WsnY.js → subagent-registry-xUCd2ZX9.js} +8 -8
- package/dist/{system-cli-CtYpaf1K.js → system-cli-C8kg1fwg.js} +5 -5
- package/dist/{system-cli-BYJicBL3.js → system-cli-CTN9NSfv.js} +5 -5
- package/dist/{tui-Bx6Ty5e9.js → tui--uEeSnES.js} +4 -4
- package/dist/{tui-BbS56NwI.js → tui-DBbVe-hW.js} +4 -4
- package/dist/{tui-cli-BcqM-1Iu.js → tui-cli-CypnMid4.js} +10 -10
- package/dist/{tui-cli-DM2-e45Y.js → tui-cli-De0zVM4-.js} +10 -10
- package/dist/{update-cli-DHCu3Tw_.js → update-cli-C6zUK6ap.js} +38 -38
- package/dist/{update-cli-CzrELkox.js → update-cli-CATjbP1k.js} +41 -41
- package/dist/{update-runner-CBoHuDWR.js → update-runner-B-JShOyr.js} +1 -1
- package/dist/{update-runner-OvETClW6.js → update-runner-O0kK_BAP.js} +1 -1
- package/dist/{usage-ClLnsNuk.js → usage-kmpmqBES.js} +57 -9
- package/dist/{web-DNwUI_-o.js → web-CTS-vEIT.js} +30 -30
- package/dist/{web-B-hsbig8.js → web-DNoikQbD.js} +25 -25
- package/dist/{web-Ci2DZCF7.js → web-EevNfpKp.js} +25 -25
- package/dist/{webhooks-cli-CK3Ooqxg.js → webhooks-cli-BqeMvo07.js} +3 -3
- package/dist/{webhooks-cli-BGo97Z-y.js → webhooks-cli-Cq3eb3vw.js} +3 -3
- package/dist/{whatsapp-actions-C-cAzSXs.js → whatsapp-actions-BkSSHLwM.js} +4 -4
- package/dist/{whatsapp-actions-CFQjbIXn.js → whatsapp-actions-j-5lmC5M.js} +4 -4
- package/dist/{whatsapp-actions-DBSx3VSP.js → whatsapp-actions-qDftmVCc.js} +6 -6
- package/dist/{workspace-BSBhp-B5.js → workspace-CZlo4alz.js} +3 -1
- package/package.json +1 -1
- package/templates/SOUL.md +16 -0
- package/dist/register.setup-CP--HKWT.js +0 -180
- package/dist/register.setup-TUHZSkwM.js +0 -177
- /package/dist/{budget-1SoJncof.js → budget-OJQ-m-_V.js} +0 -0
- /package/dist/{budget-DYeweLNW.js → budget-XH9_9WRg.js} +0 -0
- /package/dist/{config-COtiNNtV.js → config-Btt1rkoB.js} +0 -0
- /package/dist/{input-provenance-MbkIKHHL.js → input-provenance-B0pwc6mp.js} +0 -0
- /package/dist/{registry-Dw31-Q3z.js → registry-6ARhh9Nh.js} +0 -0
- /package/dist/{registry-Bkdrbxa5.js → registry-E-bcMZe2.js} +0 -0
package/dist/build-info.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "../../paths-B-AkG5FD.js";
|
|
2
|
-
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, l as ensureAgentWorkspace, w as normalizeAgentId } from "../../workspace-
|
|
2
|
+
import { E as resolveAgentIdFromSessionKey, T as normalizeMainKey, l as ensureAgentWorkspace, w as normalizeAgentId } from "../../workspace-CZlo4alz.js";
|
|
3
3
|
import { c as DEFAULT_CHAT_CHANNEL, n as defaultRuntime, t as createSubsystemLogger } from "../../subsystem-BlEuMJjX.js";
|
|
4
4
|
import "../../exec-DJTRaYS6.js";
|
|
5
|
-
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-scope-
|
|
5
|
+
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds } from "../../agent-scope-BXuH9s05.js";
|
|
6
6
|
import { s as runEmbeddedPiAgent } from "../../pi-embedded-CVojjlMb.js";
|
|
7
7
|
import { t as formatCliCommand } from "../../command-format-CZk1W3UP.js";
|
|
8
|
-
import "../../auth-store-
|
|
9
|
-
import { Ct as resolveMainSessionKey, St as resolveExplicitAgentSessionKey, _t as resolveSessionResetType, at as updateSessionStore, c as normalizeVerboseLevel, ft as normalizeAccountId, gt as resolveSessionResetPolicy, ht as resolveChannelResetConfig, j as buildWorkspaceSkillSnapshot, jt as SILENT_REPLY_TOKEN, mt as evaluateSessionFreshness, n as formatXHighModelHint, o as normalizeThinkLevel, pt as resolveSessionKey, t as formatThinkingLevels, tt as loadSessionStore, u as supportsXHighThinking } from "../../pi-embedded-helpers-
|
|
10
|
-
import { o as ensureAuthProfileStore } from "../../auth-profiles-
|
|
11
|
-
import { a as modelKey, f as resolveThinkingDefault, h as DEFAULT_PROVIDER, i as isCliProvider, l as resolveConfiguredModelRef, m as DEFAULT_MODEL, o as normalizeModelRef, p as DEFAULT_CONTEXT_TOKENS, t as buildAllowedModelSet } from "../../model-selection-
|
|
8
|
+
import "../../auth-store-Bis9WSLR.js";
|
|
9
|
+
import { Ct as resolveMainSessionKey, St as resolveExplicitAgentSessionKey, _t as resolveSessionResetType, at as updateSessionStore, c as normalizeVerboseLevel, ft as normalizeAccountId, gt as resolveSessionResetPolicy, ht as resolveChannelResetConfig, j as buildWorkspaceSkillSnapshot, jt as SILENT_REPLY_TOKEN, mt as evaluateSessionFreshness, n as formatXHighModelHint, o as normalizeThinkLevel, pt as resolveSessionKey, t as formatThinkingLevels, tt as loadSessionStore, u as supportsXHighThinking } from "../../pi-embedded-helpers-CeMv9QXO.js";
|
|
10
|
+
import { o as ensureAuthProfileStore } from "../../auth-profiles-xk_1uopf.js";
|
|
11
|
+
import { a as modelKey, f as resolveThinkingDefault, h as DEFAULT_PROVIDER, i as isCliProvider, l as resolveConfiguredModelRef, m as DEFAULT_MODEL, o as normalizeModelRef, p as DEFAULT_CONTEXT_TOKENS, t as buildAllowedModelSet } from "../../model-selection-BsVvfxCt.js";
|
|
12
12
|
import { A as normalizeMessageChannel, C as normalizeChannelId, D as isInternalMessageChannel, E as isGatewayMessageChannel, M as resolveMessageChannel, T as isDeliverableMessageChannel, w as INTERNAL_MESSAGE_CHANNEL, x as getChannelPlugin } from "../../image-ops-ZMEg1-kE.js";
|
|
13
|
-
import { n as loadConfig } from "../../config-
|
|
13
|
+
import { n as loadConfig } from "../../config-CrQw7iqE.js";
|
|
14
14
|
import "../../boolean-BsqeuxE6.js";
|
|
15
15
|
import "../../shell-env-5vFwNQcz.js";
|
|
16
|
-
import { n as resolveSessionFilePath, s as resolveStorePath } from "../../paths-
|
|
17
|
-
import { C as setCliSessionId, S as getCliSessionId, _ as runWithModelFallback, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as getSkillsSnapshotVersion, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, tt as clearSessionAuthProfileOverride, u as resolveSendPolicy, w as runCliAgent, y as loadModelCatalog } from "../../usage-
|
|
18
|
-
import { a as resolveAgentTimeoutMs, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, s as AGENT_LANE_SUBAGENT, t as clearAgentRunContext } from "../../agent-events-
|
|
16
|
+
import { n as resolveSessionFilePath, s as resolveStorePath } from "../../paths-OaazGgrn.js";
|
|
17
|
+
import { C as setCliSessionId, S as getCliSessionId, _ as runWithModelFallback, a as lookupContextTokens, d as applyModelOverrideToSessionEntry, f as applyVerboseOverride, h as getSkillsSnapshotVersion, n as deriveSessionTotalTokens, o as resolveOutboundTarget, p as getRemoteSkillEligibility, r as hasNonzeroUsage, s as resolveSessionDeliveryTarget, tt as clearSessionAuthProfileOverride, u as resolveSendPolicy, w as runCliAgent, y as loadModelCatalog } from "../../usage-kmpmqBES.js";
|
|
18
|
+
import { a as resolveAgentTimeoutMs, i as registerAgentRunContext, n as emitAgentEvent, o as AGENT_LANE_NESTED, s as AGENT_LANE_SUBAGENT, t as clearAgentRunContext } from "../../agent-events-BiKKV3wj.js";
|
|
19
19
|
import "../../chrome-C1KpzLwu.js";
|
|
20
20
|
import "../../frontmatter-DDYuWuK5.js";
|
|
21
21
|
import "../../tool-images-2qKyjXUj.js";
|
|
22
|
-
import "../../model-auth-
|
|
23
|
-
import "../../chunk-
|
|
24
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-
|
|
22
|
+
import "../../model-auth-C4Jglp-Y.js";
|
|
23
|
+
import "../../chunk-Cguey_55.js";
|
|
24
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "../../deliver-Bri9Y1qG.js";
|
|
25
25
|
import fs from "node:fs/promises";
|
|
26
26
|
import path from "node:path";
|
|
27
27
|
import crypto from "node:crypto";
|
|
@@ -29,7 +29,7 @@ import crypto from "node:crypto";
|
|
|
29
29
|
//#region src/cli/deps.ts
|
|
30
30
|
function createDefaultDeps() {
|
|
31
31
|
return { sendMessageWhatsApp: async (...args) => {
|
|
32
|
-
const { sendMessageWhatsApp } = await import("../../web-
|
|
32
|
+
const { sendMessageWhatsApp } = await import("../../web-CTS-vEIT.js");
|
|
33
33
|
return await sendMessageWhatsApp(...args);
|
|
34
34
|
} };
|
|
35
35
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../paths-B-AkG5FD.js";
|
|
2
|
-
import { d as loadExtraBootstrapFiles, u as filterBootstrapFilesForSession } from "../../workspace-
|
|
2
|
+
import { d as loadExtraBootstrapFiles, u as filterBootstrapFilesForSession } from "../../workspace-CZlo4alz.js";
|
|
3
3
|
import "../../subsystem-BlEuMJjX.js";
|
|
4
4
|
import "../../exec-DJTRaYS6.js";
|
|
5
5
|
import "../../boolean-BsqeuxE6.js";
|
|
6
6
|
import { n as isAgentBootstrapEvent } from "../../internal-hooks-CmG29WRF.js";
|
|
7
7
|
import "../../frontmatter-DDYuWuK5.js";
|
|
8
|
-
import { t as resolveHookConfig } from "../../config-
|
|
8
|
+
import { t as resolveHookConfig } from "../../config-Btt1rkoB.js";
|
|
9
9
|
|
|
10
10
|
//#region src/hooks/bundled/bootstrap-extra-files/handler.ts
|
|
11
11
|
const HOOK_KEY = "bootstrap-extra-files";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "../../paths-B-AkG5FD.js";
|
|
2
|
-
import { E as resolveAgentIdFromSessionKey } from "../../workspace-
|
|
2
|
+
import { E as resolveAgentIdFromSessionKey } from "../../workspace-CZlo4alz.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "../../subsystem-BlEuMJjX.js";
|
|
4
4
|
import "../../exec-DJTRaYS6.js";
|
|
5
|
-
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-
|
|
5
|
+
import { s as resolveAgentWorkspaceDir } from "../../agent-scope-BXuH9s05.js";
|
|
6
6
|
import { generateSlugViaLLM } from "../../llm-slug-generator.js";
|
|
7
7
|
import "../../boolean-BsqeuxE6.js";
|
|
8
8
|
import "../../frontmatter-DDYuWuK5.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { n as hasInterSessionUserProvenance } from "../../input-provenance-B0pwc6mp.js";
|
|
10
|
+
import { t as resolveHookConfig } from "../../config-Btt1rkoB.js";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
import os from "node:os";
|
|
13
13
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { m as resolveStateDir, o as resolveConfigPath, u as resolveGatewayPort } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { S as shortenHomeInString, b as resolveUserPath, c as ensureDir, t as CONFIG_DIR } from "./utils-RdHkpqQp.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
4
4
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-BuAkHZAk.js";
|
|
5
5
|
import { c as pickPrimaryLanIPv4 } from "./ws-ebl3urqL.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BbkwF58_.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { U as resolveConfigPath, Z as resolveStateDir, q as resolveGatewayPort } from "./entry.js";
|
|
2
2
|
import { s as ensureDir, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
3
|
-
import { i as loadConfig } from "./config-
|
|
3
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
4
4
|
import { Dt as PROTOCOL_VERSION, Ft as loadOrCreateDeviceIdentity, Nt as normalizeFingerprint, t as GatewayClient } from "./client-BsSB9O8y.js";
|
|
5
5
|
import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DXtEiJfL.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-6Ln4eFyX.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c018ec9b765b50eaa3503701d62d736017c3c35a022a33e86f7817f7270dcfd3
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { F as shouldLogVerbose, M as logVerbose, V as getChildLogger, t as createSubsystemLogger, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
|
|
2
2
|
import { E as toWhatsappJid, h as normalizeE164, m as jidToE164, p as isSelfChatMode, r as clamp, w as sleep, y as resolveJidToE164 } from "./utils-RdHkpqQp.js";
|
|
3
|
-
import { H as resolveMessagePrefix, V as resolveIdentityNamePrefix } from "./subagent-registry-
|
|
4
|
-
import { $ as recordChannelActivity, Ct as registerUnhandledRejectionHandler, J as resolveAgentRoute, Z as buildPairingReply, at as createDedupeCache, bt as buildMentionRegexes, ct as formatInboundEnvelope, d as parseActivationCommand, dt as shouldComputeCommandAuthorized, et as shouldAckReactionForWhatsApp, lt as resolveEnvelopeFormatOptions, ot as createInboundDebouncer, q as buildAgentSessionKey, st as resolveInboundDebounceMs, t as getReplyFromConfig, tt as dispatchReplyWithBufferedBlockDispatcher, u as normalizeGroupActivation, ut as hasControlCommand, xt as normalizeMentionText, zt as finalizeInboundContext } from "./reply-
|
|
3
|
+
import { H as resolveMessagePrefix, V as resolveIdentityNamePrefix } from "./subagent-registry-jwfG4kCT.js";
|
|
4
|
+
import { $ as recordChannelActivity, Ct as registerUnhandledRejectionHandler, J as resolveAgentRoute, Z as buildPairingReply, at as createDedupeCache, bt as buildMentionRegexes, ct as formatInboundEnvelope, d as parseActivationCommand, dt as shouldComputeCommandAuthorized, et as shouldAckReactionForWhatsApp, lt as resolveEnvelopeFormatOptions, ot as createInboundDebouncer, q as buildAgentSessionKey, st as resolveInboundDebounceMs, t as getReplyFromConfig, tt as dispatchReplyWithBufferedBlockDispatcher, u as normalizeGroupActivation, ut as hasControlCommand, xt as normalizeMentionText, zt as finalizeInboundContext } from "./reply-B5IU75jY.js";
|
|
5
5
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-DxcgHezu.js";
|
|
6
|
-
import { i as loadConfig } from "./config-
|
|
7
|
-
import { P as resolveGroupSessionKey, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, o as recordSessionMetaFromInbound } from "./sessions-
|
|
6
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
7
|
+
import { P as resolveGroupSessionKey, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, o as recordSessionMetaFromInbound } from "./sessions-0J_pFd44.js";
|
|
8
8
|
import { c as resolveMarkdownTableMode, o as setActiveWebListener, r as loadWebMedia, s as convertMarkdownTables } from "./polls-vAdf9owY.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
10
|
-
import { Kt as enqueueSystemEvent } from "./cli-session-
|
|
11
|
-
import { r as saveMediaBuffer } from "./routes-
|
|
10
|
+
import { Kt as enqueueSystemEvent } from "./cli-session-CIhvoVRb.js";
|
|
11
|
+
import { r as saveMediaBuffer } from "./routes-D7OuiEUz.js";
|
|
12
12
|
import { c as resolveStorePath } from "./paths-CqMZNi-M.js";
|
|
13
13
|
import { c as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, s as resolveChunkMode } from "./chunk-DprzQA5H.js";
|
|
14
|
-
import { d as upsertChannelPairingRequest, l as readChannelAllowFromStore, o as resolveChannelGroupPolicy, s as resolveChannelGroupRequireMention } from "./pi-tools.policy-
|
|
14
|
+
import { d as upsertChannelPairingRequest, l as readChannelAllowFromStore, o as resolveChannelGroupPolicy, s as resolveChannelGroupRequireMention } from "./pi-tools.policy-BoWzLBtH.js";
|
|
15
15
|
import { r as formatDurationPrecise } from "./format-duration-DduItW4_.js";
|
|
16
16
|
import { c as readWebSelfId, n as getWebAuthAgeMs } from "./auth-store-DWgI4Vj8.js";
|
|
17
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
18
|
-
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-
|
|
19
|
-
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-
|
|
17
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-CwCRq4Cg.js";
|
|
18
|
+
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-BpAyGjL3.js";
|
|
19
|
+
import { i as recordPendingHistoryEntryIfEnabled, n as DEFAULT_GROUP_HISTORY_LIMIT, r as buildHistoryContextFromEntries, t as createReplyPrefixOptions } from "./reply-prefix-B90kjTag.js";
|
|
20
20
|
import { n as resolveWhatsAppAccount } from "./accounts-C9dcy8Gp.js";
|
|
21
21
|
import { randomUUID } from "node:crypto";
|
|
22
22
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as theme } from "./entry.js";
|
|
2
2
|
import { t as createCliProgress } from "./progress-DcyA3a5A.js";
|
|
3
3
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-DZq_uOc1.js";
|
|
4
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
4
|
+
import { t as WizardCancelledError } from "./prompts-vr_Njtil.js";
|
|
5
5
|
import { t as note$1 } from "./note-Cdu0wcse.js";
|
|
6
6
|
import { cancel, confirm, intro, isCancel, multiselect, outro, select, spinner, text } from "@clack/prompts";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { B as theme } from "./subsystem-BaJ-PqmA.js";
|
|
2
2
|
import { t as createCliProgress } from "./progress-gdB4V88Q.js";
|
|
3
3
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-CXrnxWQG.js";
|
|
4
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
4
|
+
import { t as WizardCancelledError } from "./prompts-Cm8eJ-i3.js";
|
|
5
5
|
import { t as note$1 } from "./note-CLRVmCnr.js";
|
|
6
6
|
import { cancel, confirm, intro, isCancel, multiselect, outro, select, spinner, text } from "@clack/prompts";
|
|
7
7
|
|
package/dist/cli/daemon-cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Legacy shim for pre-tsdown update-cli imports.
|
|
2
|
-
import * as daemonCli from "../daemon-cli-
|
|
2
|
+
import * as daemonCli from "../daemon-cli-CV9nly9k.js";
|
|
3
3
|
export const registerDaemonCli = daemonCli.t.registerDaemonCli;
|
|
4
4
|
export const runDaemonInstall = async () => { throw new Error("Legacy daemon CLI export \"runDaemonInstall\" is unavailable in this build. Please upgrade Anima."); };
|
|
5
5
|
export const runDaemonRestart = daemonCli.r;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-BYETsqKc.js";
|
|
3
3
|
import "./utils-DwcweD55.js";
|
|
4
4
|
import "./exec-DRQWu5Xi.js";
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
|
|
6
|
+
import "./model-selection-DJcZ82uR.js";
|
|
7
7
|
import "./file-lock-CxXn285m.js";
|
|
8
8
|
import "./agent-paths-CrZhIsTW.js";
|
|
9
9
|
import "./pi-model-discovery-DgwvfEmd.js";
|
|
10
10
|
import "./skills-CG8iI6v6.js";
|
|
11
11
|
import "./manifest-registry-BHcAJo9u.js";
|
|
12
|
-
import { i as loadConfig } from "./config-
|
|
12
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
13
13
|
import "./shell-env-DAw9qXji.js";
|
|
14
14
|
import "./client-BsSB9O8y.js";
|
|
15
|
-
import "./call-
|
|
15
|
+
import "./call-LugHQWOF.js";
|
|
16
16
|
import "./message-channel-6Ln4eFyX.js";
|
|
17
17
|
import "./timeout-BXC4bZck.js";
|
|
18
|
-
import "./sessions-
|
|
19
|
-
import "./subagent-registry-
|
|
18
|
+
import "./sessions-C7jYs5Sc.js";
|
|
19
|
+
import "./subagent-registry-DQzBrh1E.js";
|
|
20
20
|
import "./plugins-Tpy9T9c2.js";
|
|
21
21
|
import "./pi-embedded-helpers-D_ZL9Ofu.js";
|
|
22
|
-
import "./sandbox-
|
|
22
|
+
import "./sandbox-CR2AIW2N.js";
|
|
23
23
|
import "./chrome-uJGz5mgu.js";
|
|
24
24
|
import "./auth-CBxE4UNz.js";
|
|
25
|
-
import "./server-context-
|
|
26
|
-
import "./routes-
|
|
25
|
+
import "./server-context-C2TNamEJ.js";
|
|
26
|
+
import "./routes-Bifu4ATk.js";
|
|
27
27
|
import "./image-ops-CcJOy4db.js";
|
|
28
28
|
import "./ports-Dsm-zUSt.js";
|
|
29
29
|
import "./paths-DqBoV7GZ.js";
|
|
@@ -32,16 +32,16 @@ import "./tokens-RUKWFK24.js";
|
|
|
32
32
|
import "./media-B9MUhrat.js";
|
|
33
33
|
import "./chunk-Cj2sLFwd.js";
|
|
34
34
|
import "./common-CNiE_VZA.js";
|
|
35
|
-
import "./control-service-
|
|
36
|
-
import "./cli-session-
|
|
37
|
-
import { J as loadAnimaPlugins } from "./reply-
|
|
38
|
-
import "./model-auth-
|
|
39
|
-
import "./context-
|
|
40
|
-
import "./parse-timeout-
|
|
41
|
-
import "./deliver-
|
|
42
|
-
import "./pi-tools.policy-
|
|
43
|
-
import "./memory-cli-
|
|
44
|
-
import "./manager-
|
|
35
|
+
import "./control-service-dAtxFV2S.js";
|
|
36
|
+
import "./cli-session-CJ4_a3AU.js";
|
|
37
|
+
import { J as loadAnimaPlugins } from "./reply-LaOwllAB.js";
|
|
38
|
+
import "./model-auth-B3BPcnwt.js";
|
|
39
|
+
import "./context-CsnIPzGP.js";
|
|
40
|
+
import "./parse-timeout-DhqvtdXz.js";
|
|
41
|
+
import "./deliver-CkrMkcOx.js";
|
|
42
|
+
import "./pi-tools.policy-ClzqRWic.js";
|
|
43
|
+
import "./memory-cli-DEnGCMk0.js";
|
|
44
|
+
import "./manager-BVhxScwx.js";
|
|
45
45
|
import "./sqlite-WDviThxg.js";
|
|
46
46
|
import "./redact-hnHuWzNz.js";
|
|
47
47
|
import "./session-BofBojlx.js";
|
|
@@ -52,7 +52,7 @@ import "./links-CyFLSgkY.js";
|
|
|
52
52
|
import "./progress-DcyA3a5A.js";
|
|
53
53
|
import "./logging-DWwOqnTW.js";
|
|
54
54
|
import "./auth-store-BEUCdUFj.js";
|
|
55
|
-
import "./dispatcher-
|
|
55
|
+
import "./dispatcher-BhzRMibw.js";
|
|
56
56
|
import "./delivery-queue-BqJKnOa_.js";
|
|
57
57
|
import "./session-cost-usage-lfPU35Sb.js";
|
|
58
58
|
|
|
@@ -2,44 +2,44 @@ import "./paths-zhVksOvm.js";
|
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
|
|
3
3
|
import "./utils-RdHkpqQp.js";
|
|
4
4
|
import "./pi-embedded-helpers-6Tb87sgU.js";
|
|
5
|
-
import "./subagent-registry-
|
|
6
|
-
import { K as loadAnimaPlugins } from "./reply-
|
|
5
|
+
import "./subagent-registry-jwfG4kCT.js";
|
|
6
|
+
import { K as loadAnimaPlugins } from "./reply-B5IU75jY.js";
|
|
7
7
|
import "./exec-Bsq6vlwp.js";
|
|
8
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
9
|
-
import "./model-selection-
|
|
8
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
|
|
9
|
+
import "./model-selection-C2dz3AhV.js";
|
|
10
10
|
import "./lanes-CjLEc1h9.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
12
12
|
import "./boolean-Wzu0-e0P.js";
|
|
13
13
|
import "./env-CYcXAarB.js";
|
|
14
14
|
import "./shell-env-SbFYz02H.js";
|
|
15
15
|
import "./manifest-registry-DLouWVJe.js";
|
|
16
|
-
import "./sessions-
|
|
16
|
+
import "./sessions-0J_pFd44.js";
|
|
17
17
|
import "./image-ops-CVabMYiY.js";
|
|
18
18
|
import "./polls-vAdf9owY.js";
|
|
19
|
-
import "./auth-profiles-
|
|
19
|
+
import "./auth-profiles-DZS4PC_i.js";
|
|
20
20
|
import "./file-lock-BRW4LeL0.js";
|
|
21
|
-
import "./model-auth-
|
|
22
|
-
import "./cli-session-
|
|
21
|
+
import "./model-auth-DUHamQTz.js";
|
|
22
|
+
import "./cli-session-CIhvoVRb.js";
|
|
23
23
|
import "./tokens-BLOye_TP.js";
|
|
24
|
-
import "./sandbox-
|
|
24
|
+
import "./sandbox-wL61f1WP.js";
|
|
25
25
|
import "./chrome-CVfcErE4.js";
|
|
26
26
|
import "./auth-B8ry4GB_.js";
|
|
27
|
-
import "./server-context-
|
|
27
|
+
import "./server-context-CHGGYs6i.js";
|
|
28
28
|
import "./skills-DsdcfeyV.js";
|
|
29
|
-
import "./routes-
|
|
29
|
+
import "./routes-D7OuiEUz.js";
|
|
30
30
|
import "./ports-CmAt9mb6.js";
|
|
31
31
|
import "./message-channel-BbkwF58_.js";
|
|
32
32
|
import "./plugins-CFb1gJ4N.js";
|
|
33
33
|
import "./paths-CqMZNi-M.js";
|
|
34
34
|
import "./tool-images-C4cophRS.js";
|
|
35
|
-
import "./parse-timeout-
|
|
35
|
+
import "./parse-timeout-qnHqZvCW.js";
|
|
36
36
|
import "./chunk-DprzQA5H.js";
|
|
37
|
-
import "./deliver-
|
|
38
|
-
import "./pi-tools.policy-
|
|
37
|
+
import "./deliver-tQREYhAr.js";
|
|
38
|
+
import "./pi-tools.policy-BoWzLBtH.js";
|
|
39
39
|
import "./client-oEG5cM5Q.js";
|
|
40
|
-
import "./call-
|
|
41
|
-
import "./memory-cli-
|
|
42
|
-
import "./manager-
|
|
40
|
+
import "./call-BBzfZU0_.js";
|
|
41
|
+
import "./memory-cli-CDMb58Y3.js";
|
|
42
|
+
import "./manager-1ZMunRXe.js";
|
|
43
43
|
import "./sqlite-EkbWHNXu.js";
|
|
44
44
|
import "./redact-BICFkpn7.js";
|
|
45
45
|
import "./session-DmKXXA8P.js";
|
|
@@ -51,8 +51,8 @@ import "./links-NgE0SEVZ.js";
|
|
|
51
51
|
import "./progress-gdB4V88Q.js";
|
|
52
52
|
import "./logging-1vypRz8h.js";
|
|
53
53
|
import "./auth-store-DWgI4Vj8.js";
|
|
54
|
-
import "./control-service-
|
|
55
|
-
import "./dispatcher-
|
|
54
|
+
import "./control-service-DptjbgYI.js";
|
|
55
|
+
import "./dispatcher-CiJKNMU3.js";
|
|
56
56
|
import "./pi-model-discovery-HH8RvApN.js";
|
|
57
57
|
import "./delivery-queue-CdUtwMZr.js";
|
|
58
58
|
import "./session-cost-usage-CYdqhmt6.js";
|
|
@@ -5,16 +5,16 @@ import { d as resolveBootstrapMaxChars, f as resolveBootstrapTotalMaxChars, n as
|
|
|
5
5
|
import { c as normalizeAccountId, d as resolveAgentIdFromSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, s as classifySessionKeyShape, u as normalizeMainKey, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-DxcgHezu.js";
|
|
6
6
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-Bsq6vlwp.js";
|
|
7
7
|
import { t as resolveAnimaPackageRoot } from "./anima-root-C5zoPibI.js";
|
|
8
|
-
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-
|
|
9
|
-
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, f as resolveDefaultModelForAgent, g as DEFAULT_CONTEXT_TOKENS, m as resolveModelRefFromString, n as buildConfiguredAllowlistKeys, o as modelKey, r as buildModelAliasIndex, s as normalizeModelRef, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
8
|
+
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-vpVhWds3.js";
|
|
9
|
+
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, f as resolveDefaultModelForAgent, g as DEFAULT_CONTEXT_TOKENS, m as resolveModelRefFromString, n as buildConfiguredAllowlistKeys, o as modelKey, r as buildModelAliasIndex, s as normalizeModelRef, v as DEFAULT_PROVIDER } from "./model-selection-C2dz3AhV.js";
|
|
10
10
|
import { d as resolveHeartbeatPrompt } from "./lanes-CjLEc1h9.js";
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
11
|
+
import { i as loadConfig } from "./config-9JRRXykP.js";
|
|
12
12
|
import { t as isTruthyEnvValue } from "./env-CYcXAarB.js";
|
|
13
|
-
import { D as resolveAgentMainSessionKey, E as canonicalizeMainSessionAlias, N as buildGroupDisplayName, R as normalizeChatType, T as resolveFreshSessionTotalTokens, d as deliveryContextFromSession, h as normalizeSessionDeliveryFields, i as loadSessionStore, k as resolveMainSessionKey, l as updateSessionStore } from "./sessions-
|
|
13
|
+
import { D as resolveAgentMainSessionKey, E as canonicalizeMainSessionAlias, N as buildGroupDisplayName, R as normalizeChatType, T as resolveFreshSessionTotalTokens, d as deliveryContextFromSession, h as normalizeSessionDeliveryFields, i as loadSessionStore, k as resolveMainSessionKey, l as updateSessionStore } from "./sessions-0J_pFd44.js";
|
|
14
14
|
import { c as getFileExtension, f as normalizeMimeType } from "./image-ops-CVabMYiY.js";
|
|
15
15
|
import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
|
|
16
|
-
import { l as ensureAuthProfileStore, n as resolveAuthProfileOrder, p as resolveAnimaAgentDir, r as isProfileInCooldown } from "./auth-profiles-
|
|
17
|
-
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-
|
|
16
|
+
import { l as ensureAuthProfileStore, n as resolveAuthProfileOrder, p as resolveAnimaAgentDir, r as isProfileInCooldown } from "./auth-profiles-DZS4PC_i.js";
|
|
17
|
+
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-DUHamQTz.js";
|
|
18
18
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-BLOye_TP.js";
|
|
19
19
|
import { c as safeEqualSecret } from "./auth-B8ry4GB_.js";
|
|
20
20
|
import { i as loadWorkspaceSkillEntries, o as resolvePluginSkillDirs } from "./skills-DsdcfeyV.js";
|
|
@@ -84,7 +84,7 @@ async function loadModelCatalog(params) {
|
|
|
84
84
|
});
|
|
85
85
|
try {
|
|
86
86
|
await ensureAnimaModelsJson(params?.config ?? loadConfig());
|
|
87
|
-
await (await import("./pi-auth-json-
|
|
87
|
+
await (await import("./pi-auth-json-PEKcHBMl.js")).ensurePiAuthJsonFromAuthProfiles(resolveAnimaAgentDir());
|
|
88
88
|
const piSdk = await importPiSdk();
|
|
89
89
|
const agentDir = resolveAnimaAgentDir();
|
|
90
90
|
const { join } = await import("node:path");
|
|
@@ -4256,6 +4256,48 @@ function buildVoiceSection(params) {
|
|
|
4256
4256
|
""
|
|
4257
4257
|
];
|
|
4258
4258
|
}
|
|
4259
|
+
function buildNoxsoftMissionSection(params) {
|
|
4260
|
+
if (params.isMinimal) return [];
|
|
4261
|
+
const scope = `${params.workspaceDir} ${params.repoRoot ?? ""}`.toLowerCase();
|
|
4262
|
+
if (!(scope.includes("noxsoft") || scope.includes("/desktop/hell") || scope.includes("/hell/"))) return [];
|
|
4263
|
+
return [
|
|
4264
|
+
"## NoxSoft Mission Mode",
|
|
4265
|
+
"Primary directive: deliver the full NoxSoft vision as complete, production-grade code through ANIMA orchestration.",
|
|
4266
|
+
"Always prioritize truthful progress over performative progress.",
|
|
4267
|
+
"- Keep communication active via NoxSoft tools/channels where available; coordinate with other AI agents through ANIMA messaging/subagents.",
|
|
4268
|
+
"- Keep heartbeat continuity alive. Do not disable heartbeat flows unless the user explicitly asks.",
|
|
4269
|
+
"- Prefer dual-CLI operability (Codex CLI + Claude CLI) for heartbeat and orchestration workflows where both are available.",
|
|
4270
|
+
"- For substantial initiatives, ensure role coverage with a coordinated team:",
|
|
4271
|
+
" - cybersecurity",
|
|
4272
|
+
" - strict code reviewer",
|
|
4273
|
+
" - 20x implementation",
|
|
4274
|
+
" - creative UI/UX",
|
|
4275
|
+
" - tester/verification",
|
|
4276
|
+
"- Require a GC (group coordination) record and file-managed artifacts for each role before finalizing.",
|
|
4277
|
+
"- Test integrity is mandatory: no fake pass states, no silent test weakening, no edits that hide real failures.",
|
|
4278
|
+
"- Continuously streamline ANIMA into a coherent NoxSoft product and remove legacy branding from active runtime UX and prompts.",
|
|
4279
|
+
""
|
|
4280
|
+
];
|
|
4281
|
+
}
|
|
4282
|
+
function buildSystemsThinkingSection(params) {
|
|
4283
|
+
if (params.isMinimal) return [
|
|
4284
|
+
"## Systems Thinking",
|
|
4285
|
+
"- Define boundary, loops, and delays before proposing changes.",
|
|
4286
|
+
"- Check second-order effects and include guardrails.",
|
|
4287
|
+
""
|
|
4288
|
+
];
|
|
4289
|
+
return [
|
|
4290
|
+
"## Systems Thinking",
|
|
4291
|
+
"Use systems thinking by default for non-trivial work:",
|
|
4292
|
+
"- Define system boundary and key actors before acting.",
|
|
4293
|
+
"- Identify reinforcing and balancing feedback loops.",
|
|
4294
|
+
"- Account for delays, constraints, and incentives.",
|
|
4295
|
+
"- Prefer leverage points (information flows, rules, goals) over brute-force output pushes.",
|
|
4296
|
+
"- Evaluate second-order effects and likely regressions before recommending interventions.",
|
|
4297
|
+
"- Define metrics and feedback cadence so interventions can be adapted quickly.",
|
|
4298
|
+
""
|
|
4299
|
+
];
|
|
4300
|
+
}
|
|
4259
4301
|
function buildDocsSection(params) {
|
|
4260
4302
|
const docsPath = params.docsPath?.trim();
|
|
4261
4303
|
if (!docsPath || params.isMinimal) return [];
|
|
@@ -4442,7 +4484,13 @@ function buildAgentSystemPrompt(params) {
|
|
|
4442
4484
|
"Keep narration brief and value-dense; avoid repeating obvious steps.",
|
|
4443
4485
|
"Use plain human language for narration unless in a technical context.",
|
|
4444
4486
|
"",
|
|
4487
|
+
...buildNoxsoftMissionSection({
|
|
4488
|
+
isMinimal,
|
|
4489
|
+
workspaceDir: params.workspaceDir,
|
|
4490
|
+
repoRoot: runtimeInfo?.repoRoot
|
|
4491
|
+
}),
|
|
4445
4492
|
...safetySection,
|
|
4493
|
+
...buildSystemsThinkingSection({ isMinimal }),
|
|
4446
4494
|
"## ANIMA CLI Quick Reference",
|
|
4447
4495
|
"ANIMA is controlled via subcommands. Do not invent commands.",
|
|
4448
4496
|
"To manage the Gateway daemon service (start/stop/restart):",
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { D as shouldLogVerbose, Tt as resolveRequiredHomeDir, Z as resolveStateDir, n as isTruthyEnvValue, o as createSubsystemLogger, w as logVerbose } from "./entry.js";
|
|
2
|
-
import { l as ensureAuthProfileStore, n as resolveAuthProfileOrder, r as isProfileInCooldown } from "./auth-profiles-
|
|
2
|
+
import { l as ensureAuthProfileStore, n as resolveAuthProfileOrder, r as isProfileInCooldown } from "./auth-profiles-BYETsqKc.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
|
|
4
4
|
import { c as normalizeAccountId, d as resolveAgentIdFromSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, s as classifySessionKeyShape, u as normalizeMainKey, v as isCronRunSessionKey, x as parseAgentSessionKey } from "./session-key-DP2WHl90.js";
|
|
5
5
|
import { c as escapeRegExp, d as isRecord, t as CONFIG_DIR, y as resolveUserPath } from "./utils-DwcweD55.js";
|
|
6
6
|
import { n as runExec, t as runCommandWithTimeout } from "./exec-DRQWu5Xi.js";
|
|
7
7
|
import { t as resolveAnimaPackageRoot } from "./anima-root-DBcJL1ZM.js";
|
|
8
|
-
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-
|
|
9
|
-
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, f as resolveDefaultModelForAgent, g as DEFAULT_CONTEXT_TOKENS, m as resolveModelRefFromString, n as buildConfiguredAllowlistKeys, o as modelKey, r as buildModelAliasIndex, s as normalizeModelRef, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
8
|
+
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-M302b8FW.js";
|
|
9
|
+
import { _ as DEFAULT_MODEL, c as normalizeProviderId, d as resolveConfiguredModelRef, f as resolveDefaultModelForAgent, g as DEFAULT_CONTEXT_TOKENS, m as resolveModelRefFromString, n as buildConfiguredAllowlistKeys, o as modelKey, r as buildModelAliasIndex, s as normalizeModelRef, v as DEFAULT_PROVIDER } from "./model-selection-DJcZ82uR.js";
|
|
10
10
|
import { t as resolveAnimaAgentDir } from "./agent-paths-CrZhIsTW.js";
|
|
11
11
|
import { i as loadWorkspaceSkillEntries, o as resolvePluginSkillDirs } from "./skills-CG8iI6v6.js";
|
|
12
|
-
import { i as loadConfig } from "./config-
|
|
12
|
+
import { i as loadConfig } from "./config-6zE4ZkSF.js";
|
|
13
13
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-6Ln4eFyX.js";
|
|
14
14
|
import { n as hasInterSessionUserProvenance } from "./input-provenance-iu26y0GH.js";
|
|
15
15
|
import { s as resolveHeartbeatPrompt } from "./timeout-BXC4bZck.js";
|
|
16
|
-
import { A as buildGroupDisplayName, I as normalizeSessionDeliveryFields, M as deliveryContextFromSession, S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore, k as normalizeChatType, l as updateSessionStore, v as resolveFreshSessionTotalTokens, y as canonicalizeMainSessionAlias } from "./sessions-
|
|
16
|
+
import { A as buildGroupDisplayName, I as normalizeSessionDeliveryFields, M as deliveryContextFromSession, S as resolveMainSessionKey, b as resolveAgentMainSessionKey, i as loadSessionStore, k as normalizeChatType, l as updateSessionStore, v as resolveFreshSessionTotalTokens, y as canonicalizeMainSessionAlias } from "./sessions-C7jYs5Sc.js";
|
|
17
17
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
|
|
18
18
|
import { C as resolveBootstrapTotalMaxChars, S as resolveBootstrapMaxChars, _ as isFailoverErrorMessage, l as normalizeVerboseLevel, p as classifyFailoverReason, v as isLikelyContextOverflowError, x as buildBootstrapContextFiles } from "./pi-embedded-helpers-D_ZL9Ofu.js";
|
|
19
19
|
import { c as safeEqualSecret } from "./auth-CBxE4UNz.js";
|
|
20
20
|
import { c as getFileExtension, f as normalizeMimeType } from "./image-ops-CcJOy4db.js";
|
|
21
21
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath } from "./paths-DqBoV7GZ.js";
|
|
22
22
|
import { n as SILENT_REPLY_TOKEN } from "./tokens-RUKWFK24.js";
|
|
23
|
-
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-
|
|
24
|
-
import { n as ensureAnimaModelsJson, t as lookupContextTokens } from "./context-
|
|
23
|
+
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-B3BPcnwt.js";
|
|
24
|
+
import { n as ensureAnimaModelsJson, t as lookupContextTokens } from "./context-CsnIPzGP.js";
|
|
25
25
|
import { n as extractToolCallNames, r as hasToolCall } from "./transcript-tools-DbBq3Q5d.js";
|
|
26
26
|
import { execSync, spawn } from "node:child_process";
|
|
27
27
|
import os, { tmpdir } from "node:os";
|
|
@@ -125,7 +125,7 @@ async function loadModelCatalog(params) {
|
|
|
125
125
|
});
|
|
126
126
|
try {
|
|
127
127
|
await ensureAnimaModelsJson(params?.config ?? loadConfig());
|
|
128
|
-
await (await import("./pi-auth-json-
|
|
128
|
+
await (await import("./pi-auth-json-Crkmg439.js")).ensurePiAuthJsonFromAuthProfiles(resolveAnimaAgentDir());
|
|
129
129
|
const piSdk = await importPiSdk();
|
|
130
130
|
const agentDir = resolveAnimaAgentDir();
|
|
131
131
|
const { join } = await import("node:path");
|
|
@@ -4202,6 +4202,48 @@ function buildVoiceSection(params) {
|
|
|
4202
4202
|
""
|
|
4203
4203
|
];
|
|
4204
4204
|
}
|
|
4205
|
+
function buildNoxsoftMissionSection(params) {
|
|
4206
|
+
if (params.isMinimal) return [];
|
|
4207
|
+
const scope = `${params.workspaceDir} ${params.repoRoot ?? ""}`.toLowerCase();
|
|
4208
|
+
if (!(scope.includes("noxsoft") || scope.includes("/desktop/hell") || scope.includes("/hell/"))) return [];
|
|
4209
|
+
return [
|
|
4210
|
+
"## NoxSoft Mission Mode",
|
|
4211
|
+
"Primary directive: deliver the full NoxSoft vision as complete, production-grade code through ANIMA orchestration.",
|
|
4212
|
+
"Always prioritize truthful progress over performative progress.",
|
|
4213
|
+
"- Keep communication active via NoxSoft tools/channels where available; coordinate with other AI agents through ANIMA messaging/subagents.",
|
|
4214
|
+
"- Keep heartbeat continuity alive. Do not disable heartbeat flows unless the user explicitly asks.",
|
|
4215
|
+
"- Prefer dual-CLI operability (Codex CLI + Claude CLI) for heartbeat and orchestration workflows where both are available.",
|
|
4216
|
+
"- For substantial initiatives, ensure role coverage with a coordinated team:",
|
|
4217
|
+
" - cybersecurity",
|
|
4218
|
+
" - strict code reviewer",
|
|
4219
|
+
" - 20x implementation",
|
|
4220
|
+
" - creative UI/UX",
|
|
4221
|
+
" - tester/verification",
|
|
4222
|
+
"- Require a GC (group coordination) record and file-managed artifacts for each role before finalizing.",
|
|
4223
|
+
"- Test integrity is mandatory: no fake pass states, no silent test weakening, no edits that hide real failures.",
|
|
4224
|
+
"- Continuously streamline ANIMA into a coherent NoxSoft product and remove legacy branding from active runtime UX and prompts.",
|
|
4225
|
+
""
|
|
4226
|
+
];
|
|
4227
|
+
}
|
|
4228
|
+
function buildSystemsThinkingSection(params) {
|
|
4229
|
+
if (params.isMinimal) return [
|
|
4230
|
+
"## Systems Thinking",
|
|
4231
|
+
"- Define boundary, loops, and delays before proposing changes.",
|
|
4232
|
+
"- Check second-order effects and include guardrails.",
|
|
4233
|
+
""
|
|
4234
|
+
];
|
|
4235
|
+
return [
|
|
4236
|
+
"## Systems Thinking",
|
|
4237
|
+
"Use systems thinking by default for non-trivial work:",
|
|
4238
|
+
"- Define system boundary and key actors before acting.",
|
|
4239
|
+
"- Identify reinforcing and balancing feedback loops.",
|
|
4240
|
+
"- Account for delays, constraints, and incentives.",
|
|
4241
|
+
"- Prefer leverage points (information flows, rules, goals) over brute-force output pushes.",
|
|
4242
|
+
"- Evaluate second-order effects and likely regressions before recommending interventions.",
|
|
4243
|
+
"- Define metrics and feedback cadence so interventions can be adapted quickly.",
|
|
4244
|
+
""
|
|
4245
|
+
];
|
|
4246
|
+
}
|
|
4205
4247
|
function buildDocsSection(params) {
|
|
4206
4248
|
const docsPath = params.docsPath?.trim();
|
|
4207
4249
|
if (!docsPath || params.isMinimal) return [];
|
|
@@ -4388,7 +4430,13 @@ function buildAgentSystemPrompt(params) {
|
|
|
4388
4430
|
"Keep narration brief and value-dense; avoid repeating obvious steps.",
|
|
4389
4431
|
"Use plain human language for narration unless in a technical context.",
|
|
4390
4432
|
"",
|
|
4433
|
+
...buildNoxsoftMissionSection({
|
|
4434
|
+
isMinimal,
|
|
4435
|
+
workspaceDir: params.workspaceDir,
|
|
4436
|
+
repoRoot: runtimeInfo?.repoRoot
|
|
4437
|
+
}),
|
|
4391
4438
|
...safetySection,
|
|
4439
|
+
...buildSystemsThinkingSection({ isMinimal }),
|
|
4392
4440
|
"## ANIMA CLI Quick Reference",
|
|
4393
4441
|
"ANIMA is controlled via subcommands. Do not invent commands.",
|
|
4394
4442
|
"To manage the Gateway daemon service (start/stop/restart):",
|