tenjin-cli 0.1.0-alpha.34 → 0.1.0-alpha.35
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/NOTICE.md +30 -0
- package/README.md +20 -18
- package/dist/{_esm-MMYV66AX.js → _esm-2KST7HQ7.js} +4 -4
- package/dist/{alive-VOIL5W3I.js → alive-5TV22PNF.js} +13 -13
- package/dist/{auth-UHD3QFX4.js → auth-XI7BJFLW.js} +4 -4
- package/dist/balance-DFHC6XEU.js +71 -0
- package/dist/{ccip-CS7K5QRQ.js → ccip-HOW3DZYF.js} +3 -3
- package/dist/{chunk-RJ5HRPAZ.js → chunk-24XKUN2S.js} +68 -10
- package/dist/chunk-24XKUN2S.js.map +1 -0
- package/dist/chunk-2L7TDGLV.js +56 -0
- package/dist/chunk-2L7TDGLV.js.map +1 -0
- package/dist/{chunk-PZHBPGDE.js → chunk-34SAECKZ.js} +34 -10
- package/dist/chunk-34SAECKZ.js.map +1 -0
- package/dist/{chunk-EQZ2CCWC.js → chunk-3Y2EHT4F.js} +5 -2
- package/dist/chunk-3Y2EHT4F.js.map +1 -0
- package/dist/{chunk-FSYH7J75.js → chunk-3Y6BHIN6.js} +3 -3
- package/dist/{chunk-FZZWTDWP.js → chunk-3YPL6T3P.js} +6 -6
- package/dist/{chunk-JEZMWJEF.js → chunk-44MVIRZH.js} +4 -4
- package/dist/{chunk-27FIHFXF.js → chunk-45MMSBHA.js} +5 -5
- package/dist/{chunk-QXP3Z3JN.js → chunk-4MBCJFY4.js} +35 -3
- package/dist/chunk-4MBCJFY4.js.map +1 -0
- package/dist/chunk-4TPL54KW.js +227 -0
- package/dist/chunk-4TPL54KW.js.map +1 -0
- package/dist/{chunk-7JB6SYJX.js → chunk-54ELBTKE.js} +2 -2
- package/dist/{chunk-6J64MQFD.js → chunk-5F4OB5B3.js} +21 -15
- package/dist/chunk-5F4OB5B3.js.map +1 -0
- package/dist/{chunk-PYVQ74D5.js → chunk-5HN4KVQU.js} +189 -117
- package/dist/chunk-5HN4KVQU.js.map +1 -0
- package/dist/{chunk-VFKPIIV2.js → chunk-5J4E5GYI.js} +35 -32
- package/dist/chunk-5J4E5GYI.js.map +1 -0
- package/dist/chunk-5USBZ2MU.js +58 -0
- package/dist/chunk-5USBZ2MU.js.map +1 -0
- package/dist/chunk-64WOMNYR.js +183 -0
- package/dist/chunk-64WOMNYR.js.map +1 -0
- package/dist/{chunk-APWELUI7.js → chunk-65RS4LQS.js} +57 -43
- package/dist/chunk-65RS4LQS.js.map +1 -0
- package/dist/{chunk-HWZO6HYZ.js → chunk-6QMDUDF2.js} +3 -3
- package/dist/{chunk-FNBGRKS6.js → chunk-7V25UAQO.js} +2 -2
- package/dist/chunk-BGA4DO5M.js +719 -0
- package/dist/chunk-BGA4DO5M.js.map +1 -0
- package/dist/chunk-BVP7YK2J.js +706 -0
- package/dist/chunk-BVP7YK2J.js.map +1 -0
- package/dist/chunk-C265QIMJ.js +83 -0
- package/dist/chunk-C265QIMJ.js.map +1 -0
- package/dist/{chunk-MXN2ZEUB.js → chunk-D6M3ZK66.js} +2 -2
- package/dist/chunk-D6M3ZK66.js.map +1 -0
- package/dist/chunk-DJ36BM62.js +78 -0
- package/dist/chunk-DJ36BM62.js.map +1 -0
- package/dist/{chunk-JOKPBYXP.js → chunk-DTEWAVNE.js} +2 -2
- package/dist/chunk-F2KJAJ7T.js +13 -0
- package/dist/chunk-F2KJAJ7T.js.map +1 -0
- package/dist/{chunk-KAILF7QA.js → chunk-F43CV6UC.js} +2 -2
- package/dist/{chunk-ACO7ZCR2.js → chunk-FKVJKLPI.js} +2 -2
- package/dist/{chunk-43HLS2HM.js → chunk-FYFHH7V5.js} +54 -3
- package/dist/{chunk-43HLS2HM.js.map → chunk-FYFHH7V5.js.map} +1 -1
- package/dist/{chunk-2F5JUAHZ.js → chunk-GAJC4BQZ.js} +3 -3
- package/dist/{chunk-L7N73ZAW.js → chunk-HAZAN4UM.js} +2 -2
- package/dist/{chunk-6QJZA6EX.js → chunk-HI5XQOX2.js} +2 -2
- package/dist/{chunk-BOENA6XR.js → chunk-HKGUKAQW.js} +6 -6
- package/dist/{chunk-LJSCGIYH.js → chunk-HPRVFJPM.js} +2 -2
- package/dist/{chunk-OO6FIBL7.js → chunk-HZKANST2.js} +3 -6
- package/dist/chunk-HZKANST2.js.map +1 -0
- package/dist/{chunk-UVDJ5SSQ.js → chunk-I557SAOM.js} +8 -2
- package/dist/chunk-I557SAOM.js.map +1 -0
- package/dist/{chunk-SDUOJRSV.js → chunk-IGLWLH73.js} +3 -3
- package/dist/{chunk-3AKH7ODX.js → chunk-INSIW65E.js} +5 -5
- package/dist/{chunk-PNHNXUSL.js → chunk-IULCDMVG.js} +12 -1
- package/dist/chunk-IULCDMVG.js.map +1 -0
- package/dist/{chunk-JF4T4HCQ.js → chunk-IVNSUAVC.js} +10 -5
- package/dist/chunk-IVNSUAVC.js.map +1 -0
- package/dist/chunk-JDQZCREI.js +87 -0
- package/dist/chunk-JDQZCREI.js.map +1 -0
- package/dist/{chunk-2P3NJTHE.js → chunk-JHFFUVON.js} +23 -23
- package/dist/{chunk-7JVARP5R.js → chunk-JTILUN4W.js} +55 -29
- package/dist/{chunk-7JVARP5R.js.map → chunk-JTILUN4W.js.map} +1 -1
- package/dist/{chunk-2TO5F6CT.js → chunk-K5KNGC4I.js} +8 -8
- package/dist/{chunk-HUWTFKEM.js → chunk-KAQ4Q3TO.js} +3 -3
- package/dist/{chunk-E6VP6MQM.js → chunk-KGUE5AVX.js} +4 -4
- package/dist/chunk-KGUE5AVX.js.map +1 -0
- package/dist/{chunk-GS5RZF7U.js → chunk-KLDMLWXT.js} +2 -2
- package/dist/{chunk-HN2EN6P4.js → chunk-KNKDMTHU.js} +5 -5
- package/dist/chunk-LDA6TAYQ.js +95 -0
- package/dist/chunk-LDA6TAYQ.js.map +1 -0
- package/dist/chunk-LWSSIZOY.js +347 -0
- package/dist/chunk-LWSSIZOY.js.map +1 -0
- package/dist/{chunk-5VWQSCDO.js → chunk-MAHNZA6C.js} +89 -9
- package/dist/chunk-MAHNZA6C.js.map +1 -0
- package/dist/{chunk-46HAB26L.js → chunk-MEWZCIA6.js} +56 -9
- package/dist/chunk-MEWZCIA6.js.map +1 -0
- package/dist/{chunk-R2KMLONN.js → chunk-MJDO4EXD.js} +4 -4
- package/dist/{chunk-IHVUE3XF.js → chunk-NJA6NT3A.js} +3 -3
- package/dist/{chunk-TSIID2LV.js → chunk-ODRPASFP.js} +375 -1166
- package/dist/chunk-ODRPASFP.js.map +1 -0
- package/dist/{chunk-S3JKF3IK.js → chunk-OJJFANO6.js} +3 -3
- package/dist/{chunk-56SOPRM2.js → chunk-OQWPRFAC.js} +344 -4
- package/dist/chunk-OQWPRFAC.js.map +1 -0
- package/dist/{chunk-QEZZDIQT.js → chunk-P6YQWIT2.js} +4053 -4039
- package/dist/chunk-P6YQWIT2.js.map +1 -0
- package/dist/{chunk-GGGEGMWC.js → chunk-Q6RSJCXB.js} +9 -9
- package/dist/{chunk-OTIUEUIS.js → chunk-QKEUKBRK.js} +7 -7
- package/dist/{chunk-X52BVGCJ.js → chunk-QQDPRTLP.js} +5 -5
- package/dist/chunk-QQYCYAKI.js +79 -0
- package/dist/chunk-QQYCYAKI.js.map +1 -0
- package/dist/chunk-R4KDH477.js +1064 -0
- package/dist/chunk-R4KDH477.js.map +1 -0
- package/dist/{chunk-6AQSUBNR.js → chunk-RGCPELQN.js} +2 -2
- package/dist/{chunk-AXODGQ23.js → chunk-RGVCOG2S.js} +9 -2
- package/dist/{chunk-AXODGQ23.js.map → chunk-RGVCOG2S.js.map} +1 -1
- package/dist/chunk-SOLNJ3AZ.js +209 -0
- package/dist/chunk-SOLNJ3AZ.js.map +1 -0
- package/dist/{chunk-LQ33RLHL.js → chunk-TFT2X7SH.js} +3 -3
- package/dist/chunk-TVWCLUBI.js +293 -0
- package/dist/chunk-TVWCLUBI.js.map +1 -0
- package/dist/{chunk-VH7JMLTG.js → chunk-UIB33QQP.js} +25 -16
- package/dist/chunk-UIB33QQP.js.map +1 -0
- package/dist/chunk-V6GIVALQ.js +1889 -0
- package/dist/chunk-V6GIVALQ.js.map +1 -0
- package/dist/{chunk-IVHGQNIN.js → chunk-VHXCPXUS.js} +8 -8
- package/dist/{chunk-7DW7GAM6.js → chunk-VU6GMWF6.js} +2 -2
- package/dist/chunk-VWZYE3NC.js +8415 -0
- package/dist/chunk-VWZYE3NC.js.map +1 -0
- package/dist/{chunk-3X4GOMXT.js → chunk-W2GXIARJ.js} +12 -7
- package/dist/chunk-W2GXIARJ.js.map +1 -0
- package/dist/chunk-W4G3K3V7.js +288 -0
- package/dist/chunk-W4G3K3V7.js.map +1 -0
- package/dist/{chunk-FHXTEVO7.js → chunk-W74LJ5OT.js} +21 -28
- package/dist/chunk-W74LJ5OT.js.map +1 -0
- package/dist/{chunk-FOEPH67T.js → chunk-W7ELYLYK.js} +1 -74
- package/dist/chunk-W7ELYLYK.js.map +1 -0
- package/dist/{chunk-YU3DLVSQ.js → chunk-XSCGUO2U.js} +5 -5
- package/dist/{chunk-EPCIJLLU.js → chunk-XWROSMI5.js} +9 -9
- package/dist/{chunk-HMT6L65V.js → chunk-YJGEVBKZ.js} +4 -4
- package/dist/{chunk-7U3P4PB7.js → chunk-ZEYA2WWX.js} +4 -4
- package/dist/chunk-ZEYA2WWX.js.map +1 -0
- package/dist/chunk-ZRC7Z5X3.js +82 -0
- package/dist/chunk-ZRC7Z5X3.js.map +1 -0
- package/dist/{chunk-I47ARU5G.js → chunk-ZS7JIUJ3.js} +2 -2
- package/dist/{claude-cli-2YKABJJZ.js → claude-cli-GIIHOBGT.js} +4 -2
- package/dist/claude-install-BAUSJMW3.js +64 -0
- package/dist/{cli-BFDKEX53.js → cli-QY4KKA3D.js} +116 -49
- package/dist/cli-QY4KKA3D.js.map +1 -0
- package/dist/{client-XMWEKXX7.js → client-3YQKORVK.js} +4 -4
- package/dist/{codex-host-B6NAUWL6.js → codex-host-ZON3S6HU.js} +5 -5
- package/dist/{codex-install-GTGO5FYN.js → codex-install-HZV2DOAB.js} +62 -47
- package/dist/codex-install-HZV2DOAB.js.map +1 -0
- package/dist/{config-THJANIU5.js → config-QZOBMTEL.js} +18 -18
- package/dist/{config-names-JU54HYWY.js → config-names-Z5NZD5R2.js} +18 -18
- package/dist/{config-rules-VNU23RL4.js → config-rules-YOYHS6YL.js} +19 -19
- package/dist/config-subagents-WQV2ZAD5.js +362 -0
- package/dist/config-subagents-WQV2ZAD5.js.map +1 -0
- package/dist/{connect-HPWS7U63.js → connect-YDWTYU4B.js} +28 -27
- package/dist/{connect-HPWS7U63.js.map → connect-YDWTYU4B.js.map} +1 -1
- package/dist/core-0a66n3e7-TTP554XV.js +127 -0
- package/dist/core-0a66n3e7-TTP554XV.js.map +1 -0
- package/dist/core-0bmnpbz2-C2JIRVZO.js +10790 -0
- package/dist/core-0bmnpbz2-C2JIRVZO.js.map +1 -0
- package/dist/core-9je8ee1j-74DGHWPV.js +30 -0
- package/dist/core-9je8ee1j-74DGHWPV.js.map +1 -0
- package/dist/core-wadgcjfh-TSZFQZGH.js +666 -0
- package/dist/core-wadgcjfh-TSZFQZGH.js.map +1 -0
- package/dist/core-zg882d22-LKV5DZYW.js +37 -0
- package/dist/core-zg882d22-LKV5DZYW.js.map +1 -0
- package/dist/{decision-JIIHDTOF.js → decision-QSKHOGCO.js} +6 -6
- package/dist/{doctor-4MMHBRDU.js → doctor-ZWJXRD75.js} +67 -66
- package/dist/doctor-ZWJXRD75.js.map +1 -0
- package/dist/{explicit-AGENAX6E.js → explicit-ME2NRADQ.js} +45 -42
- package/dist/{explicit-AGENAX6E.js.map → explicit-ME2NRADQ.js.map} +1 -1
- package/dist/flush-stdio-NYIJ3QXT.js +18 -0
- package/dist/{fund-MLXUH24Q.js → fund-VF7TLDJH.js} +110 -34
- package/dist/fund-VF7TLDJH.js.map +1 -0
- package/dist/{hook-command-UB7FOEUL.js → hook-command-VZ27MGWO.js} +21 -20
- package/dist/hosts/claude/.claude-plugin/marketplace.json +2 -2
- package/dist/hosts/claude/tenjin/.claude-plugin/plugin.json +2 -2
- package/dist/hosts/claude/tenjin/hooks/hook-data.ts +152 -0
- package/dist/hosts/claude/tenjin/hooks/hooks.json +7 -0
- package/dist/hosts/claude/tenjin/hooks/model-viewer.tsx +2987 -0
- package/dist/hosts/claude/tenjin/hooks/register.tsx +265 -30
- package/dist/hosts/claude/tenjin/skills/tenjin-pay/SKILL.md +14 -4
- package/dist/hosts/claude/tenjin/types/index.d.ts +133 -0
- package/dist/{hosts-WNQKYKP2.js → hosts-3EMTVM4H.js} +5 -3
- package/dist/index.js +16 -13
- package/dist/index.js.map +1 -1
- package/dist/{install-Q5SHHEDH.js → install-ZA7L2UF3.js} +34 -30
- package/dist/{install-funding-EGSW2KEP.js → install-funding-JDGYTF72.js} +9 -13
- package/dist/{install-identity-OID43B4D.js → install-identity-FFAYEFLX.js} +8 -8
- package/dist/{install-wallet-TZFWY5GK.js → install-wallet-2SFOVE3Q.js} +48 -33
- package/dist/{install-wallet-TZFWY5GK.js.map → install-wallet-2SFOVE3Q.js.map} +1 -1
- package/dist/mcp-36S6MK3C.js +67642 -0
- package/dist/mcp-36S6MK3C.js.map +1 -0
- package/dist/new-install-5L4GY3LN.js +51 -0
- package/dist/{package-NRHU7HBR.js → package-BONDXSV3.js} +2 -2
- package/dist/{passphrase-3JEVW5XG.js → passphrase-T4ULBN4M.js} +4 -4
- package/dist/{pay-I47AIUQR.js → pay-CMV5KL74.js} +37 -30
- package/dist/{payments-A5FNI5GN.js → payments-Z6UBZL4Z.js} +10 -10
- package/dist/reclaim-subagent-credit-ABSF67SJ.js +105 -0
- package/dist/reclaim-subagent-credit-ABSF67SJ.js.map +1 -0
- package/dist/{routing-quote-QQW2I5MH.js → routing-quote-AHLAREXR.js} +16 -18
- package/dist/{run-4SHEOBIU.js → run-JH7ELYAM.js} +41 -38
- package/dist/{runtime-BABJMHY7.js → runtime-2GX4ALJP.js} +12 -12
- package/dist/{runtime-activate-N6VLQI2C.js → runtime-activate-IDQ2NCSP.js} +9 -9
- package/dist/{runtime-launchers-GMAUICRW.js → runtime-launchers-YAPKCBHV.js} +7 -7
- package/dist/{runtime-place-DOEWFTF3.js → runtime-place-4POL4KK4.js} +3 -3
- package/dist/{send-ECXS6JEO.js → send-ELXFKEKY.js} +17 -17
- package/dist/{status-AHE5HSR7.js → status-FXUFWJDM.js} +89 -36
- package/dist/status-FXUFWJDM.js.map +1 -0
- package/dist/{status-line-63XFJAXR.js → status-line-IH5JBWBC.js} +11 -11
- package/dist/{streamableHttp-Z3YF6LTQ.js → streamableHttp-CP2ZQBIK.js} +4 -4
- package/dist/{uninstall-YGQPRCVY.js → uninstall-LJZUKM4D.js} +42 -38
- package/dist/{uninstall-YGQPRCVY.js.map → uninstall-LJZUKM4D.js.map} +1 -1
- package/dist/{update-GTLMLFA3.js → update-EUIX72IX.js} +34 -30
- package/dist/{usage-FCWP2CHO.js → usage-EKDC7LUC.js} +13 -13
- package/dist/{usdc-25RNBYYR.js → usdc-YIHK2OMC.js} +5 -5
- package/dist/{viemAdapter-By13KInL-3CG63XDX.js → viemAdapter-By13KInL-PRLSIESK.js} +2 -2
- package/dist/viemAdapter-By13KInL-PRLSIESK.js.map +1 -0
- package/dist/wallet-HSW757W6.js +80 -0
- package/dist/wallet-HSW757W6.js.map +1 -0
- package/docs/agent-permissions.md +19 -11
- package/docs/router-reference.md +21 -12
- package/docs/safety-model.md +4 -2
- package/docs/subagents-internals.md +97 -0
- package/docs/subagents.md +348 -0
- package/package.json +4 -1
- package/dist/balance-RQW5T5FB.js +0 -55
- package/dist/chunk-3X4GOMXT.js.map +0 -1
- package/dist/chunk-46HAB26L.js.map +0 -1
- package/dist/chunk-56SOPRM2.js.map +0 -1
- package/dist/chunk-5VWQSCDO.js.map +0 -1
- package/dist/chunk-6J64MQFD.js.map +0 -1
- package/dist/chunk-7U3P4PB7.js.map +0 -1
- package/dist/chunk-APWELUI7.js.map +0 -1
- package/dist/chunk-E6VP6MQM.js.map +0 -1
- package/dist/chunk-EQZ2CCWC.js.map +0 -1
- package/dist/chunk-FHXTEVO7.js.map +0 -1
- package/dist/chunk-FOEPH67T.js.map +0 -1
- package/dist/chunk-IVXPIIZJ.js +0 -91
- package/dist/chunk-IVXPIIZJ.js.map +0 -1
- package/dist/chunk-JF4T4HCQ.js.map +0 -1
- package/dist/chunk-LPQNZKSG.js +0 -269
- package/dist/chunk-LPQNZKSG.js.map +0 -1
- package/dist/chunk-MXN2ZEUB.js.map +0 -1
- package/dist/chunk-OO6FIBL7.js.map +0 -1
- package/dist/chunk-PNHNXUSL.js.map +0 -1
- package/dist/chunk-PYVQ74D5.js.map +0 -1
- package/dist/chunk-PZHBPGDE.js.map +0 -1
- package/dist/chunk-QEZZDIQT.js.map +0 -1
- package/dist/chunk-QXP3Z3JN.js.map +0 -1
- package/dist/chunk-RJ5HRPAZ.js.map +0 -1
- package/dist/chunk-TSIID2LV.js.map +0 -1
- package/dist/chunk-UVDJ5SSQ.js.map +0 -1
- package/dist/chunk-VFKPIIV2.js.map +0 -1
- package/dist/chunk-VH7JMLTG.js.map +0 -1
- package/dist/claude-install-7CVYQ73E.js +0 -60
- package/dist/cli-BFDKEX53.js.map +0 -1
- package/dist/codex-install-GTGO5FYN.js.map +0 -1
- package/dist/doctor-4MMHBRDU.js.map +0 -1
- package/dist/fund-MLXUH24Q.js.map +0 -1
- package/dist/mcp-CC3H7LFO.js +0 -3655
- package/dist/mcp-CC3H7LFO.js.map +0 -1
- package/dist/status-AHE5HSR7.js.map +0 -1
- package/dist/wallet-CJGEHP2Q.js +0 -64
- /package/dist/{_esm-MMYV66AX.js.map → _esm-2KST7HQ7.js.map} +0 -0
- /package/dist/{alive-VOIL5W3I.js.map → alive-5TV22PNF.js.map} +0 -0
- /package/dist/{auth-UHD3QFX4.js.map → auth-XI7BJFLW.js.map} +0 -0
- /package/dist/{balance-RQW5T5FB.js.map → balance-DFHC6XEU.js.map} +0 -0
- /package/dist/{ccip-CS7K5QRQ.js.map → ccip-HOW3DZYF.js.map} +0 -0
- /package/dist/{chunk-FSYH7J75.js.map → chunk-3Y6BHIN6.js.map} +0 -0
- /package/dist/{chunk-FZZWTDWP.js.map → chunk-3YPL6T3P.js.map} +0 -0
- /package/dist/{chunk-JEZMWJEF.js.map → chunk-44MVIRZH.js.map} +0 -0
- /package/dist/{chunk-27FIHFXF.js.map → chunk-45MMSBHA.js.map} +0 -0
- /package/dist/{chunk-7JB6SYJX.js.map → chunk-54ELBTKE.js.map} +0 -0
- /package/dist/{chunk-HWZO6HYZ.js.map → chunk-6QMDUDF2.js.map} +0 -0
- /package/dist/{chunk-FNBGRKS6.js.map → chunk-7V25UAQO.js.map} +0 -0
- /package/dist/{chunk-JOKPBYXP.js.map → chunk-DTEWAVNE.js.map} +0 -0
- /package/dist/{chunk-KAILF7QA.js.map → chunk-F43CV6UC.js.map} +0 -0
- /package/dist/{chunk-ACO7ZCR2.js.map → chunk-FKVJKLPI.js.map} +0 -0
- /package/dist/{chunk-2F5JUAHZ.js.map → chunk-GAJC4BQZ.js.map} +0 -0
- /package/dist/{chunk-L7N73ZAW.js.map → chunk-HAZAN4UM.js.map} +0 -0
- /package/dist/{chunk-6QJZA6EX.js.map → chunk-HI5XQOX2.js.map} +0 -0
- /package/dist/{chunk-BOENA6XR.js.map → chunk-HKGUKAQW.js.map} +0 -0
- /package/dist/{chunk-LJSCGIYH.js.map → chunk-HPRVFJPM.js.map} +0 -0
- /package/dist/{chunk-SDUOJRSV.js.map → chunk-IGLWLH73.js.map} +0 -0
- /package/dist/{chunk-3AKH7ODX.js.map → chunk-INSIW65E.js.map} +0 -0
- /package/dist/{chunk-2P3NJTHE.js.map → chunk-JHFFUVON.js.map} +0 -0
- /package/dist/{chunk-2TO5F6CT.js.map → chunk-K5KNGC4I.js.map} +0 -0
- /package/dist/{chunk-HUWTFKEM.js.map → chunk-KAQ4Q3TO.js.map} +0 -0
- /package/dist/{chunk-GS5RZF7U.js.map → chunk-KLDMLWXT.js.map} +0 -0
- /package/dist/{chunk-HN2EN6P4.js.map → chunk-KNKDMTHU.js.map} +0 -0
- /package/dist/{chunk-R2KMLONN.js.map → chunk-MJDO4EXD.js.map} +0 -0
- /package/dist/{chunk-IHVUE3XF.js.map → chunk-NJA6NT3A.js.map} +0 -0
- /package/dist/{chunk-S3JKF3IK.js.map → chunk-OJJFANO6.js.map} +0 -0
- /package/dist/{chunk-GGGEGMWC.js.map → chunk-Q6RSJCXB.js.map} +0 -0
- /package/dist/{chunk-OTIUEUIS.js.map → chunk-QKEUKBRK.js.map} +0 -0
- /package/dist/{chunk-X52BVGCJ.js.map → chunk-QQDPRTLP.js.map} +0 -0
- /package/dist/{chunk-6AQSUBNR.js.map → chunk-RGCPELQN.js.map} +0 -0
- /package/dist/{chunk-LQ33RLHL.js.map → chunk-TFT2X7SH.js.map} +0 -0
- /package/dist/{chunk-IVHGQNIN.js.map → chunk-VHXCPXUS.js.map} +0 -0
- /package/dist/{chunk-7DW7GAM6.js.map → chunk-VU6GMWF6.js.map} +0 -0
- /package/dist/{chunk-YU3DLVSQ.js.map → chunk-XSCGUO2U.js.map} +0 -0
- /package/dist/{chunk-EPCIJLLU.js.map → chunk-XWROSMI5.js.map} +0 -0
- /package/dist/{chunk-HMT6L65V.js.map → chunk-YJGEVBKZ.js.map} +0 -0
- /package/dist/{chunk-I47ARU5G.js.map → chunk-ZS7JIUJ3.js.map} +0 -0
- /package/dist/{claude-cli-2YKABJJZ.js.map → claude-cli-GIIHOBGT.js.map} +0 -0
- /package/dist/{claude-install-7CVYQ73E.js.map → claude-install-BAUSJMW3.js.map} +0 -0
- /package/dist/{client-XMWEKXX7.js.map → client-3YQKORVK.js.map} +0 -0
- /package/dist/{codex-host-B6NAUWL6.js.map → codex-host-ZON3S6HU.js.map} +0 -0
- /package/dist/{config-THJANIU5.js.map → config-QZOBMTEL.js.map} +0 -0
- /package/dist/{config-names-JU54HYWY.js.map → config-names-Z5NZD5R2.js.map} +0 -0
- /package/dist/{config-rules-VNU23RL4.js.map → config-rules-YOYHS6YL.js.map} +0 -0
- /package/dist/{decision-JIIHDTOF.js.map → decision-QSKHOGCO.js.map} +0 -0
- /package/dist/{hook-command-UB7FOEUL.js.map → flush-stdio-NYIJ3QXT.js.map} +0 -0
- /package/dist/{hosts-WNQKYKP2.js.map → hook-command-VZ27MGWO.js.map} +0 -0
- /package/dist/{install-Q5SHHEDH.js.map → hosts-3EMTVM4H.js.map} +0 -0
- /package/dist/{install-funding-EGSW2KEP.js.map → install-ZA7L2UF3.js.map} +0 -0
- /package/dist/{install-identity-OID43B4D.js.map → install-funding-JDGYTF72.js.map} +0 -0
- /package/dist/{package-NRHU7HBR.js.map → install-identity-FFAYEFLX.js.map} +0 -0
- /package/dist/{passphrase-3JEVW5XG.js.map → new-install-5L4GY3LN.js.map} +0 -0
- /package/dist/{pay-I47AIUQR.js.map → package-BONDXSV3.js.map} +0 -0
- /package/dist/{routing-quote-QQW2I5MH.js.map → passphrase-T4ULBN4M.js.map} +0 -0
- /package/dist/{run-4SHEOBIU.js.map → pay-CMV5KL74.js.map} +0 -0
- /package/dist/{payments-A5FNI5GN.js.map → payments-Z6UBZL4Z.js.map} +0 -0
- /package/dist/{runtime-activate-N6VLQI2C.js.map → routing-quote-AHLAREXR.js.map} +0 -0
- /package/dist/{runtime-launchers-GMAUICRW.js.map → run-JH7ELYAM.js.map} +0 -0
- /package/dist/{runtime-BABJMHY7.js.map → runtime-2GX4ALJP.js.map} +0 -0
- /package/dist/{runtime-place-DOEWFTF3.js.map → runtime-activate-IDQ2NCSP.js.map} +0 -0
- /package/dist/{update-GTLMLFA3.js.map → runtime-launchers-YAPKCBHV.js.map} +0 -0
- /package/dist/{usdc-25RNBYYR.js.map → runtime-place-4POL4KK4.js.map} +0 -0
- /package/dist/{send-ECXS6JEO.js.map → send-ELXFKEKY.js.map} +0 -0
- /package/dist/{status-line-63XFJAXR.js.map → status-line-IH5JBWBC.js.map} +0 -0
- /package/dist/{streamableHttp-Z3YF6LTQ.js.map → streamableHttp-CP2ZQBIK.js.map} +0 -0
- /package/dist/{viemAdapter-By13KInL-3CG63XDX.js.map → update-EUIX72IX.js.map} +0 -0
- /package/dist/{usage-FCWP2CHO.js.map → usage-EKDC7LUC.js.map} +0 -0
- /package/dist/{wallet-CJGEHP2Q.js.map → usdc-YIHK2OMC.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
addressQrLines
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VU6GMWF6.js";
|
|
5
5
|
import {
|
|
6
6
|
runBalance
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MEWZCIA6.js";
|
|
8
8
|
import {
|
|
9
9
|
KEY_STORAGE,
|
|
10
10
|
commitLocalWallet,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
verifyAndPreserveOutgoingWallet,
|
|
22
22
|
walletExistsError,
|
|
23
23
|
walletFileExists
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-K5KNGC4I.js";
|
|
25
25
|
import {
|
|
26
26
|
STORE_TIMEOUTS,
|
|
27
27
|
describeStoreLocation,
|
|
@@ -29,26 +29,26 @@ import {
|
|
|
29
29
|
resolvePassphrase,
|
|
30
30
|
resolvePassphraseForCreate,
|
|
31
31
|
unstorableWhy
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HI5XQOX2.js";
|
|
33
33
|
import {
|
|
34
34
|
storeNoun
|
|
35
35
|
} from "./chunk-XRGFH7FI.js";
|
|
36
36
|
import {
|
|
37
37
|
writePassphraseRecord
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZS7JIUJ3.js";
|
|
39
39
|
import {
|
|
40
40
|
markUnlockPending
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-HAZAN4UM.js";
|
|
42
42
|
import {
|
|
43
43
|
LockTimeoutError,
|
|
44
44
|
withFileLock
|
|
45
45
|
} from "./chunk-2W4DQQUU.js";
|
|
46
46
|
import {
|
|
47
47
|
emitNotice
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-KLDMLWXT.js";
|
|
49
49
|
import {
|
|
50
50
|
FUNDING_LINE
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-HZKANST2.js";
|
|
52
52
|
import {
|
|
53
53
|
NO_KEYRING_LINE,
|
|
54
54
|
REPAIR_CLAUSE,
|
|
@@ -435,4 +435,4 @@ export {
|
|
|
435
435
|
runWalletShow,
|
|
436
436
|
runWalletBalance
|
|
437
437
|
};
|
|
438
|
-
//# sourceMappingURL=chunk-
|
|
438
|
+
//# sourceMappingURL=chunk-Q6RSJCXB.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
emitNotice
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KLDMLWXT.js";
|
|
5
5
|
import {
|
|
6
6
|
isNewer,
|
|
7
7
|
parseVersion
|
|
8
8
|
} from "./chunk-5N4GGUBN.js";
|
|
9
|
+
import {
|
|
10
|
+
loadConfig
|
|
11
|
+
} from "./chunk-UIB33QQP.js";
|
|
9
12
|
import {
|
|
10
13
|
writeFileAtomic
|
|
11
14
|
} from "./chunk-7WEQQJLG.js";
|
|
12
|
-
import {
|
|
13
|
-
loadConfig
|
|
14
|
-
} from "./chunk-VH7JMLTG.js";
|
|
15
15
|
import {
|
|
16
16
|
updateCheckPath
|
|
17
17
|
} from "./chunk-JTX3BUDK.js";
|
|
18
18
|
import {
|
|
19
19
|
external_exports
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-P6YQWIT2.js";
|
|
21
21
|
import {
|
|
22
22
|
package_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3Y2EHT4F.js";
|
|
24
24
|
|
|
25
25
|
// src/lib/update-check.ts
|
|
26
26
|
import { readFile } from "node:fs/promises";
|
|
@@ -184,4 +184,4 @@ export {
|
|
|
184
184
|
fetchDistTags,
|
|
185
185
|
fetchPublishTime
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-QKEUKBRK.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
emitSuccess
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KLDMLWXT.js";
|
|
5
5
|
import {
|
|
6
6
|
SUGGESTED_FUND_USD,
|
|
7
7
|
usd
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HZKANST2.js";
|
|
9
9
|
import {
|
|
10
10
|
selectOne
|
|
11
11
|
} from "./chunk-GH5UKMZD.js";
|
|
@@ -43,7 +43,7 @@ async function fundStep(wallet, rpcUrl, deps, command) {
|
|
|
43
43
|
}
|
|
44
44
|
var FUND_QUESTION = `Add $${SUGGESTED_FUND_USD} to your balance now?`;
|
|
45
45
|
async function defaultBalance(address, rpcUrl) {
|
|
46
|
-
const { getUsdcBalance } = await import("./usdc-
|
|
46
|
+
const { getUsdcBalance } = await import("./usdc-YIHK2OMC.js");
|
|
47
47
|
return getUsdcBalance(address, rpcUrl);
|
|
48
48
|
}
|
|
49
49
|
function fundingOncePerRun(check = fundStep) {
|
|
@@ -91,7 +91,7 @@ async function finishTerminalFunding(result, ctx, opts = {}) {
|
|
|
91
91
|
})))();
|
|
92
92
|
if (answer !== "fund") return { ...result, humanLines: [] };
|
|
93
93
|
try {
|
|
94
|
-
const run = opts.fund ?? (await import("./fund-
|
|
94
|
+
const run = opts.fund ?? (await import("./fund-VF7TLDJH.js")).runFund;
|
|
95
95
|
const funded = await run(ctx, {
|
|
96
96
|
amountUsd: String(SUGGESTED_FUND_USD),
|
|
97
97
|
source: "install",
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
fundingOncePerRun,
|
|
125
125
|
finishTerminalFunding
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-QQDPRTLP.js.map
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
modelConsentSchema,
|
|
4
|
+
namedDirectories
|
|
5
|
+
} from "./chunk-LDA6TAYQ.js";
|
|
6
|
+
import {
|
|
7
|
+
paint
|
|
8
|
+
} from "./chunk-KLDMLWXT.js";
|
|
9
|
+
import {
|
|
10
|
+
formatUsdDisplay
|
|
11
|
+
} from "./chunk-MEZJ3I63.js";
|
|
12
|
+
import {
|
|
13
|
+
tilde
|
|
14
|
+
} from "./chunk-JTX3BUDK.js";
|
|
15
|
+
|
|
16
|
+
// src/router/subagents-shown.ts
|
|
17
|
+
import { homedir } from "node:os";
|
|
18
|
+
var SUBAGENT_DETAILS_URL = "https://github.com/BackTrackCo/tenjin-agent/blob/main/docs/subagents.md";
|
|
19
|
+
var SUBAGENT_TERMS = [
|
|
20
|
+
"Before each offer, Tenjin and TypeSafe get the task and recent conversation. Routing costs one fee for each offer, also when Claude declines it: what the router quotes ($0.0081), never more than $0.25, paid inside your per-call limit and the job ceiling.",
|
|
21
|
+
"When Claude accepts, Tenjin and DeepSeek get the task, its instructions and the worker\u2019s tool results, unmasked: only the job\u2019s tokens and your wallet key and passphrase are removed. A web search runs inside the DeepSeek call; the address of a page the worker could not fetch goes to Exa.",
|
|
22
|
+
"Its instructions come from your ~/.claude (CLAUDE.md, skills, plugins). Its file tools can read the session transcripts, prompt history and settings there, and what they read can reach Tenjin and DeepSeek.",
|
|
23
|
+
`Details: ${SUBAGENT_DETAILS_URL}`
|
|
24
|
+
];
|
|
25
|
+
var OFF_HINT = "Run `tenjin config subagents off` to turn them off.";
|
|
26
|
+
var ON_HINT = "Run `tenjin config subagents on` to turn them on.";
|
|
27
|
+
var SUBAGENTS_KEPT_OFF_LINES = ["\u25CB DeepSeek subagents are off", "", ON_HINT];
|
|
28
|
+
var SUBAGENTS_OFF_LINE = "\u25CB DeepSeek subagents are off. No new jobs will start.";
|
|
29
|
+
function scopeWords(directories, home = homedir()) {
|
|
30
|
+
if (!directories) return "Every workspace";
|
|
31
|
+
const shown = directories.map((path) => tilde(path, home)).join(", ");
|
|
32
|
+
return `${shown} and ${directories.length === 1 ? "its" : "their"} subfolders`;
|
|
33
|
+
}
|
|
34
|
+
var usd = (atomic) => `$${formatUsdDisplay(atomic.toString())}`;
|
|
35
|
+
function costWords({ perCall, named, wasCap, daily }) {
|
|
36
|
+
const now = named !== void 0 && named < perCall ? named : perCall;
|
|
37
|
+
const was = wasCap !== void 0 && wasCap !== now ? `; was ${usd(wasCap)}` : "";
|
|
38
|
+
const cap = named === void 0 ? `Up to ${usd(perCall)} a job (your per-call limit${was})` : named < perCall ? `Up to ${usd(named)} a job (your --max-job${was})` : `Up to ${usd(perCall)} a job (your per-call limit; your --max-job of ${usd(named)} does not lift it${was})`;
|
|
39
|
+
return daily ? `${cap} \xB7 your daily budget applies` : cap;
|
|
40
|
+
}
|
|
41
|
+
var ROW_LABEL = 9;
|
|
42
|
+
var row = (label, value) => ` ${label.padEnd(ROW_LABEL)}${value}`;
|
|
43
|
+
function scopeShown({ directories, was }, home = homedir()) {
|
|
44
|
+
const before = was === void 0 ? "" : was === "every-workspace" ? " (was every workspace)" : ` (was ${was.map((path) => tilde(path, home)).join(", ")} only)`;
|
|
45
|
+
return scopeWords(directories, home) + before;
|
|
46
|
+
}
|
|
47
|
+
function subagentsOnLines(ctx, shown, options = {}) {
|
|
48
|
+
return [
|
|
49
|
+
`${paint(ctx.io, "green", "\u25CF")} DeepSeek subagents are on`,
|
|
50
|
+
"",
|
|
51
|
+
row("Scope", scopeShown(shown)),
|
|
52
|
+
row("Cost", costWords(shown)),
|
|
53
|
+
// The router is said only when it is not Tenjin's own.
|
|
54
|
+
...shown.routerOrigin === "https://tenjin.sh" ? [] : [row("Router", shown.routerOrigin)],
|
|
55
|
+
...options.terms ? ["", ...SUBAGENT_TERMS] : [],
|
|
56
|
+
...options.notes?.length ? ["", ...options.notes] : [],
|
|
57
|
+
"",
|
|
58
|
+
OFF_HINT
|
|
59
|
+
];
|
|
60
|
+
}
|
|
61
|
+
function subagentsStatusValue(config) {
|
|
62
|
+
if (config.router?.subagents !== true) return "Off";
|
|
63
|
+
const consent = modelConsentSchema.safeParse(config.router?.subagentConsent);
|
|
64
|
+
if (!consent.success) return "On, but no consent is saved";
|
|
65
|
+
const directories = namedDirectories(consent.data);
|
|
66
|
+
return `On \xB7 ${!directories ? "every workspace" : directories.length === 1 ? scopeWords(directories) : `${directories.length} directories`}`;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export {
|
|
70
|
+
SUBAGENT_DETAILS_URL,
|
|
71
|
+
SUBAGENT_TERMS,
|
|
72
|
+
ON_HINT,
|
|
73
|
+
SUBAGENTS_KEPT_OFF_LINES,
|
|
74
|
+
SUBAGENTS_OFF_LINE,
|
|
75
|
+
scopeShown,
|
|
76
|
+
subagentsOnLines,
|
|
77
|
+
subagentsStatusValue
|
|
78
|
+
};
|
|
79
|
+
//# sourceMappingURL=chunk-QQYCYAKI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/router/subagents-shown.ts"],"sourcesContent":["import { homedir } from 'node:os';\nimport type { CommandContext } from '../context';\nimport type { PartialConfig } from '../lib/config';\nimport { formatUsdDisplay } from '../lib/money';\nimport { paint } from '../lib/output';\nimport { tilde } from '../lib/paths';\nimport { modelConsentSchema, namedDirectories } from './model-settings';\n\n/**\n * WHAT A PERSON IS SHOWN ABOUT DEEPSEEK SUBAGENTS, in one place: the block `tenjin config\n * subagents` and the setup receipt print, the short terms, and the row of `tenjin status`.\n * It imports nothing of the worker or the job store, so `tenjin status` and the installer\n * load it without them.\n */\n\n/** The page the setup question and each turn-on send a person to for the full terms. */\nexport const SUBAGENT_DETAILS_URL =\n 'https://github.com/BackTrackCo/tenjin-agent/blob/main/docs/subagents.md';\n\n/**\n * THE ONE SHORT TERMS TEXT, printed after `tenjin config subagents on` and after \"Turn on\"\n * in setup. It names every recipient the consent record names and the `~/.claude` read.\n * The full terms are the guide and the `disclosure` field of `on --json`.\n */\nexport const SUBAGENT_TERMS: readonly string[] = [\n 'Before each offer, Tenjin and TypeSafe get the task and recent conversation. Routing costs one fee for each offer, also when Claude declines it: what the router quotes ($0.0081), never more than $0.25, paid inside your per-call limit and the job ceiling.',\n 'When Claude accepts, Tenjin and DeepSeek get the task, its instructions and the worker’s tool results, unmasked: only the job’s tokens and your wallet key and passphrase are removed. A web search runs inside the DeepSeek call; the address of a page the worker could not fetch goes to Exa.',\n 'Its instructions come from your ~/.claude (CLAUDE.md, skills, plugins). Its file tools can read the session transcripts, prompt history and settings there, and what they read can reach Tenjin and DeepSeek.',\n `Details: ${SUBAGENT_DETAILS_URL}`,\n];\n\nconst OFF_HINT = 'Run `tenjin config subagents off` to turn them off.';\nexport const ON_HINT = 'Run `tenjin config subagents on` to turn them on.';\n/** After \"Keep off\" in setup: it is off, and how to turn it on. A job has never started there. */\nexport const SUBAGENTS_KEPT_OFF_LINES = ['○ DeepSeek subagents are off', '', ON_HINT] as const;\n/** After `off`. */\nexport const SUBAGENTS_OFF_LINE = '○ DeepSeek subagents are off. No new jobs will start.';\n\n/**\n * THE SCOPE IN PLAIN WORDS, the same in the status, after each `on` and in `tenjin status`:\n * every workspace, or the listed directories. A listed directory includes its subfolders.\n */\nexport function scopeWords(directories: readonly string[] | null, home = homedir()): string {\n if (!directories) return 'Every workspace';\n const shown = directories.map((path) => tilde(path, home)).join(', ');\n return `${shown} and ${directories.length === 1 ? 'its' : 'their'} subfolders`;\n}\nconst usd = (atomic: bigint) => `$${formatUsdDisplay(atomic.toString())}`;\n\n/** What a turn-on or the status shows: the scope, a change of it, and the cap in force. */\nexport type SubagentsShown = {\n directories: readonly string[] | null;\n /** The scope this turn-on replaced, where it narrowed or widened a saved consent. */\n was?: readonly string[] | 'every-workspace';\n perCall: bigint;\n /** The ceiling named with `--max-job`. */\n named?: bigint;\n /** The cap in force before this turn-on, where a saved consent at this router gave one. */\n wasCap?: bigint;\n /** Whether a daily budget is set. */\n daily: boolean;\n routerOrigin: string;\n};\n\n/** The cap in force, read from the settings: the per-call limit, or a lower named ceiling. */\nfunction costWords({ perCall, named, wasCap, daily }: SubagentsShown): string {\n const now = named !== undefined && named < perCall ? named : perCall;\n const was = wasCap !== undefined && wasCap !== now ? `; was ${usd(wasCap)}` : '';\n const cap =\n named === undefined\n ? `Up to ${usd(perCall)} a job (your per-call limit${was})`\n : named < perCall\n ? `Up to ${usd(named)} a job (your --max-job${was})`\n : `Up to ${usd(perCall)} a job (your per-call limit; your --max-job of ${usd(named)} does not lift it${was})`;\n return daily ? `${cap} · your daily budget applies` : cap;\n}\n\nconst ROW_LABEL = 9;\nconst row = (label: string, value: string) => ` ${label.padEnd(ROW_LABEL)}${value}`;\n\n/** The scope row's words: the scope, and the one a turn-on replaced when it changed it. */\nexport function scopeShown({ directories, was }: SubagentsShown, home = homedir()): string {\n const before =\n was === undefined\n ? ''\n : was === 'every-workspace'\n ? ' (was every workspace)'\n : ` (was ${was.map((path) => tilde(path, home)).join(', ')} only)`;\n return scopeWords(directories, home) + before;\n}\n\n/**\n * THE ON BLOCK, laid out as `tenjin status` is: the header, the scope and cost rows, the\n * short terms after a turn-on, and how to turn it off. `tenjin config subagents`, its `on`\n * and the setup receipt after \"Turn on\" all print this, so there is one layout and one terms text.\n */\nexport function subagentsOnLines(\n ctx: CommandContext,\n shown: SubagentsShown,\n options: { terms?: boolean; notes?: readonly string[] } = {},\n): string[] {\n return [\n `${paint(ctx.io, 'green', '●')} DeepSeek subagents are on`,\n '',\n row('Scope', scopeShown(shown)),\n row('Cost', costWords(shown)),\n // The router is said only when it is not Tenjin's own.\n ...(shown.routerOrigin === 'https://tenjin.sh' ? [] : [row('Router', shown.routerOrigin)]),\n ...(options.terms ? ['', ...SUBAGENT_TERMS] : []),\n ...(options.notes?.length ? ['', ...options.notes] : []),\n '',\n OFF_HINT,\n ];\n}\n\n/** The `Subagents` row of `tenjin status`: on with its scope, or off. */\nexport function subagentsStatusValue(config: PartialConfig): string {\n if (config.router?.subagents !== true) return 'Off';\n const consent = modelConsentSchema.safeParse(config.router?.subagentConsent);\n if (!consent.success) return 'On, but no consent is saved';\n const directories = namedDirectories(consent.data);\n return `On · ${\n !directories\n ? 'every workspace'\n : directories.length === 1\n ? scopeWords(directories)\n : `${directories.length} directories`\n }`;\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS,eAAe;AAgBjB,IAAM,uBACX;AAOK,IAAM,iBAAoC;AAAA,EAC/C;AAAA,EACA;AAAA,EACA;AAAA,EACA,YAAY,oBAAoB;AAClC;AAEA,IAAM,WAAW;AACV,IAAM,UAAU;AAEhB,IAAM,2BAA2B,CAAC,qCAAgC,IAAI,OAAO;AAE7E,IAAM,qBAAqB;AAM3B,SAAS,WAAW,aAAuC,OAAO,QAAQ,GAAW;AAC1F,MAAI,CAAC,YAAa,QAAO;AACzB,QAAM,QAAQ,YAAY,IAAI,CAAC,SAAS,MAAM,MAAM,IAAI,CAAC,EAAE,KAAK,IAAI;AACpE,SAAO,GAAG,KAAK,QAAQ,YAAY,WAAW,IAAI,QAAQ,OAAO;AACnE;AACA,IAAM,MAAM,CAAC,WAAmB,IAAI,iBAAiB,OAAO,SAAS,CAAC,CAAC;AAkBvE,SAAS,UAAU,EAAE,SAAS,OAAO,QAAQ,MAAM,GAA2B;AAC5E,QAAM,MAAM,UAAU,UAAa,QAAQ,UAAU,QAAQ;AAC7D,QAAM,MAAM,WAAW,UAAa,WAAW,MAAM,SAAS,IAAI,MAAM,CAAC,KAAK;AAC9E,QAAM,MACJ,UAAU,SACN,SAAS,IAAI,OAAO,CAAC,8BAA8B,GAAG,MACtD,QAAQ,UACN,SAAS,IAAI,KAAK,CAAC,yBAAyB,GAAG,MAC/C,SAAS,IAAI,OAAO,CAAC,kDAAkD,IAAI,KAAK,CAAC,oBAAoB,GAAG;AAChH,SAAO,QAAQ,GAAG,GAAG,oCAAiC;AACxD;AAEA,IAAM,YAAY;AAClB,IAAM,MAAM,CAAC,OAAe,UAAkB,KAAK,MAAM,OAAO,SAAS,CAAC,GAAG,KAAK;AAG3E,SAAS,WAAW,EAAE,aAAa,IAAI,GAAmB,OAAO,QAAQ,GAAW;AACzF,QAAM,SACJ,QAAQ,SACJ,KACA,QAAQ,oBACN,2BACA,SAAS,IAAI,IAAI,CAAC,SAAS,MAAM,MAAM,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC;AAChE,SAAO,WAAW,aAAa,IAAI,IAAI;AACzC;AAOO,SAAS,iBACd,KACA,OACA,UAA0D,CAAC,GACjD;AACV,SAAO;AAAA,IACL,GAAG,MAAM,IAAI,IAAI,SAAS,QAAG,CAAC;AAAA,IAC9B;AAAA,IACA,IAAI,SAAS,WAAW,KAAK,CAAC;AAAA,IAC9B,IAAI,QAAQ,UAAU,KAAK,CAAC;AAAA;AAAA,IAE5B,GAAI,MAAM,iBAAiB,sBAAsB,CAAC,IAAI,CAAC,IAAI,UAAU,MAAM,YAAY,CAAC;AAAA,IACxF,GAAI,QAAQ,QAAQ,CAAC,IAAI,GAAG,cAAc,IAAI,CAAC;AAAA,IAC/C,GAAI,QAAQ,OAAO,SAAS,CAAC,IAAI,GAAG,QAAQ,KAAK,IAAI,CAAC;AAAA,IACtD;AAAA,IACA;AAAA,EACF;AACF;AAGO,SAAS,qBAAqB,QAA+B;AAClE,MAAI,OAAO,QAAQ,cAAc,KAAM,QAAO;AAC9C,QAAM,UAAU,mBAAmB,UAAU,OAAO,QAAQ,eAAe;AAC3E,MAAI,CAAC,QAAQ,QAAS,QAAO;AAC7B,QAAM,cAAc,iBAAiB,QAAQ,IAAI;AACjD,SAAO,WACL,CAAC,cACG,oBACA,YAAY,WAAW,IACrB,WAAW,WAAW,IACtB,GAAG,YAAY,MAAM,cAC7B;AACF;","names":[]}
|