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
|
@@ -2,16 +2,16 @@ import { createRequire as __tenjinCreateRequire } from 'node:module'; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
maybeUpdate,
|
|
4
4
|
readUpdateSignal
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QKEUKBRK.js";
|
|
6
6
|
import {
|
|
7
7
|
HARNESSES
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IULCDMVG.js";
|
|
9
9
|
import {
|
|
10
10
|
underAgentHarness
|
|
11
11
|
} from "./chunk-WXA3WTPF.js";
|
|
12
12
|
import {
|
|
13
13
|
noteBaseUrlFlag
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3YPL6T3P.js";
|
|
15
15
|
import "./chunk-JWAK7JQB.js";
|
|
16
16
|
import {
|
|
17
17
|
closestNames
|
|
@@ -20,30 +20,30 @@ import {
|
|
|
20
20
|
defaultIo,
|
|
21
21
|
emitFailure,
|
|
22
22
|
emitSuccess
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KLDMLWXT.js";
|
|
24
24
|
import {
|
|
25
25
|
markLive
|
|
26
26
|
} from "./chunk-5N4GGUBN.js";
|
|
27
|
+
import "./chunk-UIB33QQP.js";
|
|
27
28
|
import "./chunk-7WEQQJLG.js";
|
|
28
|
-
import "./chunk-VH7JMLTG.js";
|
|
29
|
-
import "./chunk-3MZ7DYRO.js";
|
|
30
29
|
import "./chunk-ZCT5DJ3G.js";
|
|
30
|
+
import "./chunk-3MZ7DYRO.js";
|
|
31
31
|
import {
|
|
32
32
|
dataDir
|
|
33
33
|
} from "./chunk-JTX3BUDK.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-D6M3ZK66.js";
|
|
35
|
+
import "./chunk-RGCPELQN.js";
|
|
36
36
|
import "./chunk-CRG54LEB.js";
|
|
37
37
|
import "./chunk-TUCKEEXE.js";
|
|
38
38
|
import {
|
|
39
39
|
external_exports
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-P6YQWIT2.js";
|
|
41
41
|
import {
|
|
42
42
|
CliError
|
|
43
43
|
} from "./chunk-DI4QAGRZ.js";
|
|
44
44
|
import {
|
|
45
45
|
package_default
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3Y2EHT4F.js";
|
|
47
47
|
import {
|
|
48
48
|
__commonJS,
|
|
49
49
|
__require,
|
|
@@ -3565,12 +3565,24 @@ function registerCore(reg) {
|
|
|
3565
3565
|
const { runCommand, leaf: leaf2, addGlobalFlags: addGlobalFlags2 } = reg;
|
|
3566
3566
|
leaf2(SETUP, "install", "set up Tenjin for Claude Code or Codex").description(
|
|
3567
3567
|
"Install the Tenjin plugin, create a local wallet if needed, and choose spending limits. Your agent sets itself up; a terminal detects Claude Code and Codex and lets you choose when both are present. Funding is optional. Codex supports user scope only."
|
|
3568
|
-
).addOption(hostOverride()).option("--project", "register the plugin for this project only").option("--no-wallet", "create no wallet").option("--refresh", "bring the plugin this machine already has up to this version").option(
|
|
3568
|
+
).addOption(hostOverride()).option("--project", "register the plugin for this project only").option("--no-wallet", "create no wallet").option("--refresh", "bring the plugin this machine already has up to this version").option(
|
|
3569
|
+
"--yes",
|
|
3570
|
+
"accept setup and spending defaults ($5 a day, $1 a call). Subagents require their own choice"
|
|
3571
|
+
).addOption(
|
|
3572
|
+
new Option(
|
|
3573
|
+
"--subagents <on|off>",
|
|
3574
|
+
"answer the DeepSeek subagent question, where no answer is saved yet"
|
|
3575
|
+
).choices(["on", "off"])
|
|
3576
|
+
).option("--session-budget <usd|none>", "your own daily budget shared across chats, or none").option(
|
|
3577
|
+
"--max-auto-spend <usd>",
|
|
3578
|
+
"your own non-negative per-call limit (default 1.00; 0 blocks positive automatic payments)"
|
|
3579
|
+
).addHelpText(
|
|
3569
3580
|
"after",
|
|
3570
3581
|
`
|
|
3571
3582
|
Examples:
|
|
3572
3583
|
$ tenjin install
|
|
3573
3584
|
$ tenjin install --project
|
|
3585
|
+
$ tenjin install --yes --subagents off
|
|
3574
3586
|
$ tenjin install --max-auto-spend 0.50 --session-budget 10
|
|
3575
3587
|
|
|
3576
3588
|
The daily budget is shared across chats. Its spending counter resets 24 hours after its window starts;
|
|
@@ -3589,7 +3601,12 @@ Learn more:
|
|
|
3589
3601
|
if (harness === "codex" && o.refresh === true) {
|
|
3590
3602
|
throw new CliError("USAGE", "The Codex plugin has no refresh; omit --refresh.");
|
|
3591
3603
|
}
|
|
3592
|
-
|
|
3604
|
+
if (o.refresh === true && o.subagents !== void 0) {
|
|
3605
|
+
throw new CliError("USAGE", "Omit --refresh when choosing whether to enable subagents.");
|
|
3606
|
+
}
|
|
3607
|
+
const { captureNewInstall, finishNewInstall } = await import("./new-install-5L4GY3LN.js");
|
|
3608
|
+
const newInstall = await captureNewInstall(ctx.dataDir);
|
|
3609
|
+
const { installHosts, otherHostNote, recordInstalledHost, runEach, withNote } = await import("./hosts-3EMTVM4H.js");
|
|
3593
3610
|
const hostArgs = {
|
|
3594
3611
|
...harness !== void 0 ? { harness } : {},
|
|
3595
3612
|
...o.project === true ? { project: true } : {},
|
|
@@ -3597,11 +3614,11 @@ Learn more:
|
|
|
3597
3614
|
...o.yes === true ? { yes: true } : {}
|
|
3598
3615
|
};
|
|
3599
3616
|
const hosts = await installHosts(hostArgs, ctx);
|
|
3600
|
-
const { fundingOncePerRun, finishTerminalFunding } = await import("./install-funding-
|
|
3617
|
+
const { fundingOncePerRun, finishTerminalFunding } = await import("./install-funding-JDGYTF72.js");
|
|
3601
3618
|
const funding = fundingOncePerRun();
|
|
3602
|
-
const runtime = (await import("./install-
|
|
3619
|
+
const runtime = (await import("./install-ZA7L2UF3.js")).runtimeOncePerRun();
|
|
3603
3620
|
const installAll = () => runEach(hosts, async (host) => {
|
|
3604
|
-
const one = host === "codex" ? await (await import("./codex-install-
|
|
3621
|
+
const one = host === "codex" ? await (await import("./codex-install-HZV2DOAB.js")).runCodexInstall(codexArgs(o), ctx, { runtime, funding, newInstall }) : await (await import("./install-ZA7L2UF3.js")).runRouterInstall(
|
|
3605
3622
|
{
|
|
3606
3623
|
...o.project === true ? { project: true } : {},
|
|
3607
3624
|
...o.refresh === true ? { refresh: true } : {},
|
|
@@ -3611,18 +3628,23 @@ Learn more:
|
|
|
3611
3628
|
...typeof o.sessionBudget === "string" ? { sessionBudget: o.sessionBudget } : {}
|
|
3612
3629
|
},
|
|
3613
3630
|
ctx,
|
|
3614
|
-
{ runtime, funding }
|
|
3631
|
+
{ runtime, funding, newInstall }
|
|
3615
3632
|
);
|
|
3616
3633
|
if (o.refresh !== true) await recordInstalledHost(ctx.dataDir, host);
|
|
3617
3634
|
return one;
|
|
3618
3635
|
});
|
|
3619
3636
|
if (o.refresh !== true || harness !== void 0) {
|
|
3620
|
-
const
|
|
3637
|
+
const installed = await installAll();
|
|
3638
|
+
const result = o.refresh === true || !hosts.includes("claude") ? installed : await finishNewInstall(installed, newInstall, ctx, {
|
|
3639
|
+
...o.subagents !== void 0 ? { choice: o.subagents } : {},
|
|
3640
|
+
...harness !== void 0 ? { harness } : {},
|
|
3641
|
+
yes: o.yes === true
|
|
3642
|
+
});
|
|
3621
3643
|
const finished = o.refresh === true ? result : await finishTerminalFunding(result, ctx, { yes: o.yes === true });
|
|
3622
3644
|
const note = await otherHostNote(hostArgs, ctx.dataDir);
|
|
3623
3645
|
return installOutput(withNote(finished, note), ctx, o.refresh === true);
|
|
3624
3646
|
}
|
|
3625
|
-
const { alongsideCodexRefresh, refreshCodexPlugin } = await import("./codex-install-
|
|
3647
|
+
const { alongsideCodexRefresh, refreshCodexPlugin } = await import("./codex-install-HZV2DOAB.js");
|
|
3626
3648
|
return alongsideCodexRefresh(installAll, () => refreshCodexPlugin(ctx));
|
|
3627
3649
|
});
|
|
3628
3650
|
});
|
|
@@ -3643,8 +3665,8 @@ Learn more:
|
|
|
3643
3665
|
throw new CliError("USAGE", "Codex has no project install; omit --project.");
|
|
3644
3666
|
}
|
|
3645
3667
|
const [{ recordedHosts, uninstallEach }, uninstall] = await Promise.all([
|
|
3646
|
-
import("./hosts-
|
|
3647
|
-
import("./uninstall-
|
|
3668
|
+
import("./hosts-3EMTVM4H.js"),
|
|
3669
|
+
import("./uninstall-LJZUKM4D.js")
|
|
3648
3670
|
]);
|
|
3649
3671
|
const target = harness === "codex" ? { kind: o.all === true ? "all" : "user" } : await uninstall.resolveUninstallTarget(
|
|
3650
3672
|
{
|
|
@@ -3661,7 +3683,7 @@ Learn more:
|
|
|
3661
3683
|
hosts,
|
|
3662
3684
|
ctx.dataDir,
|
|
3663
3685
|
target,
|
|
3664
|
-
async (host) => host === "codex" ? (await import("./codex-install-
|
|
3686
|
+
async (host) => host === "codex" ? (await import("./codex-install-HZV2DOAB.js")).runCodexUninstall(codexArgs(o), ctx) : uninstall.runRouterUninstall({ target }, ctx),
|
|
3665
3687
|
{
|
|
3666
3688
|
remove: () => uninstall.removeRuntimeAndLaunchers(ctx.dataDir, homedir()),
|
|
3667
3689
|
claudeLeft: () => uninstall.claudeInstallsLeft(ctx),
|
|
@@ -3684,14 +3706,14 @@ Examples:
|
|
|
3684
3706
|
await runCommand("doctor", this, async (ctx) => {
|
|
3685
3707
|
const o = this.opts();
|
|
3686
3708
|
const harness = o.harness;
|
|
3687
|
-
const { checkEach, recordedHosts } = await import("./hosts-
|
|
3709
|
+
const { checkEach, recordedHosts } = await import("./hosts-3EMTVM4H.js");
|
|
3688
3710
|
const hosts = await recordedHosts(
|
|
3689
3711
|
{ ...harness !== void 0 ? { harness } : {}, project: o.project === true },
|
|
3690
3712
|
ctx.dataDir
|
|
3691
3713
|
);
|
|
3692
3714
|
return checkEach(
|
|
3693
3715
|
hosts,
|
|
3694
|
-
async (host) => host === "codex" ? (await import("./codex-install-
|
|
3716
|
+
async (host) => host === "codex" ? (await import("./codex-install-HZV2DOAB.js")).runCodexDoctor(codexArgs(o), ctx) : (await import("./doctor-ZWJXRD75.js")).runRouterDoctor(
|
|
3695
3717
|
ctx,
|
|
3696
3718
|
o.project === true ? { project: true } : {}
|
|
3697
3719
|
)
|
|
@@ -3702,7 +3724,7 @@ Examples:
|
|
|
3702
3724
|
"Update Tenjin to the newest version on npm's latest tag, without npm: it downloads the release, checks it, and switches only once it runs; the previous version stays as the fallback."
|
|
3703
3725
|
).option("--check", "report whether a newer version exists without installing it").addOption(new Option("--background").hideHelp()).action(async function() {
|
|
3704
3726
|
await runCommand("update", this, async (ctx) => {
|
|
3705
|
-
const { runUpdate } = await import("./update-
|
|
3727
|
+
const { runUpdate } = await import("./update-EUIX72IX.js");
|
|
3706
3728
|
return runUpdate(
|
|
3707
3729
|
{ check: this.opts().check === true, background: this.opts().background === true },
|
|
3708
3730
|
ctx
|
|
@@ -3712,13 +3734,45 @@ Examples:
|
|
|
3712
3734
|
const config = leaf2(SETUP, "config", "your rules, limits and settings").argument("[command]").option("--all", "print every setting with its value, where it comes from and what it does").action(async function(typed) {
|
|
3713
3735
|
await runCommand("config", this, async (ctx) => {
|
|
3714
3736
|
if (typed !== void 0) throw unknownConfigCommand(typed, this);
|
|
3715
|
-
const { runConfigList } = await import("./config-
|
|
3737
|
+
const { runConfigList } = await import("./config-QZOBMTEL.js");
|
|
3716
3738
|
return runConfigList(ctx, this.opts().all === true ? { all: true } : {});
|
|
3717
3739
|
});
|
|
3718
3740
|
});
|
|
3741
|
+
addGlobalFlags2(config.command("subagents [mode]")).summary("show DeepSeek subagents, turn them on or off, or list why calls got no offer").option(
|
|
3742
|
+
"--repository <path...>",
|
|
3743
|
+
"limit the consent to these directories and their subfolders; without it, on covers every workspace"
|
|
3744
|
+
).option(
|
|
3745
|
+
"--max-job <USD>",
|
|
3746
|
+
"a lower ceiling per job than your per-call spend limit, which is the default cap"
|
|
3747
|
+
).option("--windows-worker-sid <sid>", "SID of the dedicated standard Windows worker account").option("--windows-launcher <path>", "absolute local path to the Windows worker launcher .exe").option("--windows-claude <path>", "absolute local path to the native Claude Code .exe").option(
|
|
3748
|
+
"--windows-config-dir <path>",
|
|
3749
|
+
"separate shared Claude configuration directory on Windows"
|
|
3750
|
+
).option(
|
|
3751
|
+
"--accept-windows-shell-access",
|
|
3752
|
+
"allow the unsandboxed Windows worker to share results from files and networks its account can reach with Tenjin and DeepSeek"
|
|
3753
|
+
).addHelpText(
|
|
3754
|
+
"after",
|
|
3755
|
+
configExamples(
|
|
3756
|
+
[
|
|
3757
|
+
"subagents",
|
|
3758
|
+
"subagents on",
|
|
3759
|
+
"subagents on --max-job 0.50",
|
|
3760
|
+
"subagents on --repository ~/work ~/notes",
|
|
3761
|
+
"subagents off",
|
|
3762
|
+
"subagents why"
|
|
3763
|
+
],
|
|
3764
|
+
"Details and recipients: https://github.com/BackTrackCo/tenjin-agent/blob/main/docs/subagents.md"
|
|
3765
|
+
)
|
|
3766
|
+
).action(async function(mode, options) {
|
|
3767
|
+
await runCommand(
|
|
3768
|
+
"config subagents",
|
|
3769
|
+
this,
|
|
3770
|
+
async (ctx) => (await import("./config-subagents-WQV2ZAD5.js")).runConfigSubagents(mode, options, ctx)
|
|
3771
|
+
);
|
|
3772
|
+
});
|
|
3719
3773
|
addGlobalFlags2(config.command("get <key>")).summary("print one value").description("Print one setting's value as Tenjin uses it, defaults and environment included.").addHelpText("after", configExamples(["get maxAutoSpend", "get router.enabled"], EVERY_KEY)).action(async function(key) {
|
|
3720
3774
|
await runCommand("config.get", this, async (ctx) => {
|
|
3721
|
-
const { runConfigGet } = await import("./config-
|
|
3775
|
+
const { runConfigGet } = await import("./config-QZOBMTEL.js");
|
|
3722
3776
|
return runConfigGet({ key }, ctx);
|
|
3723
3777
|
});
|
|
3724
3778
|
});
|
|
@@ -3736,7 +3790,7 @@ Examples:
|
|
|
3736
3790
|
).action(async function(key, value) {
|
|
3737
3791
|
const o = this.opts();
|
|
3738
3792
|
await runCommand("config.set", this, async (ctx) => {
|
|
3739
|
-
const { runConfigSet } = await import("./config-
|
|
3793
|
+
const { runConfigSet } = await import("./config-QZOBMTEL.js");
|
|
3740
3794
|
return runConfigSet(
|
|
3741
3795
|
{ key, value, project: o.project === true, local: o.local === true },
|
|
3742
3796
|
ctx
|
|
@@ -3751,7 +3805,7 @@ Examples:
|
|
|
3751
3805
|
).action(async function(words) {
|
|
3752
3806
|
const o = this.opts();
|
|
3753
3807
|
await runCommand("config.names", this, async (ctx) => {
|
|
3754
|
-
const { runConfigNames } = await import("./config-names-
|
|
3808
|
+
const { runConfigNames } = await import("./config-names-Z5NZD5R2.js");
|
|
3755
3809
|
return runConfigNames(
|
|
3756
3810
|
{
|
|
3757
3811
|
...words.length > 0 ? { search: words.join(" ") } : {},
|
|
@@ -3791,7 +3845,7 @@ Examples:
|
|
|
3791
3845
|
).action(async function() {
|
|
3792
3846
|
await runCommand("wallet.create", this, async (ctx) => {
|
|
3793
3847
|
const o = this.opts();
|
|
3794
|
-
const { runWalletCreate } = await import("./wallet-
|
|
3848
|
+
const { runWalletCreate } = await import("./wallet-HSW757W6.js");
|
|
3795
3849
|
return runWalletCreate(ctx, {
|
|
3796
3850
|
...o.replace === true ? { replace: true } : {},
|
|
3797
3851
|
...o.insecureStorage === true ? { insecureStorage: true } : {}
|
|
@@ -3806,7 +3860,7 @@ Examples:
|
|
|
3806
3860
|
).action(async function() {
|
|
3807
3861
|
await runCommand("wallet.repair", this, async (ctx) => {
|
|
3808
3862
|
const o = this.opts();
|
|
3809
|
-
const { runWalletRepair } = await import("./wallet-
|
|
3863
|
+
const { runWalletRepair } = await import("./wallet-HSW757W6.js");
|
|
3810
3864
|
return runWalletRepair(ctx, o.insecureStorage === true ? { insecureStorage: true } : {});
|
|
3811
3865
|
});
|
|
3812
3866
|
});
|
|
@@ -3815,7 +3869,7 @@ Examples:
|
|
|
3815
3869
|
).option("--no-qr", "print the address without the QR code").action(async function() {
|
|
3816
3870
|
await runCommand("wallet.show", this, async (ctx) => {
|
|
3817
3871
|
const o = this.opts();
|
|
3818
|
-
const { runWalletShow } = await import("./wallet-
|
|
3872
|
+
const { runWalletShow } = await import("./wallet-HSW757W6.js");
|
|
3819
3873
|
return runWalletShow(ctx, o.qr === false ? { qr: false } : {});
|
|
3820
3874
|
});
|
|
3821
3875
|
});
|
|
@@ -3844,10 +3898,22 @@ Examples:
|
|
|
3844
3898
|
).action(async function(amount, token, to) {
|
|
3845
3899
|
await runCommand("wallet.send", this, async (ctx) => {
|
|
3846
3900
|
const o = this.opts();
|
|
3847
|
-
const { runSend } = await import("./send-
|
|
3901
|
+
const { runSend } = await import("./send-ELXFKEKY.js");
|
|
3848
3902
|
return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
|
|
3849
3903
|
});
|
|
3850
3904
|
});
|
|
3905
|
+
leaf2(
|
|
3906
|
+
WALLET,
|
|
3907
|
+
"reclaim-subagent-credit",
|
|
3908
|
+
"return credit parked in the old shared subagent channels"
|
|
3909
|
+
).description(
|
|
3910
|
+
"One time, for a machine that ran an early build of DeepSeek subagents: refund to your wallet the credit that build left in its two shared inference channels (shown as `modelCredit` by `tenjin balance --json`). It asks the router for the same cooperative refund a worker run gets at its end and prints what came back with its transaction. Run it twice and the second finds nothing."
|
|
3911
|
+
).action(async function() {
|
|
3912
|
+
await runCommand("wallet.reclaim-subagent-credit", this, async (ctx) => {
|
|
3913
|
+
const { runReclaimSubagentCredit } = await import("./reclaim-subagent-credit-ABSF67SJ.js");
|
|
3914
|
+
return runReclaimSubagentCredit(ctx);
|
|
3915
|
+
});
|
|
3916
|
+
});
|
|
3851
3917
|
leaf2(WALLET, "pay <url>", "pay an x402 endpoint with explicit user consent").description(
|
|
3852
3918
|
"Pay an x402 endpoint (exact scheme, USDC on Base) with explicit user consent. Manual pay ignores automatic router limits and always confirms; --yes records prior consent for this quote. Never use it as an autonomous workaround for router refusal. Unlisted endpoints need no warning flag. Registry lookup failures or listed-term mismatches require --ignore-warnings separately. Every paid call pays; entitled delivery remains free."
|
|
3853
3919
|
).option(
|
|
@@ -3878,7 +3944,7 @@ Examples:
|
|
|
3878
3944
|
).action(async function(url) {
|
|
3879
3945
|
await runCommand("pay", this, async (ctx) => {
|
|
3880
3946
|
const o = this.opts();
|
|
3881
|
-
const { runPay } = await import("./pay-
|
|
3947
|
+
const { runPay } = await import("./pay-CMV5KL74.js");
|
|
3882
3948
|
return runPay(
|
|
3883
3949
|
{
|
|
3884
3950
|
url,
|
|
@@ -3917,7 +3983,7 @@ Examples:
|
|
|
3917
3983
|
).action(async function(amountUsd) {
|
|
3918
3984
|
await runCommand(name, this, async (ctx) => {
|
|
3919
3985
|
const o = this.opts();
|
|
3920
|
-
const { runFund } = await import("./fund-
|
|
3986
|
+
const { runFund } = await import("./fund-VF7TLDJH.js");
|
|
3921
3987
|
return runFund(ctx, {
|
|
3922
3988
|
...amountUsd !== void 0 ? { amountUsd } : {},
|
|
3923
3989
|
...o.open === false ? { open: false } : {},
|
|
@@ -3945,7 +4011,7 @@ Examples:
|
|
|
3945
4011
|
).action(async function() {
|
|
3946
4012
|
await runCommand(name, this, async (ctx) => {
|
|
3947
4013
|
const o = this.opts();
|
|
3948
|
-
const { runBalance } = await import("./balance-
|
|
4014
|
+
const { runBalance } = await import("./balance-DFHC6XEU.js");
|
|
3949
4015
|
const typed = this.getOptionValueSourceWithGlobals("timeout") === "cli";
|
|
3950
4016
|
return runBalance(ctx, {
|
|
3951
4017
|
...o.wait === true ? { wait: true } : {},
|
|
@@ -3987,6 +4053,7 @@ Switches
|
|
|
3987
4053
|
speed on|off also offer faster paid tools
|
|
3988
4054
|
replacement on|off run Tenjin's picks automatically (Claude Code)
|
|
3989
4055
|
fallback on|off use Tenjin's tool when your account refuses
|
|
4056
|
+
subagents [on|off|why] DeepSeek for eligible subagent jobs; why: calls with no offer
|
|
3990
4057
|
|
|
3991
4058
|
Values
|
|
3992
4059
|
get <key> / set <key> <value>
|
|
@@ -4044,7 +4111,7 @@ function targetFlags(o) {
|
|
|
4044
4111
|
}
|
|
4045
4112
|
function registerConfigRules(config, reg) {
|
|
4046
4113
|
const { runCommand, addGlobalFlags: addGlobalFlags2 } = reg;
|
|
4047
|
-
const rules = () => import("./config-rules-
|
|
4114
|
+
const rules = () => import("./config-rules-YOYHS6YL.js");
|
|
4048
4115
|
const all = Object.keys(TARGET_FLAGS);
|
|
4049
4116
|
targetOptions(
|
|
4050
4117
|
addGlobalFlags2(config.command("prefer")),
|
|
@@ -4226,8 +4293,8 @@ function registerRouter(reg) {
|
|
|
4226
4293
|
addGlobalFlags2(hook.command("alive")).summary("SessionStart: mark this session and machine as ones the plugin serves").action(async function() {
|
|
4227
4294
|
const ctx = buildContext2(this);
|
|
4228
4295
|
const [{ aliveMain }, { default: pkg }] = await Promise.all([
|
|
4229
|
-
import("./alive-
|
|
4230
|
-
import("./package-
|
|
4296
|
+
import("./alive-5TV22PNF.js"),
|
|
4297
|
+
import("./package-BONDXSV3.js")
|
|
4231
4298
|
]);
|
|
4232
4299
|
await aliveMain({ dataDir: ctx.dataDir, version: pkg.version });
|
|
4233
4300
|
});
|
|
@@ -4241,7 +4308,7 @@ function registerRouter(reg) {
|
|
|
4241
4308
|
]) {
|
|
4242
4309
|
addGlobalFlags2(hook.command(name)).addOption(harnessOption()).summary(summary).action(async function() {
|
|
4243
4310
|
const ctx = buildContext2(this);
|
|
4244
|
-
const { runHookCommand } = await import("./hook-command-
|
|
4311
|
+
const { runHookCommand } = await import("./hook-command-VZ27MGWO.js");
|
|
4245
4312
|
await runHookCommand(io, {
|
|
4246
4313
|
dataDir: ctx.dataDir,
|
|
4247
4314
|
harness: this.opts().harness
|
|
@@ -4262,7 +4329,7 @@ function registerRouter(reg) {
|
|
|
4262
4329
|
env: process.env
|
|
4263
4330
|
});
|
|
4264
4331
|
}
|
|
4265
|
-
const { runRouterMcpServer } = await import("./mcp-
|
|
4332
|
+
const { runRouterMcpServer } = await import("./mcp-36S6MK3C.js");
|
|
4266
4333
|
await runRouterMcpServer({
|
|
4267
4334
|
dataDir: ctx.dataDir,
|
|
4268
4335
|
flags: ctx.flags,
|
|
@@ -4274,14 +4341,14 @@ function registerRouter(reg) {
|
|
|
4274
4341
|
"Print one line naming what this session is looking up right now: the provider actually being called, its bounded parameters, and what it cost. It reads Claude Code's status event on stdin for the session identity, reads that session's own progress records, writes nothing, and prints `x402 \xB7 ready` when this session has no activity. Opt-in: set it as your Claude Code status line command yourself."
|
|
4275
4342
|
).action(async function() {
|
|
4276
4343
|
const ctx = buildContext2(this);
|
|
4277
|
-
const { runStatusLine } = await import("./status-line-
|
|
4344
|
+
const { runStatusLine } = await import("./status-line-IH5JBWBC.js");
|
|
4278
4345
|
await runStatusLine(io, { dataDir: ctx.dataDir });
|
|
4279
4346
|
});
|
|
4280
4347
|
leaf2(SETUP, "status", "whether Tenjin is on, your balance, limits, accounts and settings").description(
|
|
4281
4348
|
"Whether Tenjin is on or paused here; your Tenjin balance, read as `tenjin balance` reads it; today's spending against your daily limit, and your per-call limit, both on the Tenjin balance only; your connected accounts, which their own plans pay for, outside those limits; and your settings in plain words. --json adds the detail: what lookups cost, the prepaid routing credit, and requests still in flight."
|
|
4282
4349
|
).action(async function() {
|
|
4283
4350
|
await runCommand("status", this, async (ctx) => {
|
|
4284
|
-
const { runRouterStatus } = await import("./status-
|
|
4351
|
+
const { runRouterStatus } = await import("./status-FXUFWJDM.js");
|
|
4285
4352
|
return runRouterStatus(ctx);
|
|
4286
4353
|
});
|
|
4287
4354
|
});
|
|
@@ -4290,7 +4357,7 @@ function registerRouter(reg) {
|
|
|
4290
4357
|
).option("--since <window>", "how far back: 24h, 7d, 30d or a date such as 2026-10-01").action(async function() {
|
|
4291
4358
|
await runCommand("usage", this, async (ctx) => {
|
|
4292
4359
|
const opts = this.opts();
|
|
4293
|
-
const { runRouterUsage } = await import("./usage-
|
|
4360
|
+
const { runRouterUsage } = await import("./usage-EKDC7LUC.js");
|
|
4294
4361
|
return runRouterUsage(ctx, opts.since !== void 0 ? { since: opts.since } : {});
|
|
4295
4362
|
});
|
|
4296
4363
|
});
|
|
@@ -4309,7 +4376,7 @@ Examples:
|
|
|
4309
4376
|
).option("--paste", "type or paste a key at a hidden prompt (needs your own terminal)").option("--from-env <var>", "read the key from this environment variable, once").option("--no-prefer", "connect without putting this account first for its jobs").action(async function(name) {
|
|
4310
4377
|
await runCommand("connect", this, async (ctx) => {
|
|
4311
4378
|
const opts = this.opts();
|
|
4312
|
-
const { runConnect } = await import("./connect-
|
|
4379
|
+
const { runConnect } = await import("./connect-YDWTYU4B.js");
|
|
4313
4380
|
return runConnect(name, opts, ctx);
|
|
4314
4381
|
});
|
|
4315
4382
|
});
|
|
@@ -4317,16 +4384,16 @@ Examples:
|
|
|
4317
4384
|
"Sign out of a connected account where it allows that, delete its sign-in from this machine, and take it out of your preferences. Your other settings and accounts stay as they are; `tenjin connect <name>` connects it again."
|
|
4318
4385
|
).action(async function(name) {
|
|
4319
4386
|
await runCommand("disconnect", this, async (ctx) => {
|
|
4320
|
-
const { runDisconnect } = await import("./connect-
|
|
4387
|
+
const { runDisconnect } = await import("./connect-YDWTYU4B.js");
|
|
4321
4388
|
return runDisconnect(name, ctx);
|
|
4322
4389
|
});
|
|
4323
4390
|
});
|
|
4324
4391
|
const payments = leaf2(SETUP, "payments", "the paid lookups this machine made").description(
|
|
4325
|
-
"The local record of paid router lookups, in `~/.tenjin/paid/ledger.jsonl`. A bare `tenjin payments` lists the newest: when, who was paid, how much, whether it settled, and the transaction. A call on your own account reads `your account`, or `your account \xB7 may have charged` when it was still running, failed after the account's job started, or got the account's own error."
|
|
4392
|
+
"The local record of paid router lookups and direct `tenjin pay` calls, in `~/.tenjin/paid/ledger.jsonl`. A bare `tenjin payments` lists the newest: when, who was paid, how much, whether it settled, and the transaction. A call on your own account reads `your account`, or `your account \xB7 may have charged` when it was still running, failed after the account's job started, or got the account's own error."
|
|
4326
4393
|
);
|
|
4327
4394
|
payments.action(async function() {
|
|
4328
4395
|
await runCommand("payments", this, async (ctx) => {
|
|
4329
|
-
const { runPaymentsList } = await import("./payments-
|
|
4396
|
+
const { runPaymentsList } = await import("./payments-Z6UBZL4Z.js");
|
|
4330
4397
|
return runPaymentsList(ctx);
|
|
4331
4398
|
});
|
|
4332
4399
|
});
|
|
@@ -4334,7 +4401,7 @@ Examples:
|
|
|
4334
4401
|
"For each paid lookup whose seller never confirmed settlement and whose authorization has expired, ask USDC on Base (through the configured rpcUrl) whether it was used: used means it was charged, unused means it never can be. Nothing is signed or sent but that one read."
|
|
4335
4402
|
).action(async function() {
|
|
4336
4403
|
await runCommand("payments.reconcile", this, async (ctx) => {
|
|
4337
|
-
const { runPaymentsReconcile } = await import("./payments-
|
|
4404
|
+
const { runPaymentsReconcile } = await import("./payments-Z6UBZL4Z.js");
|
|
4338
4405
|
return runPaymentsReconcile(ctx);
|
|
4339
4406
|
});
|
|
4340
4407
|
});
|
|
@@ -4492,4 +4559,4 @@ export {
|
|
|
4492
4559
|
buildProgram,
|
|
4493
4560
|
main
|
|
4494
4561
|
};
|
|
4495
|
-
//# sourceMappingURL=cli-
|
|
4562
|
+
//# sourceMappingURL=cli-QY4KKA3D.js.map
|