tenjin-cli 0.1.0-alpha.33 → 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 +110 -0
- package/README.md +87 -81
- package/dist/{_esm-BIN7VY2L.js → _esm-2KST7HQ7.js} +7 -7
- package/dist/alive-5TV22PNF.js +51 -0
- package/dist/auth-XI7BJFLW.js +47 -0
- package/dist/{auto-update-Y24UL56V.js → auto-update-7L24KDWA.js} +4 -5
- package/dist/balance-DFHC6XEU.js +71 -0
- package/dist/{ccip-DHDFKTQV.js → ccip-HOW3DZYF.js} +4 -4
- package/dist/chunk-24XKUN2S.js +202 -0
- 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-C2Q76BVM.js → chunk-2U7H35IP.js} +29 -7
- package/dist/chunk-2U7H35IP.js.map +1 -0
- package/dist/chunk-2W4DQQUU.js +176 -0
- package/dist/chunk-2W4DQQUU.js.map +1 -0
- package/dist/{chunk-LRW6S53P.js → chunk-34SAECKZ.js} +35 -11
- package/dist/chunk-34SAECKZ.js.map +1 -0
- package/dist/{chunk-2I4QTOLB.js → chunk-3MZ7DYRO.js} +1 -1
- package/dist/chunk-3MZ7DYRO.js.map +1 -0
- package/dist/{chunk-RVPYTUP4.js → chunk-3Y2EHT4F.js} +13 -9
- package/dist/chunk-3Y2EHT4F.js.map +1 -0
- package/dist/chunk-3Y6BHIN6.js +169 -0
- package/dist/chunk-3Y6BHIN6.js.map +1 -0
- package/dist/{chunk-4K7TQHNP.js → chunk-3YPL6T3P.js} +17 -33
- package/dist/chunk-3YPL6T3P.js.map +1 -0
- package/dist/{chunk-E7SW44LM.js → chunk-44MVIRZH.js} +121 -6
- package/dist/chunk-44MVIRZH.js.map +1 -0
- package/dist/chunk-45MMSBHA.js +321 -0
- package/dist/chunk-45MMSBHA.js.map +1 -0
- package/dist/{chunk-3FMZGI7I.js → chunk-4CE6TMI5.js} +1 -1
- package/dist/chunk-4CE6TMI5.js.map +1 -0
- 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-54ELBTKE.js +1615 -0
- package/dist/chunk-54ELBTKE.js.map +1 -0
- package/dist/{chunk-NDGZDTSJ.js → chunk-5F4OB5B3.js} +115 -57
- package/dist/chunk-5F4OB5B3.js.map +1 -0
- package/dist/chunk-5HN4KVQU.js +3348 -0
- package/dist/chunk-5HN4KVQU.js.map +1 -0
- package/dist/{chunk-ZDZERB6L.js → chunk-5J4E5GYI.js} +572 -407
- package/dist/chunk-5J4E5GYI.js.map +1 -0
- package/dist/{chunk-ZNNXRNFD.js → chunk-5N4GGUBN.js} +48 -6
- package/dist/chunk-5N4GGUBN.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-ILNIZ5I2.js → chunk-65RS4LQS.js} +1825 -1715
- package/dist/chunk-65RS4LQS.js.map +1 -0
- package/dist/{chunk-IE7P2BZE.js → chunk-6QMDUDF2.js} +3 -3
- package/dist/{chunk-IADZOXKN.js → chunk-7SLOTLO7.js} +19 -697
- package/dist/chunk-7SLOTLO7.js.map +1 -0
- package/dist/{chunk-WFSPCCVW.js → chunk-7V25UAQO.js} +99 -99
- package/dist/{chunk-WFSPCCVW.js.map → chunk-7V25UAQO.js.map} +1 -1
- 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-XQJXNMSB.js → chunk-CRG54LEB.js} +1 -1
- package/dist/chunk-CRG54LEB.js.map +1 -0
- package/dist/{chunk-KG3D7FIF.js → chunk-CZJOMUBP.js} +2 -2
- package/dist/{chunk-36RVGZNY.js → chunk-D6M3ZK66.js} +22 -39
- package/dist/chunk-D6M3ZK66.js.map +1 -0
- package/dist/{chunk-3UCIG4TG.js → chunk-DI4QAGRZ.js} +1 -11
- package/dist/chunk-DI4QAGRZ.js.map +1 -0
- package/dist/{chunk-JKKAIPTU.js → chunk-DIH2G3YG.js} +47 -10
- package/dist/chunk-DIH2G3YG.js.map +1 -0
- package/dist/chunk-DJ36BM62.js +78 -0
- package/dist/chunk-DJ36BM62.js.map +1 -0
- package/dist/chunk-DTEWAVNE.js +114 -0
- package/dist/chunk-DTEWAVNE.js.map +1 -0
- package/dist/chunk-F2KJAJ7T.js +13 -0
- package/dist/chunk-F2KJAJ7T.js.map +1 -0
- package/dist/{chunk-BF4XHEQK.js → chunk-F3QPGYOY.js} +6 -6
- package/dist/chunk-F3QPGYOY.js.map +1 -0
- package/dist/{chunk-3GNJXKIT.js → chunk-F43CV6UC.js} +2 -2
- package/dist/{chunk-J57UC3DD.js → chunk-FKVJKLPI.js} +3 -3
- package/dist/{chunk-V2LQLN5H.js → chunk-FYFHH7V5.js} +59 -8
- package/dist/{chunk-V2LQLN5H.js.map → chunk-FYFHH7V5.js.map} +1 -1
- package/dist/chunk-GAJC4BQZ.js +1096 -0
- package/dist/chunk-GAJC4BQZ.js.map +1 -0
- package/dist/{chunk-DOQGNFHM.js → chunk-GH5UKMZD.js} +2 -12
- package/dist/{chunk-DOQGNFHM.js.map → chunk-GH5UKMZD.js.map} +1 -1
- package/dist/{chunk-WYXUQGOL.js → chunk-HAZAN4UM.js} +7 -6
- package/dist/chunk-HAZAN4UM.js.map +1 -0
- package/dist/chunk-HI5XQOX2.js +393 -0
- package/dist/chunk-HI5XQOX2.js.map +1 -0
- package/dist/chunk-HKGUKAQW.js +488 -0
- package/dist/chunk-HKGUKAQW.js.map +1 -0
- package/dist/{chunk-SO3XRZPX.js → chunk-HPRVFJPM.js} +6 -6
- package/dist/{chunk-L6JEXB3E.js → chunk-HQR4BWKX.js} +3 -131
- package/dist/chunk-HQR4BWKX.js.map +1 -0
- package/dist/chunk-HZKANST2.js +177 -0
- package/dist/chunk-HZKANST2.js.map +1 -0
- package/dist/{chunk-UUGOUOVT.js → chunk-I557SAOM.js} +8 -2
- package/dist/chunk-I557SAOM.js.map +1 -0
- package/dist/{chunk-TC2WZLSC.js → chunk-IGLWLH73.js} +8 -7
- package/dist/chunk-IGLWLH73.js.map +1 -0
- package/dist/chunk-ILWCKCOI.js +58 -0
- package/dist/chunk-ILWCKCOI.js.map +1 -0
- package/dist/{chunk-2GP3HRYK.js → chunk-INSIW65E.js} +182 -182
- package/dist/{chunk-MPZUYCAP.js → chunk-IULCDMVG.js} +12 -1
- package/dist/chunk-IULCDMVG.js.map +1 -0
- package/dist/{chunk-INTFHMU4.js → chunk-IVNSUAVC.js} +25 -26
- 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-JHFFUVON.js +1050 -0
- package/dist/chunk-JHFFUVON.js.map +1 -0
- package/dist/{chunk-RL5UUDT4.js → chunk-JNUKLSMZ.js} +3 -3
- package/dist/chunk-JTILUN4W.js +2933 -0
- package/dist/chunk-JTILUN4W.js.map +1 -0
- package/dist/{chunk-OJNTCYQQ.js → chunk-JTX3BUDK.js} +37 -53
- package/dist/chunk-JTX3BUDK.js.map +1 -0
- package/dist/{chunk-X5ZBP3IY.js → chunk-JUUBBBY5.js} +2 -2
- package/dist/chunk-JUUBBBY5.js.map +1 -0
- package/dist/chunk-JWAK7JQB.js +15 -0
- package/dist/chunk-JWAK7JQB.js.map +1 -0
- package/dist/{chunk-UXZONNEQ.js → chunk-K5KNGC4I.js} +34 -31
- package/dist/chunk-K5KNGC4I.js.map +1 -0
- package/dist/chunk-KAQ4Q3TO.js +135 -0
- package/dist/chunk-KAQ4Q3TO.js.map +1 -0
- package/dist/chunk-KFVJYLVL.js +125 -0
- package/dist/chunk-KFVJYLVL.js.map +1 -0
- package/dist/chunk-KGUE5AVX.js +69 -0
- package/dist/chunk-KGUE5AVX.js.map +1 -0
- package/dist/{chunk-FVIGCDSV.js → chunk-KLDMLWXT.js} +11 -85
- package/dist/chunk-KLDMLWXT.js.map +1 -0
- package/dist/chunk-KNKDMTHU.js +453 -0
- package/dist/chunk-KNKDMTHU.js.map +1 -0
- 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-ZURZHELF.js → chunk-MAHNZA6C.js} +158 -41
- package/dist/chunk-MAHNZA6C.js.map +1 -0
- package/dist/chunk-MEWZCIA6.js +220 -0
- package/dist/chunk-MEWZCIA6.js.map +1 -0
- package/dist/{chunk-2SNUOHAT.js → chunk-MEZJ3I63.js} +49 -1
- package/dist/chunk-MEZJ3I63.js.map +1 -0
- package/dist/chunk-MJDO4EXD.js +353 -0
- package/dist/chunk-MJDO4EXD.js.map +1 -0
- package/dist/chunk-NJA6NT3A.js +6595 -0
- package/dist/chunk-NJA6NT3A.js.map +1 -0
- package/dist/{chunk-LHHMV4GU.js → chunk-NVSKJPRC.js} +1 -1
- package/dist/{chunk-LHHMV4GU.js.map → chunk-NVSKJPRC.js.map} +1 -1
- package/dist/{chunk-4YOZGGTZ.js → chunk-OC7K2DVZ.js} +5 -5
- package/dist/chunk-OC7K2DVZ.js.map +1 -0
- package/dist/chunk-ODRPASFP.js +2078 -0
- package/dist/chunk-ODRPASFP.js.map +1 -0
- package/dist/chunk-OJJFANO6.js +133 -0
- package/dist/chunk-OJJFANO6.js.map +1 -0
- package/dist/{chunk-JNJWBTU2.js → chunk-OQWPRFAC.js} +332 -882
- package/dist/chunk-OQWPRFAC.js.map +1 -0
- package/dist/chunk-P4I7BFNJ.js +11 -0
- package/dist/chunk-P4I7BFNJ.js.map +1 -0
- package/dist/{chunk-SNNSAGMT.js → chunk-P6YQWIT2.js} +4058 -4039
- package/dist/chunk-P6YQWIT2.js.map +1 -0
- package/dist/{chunk-JRGFKVAZ.js → chunk-PETQ5WEA.js} +2 -2
- package/dist/{chunk-HMWYAUA6.js → chunk-Q6RSJCXB.js} +29 -69
- package/dist/chunk-Q6RSJCXB.js.map +1 -0
- package/dist/{chunk-U3IKUGRP.js → chunk-QKEUKBRK.js} +17 -23
- package/dist/chunk-QKEUKBRK.js.map +1 -0
- package/dist/{chunk-2RWB7RKE.js → chunk-QKYUCITR.js} +174 -5814
- package/dist/chunk-QKYUCITR.js.map +1 -0
- package/dist/chunk-QQDPRTLP.js +127 -0
- package/dist/chunk-QQDPRTLP.js.map +1 -0
- 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-R5TR2DIK.js +119 -0
- package/dist/chunk-R5TR2DIK.js.map +1 -0
- package/dist/chunk-R62PKTAG.js +66 -0
- package/dist/chunk-R62PKTAG.js.map +1 -0
- package/dist/{chunk-BFDQ4WNW.js → chunk-RFZA7PSM.js} +4 -5
- package/dist/chunk-RFZA7PSM.js.map +1 -0
- package/dist/chunk-RGCPELQN.js +219 -0
- package/dist/chunk-RGCPELQN.js.map +1 -0
- package/dist/chunk-RGVCOG2S.js +910 -0
- package/dist/chunk-RGVCOG2S.js.map +1 -0
- package/dist/chunk-SOLNJ3AZ.js +209 -0
- package/dist/chunk-SOLNJ3AZ.js.map +1 -0
- package/dist/chunk-TFT2X7SH.js +77 -0
- package/dist/chunk-TFT2X7SH.js.map +1 -0
- package/dist/chunk-TUCKEEXE.js +2 -0
- package/dist/chunk-TVWCLUBI.js +293 -0
- package/dist/chunk-TVWCLUBI.js.map +1 -0
- package/dist/chunk-U4TRWSVE.js +78 -0
- package/dist/chunk-U4TRWSVE.js.map +1 -0
- package/dist/chunk-UIB33QQP.js +379 -0
- 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-VHXCPXUS.js +366 -0
- package/dist/chunk-VHXCPXUS.js.map +1 -0
- package/dist/{chunk-HGZEPQUT.js → chunk-VU6GMWF6.js} +17 -8
- package/dist/chunk-VU6GMWF6.js.map +1 -0
- package/dist/chunk-VWZYE3NC.js +8415 -0
- package/dist/chunk-VWZYE3NC.js.map +1 -0
- package/dist/{chunk-AGMVASXZ.js → chunk-W2GXIARJ.js} +88 -11
- 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-W74LJ5OT.js +588 -0
- package/dist/chunk-W74LJ5OT.js.map +1 -0
- package/dist/chunk-W7ELYLYK.js +233 -0
- package/dist/chunk-W7ELYLYK.js.map +1 -0
- package/dist/{chunk-BPMWXTFX.js → chunk-WFZX352D.js} +7 -7
- package/dist/chunk-WXA3WTPF.js +20 -0
- package/dist/chunk-WXA3WTPF.js.map +1 -0
- package/dist/chunk-XRGFH7FI.js +454 -0
- package/dist/chunk-XRGFH7FI.js.map +1 -0
- package/dist/chunk-XSCGUO2U.js +330 -0
- package/dist/chunk-XSCGUO2U.js.map +1 -0
- package/dist/chunk-XWROSMI5.js +1039 -0
- package/dist/chunk-XWROSMI5.js.map +1 -0
- package/dist/chunk-Y2EXZ47H.js +40 -0
- package/dist/chunk-Y2EXZ47H.js.map +1 -0
- package/dist/chunk-YJGEVBKZ.js +47 -0
- package/dist/chunk-YJGEVBKZ.js.map +1 -0
- package/dist/{chunk-6CMM6YCB.js → chunk-YWWMISDY.js} +2 -2
- package/dist/{chunk-WXA2BWTE.js → chunk-ZCT5DJ3G.js} +2 -48
- package/dist/chunk-ZCT5DJ3G.js.map +1 -0
- package/dist/chunk-ZEYA2WWX.js +982 -0
- 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-3AIHRXKO.js → chunk-ZS7JIUJ3.js} +12 -10
- package/dist/chunk-ZS7JIUJ3.js.map +1 -0
- package/dist/{clack-EZ7TDWQU.js → clack-Q4RNC5VE.js} +2 -6
- package/dist/{claude-cli-2YKABJJZ.js → claude-cli-GIIHOBGT.js} +4 -2
- package/dist/claude-install-BAUSJMW3.js +64 -0
- package/dist/{cli-E36SPKBW.js → cli-QY4KKA3D.js} +632 -150
- package/dist/cli-QY4KKA3D.js.map +1 -0
- package/dist/client-3YQKORVK.js +710 -0
- package/dist/client-3YQKORVK.js.map +1 -0
- package/dist/{codex-event-ZO2GEFE6.js → codex-event-EUTCAOTQ.js} +3 -5
- package/dist/{codex-host-KECJVTA2.js → codex-host-ZON3S6HU.js} +7 -7
- package/dist/{codex-install-HQZDGFXW.js → codex-install-HZV2DOAB.js} +242 -88
- package/dist/codex-install-HZV2DOAB.js.map +1 -0
- package/dist/config-QZOBMTEL.js +57 -0
- package/dist/config-names-Z5NZD5R2.js +224 -0
- package/dist/config-names-Z5NZD5R2.js.map +1 -0
- package/dist/config-rules-YOYHS6YL.js +55 -0
- package/dist/config-subagents-WQV2ZAD5.js +362 -0
- package/dist/config-subagents-WQV2ZAD5.js.map +1 -0
- package/dist/connect-YDWTYU4B.js +1020 -0
- package/dist/connect-YDWTYU4B.js.map +1 -0
- 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-QSKHOGCO.js +145 -0
- package/dist/{doctor-I6XQEKWD.js → doctor-ZWJXRD75.js} +162 -148
- package/dist/doctor-ZWJXRD75.js.map +1 -0
- package/dist/{env-proxy-R6ZMLQTT.js → env-proxy-XLSLHBKQ.js} +2 -2
- package/dist/{ethersCompat-Df4a6QIZ-X6YZWAML.js → ethersCompat-Df4a6QIZ-K3DMHR6Y.js} +5 -5
- package/dist/explicit-ME2NRADQ.js +371 -0
- package/dist/explicit-ME2NRADQ.js.map +1 -0
- package/dist/flush-stdio-NYIJ3QXT.js +18 -0
- package/dist/fund-VF7TLDJH.js +722 -0
- package/dist/fund-VF7TLDJH.js.map +1 -0
- package/dist/hook-command-VZ27MGWO.js +49 -0
- 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 +527 -56
- package/dist/hosts/claude/tenjin/skills/tenjin-pay/SKILL.md +14 -4
- package/dist/hosts/claude/tenjin/types/index.d.ts +144 -1
- package/dist/{hosts-DVQJ32QC.js → hosts-3EMTVM4H.js} +7 -6
- package/dist/index.js +18 -15
- package/dist/index.js.map +1 -1
- package/dist/install-ZA7L2UF3.js +115 -0
- package/dist/install-funding-JDGYTF72.js +30 -0
- package/dist/install-identity-FFAYEFLX.js +30 -0
- package/dist/{install-wallet-5M4OTYLX.js → install-wallet-2SFOVE3Q.js} +68 -53
- package/dist/install-wallet-2SFOVE3Q.js.map +1 -0
- 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-IJFGMWEV.js → package-BONDXSV3.js} +2 -2
- package/dist/{passphrase-IFTDS3CU.js → passphrase-T4ULBN4M.js} +16 -12
- package/dist/{paths-XCSAKISU.js → paths-O2KDWZ76.js} +18 -28
- package/dist/pay-CMV5KL74.js +74 -0
- package/dist/{payments-HFPPWHTV.js → payments-Z6UBZL4Z.js} +36 -26
- package/dist/payments-Z6UBZL4Z.js.map +1 -0
- package/dist/reclaim-subagent-credit-ABSF67SJ.js +105 -0
- package/dist/reclaim-subagent-credit-ABSF67SJ.js.map +1 -0
- package/dist/{redact-D7ASVWKL.js → redact-LOTHE5TS.js} +2 -8
- package/dist/redact-LOTHE5TS.js.map +1 -0
- package/dist/routing-quote-AHLAREXR.js +40 -0
- package/dist/routing-quote-AHLAREXR.js.map +1 -0
- package/dist/run-JH7ELYAM.js +88 -0
- package/dist/run-JH7ELYAM.js.map +1 -0
- package/dist/runtime-2GX4ALJP.js +410 -0
- package/dist/runtime-2GX4ALJP.js.map +1 -0
- package/dist/runtime-activate-IDQ2NCSP.js +39 -0
- package/dist/runtime-activate-IDQ2NCSP.js.map +1 -0
- package/dist/{runtime-fetch-ZSSSK72Y.js → runtime-fetch-6LOBHBEN.js} +4 -4
- package/dist/runtime-fetch-6LOBHBEN.js.map +1 -0
- package/dist/runtime-launchers-YAPKCBHV.js +31 -0
- package/dist/runtime-launchers-YAPKCBHV.js.map +1 -0
- package/dist/{runtime-layout-WIDILZ6K.js → runtime-layout-QHZQJV7C.js} +5 -4
- package/dist/runtime-layout-QHZQJV7C.js.map +1 -0
- package/dist/runtime-place-4POL4KK4.js +37 -0
- package/dist/runtime-place-4POL4KK4.js.map +1 -0
- package/dist/runtime-provenance-MNJGVBV2.js +12 -0
- package/dist/runtime-provenance-MNJGVBV2.js.map +1 -0
- package/dist/{secp256k1-ZZZT2CAX.js → secp256k1-N5P2GVGF.js} +3 -3
- package/dist/secp256k1-N5P2GVGF.js.map +1 -0
- package/dist/{send-GCVEAQKL.js → send-ELXFKEKY.js} +35 -32
- package/dist/send-ELXFKEKY.js.map +1 -0
- package/dist/status-FXUFWJDM.js +404 -0
- package/dist/status-FXUFWJDM.js.map +1 -0
- package/dist/{status-line-OPCXDHL2.js → status-line-IH5JBWBC.js} +51 -43
- package/dist/status-line-IH5JBWBC.js.map +1 -0
- package/dist/streamableHttp-CP2ZQBIK.js +768 -0
- package/dist/streamableHttp-CP2ZQBIK.js.map +1 -0
- package/dist/{uninstall-BAWRBXXQ.js → uninstall-LJZUKM4D.js} +76 -76
- package/dist/uninstall-LJZUKM4D.js.map +1 -0
- package/dist/update-EUIX72IX.js +68 -0
- package/dist/update-EUIX72IX.js.map +1 -0
- package/dist/usage-EKDC7LUC.js +180 -0
- package/dist/usage-EKDC7LUC.js.map +1 -0
- package/dist/{usdc-VG4CIOUK.js → usdc-YIHK2OMC.js} +8 -12
- package/dist/usdc-YIHK2OMC.js.map +1 -0
- package/dist/{viemAdapter-By13KInL-DOFTEIJV.js → viemAdapter-By13KInL-PRLSIESK.js} +5 -5
- 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/dist/wallet-kdf-worker.mjs +1433 -818
- package/docs/agent-permissions.md +88 -155
- package/docs/router-reference.md +236 -0
- package/docs/safety-model.md +31 -33
- package/docs/subagents-internals.md +97 -0
- package/docs/subagents.md +348 -0
- package/docs/troubleshooting.md +10 -6
- package/package.json +12 -8
- package/scripts/installers/install.sh +7 -1
- package/dist/alive-GSOWKUOY.js +0 -38
- package/dist/chunk-2I4QTOLB.js.map +0 -1
- package/dist/chunk-2M2VPI2E.js +0 -560
- package/dist/chunk-2M2VPI2E.js.map +0 -1
- package/dist/chunk-2RWB7RKE.js.map +0 -1
- package/dist/chunk-2SNUOHAT.js.map +0 -1
- package/dist/chunk-3623BLPV.js +0 -184
- package/dist/chunk-3623BLPV.js.map +0 -1
- package/dist/chunk-36RVGZNY.js.map +0 -1
- package/dist/chunk-3AIHRXKO.js.map +0 -1
- package/dist/chunk-3FMZGI7I.js.map +0 -1
- package/dist/chunk-3UCIG4TG.js.map +0 -1
- package/dist/chunk-4K7TQHNP.js.map +0 -1
- package/dist/chunk-4LMUQMBH.js +0 -29
- package/dist/chunk-4LMUQMBH.js.map +0 -1
- package/dist/chunk-4USCZ2NI.js +0 -228
- package/dist/chunk-4USCZ2NI.js.map +0 -1
- package/dist/chunk-4YOZGGTZ.js.map +0 -1
- package/dist/chunk-62KNUYWD.js +0 -111
- package/dist/chunk-62KNUYWD.js.map +0 -1
- package/dist/chunk-A5GKIG5O.js +0 -2037
- package/dist/chunk-A5GKIG5O.js.map +0 -1
- package/dist/chunk-AGMVASXZ.js.map +0 -1
- package/dist/chunk-BF4XHEQK.js.map +0 -1
- package/dist/chunk-BFDQ4WNW.js.map +0 -1
- package/dist/chunk-C2Q76BVM.js.map +0 -1
- package/dist/chunk-CEXSOI5R.js +0 -808
- package/dist/chunk-CEXSOI5R.js.map +0 -1
- package/dist/chunk-E7SW44LM.js.map +0 -1
- package/dist/chunk-EDJWHDDL.js +0 -33
- package/dist/chunk-EDJWHDDL.js.map +0 -1
- package/dist/chunk-FVIGCDSV.js.map +0 -1
- package/dist/chunk-GTTUCOPD.js +0 -105
- package/dist/chunk-GTTUCOPD.js.map +0 -1
- package/dist/chunk-HDPUXS3Z.js +0 -122
- package/dist/chunk-HDPUXS3Z.js.map +0 -1
- package/dist/chunk-HGGWCP7W.js +0 -120
- package/dist/chunk-HGGWCP7W.js.map +0 -1
- package/dist/chunk-HGZEPQUT.js.map +0 -1
- package/dist/chunk-HMWYAUA6.js.map +0 -1
- package/dist/chunk-IADZOXKN.js.map +0 -1
- package/dist/chunk-ILNIZ5I2.js.map +0 -1
- package/dist/chunk-INTFHMU4.js.map +0 -1
- package/dist/chunk-JKKAIPTU.js.map +0 -1
- package/dist/chunk-JNJWBTU2.js.map +0 -1
- package/dist/chunk-KM7RY2ZS.js +0 -246
- package/dist/chunk-KM7RY2ZS.js.map +0 -1
- package/dist/chunk-KOGZDMHO.js +0 -21
- package/dist/chunk-KOGZDMHO.js.map +0 -1
- package/dist/chunk-L6JEXB3E.js.map +0 -1
- package/dist/chunk-LRW6S53P.js.map +0 -1
- package/dist/chunk-LXAYUOXI.js +0 -511
- package/dist/chunk-LXAYUOXI.js.map +0 -1
- package/dist/chunk-MEFB5KHA.js +0 -59
- package/dist/chunk-MEFB5KHA.js.map +0 -1
- package/dist/chunk-MPZUYCAP.js.map +0 -1
- package/dist/chunk-NDGZDTSJ.js.map +0 -1
- package/dist/chunk-OJNTCYQQ.js.map +0 -1
- package/dist/chunk-P3LFTKE7.js +0 -58
- package/dist/chunk-P3LFTKE7.js.map +0 -1
- package/dist/chunk-QXP3Z3JN.js.map +0 -1
- package/dist/chunk-RVPYTUP4.js.map +0 -1
- package/dist/chunk-SNNSAGMT.js.map +0 -1
- package/dist/chunk-TC2WZLSC.js.map +0 -1
- package/dist/chunk-TKPF35W6.js +0 -29
- package/dist/chunk-TKPF35W6.js.map +0 -1
- package/dist/chunk-U3IKUGRP.js.map +0 -1
- package/dist/chunk-UUGOUOVT.js.map +0 -1
- package/dist/chunk-UXZONNEQ.js.map +0 -1
- package/dist/chunk-WXA2BWTE.js.map +0 -1
- package/dist/chunk-WYXUQGOL.js.map +0 -1
- package/dist/chunk-X5ZBP3IY.js.map +0 -1
- package/dist/chunk-XKESD27X.js +0 -10
- package/dist/chunk-XKESD27X.js.map +0 -1
- package/dist/chunk-XQJXNMSB.js.map +0 -1
- package/dist/chunk-Y527D4TV.js +0 -56
- package/dist/chunk-Y527D4TV.js.map +0 -1
- package/dist/chunk-ZDZERB6L.js.map +0 -1
- package/dist/chunk-ZNNXRNFD.js.map +0 -1
- package/dist/chunk-ZURZHELF.js.map +0 -1
- package/dist/cli-E36SPKBW.js.map +0 -1
- package/dist/codex-install-HQZDGFXW.js.map +0 -1
- package/dist/config-HY2E4GGW.js +0 -55
- package/dist/doctor-I6XQEKWD.js.map +0 -1
- package/dist/fund-2QRO7OJL.js +0 -378
- package/dist/fund-2QRO7OJL.js.map +0 -1
- package/dist/hook-command-2UBCSZG6.js +0 -43
- package/dist/install-ILUX5C4A.js +0 -107
- package/dist/install-identity-TZKGY6LQ.js +0 -31
- package/dist/install-wallet-5M4OTYLX.js.map +0 -1
- package/dist/mcp-LE4DUS22.js +0 -14127
- package/dist/mcp-LE4DUS22.js.map +0 -1
- package/dist/pay-WCG3IH4R.js +0 -55
- package/dist/payments-HFPPWHTV.js.map +0 -1
- package/dist/plugin-registration-PZFI5GZW.js +0 -68
- package/dist/runtime-UZOKSUZX.js +0 -1321
- package/dist/runtime-UZOKSUZX.js.map +0 -1
- package/dist/send-GCVEAQKL.js.map +0 -1
- package/dist/status-HCVAOCN7.js +0 -150
- package/dist/status-HCVAOCN7.js.map +0 -1
- package/dist/status-line-OPCXDHL2.js.map +0 -1
- package/dist/uninstall-BAWRBXXQ.js.map +0 -1
- package/dist/update-CACXLQLR.js +0 -56
- package/dist/wallet-QL4UUXEZ.js +0 -55
- /package/dist/{_esm-BIN7VY2L.js.map → _esm-2KST7HQ7.js.map} +0 -0
- /package/dist/{alive-GSOWKUOY.js.map → alive-5TV22PNF.js.map} +0 -0
- /package/dist/{auto-update-Y24UL56V.js.map → auth-XI7BJFLW.js.map} +0 -0
- /package/dist/{ccip-DHDFKTQV.js.map → auto-update-7L24KDWA.js.map} +0 -0
- /package/dist/{clack-EZ7TDWQU.js.map → balance-DFHC6XEU.js.map} +0 -0
- /package/dist/{claude-cli-2YKABJJZ.js.map → ccip-HOW3DZYF.js.map} +0 -0
- /package/dist/{chunk-IE7P2BZE.js.map → chunk-6QMDUDF2.js.map} +0 -0
- /package/dist/{chunk-KG3D7FIF.js.map → chunk-CZJOMUBP.js.map} +0 -0
- /package/dist/{chunk-3GNJXKIT.js.map → chunk-F43CV6UC.js.map} +0 -0
- /package/dist/{chunk-J57UC3DD.js.map → chunk-FKVJKLPI.js.map} +0 -0
- /package/dist/{chunk-SO3XRZPX.js.map → chunk-HPRVFJPM.js.map} +0 -0
- /package/dist/{chunk-2GP3HRYK.js.map → chunk-INSIW65E.js.map} +0 -0
- /package/dist/{chunk-RL5UUDT4.js.map → chunk-JNUKLSMZ.js.map} +0 -0
- /package/dist/{chunk-JRGFKVAZ.js.map → chunk-PETQ5WEA.js.map} +0 -0
- /package/dist/{codex-event-ZO2GEFE6.js.map → chunk-TUCKEEXE.js.map} +0 -0
- /package/dist/{chunk-BPMWXTFX.js.map → chunk-WFZX352D.js.map} +0 -0
- /package/dist/{chunk-6CMM6YCB.js.map → chunk-YWWMISDY.js.map} +0 -0
- /package/dist/{codex-host-KECJVTA2.js.map → clack-Q4RNC5VE.js.map} +0 -0
- /package/dist/{config-HY2E4GGW.js.map → claude-cli-GIIHOBGT.js.map} +0 -0
- /package/dist/{env-proxy-R6ZMLQTT.js.map → claude-install-BAUSJMW3.js.map} +0 -0
- /package/dist/{ethersCompat-Df4a6QIZ-X6YZWAML.js.map → codex-event-EUTCAOTQ.js.map} +0 -0
- /package/dist/{hook-command-2UBCSZG6.js.map → codex-host-ZON3S6HU.js.map} +0 -0
- /package/dist/{hosts-DVQJ32QC.js.map → config-QZOBMTEL.js.map} +0 -0
- /package/dist/{install-ILUX5C4A.js.map → config-rules-YOYHS6YL.js.map} +0 -0
- /package/dist/{install-identity-TZKGY6LQ.js.map → decision-QSKHOGCO.js.map} +0 -0
- /package/dist/{package-IJFGMWEV.js.map → env-proxy-XLSLHBKQ.js.map} +0 -0
- /package/dist/{passphrase-IFTDS3CU.js.map → ethersCompat-Df4a6QIZ-K3DMHR6Y.js.map} +0 -0
- /package/dist/{paths-XCSAKISU.js.map → flush-stdio-NYIJ3QXT.js.map} +0 -0
- /package/dist/{pay-WCG3IH4R.js.map → hook-command-VZ27MGWO.js.map} +0 -0
- /package/dist/{plugin-registration-PZFI5GZW.js.map → hosts-3EMTVM4H.js.map} +0 -0
- /package/dist/{redact-D7ASVWKL.js.map → install-ZA7L2UF3.js.map} +0 -0
- /package/dist/{runtime-fetch-ZSSSK72Y.js.map → install-funding-JDGYTF72.js.map} +0 -0
- /package/dist/{runtime-layout-WIDILZ6K.js.map → install-identity-FFAYEFLX.js.map} +0 -0
- /package/dist/{secp256k1-ZZZT2CAX.js.map → new-install-5L4GY3LN.js.map} +0 -0
- /package/dist/{update-CACXLQLR.js.map → package-BONDXSV3.js.map} +0 -0
- /package/dist/{usdc-VG4CIOUK.js.map → passphrase-T4ULBN4M.js.map} +0 -0
- /package/dist/{viemAdapter-By13KInL-DOFTEIJV.js.map → paths-O2KDWZ76.js.map} +0 -0
- /package/dist/{wallet-QL4UUXEZ.js.map → pay-CMV5KL74.js.map} +0 -0
|
@@ -36,6 +36,11 @@ cannot pay the endpoint. A 2xx on the probe is delivered free. Read the quote
|
|
|
36
36
|
before the first call to an endpoint, and again when the body or the headers
|
|
37
37
|
change: some endpoints price by request shape.
|
|
38
38
|
|
|
39
|
+
`signIn: true` with no `accepts` means the endpoint, such as a paid run's
|
|
40
|
+
status URL, asks the wallet that paid it to sign in. `tenjin pay <url> --json`
|
|
41
|
+
(a GET, with no `--max-price` or `--yes`) signs in and pays nothing. It
|
|
42
|
+
refuses with exit 3 when this wallet has not paid that host.
|
|
43
|
+
|
|
39
44
|
## Pay
|
|
40
45
|
|
|
41
46
|
```bash
|
|
@@ -59,10 +64,15 @@ tenjin pay <url> --json --max-price <usd> [-X <method>] [-d '<json-body>'] [-H '
|
|
|
59
64
|
- Every paid call pays. There is no cache and no dedupe: a loop pays on every
|
|
60
65
|
turn. Batch work needs the user's consent for the whole batch and its total.
|
|
61
66
|
- A paid 2xx returns `amountPaid`, `payTo`, `settlementTxHash` when the
|
|
62
|
-
seller reported one, and the body. A
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
seller reported one, and the body. A file (an image, a sound, a PDF) is saved
|
|
68
|
+
instead, and `savedTo` is its path; `saveError` says why when Downloads could
|
|
69
|
+
not take it. If no folder could, `bodyBase64` holds the bytes.
|
|
70
|
+
- A 4xx or 5xx AFTER payment is exit 4 (`PAYMENT_FAILED`): the signed
|
|
71
|
+
authorization already left, so do not retry blindly. Read `details.body` and
|
|
72
|
+
`details.paymentError` (the seller's reason), fix the request, and quote
|
|
73
|
+
again. When `details.settlement` is `"settled"`, say it was charged. When
|
|
74
|
+
only `details.reportedTxHash` is set, say the seller reports a charge the
|
|
75
|
+
chain does not show yet. In both cases, do not ask for funds.
|
|
66
76
|
|
|
67
77
|
## Refusals are answers
|
|
68
78
|
|
|
@@ -20,13 +20,144 @@ export type TenjinRow = {
|
|
|
20
20
|
paid?: string;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
/** A native call the router held for an offer,
|
|
23
|
+
/** A native call the router held for an offer, or answered in place, from
|
|
24
|
+
* the CLI's offer record. */
|
|
24
25
|
export type TenjinHeld = {
|
|
25
26
|
offerId: string;
|
|
26
27
|
/** The offer's `label`, when the decision carried one. */
|
|
27
28
|
label?: string;
|
|
28
29
|
/** The native tool and its search or URL, to see the same call run natively. */
|
|
29
30
|
key: string;
|
|
31
|
+
/** The offer ran in the call's place (the swap), rather than holding it. */
|
|
32
|
+
swap?: true;
|
|
33
|
+
/** The offer's price, `$0.007`, from the record. */
|
|
34
|
+
price?: string;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** Bounded, redacted display data only; the worker controller owns execution/history/accounting. */
|
|
38
|
+
export type TenjinModelActivity = {
|
|
39
|
+
version: 1;
|
|
40
|
+
offerId: string;
|
|
41
|
+
workerHandle: string;
|
|
42
|
+
generation: string;
|
|
43
|
+
/** The agent type the worker runs as: `general-purpose`, `Explore` or a custom agent's name. */
|
|
44
|
+
nativeProfile: string;
|
|
45
|
+
sequence: number;
|
|
46
|
+
state: 'starting' | 'running' | 'completed' | 'cancelled' | 'unknown';
|
|
47
|
+
/** False when the worker's Claude Code never started. */
|
|
48
|
+
started?: boolean;
|
|
49
|
+
droppedRows: number;
|
|
50
|
+
rows: {
|
|
51
|
+
id: string;
|
|
52
|
+
sequence: number;
|
|
53
|
+
kind: 'text' | 'tool' | 'status' | 'compaction';
|
|
54
|
+
state: string;
|
|
55
|
+
name?: string;
|
|
56
|
+
text?: string;
|
|
57
|
+
inputSummary?: string;
|
|
58
|
+
/** A shell call's command, with the job's replacements already applied by the CLI. */
|
|
59
|
+
command?: string;
|
|
60
|
+
outputPreview?: string;
|
|
61
|
+
elapsedSeconds?: number;
|
|
62
|
+
/** Which worker reply the row belongs to: the viewer writes each reply as one step. */
|
|
63
|
+
message?: string;
|
|
64
|
+
/** A file read's line count, as Claude Code reported it to the worker. */
|
|
65
|
+
lines?: number;
|
|
66
|
+
/** A web call's URL or query, with the job's replacements already applied by the CLI. */
|
|
67
|
+
target?: string;
|
|
68
|
+
/** The router tool that served the call (`Exa search`), as the router's rows name it. */
|
|
69
|
+
via?: string;
|
|
70
|
+
/** A web call's own figures from Claude Code's record: never its content. */
|
|
71
|
+
figures?: {
|
|
72
|
+
bytes?: number;
|
|
73
|
+
code?: number;
|
|
74
|
+
codeText?: string;
|
|
75
|
+
durationMs?: number;
|
|
76
|
+
searchCount?: number;
|
|
77
|
+
durationSeconds?: number;
|
|
78
|
+
};
|
|
79
|
+
}[];
|
|
80
|
+
/** Tool calls the worker made, as a native subagent row counts them. */
|
|
81
|
+
toolUses?: number;
|
|
82
|
+
/** The latest worker turn's tokens, as a native subagent row counts them. */
|
|
83
|
+
tokens?: number;
|
|
84
|
+
/** While running, what has settled so far; once ended, the final accounting. */
|
|
85
|
+
spend?: { reservedAtomic: string; actualAtomic: string; uncertain: string[] };
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* An offer's own row draws only while the offer is open. Accepted, kept native
|
|
90
|
+
* by the repeated call, cancelled or expired, the task has one row: the
|
|
91
|
+
* worker's, or the native call's.
|
|
92
|
+
*/
|
|
93
|
+
export type TenjinModelOffer = {
|
|
94
|
+
/** When the offer was made, on the plugin's clock. */
|
|
95
|
+
at: number;
|
|
96
|
+
state: 'offered' | 'native' | 'cancelled';
|
|
97
|
+
/** The held call asked to run in the background (`run_in_background`): its worker does. */
|
|
98
|
+
background?: true;
|
|
99
|
+
/** A background worker's result was handed to the parent, once. */
|
|
100
|
+
delivered?: true;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/** One accept call's live row, kept by its offer id while the worker runs. Display only. */
|
|
104
|
+
export type TenjinModelWorker = {
|
|
105
|
+
offerId: string;
|
|
106
|
+
/** The held Agent call's description, cleaned. */
|
|
107
|
+
title: string;
|
|
108
|
+
/** When the accept call started, on the plugin's clock. */
|
|
109
|
+
startedAt: number;
|
|
110
|
+
/** Absent only for a row settled after a resume from a job that kept no time. */
|
|
111
|
+
elapsedMs?: number;
|
|
112
|
+
state: TenjinModelActivity['state'];
|
|
113
|
+
toolUses?: number;
|
|
114
|
+
tokens?: number;
|
|
115
|
+
/** Settled so far, in atomic USDC; never a quote. */
|
|
116
|
+
spentAtomic?: string;
|
|
117
|
+
/** The worker's latest step, as a native row names it: `Read(src/a.ts)`. */
|
|
118
|
+
current?: string;
|
|
119
|
+
/**
|
|
120
|
+
* How the worker ended, once it has: from the accept call's answer or, for a
|
|
121
|
+
* call the host moved to the background, from the CLI. The row's end line
|
|
122
|
+
* reads this, never the absence of an answer.
|
|
123
|
+
*/
|
|
124
|
+
ended?: 'completed' | 'cancelled' | 'unknown' | 'not_started';
|
|
125
|
+
/** Who or what ended a worker that did not complete: the CLI's fixed code. */
|
|
126
|
+
endedBy?: string;
|
|
127
|
+
/** The final spend still has an unsettled part. */
|
|
128
|
+
unresolved?: boolean;
|
|
129
|
+
/** Image and document blocks the job sent as text; the worker did not see them. */
|
|
130
|
+
omittedBlocks?: number;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export type TenjinModelViewerRecord = {
|
|
134
|
+
offerId: string;
|
|
135
|
+
ordinal: number;
|
|
136
|
+
/** The held Agent call's description, cleaned, for the live row. */
|
|
137
|
+
title?: string;
|
|
138
|
+
description: string;
|
|
139
|
+
/** As `TenjinModelActivity.nativeProfile`. */
|
|
140
|
+
profile: string;
|
|
141
|
+
active: boolean;
|
|
142
|
+
nativeId?: string;
|
|
143
|
+
parentId?: string;
|
|
144
|
+
turnId?: string;
|
|
145
|
+
workerHandle?: string;
|
|
146
|
+
generation?: string;
|
|
147
|
+
activity?: TenjinModelActivity;
|
|
148
|
+
inspectionUnavailable?: boolean;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
export type TenjinModelViewerState = {
|
|
152
|
+
version: 1;
|
|
153
|
+
parentSessionId: string;
|
|
154
|
+
cwd: string;
|
|
155
|
+
serial: number;
|
|
156
|
+
records: TenjinModelViewerRecord[];
|
|
157
|
+
/** Type guards only, never offer/execution authority. */
|
|
158
|
+
knownIds: string[];
|
|
159
|
+
/** Active viewers from a prior cwd. These bindings authorize only cancellation. */
|
|
160
|
+
priorStops?: Pick<TenjinModelViewerRecord, 'offerId' | 'nativeId' | 'turnId'>[];
|
|
30
161
|
};
|
|
31
162
|
|
|
32
163
|
declare module 'claude-code' {
|
|
@@ -37,6 +168,18 @@ declare module 'claude-code' {
|
|
|
37
168
|
/** `hold:<offer id>` and `take:<offer id>`: the held native call and the
|
|
38
169
|
* request call taking it up; `ran:<key>`: a native call that ran. */
|
|
39
170
|
links: StateFamily<string>;
|
|
171
|
+
/** By the SHA-256 of a prompt: the label of the paid offer the CLI made
|
|
172
|
+
* on it, or '' when it made none. */
|
|
173
|
+
prompts: StateFamily<string>;
|
|
174
|
+
/** Start time of the latest root turn, used to reject an older offer. */
|
|
175
|
+
lastTurnStart: number;
|
|
176
|
+
modelViewers: TenjinModelViewerState;
|
|
177
|
+
/** By offer id: an accept call's live row while its worker runs. */
|
|
178
|
+
modelWorkers: StateFamily<TenjinModelWorker>;
|
|
179
|
+
/** By offer id: the held call's own prompt, shown as its viewer's first message. */
|
|
180
|
+
modelAssignments: StateFamily<string>;
|
|
181
|
+
/** By offer id: when the offer was made and how it was settled, for its row. */
|
|
182
|
+
modelOffers: StateFamily<TenjinModelOffer>;
|
|
40
183
|
};
|
|
41
184
|
}
|
|
42
185
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
HOSTS_FILE,
|
|
4
|
-
agentHost,
|
|
5
4
|
checkEach,
|
|
5
|
+
claudeHostSetUp,
|
|
6
6
|
claudePluginPresent,
|
|
7
7
|
detectHosts,
|
|
8
8
|
forgetInstalledHost,
|
|
@@ -14,15 +14,16 @@ import {
|
|
|
14
14
|
runEach,
|
|
15
15
|
uninstallEach,
|
|
16
16
|
withNote
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-IVNSUAVC.js";
|
|
18
|
+
import "./chunk-IULCDMVG.js";
|
|
19
|
+
import "./chunk-WXA3WTPF.js";
|
|
19
20
|
import "./chunk-7WEQQJLG.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-DI4QAGRZ.js";
|
|
21
22
|
import "./chunk-ZXTAQYNA.js";
|
|
22
23
|
export {
|
|
23
24
|
HOSTS_FILE,
|
|
24
|
-
agentHost,
|
|
25
25
|
checkEach,
|
|
26
|
+
claudeHostSetUp,
|
|
26
27
|
claudePluginPresent,
|
|
27
28
|
detectHosts,
|
|
28
29
|
forgetInstalledHost,
|
|
@@ -35,4 +36,4 @@ export {
|
|
|
35
36
|
uninstallEach,
|
|
36
37
|
withNote
|
|
37
38
|
};
|
|
38
|
-
//# sourceMappingURL=hosts-
|
|
39
|
+
//# sourceMappingURL=hosts-3EMTVM4H.js.map
|
package/dist/index.js
CHANGED
|
@@ -24,8 +24,8 @@ if (Number.isNaN(nodeMajor) || nodeMajor < MIN_NODE_MAJOR) {
|
|
|
24
24
|
var verb = process.argv[2];
|
|
25
25
|
if (verb !== "status-line" && verb !== "hook" && verb !== "mcp" && process.env.TENJIN_HANDOFF !== "1") {
|
|
26
26
|
const [{ handoffTarget }, { default: pkg }] = await Promise.all([
|
|
27
|
-
import("./runtime-layout-
|
|
28
|
-
import("./package-
|
|
27
|
+
import("./runtime-layout-QHZQJV7C.js"),
|
|
28
|
+
import("./package-BONDXSV3.js")
|
|
29
29
|
]);
|
|
30
30
|
const target = handoffTarget(import.meta.url, pkg.version, process.env);
|
|
31
31
|
if (target !== null) {
|
|
@@ -38,29 +38,32 @@ if (verb !== "status-line" && verb !== "hook" && verb !== "mcp" && process.env.T
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
if (process.argv.length === 3 && process.argv[2] === "status-line") {
|
|
41
|
-
const { statusLineMain } = await import("./status-line-
|
|
41
|
+
const { statusLineMain } = await import("./status-line-IH5JBWBC.js");
|
|
42
42
|
await statusLineMain();
|
|
43
43
|
process.exit(0);
|
|
44
44
|
}
|
|
45
45
|
if (process.argv.length === 4 && process.argv[2] === "hook" && process.argv[3] === "alive") {
|
|
46
|
-
const { dataDir
|
|
47
|
-
const dir =
|
|
46
|
+
const { dataDir } = await import("./paths-O2KDWZ76.js");
|
|
47
|
+
const dir = dataDir(process.env);
|
|
48
48
|
try {
|
|
49
49
|
const [{ aliveMain }, { default: pkg }] = await Promise.all([
|
|
50
|
-
import("./alive-
|
|
51
|
-
import("./package-
|
|
50
|
+
import("./alive-5TV22PNF.js"),
|
|
51
|
+
import("./package-BONDXSV3.js")
|
|
52
52
|
]);
|
|
53
53
|
await aliveMain({ dataDir: dir, version: pkg.version });
|
|
54
54
|
} finally {
|
|
55
|
-
(await import("./auto-update-
|
|
55
|
+
(await import("./auto-update-7L24KDWA.js")).maybeAutoUpdate({ dataDir: dir, env: process.env });
|
|
56
56
|
}
|
|
57
57
|
process.exit(0);
|
|
58
58
|
}
|
|
59
|
-
var {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
enableCliIdentity(
|
|
65
|
-
|
|
59
|
+
var { exitAfter } = await import("./flush-stdio-NYIJ3QXT.js");
|
|
60
|
+
await exitAfter(async () => {
|
|
61
|
+
const { useEnvProxy } = await import("./env-proxy-XLSLHBKQ.js");
|
|
62
|
+
useEnvProxy(process.env);
|
|
63
|
+
const { main } = await import("./cli-QY4KKA3D.js");
|
|
64
|
+
const { enableCliIdentity } = await import("./install-identity-FFAYEFLX.js");
|
|
65
|
+
const { dataDir } = await import("./paths-O2KDWZ76.js");
|
|
66
|
+
enableCliIdentity(dataDir(process.env));
|
|
67
|
+
return main(process.argv.slice(2));
|
|
68
|
+
});
|
|
66
69
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n// Bin entry. The Node version guard runs BEFORE importing anything else — no\n// static imports above it — so an out-of-support runtime gets one JSON error\n// envelope plus a human stderr line instead of a syntax/parse crash from a\n// lazily-loaded module written in newer syntax. Kept in conservative syntax.\nconst MIN_NODE_MAJOR = 22;\n\nconst nodeMajor = Number.parseInt(process.versions.node.split('.')[0] ?? '', 10);\n\nif (Number.isNaN(nodeMajor) || nodeMajor < MIN_NODE_MAJOR) {\n const envelope = {\n schemaVersion: 1,\n command: 'preflight',\n ok: false,\n error: {\n code: 'NODE_UNSUPPORTED',\n message: `Tenjin CLI requires Node ${MIN_NODE_MAJOR} or newer (found ${process.versions.node}).`,\n fix: `Install Node ${MIN_NODE_MAJOR} or newer`,\n },\n };\n process.stdout.write(`${JSON.stringify(envelope, null, 2)}\\n`);\n process.stderr.write(`error: Node ${MIN_NODE_MAJOR}+ required, found ${process.versions.node}\\n`);\n process.exit(1);\n}\n\n// A STALE COPY HANDS OFF TO TENJIN'S RUNTIME. npm's global bin folder can come\n// before `~/.local/bin` on PATH, so a `tenjin` typed in a terminal may be an\n// npm copy older than the runtime the plugin runs; it must not answer for it.\n// When the runtime's current version is strictly newer, this build runs that\n// one instead, `install` included, so an old copy never sets up anything older\n// than what is already running. The status line, the hooks and `tenjin mcp` pay\n// nothing for this check; any failure falls through and this build runs.\nconst verb = process.argv[2];\nif (\n verb !== 'status-line' &&\n verb !== 'hook' &&\n verb !== 'mcp' &&\n process.env.TENJIN_HANDOFF !== '1'\n) {\n const [{ handoffTarget }, { default: pkg }] = await Promise.all([\n import('./lib/runtime-layout'),\n import('../package.json'),\n ]);\n const target = handoffTarget(import.meta.url, pkg.version, process.env);\n if (target !== null) {\n const { spawnSync } = await import('node:child_process');\n const run = spawnSync(target.node, [target.entry, ...process.argv.slice(2)], {\n stdio: 'inherit',\n env: { ...process.env, TENJIN_HANDOFF: '1' },\n });\n if (run.error === undefined) process.exit(run.status ?? 1);\n }\n}\n\n// THE STATUS LINE NEVER LOADS THE CLI. Claude Code runs it once a second for as\n// long as a session is open, and commander, zod and the command tree are parse\n// cost it has no use for. Only the bare invocation is diverted; `--help` and\n// every flag fall through to the command tree, which registers it like any verb.\nif (process.argv.length === 3 && process.argv[2] === 'status-line') {\n const { statusLineMain } = await import('./router/status-line');\n await statusLineMain();\n process.exit(0);\n}\n\n// THE PLUGIN'S SessionStart LEG NEVER LOADS THE CLI EITHER. It runs before\n// every session starts, writes two small files
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["#!/usr/bin/env node\n// Bin entry. The Node version guard runs BEFORE importing anything else — no\n// static imports above it — so an out-of-support runtime gets one JSON error\n// envelope plus a human stderr line instead of a syntax/parse crash from a\n// lazily-loaded module written in newer syntax. Kept in conservative syntax.\nconst MIN_NODE_MAJOR = 22;\n\nconst nodeMajor = Number.parseInt(process.versions.node.split('.')[0] ?? '', 10);\n\nif (Number.isNaN(nodeMajor) || nodeMajor < MIN_NODE_MAJOR) {\n const envelope = {\n schemaVersion: 1,\n command: 'preflight',\n ok: false,\n error: {\n code: 'NODE_UNSUPPORTED',\n message: `Tenjin CLI requires Node ${MIN_NODE_MAJOR} or newer (found ${process.versions.node}).`,\n fix: `Install Node ${MIN_NODE_MAJOR} or newer`,\n },\n };\n process.stdout.write(`${JSON.stringify(envelope, null, 2)}\\n`);\n process.stderr.write(`error: Node ${MIN_NODE_MAJOR}+ required, found ${process.versions.node}\\n`);\n process.exit(1);\n}\n\n// A STALE COPY HANDS OFF TO TENJIN'S RUNTIME. npm's global bin folder can come\n// before `~/.local/bin` on PATH, so a `tenjin` typed in a terminal may be an\n// npm copy older than the runtime the plugin runs; it must not answer for it.\n// When the runtime's current version is strictly newer, this build runs that\n// one instead, `install` included, so an old copy never sets up anything older\n// than what is already running. The status line, the hooks and `tenjin mcp` pay\n// nothing for this check; any failure falls through and this build runs.\nconst verb = process.argv[2];\nif (\n verb !== 'status-line' &&\n verb !== 'hook' &&\n verb !== 'mcp' &&\n process.env.TENJIN_HANDOFF !== '1'\n) {\n const [{ handoffTarget }, { default: pkg }] = await Promise.all([\n import('./lib/runtime-layout'),\n import('../package.json'),\n ]);\n const target = handoffTarget(import.meta.url, pkg.version, process.env);\n if (target !== null) {\n const { spawnSync } = await import('node:child_process');\n const run = spawnSync(target.node, [target.entry, ...process.argv.slice(2)], {\n stdio: 'inherit',\n env: { ...process.env, TENJIN_HANDOFF: '1' },\n });\n if (run.error === undefined) process.exit(run.status ?? 1);\n }\n}\n\n// THE STATUS LINE NEVER LOADS THE CLI. Claude Code runs it once a second for as\n// long as a session is open, and commander, zod and the command tree are parse\n// cost it has no use for. Only the bare invocation is diverted; `--help` and\n// every flag fall through to the command tree, which registers it like any verb.\nif (process.argv.length === 3 && process.argv[2] === 'status-line') {\n const { statusLineMain } = await import('./router/status-line');\n await statusLineMain();\n process.exit(0);\n}\n\n// THE PLUGIN'S SessionStart LEG NEVER LOADS THE CLI EITHER. It runs before\n// every session starts, writes two small files, prints one JSON line when the\n// wallet file or its saved passphrase file is unusable, and otherwise reads the\n// balance at most once a day, bounded at 2 s, to say when it is low; so it\n// takes the same shortcut, and sets up the env proxy itself, for that read\n// only. A flag falls through to the command tree. Once its answer\n// is out, it starts the daily background update, detached (lib/auto-update):\n// after the answer, so the session waits on nothing new, and in a `finally`,\n// so a leg that throws, or a module that will not load, still starts the\n// update that may replace the build at fault. Starting it never throws and\n// never waits.\nif (process.argv.length === 4 && process.argv[2] === 'hook' && process.argv[3] === 'alive') {\n const { dataDir } = await import('./lib/paths');\n const dir = dataDir(process.env);\n try {\n const [{ aliveMain }, { default: pkg }] = await Promise.all([\n import('./router/alive'),\n import('../package.json'),\n ]);\n await aliveMain({ dataDir: dir, version: pkg.version });\n } finally {\n (await import('./lib/auto-update')).maybeAutoUpdate({ dataDir: dir, env: process.env });\n }\n process.exit(0);\n}\n\n// Stdio's errors are taken before the command writes anything, so a reader\n// that already went away (EPIPE) never turns its exit code into a crash, and\n// a write error Node reports any other way (a full disk) exits nonzero, said\n// on stderr. Output queued on a pipe drains before the exit, since an exit\n// before stdout drains cuts a large body off (lib/flush-stdio). A short write\n// Node reports as a success is not seen here.\nconst { exitAfter } = await import('./lib/flush-stdio');\nawait exitAfter(async () => {\n // After the status line, which sends no request, and the alive leg, which\n // sets it up for its one read: every other process from this bin (the CLI,\n // the other hooks, `tenjin mcp`) honours HTTPS_PROXY and NO_PROXY.\n const { useEnvProxy } = await import('./lib/env-proxy');\n useEnvProxy(process.env);\n\n const { main } = await import('./cli');\n // Here and not in `main`, so an in-process test of the command tree sends no\n // telemetry and mints no install id; see lib/install-identity.\n const { enableCliIdentity } = await import('./lib/install-identity');\n const { dataDir } = await import('./lib/paths');\n enableCliIdentity(dataDir(process.env));\n return main(process.argv.slice(2));\n});\n\n// Marks this file a module so top-level await is legal; emits nothing.\nexport {};\n"],"mappings":";;;;AAKA,IAAM,iBAAiB;AAEvB,IAAM,YAAY,OAAO,SAAS,QAAQ,SAAS,KAAK,MAAM,GAAG,EAAE,CAAC,KAAK,IAAI,EAAE;AAE/E,IAAI,OAAO,MAAM,SAAS,KAAK,YAAY,gBAAgB;AACzD,QAAM,WAAW;AAAA,IACf,eAAe;AAAA,IACf,SAAS;AAAA,IACT,IAAI;AAAA,IACJ,OAAO;AAAA,MACL,MAAM;AAAA,MACN,SAAS,4BAA4B,cAAc,oBAAoB,QAAQ,SAAS,IAAI;AAAA,MAC5F,KAAK,gBAAgB,cAAc;AAAA,IACrC;AAAA,EACF;AACA,UAAQ,OAAO,MAAM,GAAG,KAAK,UAAU,UAAU,MAAM,CAAC,CAAC;AAAA,CAAI;AAC7D,UAAQ,OAAO,MAAM,eAAe,cAAc,qBAAqB,QAAQ,SAAS,IAAI;AAAA,CAAI;AAChG,UAAQ,KAAK,CAAC;AAChB;AASA,IAAM,OAAO,QAAQ,KAAK,CAAC;AAC3B,IACE,SAAS,iBACT,SAAS,UACT,SAAS,SACT,QAAQ,IAAI,mBAAmB,KAC/B;AACA,QAAM,CAAC,EAAE,cAAc,GAAG,EAAE,SAAS,IAAI,CAAC,IAAI,MAAM,QAAQ,IAAI;AAAA,IAC9D,OAAO,8BAAsB;AAAA,IAC7B,OAAO,uBAAiB;AAAA,EAC1B,CAAC;AACD,QAAM,SAAS,cAAc,YAAY,KAAK,IAAI,SAAS,QAAQ,GAAG;AACtE,MAAI,WAAW,MAAM;AACnB,UAAM,EAAE,UAAU,IAAI,MAAM,OAAO,oBAAoB;AACvD,UAAM,MAAM,UAAU,OAAO,MAAM,CAAC,OAAO,OAAO,GAAG,QAAQ,KAAK,MAAM,CAAC,CAAC,GAAG;AAAA,MAC3E,OAAO;AAAA,MACP,KAAK,EAAE,GAAG,QAAQ,KAAK,gBAAgB,IAAI;AAAA,IAC7C,CAAC;AACD,QAAI,IAAI,UAAU,OAAW,SAAQ,KAAK,IAAI,UAAU,CAAC;AAAA,EAC3D;AACF;AAMA,IAAI,QAAQ,KAAK,WAAW,KAAK,QAAQ,KAAK,CAAC,MAAM,eAAe;AAClE,QAAM,EAAE,eAAe,IAAI,MAAM,OAAO,2BAAsB;AAC9D,QAAM,eAAe;AACrB,UAAQ,KAAK,CAAC;AAChB;AAaA,IAAI,QAAQ,KAAK,WAAW,KAAK,QAAQ,KAAK,CAAC,MAAM,UAAU,QAAQ,KAAK,CAAC,MAAM,SAAS;AAC1F,QAAM,EAAE,QAAQ,IAAI,MAAM,OAAO,qBAAa;AAC9C,QAAM,MAAM,QAAQ,QAAQ,GAAG;AAC/B,MAAI;AACF,UAAM,CAAC,EAAE,UAAU,GAAG,EAAE,SAAS,IAAI,CAAC,IAAI,MAAM,QAAQ,IAAI;AAAA,MAC1D,OAAO,qBAAgB;AAAA,MACvB,OAAO,uBAAiB;AAAA,IAC1B,CAAC;AACD,UAAM,UAAU,EAAE,SAAS,KAAK,SAAS,IAAI,QAAQ,CAAC;AAAA,EACxD,UAAE;AACA,KAAC,MAAM,OAAO,2BAAmB,GAAG,gBAAgB,EAAE,SAAS,KAAK,KAAK,QAAQ,IAAI,CAAC;AAAA,EACxF;AACA,UAAQ,KAAK,CAAC;AAChB;AAQA,IAAM,EAAE,UAAU,IAAI,MAAM,OAAO,2BAAmB;AACtD,MAAM,UAAU,YAAY;AAI1B,QAAM,EAAE,YAAY,IAAI,MAAM,OAAO,yBAAiB;AACtD,cAAY,QAAQ,GAAG;AAEvB,QAAM,EAAE,KAAK,IAAI,MAAM,OAAO,mBAAO;AAGrC,QAAM,EAAE,kBAAkB,IAAI,MAAM,OAAO,gCAAwB;AACnE,QAAM,EAAE,QAAQ,IAAI,MAAM,OAAO,qBAAa;AAC9C,oBAAkB,QAAQ,QAAQ,GAAG,CAAC;AACtC,SAAO,KAAK,QAAQ,KAAK,MAAM,CAAC,CAAC;AACnC,CAAC;","names":[]}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
CAPABILITY_LINES,
|
|
4
|
+
DISCLOSURE,
|
|
5
|
+
NEW_SESSION_STEP,
|
|
6
|
+
NOTHING_TO_REFRESH,
|
|
7
|
+
RELOAD_STEP,
|
|
8
|
+
SHOW_NOT_RUN,
|
|
9
|
+
approveLimits,
|
|
10
|
+
assertPluginInstallation,
|
|
11
|
+
continuationCommand,
|
|
12
|
+
defaultRuntime,
|
|
13
|
+
effectiveLimits,
|
|
14
|
+
loadStep,
|
|
15
|
+
migrateSettingsInstall,
|
|
16
|
+
namedLimits,
|
|
17
|
+
pluginProof,
|
|
18
|
+
projectInstallAt,
|
|
19
|
+
projectInstallHere,
|
|
20
|
+
receiptTail,
|
|
21
|
+
requireRuntime,
|
|
22
|
+
runRouterInstall,
|
|
23
|
+
runtimeData,
|
|
24
|
+
runtimeLines,
|
|
25
|
+
runtimeOncePerRun,
|
|
26
|
+
spendStepFor,
|
|
27
|
+
walletLines
|
|
28
|
+
} from "./chunk-65RS4LQS.js";
|
|
29
|
+
import "./chunk-QKEUKBRK.js";
|
|
30
|
+
import "./chunk-Y2EXZ47H.js";
|
|
31
|
+
import "./chunk-F43CV6UC.js";
|
|
32
|
+
import "./chunk-HQR4BWKX.js";
|
|
33
|
+
import "./chunk-OJJFANO6.js";
|
|
34
|
+
import {
|
|
35
|
+
AFTER_CALL_TIMEOUT_SECONDS,
|
|
36
|
+
ROUTE_HOOK_TIMEOUT_SECONDS
|
|
37
|
+
} from "./chunk-34SAECKZ.js";
|
|
38
|
+
import "./chunk-I557SAOM.js";
|
|
39
|
+
import "./chunk-IULCDMVG.js";
|
|
40
|
+
import "./chunk-WXA3WTPF.js";
|
|
41
|
+
import "./chunk-QQDPRTLP.js";
|
|
42
|
+
import "./chunk-P4I7BFNJ.js";
|
|
43
|
+
import "./chunk-4MBCJFY4.js";
|
|
44
|
+
import "./chunk-OC7K2DVZ.js";
|
|
45
|
+
import "./chunk-5F4OB5B3.js";
|
|
46
|
+
import "./chunk-ZS7JIUJ3.js";
|
|
47
|
+
import "./chunk-JWAK7JQB.js";
|
|
48
|
+
import "./chunk-4TPL54KW.js";
|
|
49
|
+
import "./chunk-ZRC7Z5X3.js";
|
|
50
|
+
import "./chunk-QQYCYAKI.js";
|
|
51
|
+
import "./chunk-LDA6TAYQ.js";
|
|
52
|
+
import "./chunk-W74LJ5OT.js";
|
|
53
|
+
import "./chunk-KNKDMTHU.js";
|
|
54
|
+
import "./chunk-3Y6BHIN6.js";
|
|
55
|
+
import "./chunk-R62PKTAG.js";
|
|
56
|
+
import "./chunk-HAZAN4UM.js";
|
|
57
|
+
import "./chunk-KGUE5AVX.js";
|
|
58
|
+
import "./chunk-2W4DQQUU.js";
|
|
59
|
+
import "./chunk-KLDMLWXT.js";
|
|
60
|
+
import "./chunk-HZKANST2.js";
|
|
61
|
+
import "./chunk-MEZJ3I63.js";
|
|
62
|
+
import "./chunk-ILWCKCOI.js";
|
|
63
|
+
import "./chunk-RFZA7PSM.js";
|
|
64
|
+
import "./chunk-JUUBBBY5.js";
|
|
65
|
+
import "./chunk-GH5UKMZD.js";
|
|
66
|
+
import "./chunk-5N4GGUBN.js";
|
|
67
|
+
import "./chunk-W2GXIARJ.js";
|
|
68
|
+
import "./chunk-TFT2X7SH.js";
|
|
69
|
+
import "./chunk-DTEWAVNE.js";
|
|
70
|
+
import "./chunk-UIB33QQP.js";
|
|
71
|
+
import "./chunk-7WEQQJLG.js";
|
|
72
|
+
import "./chunk-ZCT5DJ3G.js";
|
|
73
|
+
import "./chunk-3MZ7DYRO.js";
|
|
74
|
+
import "./chunk-JTX3BUDK.js";
|
|
75
|
+
import "./chunk-ZEYA2WWX.js";
|
|
76
|
+
import "./chunk-DIH2G3YG.js";
|
|
77
|
+
import "./chunk-D6M3ZK66.js";
|
|
78
|
+
import "./chunk-RGCPELQN.js";
|
|
79
|
+
import "./chunk-CRG54LEB.js";
|
|
80
|
+
import "./chunk-TUCKEEXE.js";
|
|
81
|
+
import "./chunk-P6YQWIT2.js";
|
|
82
|
+
import "./chunk-DI4QAGRZ.js";
|
|
83
|
+
import "./chunk-3Y2EHT4F.js";
|
|
84
|
+
import "./chunk-4CE6TMI5.js";
|
|
85
|
+
import "./chunk-ZXTAQYNA.js";
|
|
86
|
+
export {
|
|
87
|
+
AFTER_CALL_TIMEOUT_SECONDS,
|
|
88
|
+
CAPABILITY_LINES,
|
|
89
|
+
DISCLOSURE,
|
|
90
|
+
NEW_SESSION_STEP,
|
|
91
|
+
NOTHING_TO_REFRESH,
|
|
92
|
+
RELOAD_STEP,
|
|
93
|
+
ROUTE_HOOK_TIMEOUT_SECONDS,
|
|
94
|
+
SHOW_NOT_RUN,
|
|
95
|
+
approveLimits,
|
|
96
|
+
assertPluginInstallation,
|
|
97
|
+
continuationCommand,
|
|
98
|
+
defaultRuntime,
|
|
99
|
+
effectiveLimits,
|
|
100
|
+
loadStep,
|
|
101
|
+
migrateSettingsInstall,
|
|
102
|
+
namedLimits,
|
|
103
|
+
pluginProof,
|
|
104
|
+
projectInstallAt,
|
|
105
|
+
projectInstallHere,
|
|
106
|
+
receiptTail,
|
|
107
|
+
requireRuntime,
|
|
108
|
+
runRouterInstall,
|
|
109
|
+
runtimeData,
|
|
110
|
+
runtimeLines,
|
|
111
|
+
runtimeOncePerRun,
|
|
112
|
+
spendStepFor,
|
|
113
|
+
walletLines
|
|
114
|
+
};
|
|
115
|
+
//# sourceMappingURL=install-ZA7L2UF3.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
FUND_QUESTION,
|
|
4
|
+
finishTerminalFunding,
|
|
5
|
+
fundStep,
|
|
6
|
+
fundingOncePerRun
|
|
7
|
+
} from "./chunk-QQDPRTLP.js";
|
|
8
|
+
import "./chunk-KLDMLWXT.js";
|
|
9
|
+
import "./chunk-HZKANST2.js";
|
|
10
|
+
import "./chunk-MEZJ3I63.js";
|
|
11
|
+
import "./chunk-RFZA7PSM.js";
|
|
12
|
+
import "./chunk-JUUBBBY5.js";
|
|
13
|
+
import "./chunk-GH5UKMZD.js";
|
|
14
|
+
import "./chunk-ZEYA2WWX.js";
|
|
15
|
+
import "./chunk-DIH2G3YG.js";
|
|
16
|
+
import "./chunk-D6M3ZK66.js";
|
|
17
|
+
import "./chunk-RGCPELQN.js";
|
|
18
|
+
import "./chunk-CRG54LEB.js";
|
|
19
|
+
import "./chunk-TUCKEEXE.js";
|
|
20
|
+
import "./chunk-P6YQWIT2.js";
|
|
21
|
+
import "./chunk-DI4QAGRZ.js";
|
|
22
|
+
import "./chunk-3Y2EHT4F.js";
|
|
23
|
+
import "./chunk-ZXTAQYNA.js";
|
|
24
|
+
export {
|
|
25
|
+
FUND_QUESTION,
|
|
26
|
+
finishTerminalFunding,
|
|
27
|
+
fundStep,
|
|
28
|
+
fundingOncePerRun
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=install-funding-JDGYTF72.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
enableCliIdentity,
|
|
4
|
+
identityFor,
|
|
5
|
+
noteBaseUrlFlag,
|
|
6
|
+
readOrCreateInstallId,
|
|
7
|
+
tenjinOrigins
|
|
8
|
+
} from "./chunk-3YPL6T3P.js";
|
|
9
|
+
import "./chunk-JWAK7JQB.js";
|
|
10
|
+
import "./chunk-UIB33QQP.js";
|
|
11
|
+
import "./chunk-7WEQQJLG.js";
|
|
12
|
+
import "./chunk-ZCT5DJ3G.js";
|
|
13
|
+
import "./chunk-3MZ7DYRO.js";
|
|
14
|
+
import "./chunk-JTX3BUDK.js";
|
|
15
|
+
import "./chunk-D6M3ZK66.js";
|
|
16
|
+
import "./chunk-RGCPELQN.js";
|
|
17
|
+
import "./chunk-CRG54LEB.js";
|
|
18
|
+
import "./chunk-TUCKEEXE.js";
|
|
19
|
+
import "./chunk-P6YQWIT2.js";
|
|
20
|
+
import "./chunk-DI4QAGRZ.js";
|
|
21
|
+
import "./chunk-3Y2EHT4F.js";
|
|
22
|
+
import "./chunk-ZXTAQYNA.js";
|
|
23
|
+
export {
|
|
24
|
+
enableCliIdentity,
|
|
25
|
+
identityFor,
|
|
26
|
+
noteBaseUrlFlag,
|
|
27
|
+
readOrCreateInstallId,
|
|
28
|
+
tenjinOrigins
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=install-identity-FFAYEFLX.js.map
|
|
@@ -1,71 +1,94 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
readProcessSnapshot
|
|
4
|
+
} from "./chunk-F43CV6UC.js";
|
|
2
5
|
import {
|
|
3
6
|
runWalletCreate
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-Q6RSJCXB.js";
|
|
8
|
+
import "./chunk-VU6GMWF6.js";
|
|
9
|
+
import "./chunk-MEWZCIA6.js";
|
|
10
|
+
import "./chunk-V6GIVALQ.js";
|
|
11
|
+
import "./chunk-5USBZ2MU.js";
|
|
12
|
+
import "./chunk-F2KJAJ7T.js";
|
|
13
|
+
import "./chunk-24XKUN2S.js";
|
|
7
14
|
import {
|
|
8
15
|
canSign,
|
|
9
16
|
isDefiniteBlock,
|
|
10
17
|
signFromVerification
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-64WOMNYR.js";
|
|
19
|
+
import "./chunk-TVWCLUBI.js";
|
|
20
|
+
import "./chunk-YJGEVBKZ.js";
|
|
21
|
+
import "./chunk-JTILUN4W.js";
|
|
22
|
+
import "./chunk-6QMDUDF2.js";
|
|
23
|
+
import "./chunk-P4I7BFNJ.js";
|
|
24
|
+
import "./chunk-DJ36BM62.js";
|
|
25
|
+
import "./chunk-W7ELYLYK.js";
|
|
26
|
+
import "./chunk-OQWPRFAC.js";
|
|
20
27
|
import {
|
|
21
28
|
createLocalProvider,
|
|
22
29
|
describeWallet,
|
|
23
30
|
verifyLocalWallet,
|
|
24
31
|
walletFileExists
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-K5KNGC4I.js";
|
|
33
|
+
import "./chunk-FYFHH7V5.js";
|
|
34
|
+
import "./chunk-HPRVFJPM.js";
|
|
35
|
+
import "./chunk-RGVCOG2S.js";
|
|
36
|
+
import "./chunk-FKVJKLPI.js";
|
|
37
|
+
import "./chunk-YWWMISDY.js";
|
|
38
|
+
import "./chunk-JNUKLSMZ.js";
|
|
39
|
+
import "./chunk-HI5XQOX2.js";
|
|
40
|
+
import "./chunk-XRGFH7FI.js";
|
|
41
|
+
import "./chunk-IGLWLH73.js";
|
|
42
|
+
import "./chunk-7V25UAQO.js";
|
|
43
|
+
import "./chunk-PETQ5WEA.js";
|
|
44
|
+
import "./chunk-INSIW65E.js";
|
|
45
|
+
import "./chunk-CZJOMUBP.js";
|
|
46
|
+
import "./chunk-RBJPAZFI.js";
|
|
47
|
+
import "./chunk-WFZX352D.js";
|
|
48
|
+
import "./chunk-ZS7JIUJ3.js";
|
|
49
|
+
import "./chunk-JWAK7JQB.js";
|
|
28
50
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
51
|
+
liveObservations,
|
|
52
|
+
readObservations,
|
|
53
|
+
servedObservations
|
|
54
|
+
} from "./chunk-HAZAN4UM.js";
|
|
55
|
+
import "./chunk-KGUE5AVX.js";
|
|
56
|
+
import "./chunk-2W4DQQUU.js";
|
|
31
57
|
import {
|
|
32
58
|
emitNotice
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import
|
|
37
|
-
confirmChoice
|
|
38
|
-
} from "./chunk-DOQGNFHM.js";
|
|
39
|
-
import "./chunk-MEFB5KHA.js";
|
|
40
|
-
import "./chunk-CEXSOI5R.js";
|
|
41
|
-
import "./chunk-WFSPCCVW.js";
|
|
42
|
-
import "./chunk-JRGFKVAZ.js";
|
|
43
|
-
import "./chunk-2GP3HRYK.js";
|
|
44
|
-
import "./chunk-KG3D7FIF.js";
|
|
45
|
-
import "./chunk-RBJPAZFI.js";
|
|
46
|
-
import "./chunk-BPMWXTFX.js";
|
|
47
|
-
import "./chunk-RVPYTUP4.js";
|
|
48
|
-
import "./chunk-Y527D4TV.js";
|
|
59
|
+
} from "./chunk-KLDMLWXT.js";
|
|
60
|
+
import "./chunk-HZKANST2.js";
|
|
61
|
+
import "./chunk-MEZJ3I63.js";
|
|
62
|
+
import "./chunk-ILWCKCOI.js";
|
|
49
63
|
import {
|
|
50
64
|
UNKNOWN_DETAIL
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-3AIHRXKO.js";
|
|
65
|
+
} from "./chunk-RFZA7PSM.js";
|
|
53
66
|
import {
|
|
54
67
|
FILE_STORE_FAILED_FIX,
|
|
55
68
|
PRIVATE_KEY_RE,
|
|
56
69
|
classifyUnlockError,
|
|
57
70
|
unlockReasonOf
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-JUUBBBY5.js";
|
|
72
|
+
import {
|
|
73
|
+
confirmChoice
|
|
74
|
+
} from "./chunk-GH5UKMZD.js";
|
|
75
|
+
import "./chunk-DTEWAVNE.js";
|
|
76
|
+
import "./chunk-UIB33QQP.js";
|
|
64
77
|
import "./chunk-7WEQQJLG.js";
|
|
78
|
+
import "./chunk-ZCT5DJ3G.js";
|
|
79
|
+
import "./chunk-3MZ7DYRO.js";
|
|
80
|
+
import "./chunk-JTX3BUDK.js";
|
|
81
|
+
import "./chunk-ZEYA2WWX.js";
|
|
82
|
+
import "./chunk-DIH2G3YG.js";
|
|
83
|
+
import "./chunk-D6M3ZK66.js";
|
|
84
|
+
import "./chunk-RGCPELQN.js";
|
|
85
|
+
import "./chunk-CRG54LEB.js";
|
|
86
|
+
import "./chunk-TUCKEEXE.js";
|
|
87
|
+
import "./chunk-P6YQWIT2.js";
|
|
65
88
|
import {
|
|
66
89
|
CliError
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
90
|
+
} from "./chunk-DI4QAGRZ.js";
|
|
91
|
+
import "./chunk-3Y2EHT4F.js";
|
|
69
92
|
import "./chunk-ZXTAQYNA.js";
|
|
70
93
|
|
|
71
94
|
// src/commands/install-wallet.ts
|
|
@@ -83,13 +106,6 @@ function walletFix(reason, path) {
|
|
|
83
106
|
return "Create one with `tenjin wallet create`.";
|
|
84
107
|
}
|
|
85
108
|
}
|
|
86
|
-
function walletValue(w) {
|
|
87
|
-
const locked = w.signing?.status === "blocked" ? ` - cannot unlock: ${w.signing.detail}` : "";
|
|
88
|
-
if (w.status === "existing") return `${w.address} (existing)${locked}`;
|
|
89
|
-
if (w.status === "created") return `${w.address}, $0 - fund with: tenjin wallet fund${locked}`;
|
|
90
|
-
if (w.status === "skipped") return `none (${w.reason}) - ${w.fix}`;
|
|
91
|
-
return "none - create with: tenjin wallet create";
|
|
92
|
-
}
|
|
93
109
|
async function resolveWallet(ctx, deps, skipReason, canPrompt) {
|
|
94
110
|
const env = deps.env ?? process.env;
|
|
95
111
|
const keySet = (env.TENJIN_WALLET_KEY ?? "").trim().length > 0;
|
|
@@ -275,7 +291,6 @@ function defaultConfirm(label) {
|
|
|
275
291
|
export {
|
|
276
292
|
WALLET_QUESTION,
|
|
277
293
|
defaultWalletSigning,
|
|
278
|
-
resolveWallet
|
|
279
|
-
walletValue
|
|
294
|
+
resolveWallet
|
|
280
295
|
};
|
|
281
|
-
//# sourceMappingURL=install-wallet-
|
|
296
|
+
//# sourceMappingURL=install-wallet-2SFOVE3Q.js.map
|