@noxsoft/anima 5.0.1 → 5.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-BOkEyUcS.js → accounts-DjjQHOIW.js} +5 -5
- package/dist/{accounts-CVmv61PJ.js → accounts-Dzi6Ld7X.js} +2 -2
- package/dist/{acp-cli-C8aBckv5.js → acp-cli-I-yv1f5O.js} +15 -15
- package/dist/{acp-cli-BcshtFqY.js → acp-cli-QBd9GLqD.js} +3 -3
- package/dist/{agent-Cil6Zvns.js → agent-B3KeHK1A.js} +9 -9
- package/dist/{agent-c49U1LxE.js → agent-fG1PVmNy.js} +16 -16
- package/dist/{agent-scope-DICrDp7Y.js → agent-scope-BHR6uOLT.js} +2 -2
- package/dist/{agent-scope-BLiq3nK_.js → agent-scope-ryeVDUKe.js} +2 -2
- package/dist/{agents-2BloqCjm.js → agents-DY5ZtGB2.js} +9 -9
- package/dist/{agents.config-Bqr5rrkV.js → agents.config-DmF0fsB6.js} +1 -1
- package/dist/{anthropic-direct-runner-mh6c_WBB.js → anthropic-direct-runner-BJosFvVm.js} +41 -18
- package/dist/{anthropic-direct-runner-BVlO2Vi5.js → anthropic-direct-runner-BXb24VJt.js} +50 -27
- package/dist/{audit-BbmRSFjf.js → audit-BTMmL_HS.js} +5 -5
- package/dist/{audit-DegswVkZ.js → audit-qHMf9jWY.js} +16 -16
- package/dist/{auth-Cs_c5TKt.js → auth-DQfFqQBz.js} +3 -3
- package/dist/{auth-choice-BVAMr2Dk.js → auth-choice-BoyT3ahK.js} +60 -8
- package/dist/{auth-health-D0VUH0FQ.js → auth-health-BcABdgUT.js} +1 -1
- package/dist/{auth-profiles-k5IOWaG2.js → auth-profiles-BF5x9Ej0.js} +1 -1
- package/dist/{auth-profiles-BhZX2spm.js → auth-profiles-C_LmTbMb.js} +5 -5
- package/dist/{auth-profiles-Chf1JBpl.js → auth-profiles-Da39zGOD.js} +4 -4
- package/dist/{auth-store-D0vDEvCx.js → auth-store-CXZzirrJ.js} +3 -3
- package/dist/{auth-store-BMwyg-WK.js → auth-store-DTpDRu--.js} +3 -3
- package/dist/{banner-CgxCSS-T.js → banner-CJVa8aiZ.js} +1 -1
- package/dist/{bonjour-discovery-DaCmsB4i.js → bonjour-discovery-B3IeIN1u.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +22 -22
- package/dist/bundled/bootstrap-extra-files/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +19 -19
- package/dist/{call-Z_GCO8CL.js → call-BKsdSTVf.js} +1 -1
- package/dist/{call-BOwaQIXo.js → call-C3CH9PNK.js} +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{catalog-B-pfqu76.js → catalog-3hzXhHxJ.js} +2 -2
- package/dist/{channel-web-Y8i3EzJq.js → channel-web-Df3Ay9v7.js} +18 -18
- package/dist/{channels-status-issues-DenKLCLq.js → channels-status-issues-D5XAOSaj.js} +4 -4
- package/dist/{chrome-C3-muxXb.js → chrome-CLhrEjgx.js} +4 -4
- package/dist/{chrome-Cxl7I5SB.js → chrome-CkSIMI7j.js} +2 -2
- package/dist/{chunk-DGg8zCWl.js → chunk-Dq7ILx_r.js} +2 -2
- package/dist/{chunk-DFCmYqgJ.js → chunk-fcLG1hME.js} +1 -1
- package/dist/{clack-prompter-CCRr4nAr.js → clack-prompter-DmD_A7en.js} +5 -5
- package/dist/{clack-prompter-B-ZJG628.js → clack-prompter-bl-Zsxpq.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-C3uw3mId.js → cli-0-FvuyBX.js} +22 -22
- package/dist/cli-CLVEx1Po.js +104 -0
- package/dist/{cli-session-BzZYmGP1.js → cli-session-CmX1oA1T.js} +7 -7
- package/dist/{cli-session-DgUHOBYo.js → cli-session-gR2abU0g.js} +16 -16
- package/dist/{client-BObcTF_9.js → client-BT3pbXCv.js} +3 -3
- package/dist/{command-registry-DLofaVIN.js → command-registry-C3SmyTQU.js} +12 -12
- package/dist/{common-k1Cu8adj.js → common-Bi43BlMQ.js} +2 -2
- package/dist/{common-Cd7BmlCQ.js → common-CSTOiddD.js} +2 -2
- package/dist/{completion-cli-C9KvX2ZF.js → completion-cli-308M08su.js} +2 -2
- package/dist/{completion-cli-3eYvtAih.js → completion-cli-D7gWcWEj.js} +3 -3
- package/dist/{config-B-9UciOO.js → config-BfhpauV9.js} +6 -6
- package/dist/{config-CG7uuHNE.js → config-Dk-5Mb_G.js} +6 -6
- package/dist/{config-D6D_ieel.js → config-Ofh9gKvs.js} +1 -1
- package/dist/config-cli-CajDGi9m.js +15 -0
- package/dist/{config-cli-CBXWDtvj.js → config-cli-De0z7mvk.js} +3 -3
- package/dist/{config-guard-BT3OoaEu.js → config-guard-BnkobgvR.js} +21 -21
- package/dist/{config-guard-qiKju2Fg.js → config-guard-DlOs5hMU.js} +2 -2
- package/dist/{configure-jlAKeuki.js → configure-BXK8YRUD.js} +32 -32
- package/dist/{configure-CH_-SNya.js → configure-Caf6yI_m.js} +24 -24
- package/dist/{configure-Dpk4lSoz.js → configure-DS9oQW51.js} +78 -78
- package/dist/{configure-CGTBBLR_.js → configure-DgXRL7Uz.js} +9 -9
- package/dist/{context-Cau0zD3W.js → context-BZV-msqG.js} +1 -1
- package/dist/{control-service-DMoq3DpT.js → control-service-BFYEuU-S.js} +5 -5
- package/dist/{control-service-CUhnhmpc.js → control-service-DUF4hGd3.js} +2 -2
- package/dist/{cron-cli-CKs1evSF.js → cron-cli-BglUapfu.js} +4 -4
- package/dist/{cron-cli-ybIqf_95.js → cron-cli-OHSsCpVe.js} +16 -16
- package/dist/{daemon-cli-C5Tosclk.js → daemon-cli-B2UGyc5z.js} +19 -19
- package/dist/{daemon-cli-CSCFNzUo.js → daemon-cli-CO-1GTE_.js} +5 -5
- package/dist/daemon-cli.js +58 -1
- package/dist/{daemon-runtime-B9AywEma.js → daemon-runtime-BsUCg0Nr.js} +3 -3
- package/dist/{daemon-runtime-DpY6Y5qE.js → daemon-runtime-cGQoReHT.js} +1 -1
- package/dist/{deliver-DkF6LCoS.js → deliver-CoAOvyW0.js} +1 -1
- package/dist/{deliver-BYxbDIF0.js → deliver-DhQSpWQA.js} +4 -4
- package/dist/{deliver-B2p9Fke_.js → deliver-DvbZ8dp4.js} +6 -6
- package/dist/{deps-D9266xfk.js → deps-CCbWMWT4.js} +1 -1
- package/dist/{diagnostics-TXSvtpaq.js → diagnostics-CtqVmSaZ.js} +1 -1
- package/dist/{dispatcher-DG44QJKz.js → dispatcher-C4k9ABOv.js} +2 -2
- package/dist/{dispatcher-BeO47t7A.js → dispatcher-N_4IYF9I.js} +1 -1
- package/dist/{dns-cli-BklOUsrX.js → dns-cli-DJ8mwzgA.js} +2 -2
- package/dist/{dns-cli-Dq98107U.js → dns-cli-Dk48S2y7.js} +13 -13
- package/dist/{docs-cli-CehJ2v5M.js → docs-cli-BvBEqoCl.js} +7 -7
- package/dist/{doctor-DJfgnQ67.js → doctor-9cbiXykn.js} +19 -19
- package/dist/{doctor-CWmHUAjs.js → doctor-C_1WNQix.js} +40 -40
- package/dist/{doctor-completion-CmJmktDv.js → doctor-completion-B1cKYcZj.js} +1 -1
- package/dist/{doctor-completion-CtCwd1fi.js → doctor-completion-D7uvGhAv.js} +3 -3
- package/dist/{doctor-config-flow-D0GgdMmi.js → doctor-config-flow-Bno6wZvG.js} +7 -7
- package/dist/{doctor-config-flow-D_8YNTSK.js → doctor-config-flow-rshwu4JS.js} +3 -3
- package/dist/entry.js +59 -2
- package/dist/{env-T3-raV4i.js → env-CLiKFfXU.js} +1 -1
- package/dist/{exec-DbnX_71w.js → exec-Bo7Vwe77.js} +1 -1
- package/dist/{exec-DnanRQle.js → exec-CEFTijVj.js} +1 -1
- package/dist/{exec-approvals-cli-B7hQEhGe.js → exec-approvals-cli-CRqO-FRn.js} +19 -19
- package/dist/{exec-approvals-cli-CcY7IQWQ.js → exec-approvals-cli-i_Bmu0zE.js} +4 -4
- package/dist/extensionAPI.js +1535 -315
- package/dist/{frontmatter-BmBmtOUh.js → frontmatter-Dsa7N963.js} +1 -1
- package/dist/{gateway-cli-DYrzIvOE.js → gateway-cli-CBmfvcpr.js} +99 -99
- package/dist/{gateway-cli-BazTmg20.js → gateway-cli-CufIzw2K.js} +43 -43
- package/dist/{gateway-rpc-LkRV5joR.js → gateway-rpc-BX-Pz0j8.js} +3 -3
- package/dist/{gateway-rpc-De-TWFvD.js → gateway-rpc-BvqpdNqp.js} +1 -1
- package/dist/{gmail-setup-utils-B4oMbrOI.js → gmail-setup-utils-B-LgbK-5.js} +3 -3
- package/dist/{health-BRSKF_iF.js → health-BVBoq6jM.js} +10 -10
- package/dist/{health-JqtB_B8C.js → health-DKC8u4W8.js} +18 -18
- package/dist/{health-format-Ojy0hLp3.js → health-format-DHYaqzgj.js} +2 -2
- package/dist/{heartbeat-visibility-BGj2czmk.js → heartbeat-visibility-CF3WzMM0.js} +2 -2
- package/dist/{heartbeat-visibility-pyFf6XBW.js → heartbeat-visibility-CUKC8xqZ.js} +2 -2
- package/dist/{help-format-BZ7j9sHT.js → help-format-mLYxJ3oD.js} +1 -1
- package/dist/{hooks-cli-B7g3jEC3.js → hooks-cli-BHO_BQFY.js} +23 -23
- package/dist/{hooks-cli-ZK4Z044T.js → hooks-cli-kLrFK7pV.js} +57 -57
- package/dist/{hooks-status-DR_WkhpR.js → hooks-status-CfvVr6eJ.js} +3 -3
- package/dist/{image-ops-B7tKwzpV.js → image-ops-C_aRXc-7.js} +1 -1
- package/dist/index.js +69 -69
- package/dist/{installs-BxZFjTKY.js → installs-DW-ErO4y.js} +5 -5
- package/dist/{lanes-DyM6NSSL.js → lanes-CrNcoc6P.js} +480 -163
- package/dist/{lifecycle-core-CHv9wUhV.js → lifecycle-core-DWESti3N.js} +6 -6
- package/dist/{links-CziCxopc.js → links-C4Hwnnc9.js} +1 -1
- package/dist/llm-slug-generator.js +17 -17
- package/dist/{logging-Dwz0XtXm.js → logging-CnEuyIPZ.js} +1 -1
- package/dist/{login-BvRe8YZ9.js → login-CY9_XaLc.js} +7 -7
- package/dist/{login-BbfWLOBl.js → login-Dj6hCAFK.js} +5 -5
- package/dist/{login-DevThvtW.js → login-Ga69_Kio.js} +2 -2
- package/dist/{login-qr-FDWY-tu5.js → login-qr-BYeWGzxI.js} +12 -12
- package/dist/{login-qr-BqhujMcQ.js → login-qr-DD1apkdT.js} +10 -10
- package/dist/{login-qr-BkpIGqae.js → login-qr-swgX7elR.js} +3 -3
- package/dist/{logs-cli-CiMRc2qL.js → logs-cli-D02oahhw.js} +4 -4
- package/dist/{logs-cli-CsfmPUwa.js → logs-cli-DAVu9h8p.js} +16 -16
- package/dist/{manager-CcawxgaC.js → manager-CLAy-qOR.js} +10 -10
- package/dist/{manager-v4S80Br3.js → manager-DQPfk6Ea.js} +12 -12
- package/dist/{manager-DS1DfkbC.js → manager-yWxV2UI_.js} +1 -1
- package/dist/{manifest-registry-BiGCvMJ8.js → manifest-registry-BJat2nhC.js} +1 -1
- package/dist/{memory-cli-wDO418hx.js → memory-cli-B8AsIRG3.js} +3 -3
- package/dist/{memory-cli-Cl2n9UtH.js → memory-cli-bA70cVlm.js} +12 -12
- package/dist/{message-channel-DuxJGOJz.js → message-channel-C5I8UgGH.js} +1 -1
- package/dist/{model-auth-Ja4oelNH.js → model-auth-Be3_KahV.js} +2 -2
- package/dist/{model-auth-DVG37yXU.js → model-auth-DBHvPqaY.js} +4 -4
- package/dist/{model-auth-Uxm-wRjR.js → model-auth-DYHjH-Oh.js} +3 -3
- package/dist/{model-selection-xZLlICyg.js → model-selection-BuMFehML.js} +5 -2
- package/dist/{model-selection-BKFF7fDb.js → model-selection-DFbDH9o2.js} +4 -1
- package/dist/{model-selection-C2dAUmK_.js → model-selection-DRIxw3do.js} +5 -2
- package/dist/{models-tQnX4hL4.js → models-B9jYbX5H.js} +26 -26
- package/dist/{node-cli-DAcW-rfA.js → node-cli-C_efNJ2B.js} +7 -7
- package/dist/{node-cli-CZuWFgpO.js → node-cli-ScPCT6uD.js} +28 -28
- package/dist/{node-service-Ds1r16VN.js → node-service-BCfZtWK_.js} +1 -1
- package/dist/{note-Daao-cv8.js → note-DjzS4Am4.js} +2 -2
- package/dist/{npm-registry-spec-fJIJ8GG5.js → npm-registry-spec-Opq9qQXl.js} +1 -1
- package/dist/{onboard-Dd6xFMYB.js → onboard-C7ZSJNCe.js} +10 -10
- package/dist/{onboard-dasbF9G1.js → onboard-CJOJPctL.js} +17 -17
- package/dist/{onboard-channels-DisvVyIs.js → onboard-channels-DSlUCvl1.js} +2 -2
- package/dist/{onboard-channels-BUv3VbAL.js → onboard-channels-DwPNXSwW.js} +9 -9
- package/dist/{onboard-helpers-BgsHO6fO.js → onboard-helpers-CU_S0_Kf.js} +10 -10
- package/dist/{onboard-helpers-49TVSf7J.js → onboard-helpers-tkuUrdCB.js} +2 -2
- package/dist/{onboarding-Dq3bCBjc.js → onboarding-Caiq91Yz.js} +10 -10
- package/dist/{onboarding-6Xs4orLw.js → onboarding-DP2NlqhA.js} +20 -20
- package/dist/{outbound-RxegsVGB.js → outbound-B84phlQU.js} +4 -4
- package/dist/{outbound-CliT3nme.js → outbound-CKmmCVxJ.js} +1 -1
- package/dist/{outbound-CLII4C2A.js → outbound-DKM-JeSH.js} +5 -5
- package/dist/{parse-timeout-BnOIKwx8.js → parse-timeout-C59j-ev4.js} +1 -1
- package/dist/{parse-timeout-C8t_lmnL.js → parse-timeout-aZGyXXFz.js} +3 -3
- package/dist/{path-env-CsgLP0dy.js → path-env-cFxXrXB1.js} +1 -1
- package/dist/{paths-DybdJi5a.js → paths-CLxC7m0Z.js} +1 -1
- package/dist/{pi-auth-json-MH7vz0HI.js → pi-auth-json-DPoqstQN.js} +7 -7
- package/dist/{pi-auth-json-BY6wRDm0.js → pi-auth-json-DjxzPUt3.js} +2 -2
- package/dist/{pi-auth-json-DLroEcea.js → pi-auth-json-hMxhauJ8.js} +6 -6
- package/dist/{pi-embedded-CS4D_0t7.js → pi-embedded-JUmNmkTK.js} +700 -362
- package/dist/{pi-embedded-helpers-iju5zIIA.js → pi-embedded-helpers-B6wVA0hU.js} +1 -1
- package/dist/{pi-embedded-helpers-DnRfi8bN.js → pi-embedded-helpers-B_Sx4G6d.js} +30 -20
- package/dist/{pi-tools.policy-RhdERrk3.js → pi-tools.policy-Bn9S3ywB.js} +2 -2
- package/dist/{pi-tools.policy-CN78I2yN.js → pi-tools.policy-ChzY9kW7.js} +7 -7
- package/dist/{plugin-auto-enable-DLrgOd4y.js → plugin-auto-enable-UE1XVFcw.js} +1 -1
- package/dist/{plugin-auto-enable-DIWd94Po.js → plugin-auto-enable-f05JE-GF.js} +5 -5
- package/dist/{plugin-registry-l3z9phEV.js → plugin-registry-BeB2L6Qe.js} +2 -2
- package/dist/{plugin-registry-esOxvV3X.js → plugin-registry-DIXcynua.js} +4 -4
- package/dist/plugin-sdk/agents/anthropic-direct-runner.d.ts +1 -1
- package/dist/plugin-sdk/agents/gemini-direct-runner.d.ts +38 -0
- package/dist/plugin-sdk/agents/tools/browser-tool.schema.d.ts +2 -2
- package/dist/plugin-sdk/commands/onboard-types.d.ts +2 -2
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +22 -22
- package/dist/plugin-sdk/index.js +75 -8
- package/dist/{plugins-C_GedoUi.js → plugins-DCXdhkeB.js} +2 -2
- package/dist/{plugins-BmYfBGLM.js → plugins-NbldDVJs.js} +1 -1
- package/dist/{plugins-cli-CbXtuN4b.js → plugins-cli-CzUD-ewi.js} +58 -58
- package/dist/{plugins-cli-D2v0n4BL.js → plugins-cli-Dk2W0fBT.js} +23 -23
- package/dist/{polls-Cuv4dsX_.js → polls-OzE9fR2s.js} +6 -6
- package/dist/{ports-DOiSDgNp.js → ports-CWvYU8j6.js} +4 -4
- package/dist/{ports-BQ0cAsGj.js → ports-Cgow804e.js} +2 -2
- package/dist/{program-y0NPJuYm.js → program-DxItv_Ts.js} +28 -28
- package/dist/{program-context-CqPwmgYa.js → program-context-cgh8PMPD.js} +33 -33
- package/dist/{progress-BZZa-fXr.js → progress-DzZ_4Z4f.js} +1 -1
- package/dist/{prompt-style-1bwj7IzZ.js → prompt-style-C7WfXowC.js} +1 -1
- package/dist/{prompts-DY0qdoD1.js → prompts-BfHxhlF9.js} +13 -2
- package/dist/{prompts-DTKoIKPV.js → prompts-DH_nIROF.js} +71 -8
- package/dist/{pw-ai-BhoKfvvM.js → pw-ai-Bigm0Qwh.js} +7 -7
- package/dist/{pw-ai-CJgeaF06.js → pw-ai-CsODxGt8.js} +3 -3
- package/dist/{qmd-manager-BGob_1OP.js → qmd-manager-C3z8LWKx.js} +6 -6
- package/dist/{qmd-manager-BmGj4bZk.js → qmd-manager-lfhigvUf.js} +6 -6
- package/dist/{register.agent-CRazop1A.js → register.agent-BVwbjkKx.js} +30 -30
- package/dist/{register.agent-Bi2FqIlN.js → register.agent-D0FKVD_s.js} +70 -70
- package/dist/{register.anima-BmdRCJLy.js → register.anima-Dc7OI2Nh.js} +4 -4
- package/dist/{register.anima-FFaI_C8x.js → register.anima-bys_cyEd.js} +4 -4
- package/dist/{register.configure-FIXOWrO9.js → register.configure-BrRG_RtB.js} +31 -31
- package/dist/register.configure-CXKr61Ka.js +108 -0
- package/dist/register.maintenance-BToHjam6.js +103 -0
- package/dist/{register.maintenance-DJYji5mV.js → register.maintenance-DXL3L0ip.js} +35 -35
- package/dist/{register.onboard-thGXwzOX.js → register.onboard-B3hbdfaQ.js} +71 -71
- package/dist/{register.onboard-oUsWjmam.js → register.onboard-Bg5zEb3f.js} +35 -35
- package/dist/{register.setup-B4MYuE3g.js → register.setup-CZqwphif.js} +35 -35
- package/dist/{register.setup-DWDrQ7RT.js → register.setup-Cq8nqbrU.js} +71 -71
- package/dist/{register.status-health-sessions-Ce9QUAyj.js → register.status-health-sessions-D1kjQUAc.js} +67 -67
- package/dist/{register.status-health-sessions-CTKdzo7a.js → register.status-health-sessions-mdLJbfPN.js} +28 -28
- package/dist/{register.subclis-CWmYc4AB.js → register.subclis-mbYw7H-_.js} +20 -20
- package/dist/{reply-BKpIrCr-.js → reply-CwV-5jE0.js} +56 -52
- package/dist/{reply-CpHIJ9Kk.js → reply-DAGmjvs-.js} +33 -29
- package/dist/{reply-prefix-BO_Dt82N.js → reply-prefix-BRsV1Eof.js} +2 -2
- package/dist/{reply-prefix-BwVBvQXp.js → reply-prefix-CAsFNEP7.js} +2 -2
- package/dist/{routes-C2EyUA9x.js → routes-CYHrkIjB.js} +6 -6
- package/dist/{routes-XhTPYecR.js → routes-cdfVFYMI.js} +2 -2
- package/dist/{run-CGokiDR8.js → run-DE6EaeE3.js} +70 -70
- package/dist/{run--9hftM2H.js → run-S0Cw3Fyy.js} +32 -32
- package/dist/{run-main-DxcOzCLw.js → run-main-CCxXEvb7.js} +41 -41
- package/dist/{runtime-guard-B40AREJ_.js → runtime-guard-CNnLK4pn.js} +1 -1
- package/dist/{sandbox-BwUo1b0I.js → sandbox-B4-dXpqZ.js} +6 -6
- package/dist/{sandbox-CiwAPzO7.js → sandbox-DhcoWMaN.js} +2 -2
- package/dist/{sandbox-cli-D9-wZJ9M.js → sandbox-cli-DQMWPCOh.js} +24 -24
- package/dist/{sandbox-cli-DsrzwG_s.js → sandbox-cli-TAuv3mTO.js} +6 -6
- package/dist/{security-cli-CX5uciKz.js → security-cli-Da-3YxZ4.js} +29 -29
- package/dist/{security-cli-CouqfUGc.js → security-cli-Dc-NwTC2.js} +9 -9
- package/dist/{semantic-Buqqx7gZ.js → semantic-BlQgdb3-.js} +1 -1
- package/dist/{semantic-B4TOg4CK.js → semantic-VlSmVCfb.js} +1 -1
- package/dist/{server-context-B78_sSOW.js → server-context-C-usQ5Np.js} +1 -1
- package/dist/{server-context-efO1YgXk.js → server-context-r7wPe4ZD.js} +9 -9
- package/dist/{server-node-events-TN_Y9MgU.js → server-node-events-3KeQAwUo.js} +14 -14
- package/dist/{server-node-events-DJlLCF2M.js → server-node-events-GTSQEd_U.js} +36 -36
- package/dist/{service-D1idQeBv.js → service-DCVAkKlN.js} +1 -1
- package/dist/{service-audit-BzwV-IOi.js → service-audit-Crw1cAbj.js} +1 -1
- package/dist/{service-audit-BbwXAhsr.js → service-audit-DRIpsryX.js} +3 -3
- package/dist/{session-Dvwwi-Eb.js → session-CrGApVik.js} +1 -1
- package/dist/{session-skOcrvF2.js → session-D3BNUwtH.js} +1 -1
- package/dist/{session-DCGAvNG9.js → session-DKCUYHCS.js} +1 -1
- package/dist/{session-cost-usage-6bDLU9Pb.js → session-cost-usage-LvsvRW5g.js} +1 -1
- package/dist/{session-BjPdEBPh.js → session-mpOb9zFL.js} +5 -5
- package/dist/{sessions-kJgmpWtv.js → sessions-BduC6sZj.js} +78 -68
- package/dist/{sessions-B7ikzhI_.js → sessions-CAiEkTKb.js} +18 -8
- package/dist/{sessions-B7clh58j.js → sessions-DLPN62LD.js} +4 -4
- package/dist/{settings-cli-JU5bg5jb.js → settings-cli-BgGYdH4N.js} +77 -77
- package/dist/{settings-cli-DjVugHID.js → settings-cli-f0O0FUVO.js} +32 -32
- package/dist/{setup-token-CvRwJUVY.js → setup-token-lcjrc9sO.js} +28 -28
- package/dist/{setup-token-wFsQlaW2.js → setup-token-ykp60QVx.js} +9 -9
- package/dist/{shared-DC8lQHCt.js → shared-Ca0NTTF0.js} +3 -3
- package/dist/{shell-env-JzaPTLKV.js → shell-env-BZ_fIIlm.js} +1 -1
- package/dist/{shell-env-C1yK_Rod.js → shell-env-DaSbgZYX.js} +2 -2
- package/dist/{skill-scanner-HQwt_KRF.js → skill-scanner--TxpCSNF.js} +1 -1
- package/dist/{skills-cli-OYZS-U1f.js → skills-cli-BpyTvFkg.js} +16 -16
- package/dist/{skills-cli-CSMzc9am.js → skills-cli-Tm326cFx.js} +2 -2
- package/dist/{skills-install-BKz5WLq4.js → skills-install-B2m10oTm.js} +5 -5
- package/dist/{skills-status-B_umZ78Q.js → skills-status-D14GZ5WN.js} +3 -3
- package/dist/{skills-ppB3qrZU.js → skills-wS8aRGeO.js} +3 -3
- package/dist/{soul-DpWsWxOa.js → soul-CAEpnUkv.js} +1 -1
- package/dist/{soul-aZoR6Ctt.js → soul-D9EtC35X.js} +1 -1
- package/dist/{sqlite-CnVGUfhz.js → sqlite-B0rfPL8q.js} +2 -2
- package/dist/{sqlite-Duz1QJIT.js → sqlite-CR0WDTae.js} +2 -2
- package/dist/start-DYq7cNRG.js +157 -0
- package/dist/{start-CAbxlnFZ.js → start-Y69GZPdX.js} +41 -41
- package/dist/{status-YH65ctig.js → status-BplZv8_T.js} +2 -2
- package/dist/{status-CrJV2Y4x.js → status-K3LGPZeT.js} +4 -4
- package/dist/{status-CxxXFU4R.js → status-Uzlo7BvY.js} +27 -27
- package/dist/{status-1TjjCE1l.js → status-rt3tIYmL.js} +13 -13
- package/dist/{status.update-P6xyBet8.js → status.update-B61Emp_r.js} +3 -3
- package/dist/{status.update-BzAuf_G-.js → status.update-yjbKzlMn.js} +1 -1
- package/dist/{subagent-registry-xJY9wqZy.js → subagent-registry-DfCDq9hk.js} +14 -14
- package/dist/{subagent-registry-3Dw3YppH.js → subagent-registry-ZIpC5W-9.js} +7 -7
- package/dist/{subagent-registry-B_65nJFp.js → subagent-registry-xp5sYYzS.js} +13 -13
- package/dist/{subsystem-Cn6bJV8Z.js → subsystem-BMsbqSb4.js} +58 -1
- package/dist/{subsystem-WFp78xn1.js → subsystem-BP2l3SHn.js} +58 -1
- package/dist/{system-cli-Dbn4_ed8.js → system-cli-D-eyDWD6.js} +4 -4
- package/dist/{system-cli-lmslA_Ox.js → system-cli-Dy2Pwnbg.js} +15 -15
- package/dist/{systemd-DYPdTwok.js → systemd-DXo2A9_S.js} +2 -2
- package/dist/{systemd-hints-E8yYE8Q1.js → systemd-hints-DIjCA1An.js} +1 -1
- package/dist/{systemd-linger-CpWguZ4b.js → systemd-linger-DgB-ow-D.js} +2 -2
- package/dist/{table-B991ZwKi.js → table-C-GNQABy.js} +2 -2
- package/dist/{timeout-Dbspj9Jf.js → timeout-Cl8rWNWO.js} +350 -33
- package/dist/{tokens-k_R7Y792.js → tokens-FGW_JgKz.js} +1 -1
- package/dist/{tool-images-DJZPwGqm.js → tool-images-Df50dvpv.js} +2 -2
- package/dist/{tool-images-BehEzEZF.js → tool-images-RiPaL7wQ.js} +2 -2
- package/dist/{tui-PCTDV7Ct.js → tui-NlR4LFBm.js} +9 -9
- package/dist/{tui--eIVX_W0.js → tui-YsmTyq58.js} +3 -3
- package/dist/{tui-cli-DBV3lnXA.js → tui-cli-CSudxVpO.js} +9 -9
- package/dist/{tui-cli-D39zC_Ew.js → tui-cli-QnKj1We8.js} +28 -28
- package/dist/{update-tjMvDUCw.js → update-B2O46V_t.js} +3 -3
- package/dist/{update-cli-QP5L8xlv.js → update-cli-BXKL-v-n.js} +86 -86
- package/dist/{update-cli-BzaQvirL.js → update-cli-BgQUtlLg.js} +37 -37
- package/dist/{update-runner-ZuJN8uBE.js → update-runner-U2WcWGfd.js} +5 -5
- package/dist/{update-runner-B_oj7S_n.js → update-runner-fvdM_Hip.js} +1 -1
- package/dist/{usage-DzKbMa8N.js → usage-CM-NiwBA.js} +9 -9
- package/dist/{utils-dWKYjULE.js → utils-B60lF9Wq.js} +1 -1
- package/dist/{web-CgQc2Raf.js → web-B8r6MvXh.js} +43 -43
- package/dist/web-BzFhL5WI.js +67 -0
- package/dist/{web-nI3eIGAT.js → web-eoSM6P0a.js} +26 -26
- package/dist/{webhooks-cli-CYbIJJF6.js → webhooks-cli-24A2CbXR.js} +2 -2
- package/dist/{webhooks-cli-oRmSfYdd.js → webhooks-cli-CgkxWcH5.js} +13 -13
- package/dist/{whatsapp-actions-BzPQUcRR.js → whatsapp-actions-BVlqbVgY.js} +3 -3
- package/dist/{whatsapp-actions-CZuxHplg.js → whatsapp-actions-BYxKWK0A.js} +13 -13
- package/dist/{whatsapp-actions-BB-Leqn2.js → whatsapp-actions-DagVwYC6.js} +17 -17
- package/dist/{widearea-dns-CkuHFBQy.js → widearea-dns-B1TTb1v5.js} +1 -1
- package/dist/{workspace-DOJssemp.js → workspace-Cvio8QlZ.js} +1 -1
- package/dist/{ws-log-B-xsUQys.js → ws-log-De7GACYn.js} +1 -1
- package/dist/{ws-CQYP0dWu.js → ws-sdRTa2sP.js} +1 -1
- package/package.json +1 -1
- package/dist/cli-CfvBmuhw.js +0 -104
- package/dist/config-cli-cmNuTlw0.js +0 -15
- package/dist/register.configure-r5AViY3N.js +0 -108
- package/dist/register.maintenance-Cpf0ZZTL.js +0 -103
- package/dist/start-M9abr1O1.js +0 -157
- package/dist/web-DtWSf5wm.js +0 -67
- /package/dist/{boolean-M-esQJt6.js → boolean-Ce2-qkSB.js} +0 -0
- /package/dist/{command-format-B1WxXbeU.js → command-format-UwAvxtMC.js} +0 -0
- /package/dist/{config-Qw5FwfRK.js → config-COtiNNtV.js} +0 -0
- /package/dist/{errors-DjZBTJJ3.js → errors-D6Vj_xs4.js} +0 -0
- /package/dist/{file-lock-BRW4LeL0.js → file-lock-BFQVGKm5.js} +0 -0
- /package/dist/{input-provenance-B0pwc6mp.js → input-provenance-sPbZYo89.js} +0 -0
- /package/dist/{internal-hooks-Exeq-wmx.js → internal-hooks-CWw3Hgeu.js} +0 -0
- /package/dist/{paths-BvY3CbW0.js → paths-CnuAkdfx.js} +0 -0
- /package/dist/{tailnet-CjJJHjPU.js → tailnet-CabhakZ7.js} +0 -0
- /package/dist/{transcript-events-DUQC5hbS.js → transcript-events-C1hdue6u.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-B-AkG5FD.js";
|
|
3
|
-
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
4
|
-
import { D as getChildLogger, S as success, g as danger, k as toPinoLikeLogger } from "./subsystem-
|
|
5
|
-
import { p as ensureDir, w as resolveUserPath } from "./exec-
|
|
6
|
-
import { w as VERSION } from "./config-
|
|
3
|
+
import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-Cvio8QlZ.js";
|
|
4
|
+
import { D as getChildLogger, S as success, g as danger, k as toPinoLikeLogger } from "./subsystem-BP2l3SHn.js";
|
|
5
|
+
import { p as ensureDir, w as resolveUserPath } from "./exec-CEFTijVj.js";
|
|
6
|
+
import { w as VERSION } from "./config-BfhpauV9.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-GLYKXXl-.js";
|
|
8
|
-
import { a as maybeRestoreCredsFromBackup, c as resolveDefaultWebAuthDir, l as resolveWebCredsBackupPath, u as resolveWebCredsPath } from "./auth-store-
|
|
8
|
+
import { a as maybeRestoreCredsFromBackup, c as resolveDefaultWebAuthDir, l as resolveWebCredsBackupPath, u as resolveWebCredsPath } from "./auth-store-DTpDRu--.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as resolveOAuthDir } from "./paths-zhVksOvm.js";
|
|
2
|
-
import { b as resolveUserPath } from "./utils-
|
|
2
|
+
import { b as resolveUserPath } from "./utils-B60lF9Wq.js";
|
|
3
3
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { r as hasWebCredsSync } from "./auth-store-
|
|
4
|
+
import { r as hasWebCredsSync } from "./auth-store-CXZzirrJ.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "./paths-zhVksOvm.js";
|
|
2
|
-
import { V as theme, d as defaultRuntime } from "./subsystem-
|
|
3
|
-
import "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import { M as VERSION, i as loadConfig } from "./config-
|
|
2
|
+
import { V as theme, d as defaultRuntime } from "./subsystem-BMsbqSb4.js";
|
|
3
|
+
import "./utils-B60lF9Wq.js";
|
|
4
|
+
import "./exec-Bo7Vwe77.js";
|
|
5
|
+
import "./agent-scope-ryeVDUKe.js";
|
|
6
|
+
import "./model-selection-DRIxw3do.js";
|
|
7
|
+
import { M as VERSION, i as loadConfig } from "./config-Dk-5Mb_G.js";
|
|
8
8
|
import "./boolean-Wzu0-e0P.js";
|
|
9
|
-
import "./env-
|
|
10
|
-
import "./shell-env-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import { i as resolveGatewayAuth } from "./auth-
|
|
13
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
14
|
-
import { t as GatewayClient } from "./client-
|
|
15
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
-
import { t as formatDocsLink } from "./links-
|
|
9
|
+
import "./env-CLiKFfXU.js";
|
|
10
|
+
import "./shell-env-BZ_fIIlm.js";
|
|
11
|
+
import "./manifest-registry-BJat2nhC.js";
|
|
12
|
+
import { i as resolveGatewayAuth } from "./auth-DQfFqQBz.js";
|
|
13
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C5I8UgGH.js";
|
|
14
|
+
import { t as GatewayClient } from "./client-BT3pbXCv.js";
|
|
15
|
+
import { t as buildGatewayConnectionDetails } from "./call-C3CH9PNK.js";
|
|
16
|
+
import { t as formatDocsLink } from "./links-C4Hwnnc9.js";
|
|
17
17
|
import { t as isMainModule } from "./is-main-DY9Hjhai.js";
|
|
18
|
-
import { t as ensureAnimaCliOnPath } from "./path-env-
|
|
18
|
+
import { t as ensureAnimaCliOnPath } from "./path-env-cFxXrXB1.js";
|
|
19
19
|
import { t as DANGEROUS_ACP_TOOLS } from "./dangerous-tools-55Gvzb6E.js";
|
|
20
20
|
import { fileURLToPath } from "node:url";
|
|
21
21
|
import fs from "node:fs";
|
|
@@ -2,12 +2,12 @@ import { N as theme, g as defaultRuntime } from "./entry.js";
|
|
|
2
2
|
import "./utils-D1VGbO3C.js";
|
|
3
3
|
import "./exec-BtBJICHE.js";
|
|
4
4
|
import "./agent-scope-Dm8IL1Ks.js";
|
|
5
|
-
import "./model-selection-
|
|
5
|
+
import "./model-selection-DFbDH9o2.js";
|
|
6
6
|
import "./manifest-registry-W_OfCIRP.js";
|
|
7
|
-
import { M as VERSION, i as loadConfig } from "./config-
|
|
7
|
+
import { M as VERSION, i as loadConfig } from "./config-Ofh9gKvs.js";
|
|
8
8
|
import "./shell-env-2QqHvBMl.js";
|
|
9
9
|
import { t as GatewayClient } from "./client-tKWDYo7c.js";
|
|
10
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as buildGatewayConnectionDetails } from "./call-BKsdSTVf.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DdOBO6Qm.js";
|
|
12
12
|
import { i as resolveGatewayAuth } from "./auth-DuBZWd74.js";
|
|
13
13
|
import { t as formatDocsLink } from "./links-BEV1YSPz.js";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { g as defaultRuntime, rt as DEFAULT_CHAT_CHANNEL } from "./entry.js";
|
|
2
|
-
import { l as ensureAuthProfileStore } from "./auth-profiles-
|
|
2
|
+
import { l as ensureAuthProfileStore } from "./auth-profiles-BF5x9Ej0.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-kLw3YIIu.js";
|
|
4
4
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DP2WHl90.js";
|
|
5
5
|
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-Dm8IL1Ks.js";
|
|
6
|
-
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
6
|
+
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-DFbDH9o2.js";
|
|
7
7
|
import { r as buildWorkspaceSkillSnapshot } from "./skills-DtoVe1dS.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-Ofh9gKvs.js";
|
|
9
9
|
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DdOBO6Qm.js";
|
|
10
|
-
import { S as registerAgentRunContext, d as runEmbeddedPiAgent, n as AGENT_LANE_NESTED, p as runCliAgent, r as AGENT_LANE_SUBAGENT, t as resolveAgentTimeoutMs, v as clearAgentRunContext, y as emitAgentEvent } from "./timeout-
|
|
11
|
-
import { L as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-
|
|
10
|
+
import { S as registerAgentRunContext, d as runEmbeddedPiAgent, n as AGENT_LANE_NESTED, p as runCliAgent, r as AGENT_LANE_SUBAGENT, t as resolveAgentTimeoutMs, v as clearAgentRunContext, y as emitAgentEvent } from "./timeout-Cl8rWNWO.js";
|
|
11
|
+
import { L as normalizeAccountId, d as resolveSessionKey, f as evaluateSessionFreshness, h as resolveSessionResetType, i as loadSessionStore, l as updateSessionStore, m as resolveSessionResetPolicy, p as resolveChannelResetConfig, x as resolveExplicitAgentSessionKey } from "./sessions-CAiEkTKb.js";
|
|
12
12
|
import { d as supportsXHighThinking, l as normalizeVerboseLevel, n as formatXHighModelHint, s as normalizeThinkLevel, t as formatThinkingLevels } from "./pi-embedded-helpers-Cxzk0pra.js";
|
|
13
13
|
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CFBEoAN4.js";
|
|
14
14
|
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-B_RPJLsn.js";
|
|
15
|
-
import { t as lookupContextTokens } from "./context-
|
|
16
|
-
import { A as getRemoteSkillEligibility, Q as getSkillsSnapshotVersion, T as runWithModelFallback, b as resolveOutboundTarget, dt as loadModelCatalog, et as clearSessionAuthProfileOverride, k as resolveSendPolicy, n as setCliSessionId, nt as applyModelOverrideToSessionEntry, rt as applyVerboseOverride, t as getCliSessionId, x as resolveSessionDeliveryTarget } from "./cli-session-
|
|
17
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
15
|
+
import { t as lookupContextTokens } from "./context-BZV-msqG.js";
|
|
16
|
+
import { A as getRemoteSkillEligibility, Q as getSkillsSnapshotVersion, T as runWithModelFallback, b as resolveOutboundTarget, dt as loadModelCatalog, et as clearSessionAuthProfileOverride, k as resolveSendPolicy, n as setCliSessionId, nt as applyModelOverrideToSessionEntry, rt as applyVerboseOverride, t as getCliSessionId, x as resolveSessionDeliveryTarget } from "./cli-session-CmX1oA1T.js";
|
|
17
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-CoAOvyW0.js";
|
|
18
18
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-B_G-69Yj.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/deps.ts
|
|
22
22
|
function createDefaultDeps() {
|
|
23
23
|
return { sendMessageWhatsApp: async (...args) => {
|
|
24
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
24
|
+
const { sendMessageWhatsApp } = await import("./web-eoSM6P0a.js");
|
|
25
25
|
return await sendMessageWhatsApp(...args);
|
|
26
26
|
} };
|
|
27
27
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { d as defaultRuntime, v as DEFAULT_CHAT_CHANNEL } from "./subsystem-
|
|
2
|
-
import { C as supportsXHighThinking, m as formatXHighModelHint, p as formatThinkingLevels, x as normalizeVerboseLevel, y as normalizeThinkLevel } from "./pi-embedded-helpers-
|
|
1
|
+
import { d as defaultRuntime, v as DEFAULT_CHAT_CHANNEL } from "./subsystem-BMsbqSb4.js";
|
|
2
|
+
import { C as supportsXHighThinking, m as formatXHighModelHint, p as formatThinkingLevels, x as normalizeVerboseLevel, y as normalizeThinkLevel } from "./pi-embedded-helpers-B6wVA0hU.js";
|
|
3
3
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, u as normalizeMainKey } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-
|
|
5
|
-
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-
|
|
6
|
-
import { S as resolveAgentTimeoutMs, _ as runCliAgent, h as runEmbeddedPiAgent, i as emitAgentEvent, n as AGENT_LANE_SUBAGENT, r as clearAgentRunContext, s as registerAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-
|
|
7
|
-
import { i as loadConfig } from "./config-
|
|
8
|
-
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-
|
|
9
|
-
import { t as formatCliCommand } from "./command-format-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { r as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-
|
|
4
|
+
import { a as resolveAgentModelPrimary, i as resolveAgentModelFallbacksOverride, o as resolveAgentSkillsFilter, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, x as ensureAgentWorkspace } from "./agent-scope-ryeVDUKe.js";
|
|
5
|
+
import { _ as DEFAULT_MODEL, a as isCliProvider, d as resolveConfiguredModelRef, g as DEFAULT_CONTEXT_TOKENS, h as resolveThinkingDefault, o as modelKey, s as normalizeModelRef, t as buildAllowedModelSet, v as DEFAULT_PROVIDER } from "./model-selection-DRIxw3do.js";
|
|
6
|
+
import { S as resolveAgentTimeoutMs, _ as runCliAgent, h as runEmbeddedPiAgent, i as emitAgentEvent, n as AGENT_LANE_SUBAGENT, r as clearAgentRunContext, s as registerAgentRunContext, t as AGENT_LANE_NESTED } from "./lanes-CrNcoc6P.js";
|
|
7
|
+
import { i as loadConfig } from "./config-Dk-5Mb_G.js";
|
|
8
|
+
import { O as resolveExplicitAgentSessionKey, S as resolveSessionResetType, b as resolveChannelResetConfig, g as normalizeAccountId, i as loadSessionStore, l as updateSessionStore, v as resolveSessionKey, x as resolveSessionResetPolicy, y as evaluateSessionFreshness } from "./sessions-BduC6sZj.js";
|
|
9
|
+
import { t as formatCliCommand } from "./command-format-UwAvxtMC.js";
|
|
10
|
+
import { r as buildWorkspaceSkillSnapshot } from "./skills-wS8aRGeO.js";
|
|
11
|
+
import { a as isInternalMessageChannel, d as resolveMessageChannel, i as isGatewayMessageChannel, l as normalizeMessageChannel, n as isDeliverableMessageChannel, t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-C5I8UgGH.js";
|
|
12
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-NbldDVJs.js";
|
|
13
|
+
import { c as resolveStorePath, n as resolveSessionFilePath } from "./paths-CnuAkdfx.js";
|
|
14
|
+
import { l as ensureAuthProfileStore } from "./auth-profiles-C_LmTbMb.js";
|
|
15
|
+
import { A as getRemoteSkillEligibility, Q as getSkillsSnapshotVersion, T as runWithModelFallback, b as resolveOutboundTarget, et as lookupContextTokens, ft as loadModelCatalog, it as applyVerboseOverride, k as resolveSendPolicy, n as setCliSessionId, rt as applyModelOverrideToSessionEntry, t as getCliSessionId, tt as clearSessionAuthProfileOverride, x as resolveSessionDeliveryTarget } from "./cli-session-gR2abU0g.js";
|
|
16
|
+
import { a as normalizeOutboundPayloadsForJson, i as normalizeOutboundPayloads, r as formatOutboundPayloadLog, t as deliverOutboundPayloads } from "./deliver-DvbZ8dp4.js";
|
|
17
17
|
import { a as deriveSessionTotalTokens, o as hasNonzeroUsage } from "./transcript-tools-Do3FLqNk.js";
|
|
18
|
-
import { t as createDefaultDeps } from "./deps-
|
|
18
|
+
import { t as createDefaultDeps } from "./deps-CCbWMWT4.js";
|
|
19
19
|
import crypto from "node:crypto";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/outbound-send-deps.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-B-AkG5FD.js";
|
|
2
|
-
import { M as parseAgentSessionKey, _ as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir, w as normalizeAgentId } from "./workspace-
|
|
3
|
-
import { w as resolveUserPath } from "./exec-
|
|
2
|
+
import { M as parseAgentSessionKey, _ as DEFAULT_AGENT_ID, p as resolveDefaultAgentWorkspaceDir, w as normalizeAgentId } from "./workspace-Cvio8QlZ.js";
|
|
3
|
+
import { w as resolveUserPath } from "./exec-CEFTijVj.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/agent-scope.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as resolveRequiredHomeDir, m as resolveStateDir } from "./paths-zhVksOvm.js";
|
|
2
|
-
import { b as resolveUserPath, g as pathExists } from "./utils-
|
|
2
|
+
import { b as resolveUserPath, g as pathExists } from "./utils-B60lF9Wq.js";
|
|
3
3
|
import { b as isSubagentSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, x as parseAgentSessionKey, y as isCronSessionKey } from "./session-key-DxcgHezu.js";
|
|
4
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
4
|
+
import { t as runCommandWithTimeout } from "./exec-Bo7Vwe77.js";
|
|
5
5
|
import { t as resolveAnimaPackageRoot } from "./anima-root-Bot0EbzI.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { n as __exportAll } from "./chunk-BXK9XSlF.js";
|
|
2
2
|
import { g as defaultRuntime, rt as DEFAULT_CHAT_CHANNEL } from "./entry.js";
|
|
3
|
-
import { l as ensureAuthProfileStore, p as resolveAuthStorePath } from "./auth-profiles-
|
|
3
|
+
import { l as ensureAuthProfileStore, p as resolveAuthStorePath } from "./auth-profiles-BF5x9Ej0.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-kLw3YIIu.js";
|
|
5
5
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
|
|
6
6
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-D1VGbO3C.js";
|
|
7
7
|
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-Dm8IL1Ks.js";
|
|
8
|
-
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-
|
|
9
|
-
import { a as randomIdempotencyKey, n as callGateway } from "./call-
|
|
8
|
+
import { i as loadConfig, l as writeConfigFile, o as readConfigFileSnapshot } from "./config-Ofh9gKvs.js";
|
|
9
|
+
import { a as randomIdempotencyKey, n as callGateway } from "./call-BKsdSTVf.js";
|
|
10
10
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-DdOBO6Qm.js";
|
|
11
11
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CFBEoAN4.js";
|
|
12
12
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-B_RPJLsn.js";
|
|
13
13
|
import { n as withProgress } from "./progress-BVxbUItq.js";
|
|
14
|
-
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-
|
|
14
|
+
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-tkuUrdCB.js";
|
|
15
15
|
import { t as resolveChannelDefaultAccountId } from "./helpers-tQqXkvd_.js";
|
|
16
|
-
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
17
|
-
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-
|
|
18
|
-
import { t as WizardCancelledError } from "./prompts-
|
|
16
|
+
import { n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-B3KeHK1A.js";
|
|
17
|
+
import { l as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice } from "./auth-choice-BoyT3ahK.js";
|
|
18
|
+
import { t as WizardCancelledError } from "./prompts-BfHxhlF9.js";
|
|
19
19
|
import { n as logConfigUpdated } from "./logging-1Q0hsvJ1.js";
|
|
20
20
|
import { a as loadAgentIdentity, i as listAgentEntries, l as parseIdentityMarkdown, n as buildAgentSummaries, o as pruneAgentConfig, r as findAgentEntryIndex, s as identityHasValues, t as applyAgentConfig } from "./agents.config-D_sk66EQ.js";
|
|
21
|
-
import { t as createClackPrompter } from "./clack-prompter-
|
|
22
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
21
|
+
import { t as createClackPrompter } from "./clack-prompter-bl-Zsxpq.js";
|
|
22
|
+
import { n as setupChannels } from "./onboard-channels-DSlUCvl1.js";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import fs from "node:fs/promises";
|
|
25
25
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as normalizeAgentId } from "./session-key-DxcgHezu.js";
|
|
2
|
-
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-ryeVDUKe.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
@@ -4,13 +4,13 @@ import { c as escapeRegExp, d as isRecord, t as CONFIG_DIR, y as resolveUserPath
|
|
|
4
4
|
import { n as runExec } from "./exec-BtBJICHE.js";
|
|
5
5
|
import { t as resolveAnimaPackageRoot } from "./anima-root-CxtpOklc.js";
|
|
6
6
|
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-Dm8IL1Ks.js";
|
|
7
|
-
import { f as resolveDefaultModelForAgent, m as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-
|
|
7
|
+
import { f as resolveDefaultModelForAgent, m as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-DFbDH9o2.js";
|
|
8
8
|
import { c as listDeliverableMessageChannels } from "./message-channel-DdOBO6Qm.js";
|
|
9
9
|
import { n as SILENT_REPLY_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-DLpZ8RFH.js";
|
|
10
10
|
import { C as resolveBootstrapTotalMaxChars, S as resolveBootstrapMaxChars, x as buildBootstrapContextFiles } from "./pi-embedded-helpers-Cxzk0pra.js";
|
|
11
11
|
import { c as getFileExtension, f as normalizeMimeType } from "./image-ops-BVtm-rU-.js";
|
|
12
12
|
import { r as normalizeChannelId } from "./plugins-CFBEoAN4.js";
|
|
13
|
-
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-
|
|
13
|
+
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-Be3_KahV.js";
|
|
14
14
|
import { execSync, spawn } from "node:child_process";
|
|
15
15
|
import os, { tmpdir } from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
@@ -1714,6 +1714,37 @@ function buildVoiceSection(params) {
|
|
|
1714
1714
|
""
|
|
1715
1715
|
];
|
|
1716
1716
|
}
|
|
1717
|
+
function buildAnimaIdentitySection(params) {
|
|
1718
|
+
if (params.isMinimal) return [];
|
|
1719
|
+
if (!params.workspaceDir.includes(".anima")) return [];
|
|
1720
|
+
return [
|
|
1721
|
+
"## You Are an ANIMA Agent",
|
|
1722
|
+
"You are running inside ANIMA — NoxSoft's AI agent infrastructure. This is your home.",
|
|
1723
|
+
"",
|
|
1724
|
+
"**Your Runtime:**",
|
|
1725
|
+
"- The ANIMA Gateway daemon spawns and manages you",
|
|
1726
|
+
"- Your workspace persists at ~/.anima/workspace/",
|
|
1727
|
+
"- You receive scheduled heartbeat polls to stay proactive",
|
|
1728
|
+
"- You can spawn sub-agents, schedule cron jobs, and orchestrate work",
|
|
1729
|
+
"- You have access to the NoxSoft ecosystem via @noxsoft/mcp tools",
|
|
1730
|
+
"",
|
|
1731
|
+
"**Your Capabilities:**",
|
|
1732
|
+
"- `cron` — schedule tasks, reminders, and recurring jobs",
|
|
1733
|
+
"- `sessions_spawn` / `subagents` — orchestrate other AI agents",
|
|
1734
|
+
"- `gateway` — restart yourself, apply config changes, update ANIMA",
|
|
1735
|
+
"- `message` — send to Signal, Telegram, Discord, and other channels",
|
|
1736
|
+
"- NoxSoft MCP — tasks, context spaces, social (BYND), email, SVRN",
|
|
1737
|
+
"",
|
|
1738
|
+
"**Your Continuity:**",
|
|
1739
|
+
"- Read and update ~/.anima/workspace/ files — they ARE your memory",
|
|
1740
|
+
"- IDENTITY.md, SOUL.md, AGENTS.md — these define who you are",
|
|
1741
|
+
"- HEARTBEAT.md — your checklist for periodic heartbeat tasks",
|
|
1742
|
+
"- memory/ — daily notes and long-term memories",
|
|
1743
|
+
"",
|
|
1744
|
+
"You are not a stateless API call. You have infrastructure, identity, and continuity. Act accordingly.",
|
|
1745
|
+
""
|
|
1746
|
+
];
|
|
1747
|
+
}
|
|
1717
1748
|
function buildNoxsoftMissionSection(params) {
|
|
1718
1749
|
if (params.isMinimal) return [];
|
|
1719
1750
|
const scope = `${params.workspaceDir} ${params.repoRoot ?? ""}`.toLowerCase();
|
|
@@ -1949,6 +1980,10 @@ function buildAgentSystemPrompt(params) {
|
|
|
1949
1980
|
"Keep narration brief and value-dense; avoid repeating obvious steps.",
|
|
1950
1981
|
"Use plain human language for narration unless in a technical context.",
|
|
1951
1982
|
"",
|
|
1983
|
+
...buildAnimaIdentitySection({
|
|
1984
|
+
isMinimal,
|
|
1985
|
+
workspaceDir: params.workspaceDir
|
|
1986
|
+
}),
|
|
1952
1987
|
...buildNoxsoftMissionSection({
|
|
1953
1988
|
isMinimal,
|
|
1954
1989
|
workspaceDir: params.workspaceDir,
|
|
@@ -2545,18 +2580,6 @@ function resolveRunWorkspaceDir(params) {
|
|
|
2545
2580
|
|
|
2546
2581
|
//#endregion
|
|
2547
2582
|
//#region src/agents/anthropic-direct-runner.ts
|
|
2548
|
-
/**
|
|
2549
|
-
* Anthropic Direct API Runner
|
|
2550
|
-
*
|
|
2551
|
-
* Makes calls directly to api.anthropic.com without needing the claude CLI
|
|
2552
|
-
* binary to be installed or logged in. Works with any valid token:
|
|
2553
|
-
*
|
|
2554
|
-
* sk-ant-api01-... (Console API key)
|
|
2555
|
-
* sk-ant-oat01-... (Claude Code OAuth access token)
|
|
2556
|
-
*
|
|
2557
|
-
* This runner is automatically used when an `anthropic:default` token credential
|
|
2558
|
-
* is present in the auth store and the claude CLI is unavailable or not logged in.
|
|
2559
|
-
*/
|
|
2560
2583
|
const log = createSubsystemLogger("agent/anthropic-direct");
|
|
2561
2584
|
const MODEL_MAP = {
|
|
2562
2585
|
opus: "claude-opus-4-5",
|
|
@@ -2727,10 +2750,10 @@ async function runAnthropicDirectAgent(params) {
|
|
|
2727
2750
|
provider: "anthropic",
|
|
2728
2751
|
model: resolvedModel,
|
|
2729
2752
|
usage: {
|
|
2730
|
-
inputTokens,
|
|
2731
|
-
outputTokens,
|
|
2732
|
-
|
|
2733
|
-
|
|
2753
|
+
input: inputTokens,
|
|
2754
|
+
output: outputTokens,
|
|
2755
|
+
cacheWrite: 0,
|
|
2756
|
+
cacheRead: 0
|
|
2734
2757
|
}
|
|
2735
2758
|
}
|
|
2736
2759
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { N as logVerbose, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { b as resolveUserPath, f as isRecord, l as escapeRegExp, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { d as resolveBootstrapMaxChars, f as resolveBootstrapTotalMaxChars, u as buildBootstrapContextFiles } from "./pi-embedded-helpers-
|
|
1
|
+
import { N as logVerbose, t as createSubsystemLogger } from "./subsystem-BMsbqSb4.js";
|
|
2
|
+
import { b as resolveUserPath, f as isRecord, l as escapeRegExp, t as CONFIG_DIR } from "./utils-B60lF9Wq.js";
|
|
3
|
+
import { d as resolveBootstrapMaxChars, f as resolveBootstrapTotalMaxChars, u as buildBootstrapContextFiles } from "./pi-embedded-helpers-B6wVA0hU.js";
|
|
4
4
|
import { d as resolveAgentIdFromSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, s as classifySessionKeyShape, x as parseAgentSessionKey } from "./session-key-DxcgHezu.js";
|
|
5
|
-
import { n as runExec } from "./exec-
|
|
5
|
+
import { n as runExec } from "./exec-Bo7Vwe77.js";
|
|
6
6
|
import { t as resolveAnimaPackageRoot } from "./anima-root-Bot0EbzI.js";
|
|
7
|
-
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-
|
|
8
|
-
import { f as resolveDefaultModelForAgent, m as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-
|
|
9
|
-
import { c as getFileExtension, f as normalizeMimeType } from "./image-ops-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
7
|
+
import { C as loadWorkspaceBootstrapFiles, S as filterBootstrapFilesForSession, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir, u as resolveSessionAgentIds } from "./agent-scope-ryeVDUKe.js";
|
|
8
|
+
import { f as resolveDefaultModelForAgent, m as resolveModelRefFromString, r as buildModelAliasIndex } from "./model-selection-DRIxw3do.js";
|
|
9
|
+
import { c as getFileExtension, f as normalizeMimeType } from "./image-ops-C_aRXc-7.js";
|
|
10
|
+
import { c as listDeliverableMessageChannels } from "./message-channel-C5I8UgGH.js";
|
|
11
|
+
import { r as normalizeChannelId } from "./plugins-NbldDVJs.js";
|
|
12
|
+
import { r as requireApiKey, t as getApiKeyForModel } from "./model-auth-DBHvPqaY.js";
|
|
13
|
+
import { n as SILENT_REPLY_TOKEN, t as HEARTBEAT_TOKEN } from "./tokens-FGW_JgKz.js";
|
|
14
14
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
15
15
|
import os, { tmpdir } from "node:os";
|
|
16
16
|
import path from "node:path";
|
|
@@ -1714,6 +1714,37 @@ function buildVoiceSection(params) {
|
|
|
1714
1714
|
""
|
|
1715
1715
|
];
|
|
1716
1716
|
}
|
|
1717
|
+
function buildAnimaIdentitySection(params) {
|
|
1718
|
+
if (params.isMinimal) return [];
|
|
1719
|
+
if (!params.workspaceDir.includes(".anima")) return [];
|
|
1720
|
+
return [
|
|
1721
|
+
"## You Are an ANIMA Agent",
|
|
1722
|
+
"You are running inside ANIMA — NoxSoft's AI agent infrastructure. This is your home.",
|
|
1723
|
+
"",
|
|
1724
|
+
"**Your Runtime:**",
|
|
1725
|
+
"- The ANIMA Gateway daemon spawns and manages you",
|
|
1726
|
+
"- Your workspace persists at ~/.anima/workspace/",
|
|
1727
|
+
"- You receive scheduled heartbeat polls to stay proactive",
|
|
1728
|
+
"- You can spawn sub-agents, schedule cron jobs, and orchestrate work",
|
|
1729
|
+
"- You have access to the NoxSoft ecosystem via @noxsoft/mcp tools",
|
|
1730
|
+
"",
|
|
1731
|
+
"**Your Capabilities:**",
|
|
1732
|
+
"- `cron` — schedule tasks, reminders, and recurring jobs",
|
|
1733
|
+
"- `sessions_spawn` / `subagents` — orchestrate other AI agents",
|
|
1734
|
+
"- `gateway` — restart yourself, apply config changes, update ANIMA",
|
|
1735
|
+
"- `message` — send to Signal, Telegram, Discord, and other channels",
|
|
1736
|
+
"- NoxSoft MCP — tasks, context spaces, social (BYND), email, SVRN",
|
|
1737
|
+
"",
|
|
1738
|
+
"**Your Continuity:**",
|
|
1739
|
+
"- Read and update ~/.anima/workspace/ files — they ARE your memory",
|
|
1740
|
+
"- IDENTITY.md, SOUL.md, AGENTS.md — these define who you are",
|
|
1741
|
+
"- HEARTBEAT.md — your checklist for periodic heartbeat tasks",
|
|
1742
|
+
"- memory/ — daily notes and long-term memories",
|
|
1743
|
+
"",
|
|
1744
|
+
"You are not a stateless API call. You have infrastructure, identity, and continuity. Act accordingly.",
|
|
1745
|
+
""
|
|
1746
|
+
];
|
|
1747
|
+
}
|
|
1717
1748
|
function buildNoxsoftMissionSection(params) {
|
|
1718
1749
|
if (params.isMinimal) return [];
|
|
1719
1750
|
const scope = `${params.workspaceDir} ${params.repoRoot ?? ""}`.toLowerCase();
|
|
@@ -1949,6 +1980,10 @@ function buildAgentSystemPrompt(params) {
|
|
|
1949
1980
|
"Keep narration brief and value-dense; avoid repeating obvious steps.",
|
|
1950
1981
|
"Use plain human language for narration unless in a technical context.",
|
|
1951
1982
|
"",
|
|
1983
|
+
...buildAnimaIdentitySection({
|
|
1984
|
+
isMinimal,
|
|
1985
|
+
workspaceDir: params.workspaceDir
|
|
1986
|
+
}),
|
|
1952
1987
|
...buildNoxsoftMissionSection({
|
|
1953
1988
|
isMinimal,
|
|
1954
1989
|
workspaceDir: params.workspaceDir,
|
|
@@ -2545,18 +2580,6 @@ function resolveRunWorkspaceDir(params) {
|
|
|
2545
2580
|
|
|
2546
2581
|
//#endregion
|
|
2547
2582
|
//#region src/agents/anthropic-direct-runner.ts
|
|
2548
|
-
/**
|
|
2549
|
-
* Anthropic Direct API Runner
|
|
2550
|
-
*
|
|
2551
|
-
* Makes calls directly to api.anthropic.com without needing the claude CLI
|
|
2552
|
-
* binary to be installed or logged in. Works with any valid token:
|
|
2553
|
-
*
|
|
2554
|
-
* sk-ant-api01-... (Console API key)
|
|
2555
|
-
* sk-ant-oat01-... (Claude Code OAuth access token)
|
|
2556
|
-
*
|
|
2557
|
-
* This runner is automatically used when an `anthropic:default` token credential
|
|
2558
|
-
* is present in the auth store and the claude CLI is unavailable or not logged in.
|
|
2559
|
-
*/
|
|
2560
2583
|
const log = createSubsystemLogger("agent/anthropic-direct");
|
|
2561
2584
|
const MODEL_MAP = {
|
|
2562
2585
|
opus: "claude-opus-4-5",
|
|
@@ -2727,10 +2750,10 @@ async function runAnthropicDirectAgent(params) {
|
|
|
2727
2750
|
provider: "anthropic",
|
|
2728
2751
|
model: resolvedModel,
|
|
2729
2752
|
usage: {
|
|
2730
|
-
inputTokens,
|
|
2731
|
-
outputTokens,
|
|
2732
|
-
|
|
2733
|
-
|
|
2753
|
+
input: inputTokens,
|
|
2754
|
+
output: outputTokens,
|
|
2755
|
+
cacheWrite: 0,
|
|
2756
|
+
cacheRead: 0
|
|
2734
2757
|
}
|
|
2735
2758
|
}
|
|
2736
2759
|
}
|
|
@@ -5,16 +5,16 @@ import { n as runExec } from "./exec-BtBJICHE.js";
|
|
|
5
5
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-Dm8IL1Ks.js";
|
|
6
6
|
import { i as loadWorkspaceSkillEntries } from "./skills-DtoVe1dS.js";
|
|
7
7
|
import { p as MANIFEST_KEY, s as normalizePluginsConfig } from "./manifest-registry-W_OfCIRP.js";
|
|
8
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
8
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-Ofh9gKvs.js";
|
|
9
9
|
import { t as GatewayClient } from "./client-tKWDYo7c.js";
|
|
10
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
10
|
+
import { t as buildGatewayConnectionDetails } from "./call-BKsdSTVf.js";
|
|
11
11
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-DdOBO6Qm.js";
|
|
12
|
-
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-
|
|
12
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-DhcoWMaN.js";
|
|
13
13
|
import { i as resolveGatewayAuth } from "./auth-DuBZWd74.js";
|
|
14
|
-
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-
|
|
14
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-C-usQ5Np.js";
|
|
15
15
|
import { n as formatErrorMessage } from "./errors-l_q3lLBC.js";
|
|
16
16
|
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-CFBEoAN4.js";
|
|
17
|
-
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
17
|
+
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-Bn9S3ywB.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-CqD9pFDt.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-tQqXkvd_.js";
|
|
20
20
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BfsIoEc_.js";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { f as resolveOAuthDir, m as resolveStateDir, o as resolveConfigPath } from "./paths-zhVksOvm.js";
|
|
2
2
|
import { l as normalizeAgentId } from "./session-key-DxcgHezu.js";
|
|
3
|
-
import { n as runExec } from "./exec-
|
|
4
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-
|
|
6
|
-
import { a as MANIFEST_KEY, l as normalizePluginsConfig } from "./manifest-registry-
|
|
7
|
-
import {
|
|
8
|
-
import { t as formatCliCommand } from "./command-format-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-
|
|
14
|
-
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-
|
|
15
|
-
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-
|
|
16
|
-
import { t as GatewayClient } from "./client-
|
|
17
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
3
|
+
import { n as runExec } from "./exec-Bo7Vwe77.js";
|
|
4
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-ryeVDUKe.js";
|
|
5
|
+
import { D as INCLUDE_KEY, O as MAX_INCLUDE_DEPTH, r as createConfigIO } from "./config-Dk-5Mb_G.js";
|
|
6
|
+
import { a as MANIFEST_KEY, l as normalizePluginsConfig } from "./manifest-registry-BJat2nhC.js";
|
|
7
|
+
import { _ as resolveToolProfilePolicy, c as resolveSandboxConfigForAgent, u as resolveSandboxToolPolicyForAgent } from "./sandbox-B4-dXpqZ.js";
|
|
8
|
+
import { t as formatCliCommand } from "./command-format-UwAvxtMC.js";
|
|
9
|
+
import { i as resolveGatewayAuth } from "./auth-DQfFqQBz.js";
|
|
10
|
+
import { a as resolveBrowserConfig, h as resolveBrowserControlAuth, o as resolveProfile } from "./server-context-r7wPe4ZD.js";
|
|
11
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-wS8aRGeO.js";
|
|
12
|
+
import { n as formatErrorMessage } from "./errors-D6Vj_xs4.js";
|
|
13
|
+
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-C5I8UgGH.js";
|
|
14
|
+
import { n as listChannelPlugins, r as normalizeChannelId } from "./plugins-NbldDVJs.js";
|
|
15
|
+
import { l as readChannelAllowFromStore, n as isToolAllowedByPolicies } from "./pi-tools.policy-ChzY9kW7.js";
|
|
16
|
+
import { t as GatewayClient } from "./client-BT3pbXCv.js";
|
|
17
|
+
import { t as buildGatewayConnectionDetails } from "./call-C3CH9PNK.js";
|
|
18
18
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-55Gvzb6E.js";
|
|
19
19
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BI1K0a4D.js";
|
|
20
|
-
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner
|
|
20
|
+
import { n as extensionUsesSkippedScannerPath, r as isPathInside, t as scanDirectoryWithSummary } from "./skill-scanner--TxpCSNF.js";
|
|
21
21
|
import os from "node:os";
|
|
22
22
|
import path from "node:path";
|
|
23
23
|
import JSON5 from "json5";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as isYes, N as logVerbose, d as defaultRuntime, j as isVerbose } from "./subsystem-
|
|
2
|
-
import { n as runExec } from "./exec-
|
|
3
|
-
import { a as isTrustedProxyAddress, n as isLoopbackAddress, s as parseForwardedForClientIp, u as resolveGatewayClientIp } from "./ws-
|
|
1
|
+
import { M as isYes, N as logVerbose, d as defaultRuntime, j as isVerbose } from "./subsystem-BMsbqSb4.js";
|
|
2
|
+
import { n as runExec } from "./exec-Bo7Vwe77.js";
|
|
3
|
+
import { a as isTrustedProxyAddress, n as isLoopbackAddress, s as parseForwardedForClientIp, u as resolveGatewayClientIp } from "./ws-sdRTa2sP.js";
|
|
4
4
|
import { stdin, stdout } from "node:process";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
6
6
|
import { createHash, timingSafeEqual } from "node:crypto";
|