@claudiolabs/claudin 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-1.0.8-eje3a59q.mjs +1 -0
- package/dist/chunks/App-1.0.8-d2xvppcs.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.8-46gxh8v1.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.8-14hqa3x1.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.8-wbj2exgg.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.8-qw286z98.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.8-d7f3p2f2.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.8-pz9144b6.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.8-kekremjy.mjs +7 -0
- package/dist/chunks/Doctor-1.0.8-y6yd83ya.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.8-sde0qmj8.mjs +6 -0
- package/dist/chunks/Grove-1.0.8-vaqh13j1.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.8-pyx0hrdr.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.8-9xkjpkdq.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.8-sg0zxdxs.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.8-sa3w4fkf.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.8-j2grnf78.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.8-rhr4npaj.mjs +1 -0
- package/dist/chunks/REPL-1.0.8-r0frprp1.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.8-y8q8w4g5.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.8-6r0afvcw.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.8-8k0msa15.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.8-3y1gzb63.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.8-sr835vjm.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.8-j4ewgs24.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.8-g3jtn9j5.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.8-6fmeeyg3.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.8-07gr4v39.mjs +1 -0
- package/dist/chunks/add-dir-1.0.8-zp69mch9.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.8-0tz8xbhq.mjs +1 -0
- package/dist/chunks/agents-1.0.8-7b7qbe1b.mjs +3 -0
- package/dist/chunks/agents-1.0.8-hcpq0qtv.mjs +110 -0
- package/dist/chunks/api-1.0.8-99jqr2rt.mjs +1 -0
- package/dist/chunks/asciicast-1.0.8-hdy3b2tb.mjs +1 -0
- package/dist/chunks/assistant-1.0.8-wf6vgaxz.mjs +1 -0
- package/dist/chunks/auth-1.0.8-by49xah8.mjs +1 -0
- package/dist/chunks/auth-1.0.8-jhga5hc5.mjs +1 -0
- package/dist/chunks/autoMode-1.0.8-9hknbsrn.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.8-n0axyces.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.8-tthnkm6t.mjs +1 -0
- package/dist/chunks/branch-1.0.8-v0vyzjd1.mjs +4 -0
- package/dist/chunks/bridge-1.0.8-9em7eyw2.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.8-rc3gw5mw.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.8-mmzmxjzj.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.8-kys2mqca.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.8-ky397f5d.mjs +1 -0
- package/dist/chunks/btw-1.0.8-ppch37et.mjs +1 -0
- package/dist/chunks/buddy-1.0.8-3j0jmxqv.mjs +3 -0
- package/dist/chunks/cacache-1.0.8-npx6886e.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.8-q0q9v06f.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.8-8g3sbes5.mjs +4 -0
- package/dist/chunks/caches-1.0.8-c44ykbdq.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.8-3718a4er.mjs +1 -0
- package/dist/chunks/claudemd-1.0.8-mrm97672.mjs +1 -0
- package/dist/chunks/clear-1.0.8-60s1dmkm.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.8-s7tt8cvq.mjs +1 -0
- package/dist/chunks/cli-1.0.8-0g25h6r5.mjs +3 -0
- package/dist/chunks/cli-1.0.8-0j3a18cb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-0w29g9sk.mjs +4 -0
- package/dist/chunks/cli-1.0.8-1r6dnkqd.mjs +45 -0
- package/dist/chunks/cli-1.0.8-1ss6x3zt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-1tmgp7jd.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2tqdqypv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2tz4jekt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2vmb9a3w.mjs +2 -0
- package/dist/chunks/cli-1.0.8-2yyas23w.mjs +2 -0
- package/dist/chunks/cli-1.0.8-330tdbma.mjs +2 -0
- package/dist/chunks/cli-1.0.8-34678988.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3cz8c904.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3j90qb52.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3tw1xf7y.mjs +2 -0
- package/dist/chunks/cli-1.0.8-3vh4nftm.mjs +7 -0
- package/dist/chunks/cli-1.0.8-3w4np76x.mjs +2 -0
- package/dist/chunks/cli-1.0.8-45e9fjb4.mjs +21 -0
- package/dist/chunks/cli-1.0.8-4a1exx1w.mjs +2 -0
- package/dist/chunks/cli-1.0.8-4vzmdadp.mjs +2 -0
- package/dist/chunks/cli-1.0.8-4wgaqcjn.mjs +42 -0
- package/dist/chunks/cli-1.0.8-53cy4zte.mjs +34 -0
- package/dist/chunks/cli-1.0.8-592dqckn.mjs +12 -0
- package/dist/chunks/cli-1.0.8-5awx1w8e.mjs +25 -0
- package/dist/chunks/cli-1.0.8-5dyqgt8m.mjs +15 -0
- package/dist/chunks/cli-1.0.8-5gn5a7p3.mjs +2 -0
- package/dist/chunks/cli-1.0.8-5mzwqxg2.mjs +5 -0
- package/dist/chunks/cli-1.0.8-5r4z4nzj.mjs +9 -0
- package/dist/chunks/cli-1.0.8-5wfqemy1.mjs +17 -0
- package/dist/chunks/cli-1.0.8-5wwge1jc.mjs +3 -0
- package/dist/chunks/cli-1.0.8-628ypgq9.mjs +4 -0
- package/dist/chunks/cli-1.0.8-63tfdt8q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-693zfwne.mjs +2 -0
- package/dist/chunks/cli-1.0.8-6fz5dc6p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-6hge9cq0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-6q1p5cvf.mjs +2 -0
- package/dist/chunks/cli-1.0.8-74y9exyb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-74zbkhyt.mjs +67 -0
- package/dist/chunks/cli-1.0.8-75t3aews.mjs +2 -0
- package/dist/chunks/cli-1.0.8-75ta9404.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7b6c3csb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7khq3d03.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7p8001bq.mjs +2 -0
- package/dist/chunks/cli-1.0.8-7tm0v9g4.mjs +2 -0
- package/dist/chunks/cli-1.0.8-845srnq2.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8aa4g8k7.mjs +9 -0
- package/dist/chunks/cli-1.0.8-8bymhd85.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8d0pym8n.mjs +4 -0
- package/dist/chunks/cli-1.0.8-8eace15k.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8f8079r1.mjs +2 -0
- package/dist/chunks/cli-1.0.8-8g4cyspe.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9az1bj5r.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9cg23m77.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9d98s5n7.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9e91trv9.mjs +4 -0
- package/dist/chunks/cli-1.0.8-9kjmxaz9.mjs +2 -0
- package/dist/chunks/cli-1.0.8-9ten5rvg.mjs +3 -0
- package/dist/chunks/cli-1.0.8-9y02shjc.mjs +6 -0
- package/dist/chunks/cli-1.0.8-a227an7n.mjs +4 -0
- package/dist/chunks/cli-1.0.8-a5h5dhvb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-a95nzf63.mjs +3 -0
- package/dist/chunks/cli-1.0.8-aac9erft.mjs +18 -0
- package/dist/chunks/cli-1.0.8-abdc5b5p.mjs +12 -0
- package/dist/chunks/cli-1.0.8-acrtv429.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ah0px9dq.mjs +2 -0
- package/dist/chunks/cli-1.0.8-apm2cwth.mjs +2 -0
- package/dist/chunks/cli-1.0.8-b1a558ty.mjs +2 -0
- package/dist/chunks/cli-1.0.8-b3rgrfhx.mjs +2 -0
- package/dist/chunks/cli-1.0.8-bce7mfng.mjs +2 -0
- package/dist/chunks/cli-1.0.8-bf89pdxw.mjs +3 -0
- package/dist/chunks/cli-1.0.8-c1m2f995.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ch5nmk6z.mjs +6 -0
- package/dist/chunks/cli-1.0.8-ckzwfn2p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-cvanywgv.mjs +4 -0
- package/dist/chunks/cli-1.0.8-czw324tt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-djnb6kg8.mjs +2 -0
- package/dist/chunks/cli-1.0.8-dnyn56hh.mjs +2 -0
- package/dist/chunks/cli-1.0.8-dtv7cx85.mjs +2 -0
- package/dist/chunks/cli-1.0.8-e1je8bbg.mjs +2 -0
- package/dist/chunks/cli-1.0.8-e1rqh3t5.mjs +6 -0
- package/dist/chunks/cli-1.0.8-e226v5zv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ebmqnhat.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ecej8h97.mjs +2 -0
- package/dist/chunks/cli-1.0.8-eqnts1fr.mjs +8 -0
- package/dist/chunks/cli-1.0.8-erf5fgz4.mjs +133 -0
- package/dist/chunks/cli-1.0.8-erzw5831.mjs +133 -0
- package/dist/chunks/cli-1.0.8-evcjjrhq.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ewrnp0r9.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ezvghx0v.mjs +2 -0
- package/dist/chunks/cli-1.0.8-f149d1z0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-f46gq37z.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fch83jc9.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fmf0f85n.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fnnr43c2.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fnwydrx1.mjs +3 -0
- package/dist/chunks/cli-1.0.8-frbc2pan.mjs +2 -0
- package/dist/chunks/cli-1.0.8-fs06q8cs.mjs +2 -0
- package/dist/chunks/cli-1.0.8-g2934g2e.mjs +2 -0
- package/dist/chunks/cli-1.0.8-g8tpbbvt.mjs +3 -0
- package/dist/chunks/cli-1.0.8-g9h4ay1q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-gmf61bcb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-gsr9wqaw.mjs +39 -0
- package/dist/chunks/cli-1.0.8-gv80trp6.mjs +2 -0
- package/dist/chunks/cli-1.0.8-h44d6jh3.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hbgss955.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hgreyqck.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hkkcv1tv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-htq95mje.mjs +2 -0
- package/dist/chunks/cli-1.0.8-hy7rca6f.mjs +3 -0
- package/dist/chunks/cli-1.0.8-jy0q2dkm.mjs +2 -0
- package/dist/chunks/cli-1.0.8-jy7hzejg.mjs +2 -0
- package/dist/chunks/cli-1.0.8-k7vkjf05.mjs +2 -0
- package/dist/chunks/cli-1.0.8-k90vtehz.mjs +2 -0
- package/dist/chunks/cli-1.0.8-ke76gxzw.mjs +199 -0
- package/dist/chunks/cli-1.0.8-kfv9esqs.mjs +3 -0
- package/dist/chunks/cli-1.0.8-kh51d8mn.mjs +2 -0
- package/dist/chunks/cli-1.0.8-kzrdbzd1.mjs +2 -0
- package/dist/chunks/cli-1.0.8-kzyrncv0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-m2w20tkx.mjs +2 -0
- package/dist/chunks/cli-1.0.8-m6fhqq8r.mjs +2 -0
- package/dist/chunks/cli-1.0.8-m9cg4s2e.mjs +2 -0
- package/dist/chunks/cli-1.0.8-mbhxente.mjs +2 -0
- package/dist/chunks/cli-1.0.8-mhhby5pn.mjs +6 -0
- package/dist/chunks/cli-1.0.8-mn87n778.mjs +2 -0
- package/dist/chunks/cli-1.0.8-mrepsey6.mjs +12 -0
- package/dist/chunks/cli-1.0.8-n2thtekm.mjs +2 -0
- package/dist/chunks/cli-1.0.8-n4rd5y17.mjs +2 -0
- package/dist/chunks/cli-1.0.8-nmrvp3xa.mjs +2 -0
- package/dist/chunks/cli-1.0.8-nyq2vcvp.mjs +18 -0
- package/dist/chunks/cli-1.0.8-p4egaq4j.mjs +5 -0
- package/dist/chunks/cli-1.0.8-p8h84zc9.mjs +3 -0
- package/dist/chunks/cli-1.0.8-pbxke3zm.mjs +24 -0
- package/dist/chunks/cli-1.0.8-pemd6sje.mjs +2 -0
- package/dist/chunks/cli-1.0.8-pzesgrb2.mjs +2 -0
- package/dist/chunks/cli-1.0.8-q2myd223.mjs +2 -0
- package/dist/chunks/cli-1.0.8-q6x8n8kc.mjs +2 -0
- package/dist/chunks/cli-1.0.8-qbrw3wf3.mjs +3 -0
- package/dist/chunks/cli-1.0.8-qcf0zmve.mjs +50 -0
- package/dist/chunks/cli-1.0.8-qhcghw02.mjs +2 -0
- package/dist/chunks/cli-1.0.8-qjcxwb3c.mjs +2 -0
- package/dist/chunks/cli-1.0.8-qss5sph3.mjs +59 -0
- package/dist/chunks/cli-1.0.8-qzqze1a1.mjs +2 -0
- package/dist/chunks/cli-1.0.8-r3ecr05v.mjs +2 -0
- package/dist/chunks/cli-1.0.8-r4zbpasa.mjs +24 -0
- package/dist/chunks/cli-1.0.8-rdd0jr2h.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rg1csg40.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rh93fw0p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rna8rhza.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rnkrr7ma.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rxf0zjys.mjs +2 -0
- package/dist/chunks/cli-1.0.8-rxfx9v7j.mjs +2 -0
- package/dist/chunks/cli-1.0.8-s5kcxz2r.mjs +4 -0
- package/dist/chunks/cli-1.0.8-s6nsgb78.mjs +2 -0
- package/dist/chunks/cli-1.0.8-sbf6n56q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-se674t5h.mjs +4 -0
- package/dist/chunks/cli-1.0.8-secda9xj.mjs +2 -0
- package/dist/chunks/cli-1.0.8-sqbaxhfc.mjs +16 -0
- package/dist/chunks/cli-1.0.8-swq5n54q.mjs +2 -0
- package/dist/chunks/cli-1.0.8-swts6q29.mjs +2 -0
- package/dist/chunks/cli-1.0.8-szvwf6r4.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tdhxr84n.mjs +3 -0
- package/dist/chunks/cli-1.0.8-tfjhtagk.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tpazbzcz.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tq72b6bb.mjs +2 -0
- package/dist/chunks/cli-1.0.8-tqf6s7ht.mjs +58 -0
- package/dist/chunks/cli-1.0.8-tz68cg1p.mjs +2 -0
- package/dist/chunks/cli-1.0.8-v1rafynv.mjs +2 -0
- package/dist/chunks/cli-1.0.8-v75s19rg.mjs +2 -0
- package/dist/chunks/cli-1.0.8-vb0by9ay.mjs +2 -0
- package/dist/chunks/cli-1.0.8-vhjjjs1z.mjs +24 -0
- package/dist/chunks/cli-1.0.8-vka62cmh.mjs +2 -0
- package/dist/chunks/cli-1.0.8-vvy0bc0g.mjs +1 -0
- package/dist/chunks/cli-1.0.8-vztgm8r0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-w5wjckph.mjs +25 -0
- package/dist/chunks/cli-1.0.8-w6atgaqw.mjs +2 -0
- package/dist/chunks/cli-1.0.8-x1387pp6.mjs +2 -0
- package/dist/chunks/cli-1.0.8-x2z1s2gm.mjs +2 -0
- package/dist/chunks/cli-1.0.8-x3bjpevp.mjs +12 -0
- package/dist/chunks/cli-1.0.8-x4hcncpt.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xcqdbka0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xhz9dm09.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xka5xbz5.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xv5yp3w6.mjs +2 -0
- package/dist/chunks/cli-1.0.8-xxrng2p1.mjs +15 -0
- package/dist/chunks/cli-1.0.8-xzp5af2t.mjs +2 -0
- package/dist/chunks/cli-1.0.8-y7jd923h.mjs +2 -0
- package/dist/chunks/cli-1.0.8-yb3vesbt.mjs +4 -0
- package/dist/chunks/cli-1.0.8-yc4a0111.mjs +20 -0
- package/dist/chunks/cli-1.0.8-ycxmnmhs.mjs +3 -0
- package/dist/chunks/cli-1.0.8-ykwgcdbt.mjs +5476 -0
- package/dist/chunks/cli-1.0.8-yzc0z6ex.mjs +2 -0
- package/dist/chunks/cli-1.0.8-z49w3x0w.mjs +4 -0
- package/dist/chunks/cli-1.0.8-z6x3zsb0.mjs +2 -0
- package/dist/chunks/cli-1.0.8-z79r5re2.mjs +17 -0
- package/dist/chunks/cli-1.0.8-z7v2b551.mjs +2 -0
- package/dist/chunks/cli-1.0.8-z96bbp08.mjs +6 -0
- package/dist/chunks/cli-1.0.8-zh2ygfav.mjs +2 -0
- package/dist/chunks/cli-1.0.8-zjckzq5j.mjs +18 -0
- package/dist/chunks/cli-1.0.8-znefv1yp.mjs +2 -0
- package/dist/chunks/cli-1.0.8-zza8ns8c.mjs +15 -0
- package/dist/chunks/client-1.0.8-n7dt1rfw.mjs +1 -0
- package/dist/chunks/color-1.0.8-jxfasz8x.mjs +1 -0
- package/dist/chunks/compact-1.0.8-jnbzy2qh.mjs +3 -0
- package/dist/chunks/config-1.0.8-p850nj3c.mjs +1 -0
- package/dist/chunks/config-1.0.8-xg117aq2.mjs +1 -0
- package/dist/chunks/constants-1.0.8-ms4fbs66.mjs +1 -0
- package/dist/chunks/context-1.0.8-tb27h7kb.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.8-1ry2t8be.mjs +1 -0
- package/dist/chunks/conversation-1.0.8-v96pn05v.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.8-cs9jt8ks.mjs +1 -0
- package/dist/chunks/copy-1.0.8-g8d8msxn.mjs +9 -0
- package/dist/chunks/cost-1.0.8-kx2ejbds.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.8-2wvpn7y4.mjs +1 -0
- package/dist/chunks/createSession-1.0.8-ecm6dynn.mjs +1 -0
- package/dist/chunks/debug-1.0.8-cphv9b4j.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.8-2k34bnzt.mjs +1446 -0
- package/dist/chunks/desktop-1.0.8-w6qk81xg.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.8-q2e17deh.mjs +1 -0
- package/dist/chunks/detection-1.0.8-adg3pmtx.mjs +1 -0
- package/dist/chunks/diff-1.0.8-kcsv429q.mjs +1 -0
- package/dist/chunks/doctor-1.0.8-4807n5ga.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.8-thmvp0a8.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.8-hhf06cvs.mjs +1 -0
- package/dist/chunks/effort-1.0.8-k9jy349z.mjs +10 -0
- package/dist/chunks/engine-1.0.8-swnh66g9.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.8-8066f8x3.mjs +1 -0
- package/dist/chunks/envUtils-1.0.8-hvdz25s8.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.8-dgef2ag8.mjs +1 -0
- package/dist/chunks/environments-1.0.8-8kxx7cf7.mjs +1 -0
- package/dist/chunks/errors-1.0.8-yrb0dfde.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.8-2fp656s9.mjs +1 -0
- package/dist/chunks/exit-1.0.8-axxrxks1.mjs +1 -0
- package/dist/chunks/explorer-1.0.8-txzsk7g4.mjs +1 -0
- package/dist/chunks/export-1.0.8-yxhs2z6f.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.8-mkde8ry2.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.8-zq1zsj4c.mjs +1 -0
- package/dist/chunks/fast-1.0.8-dm74897t.mjs +1 -0
- package/dist/chunks/feedback-1.0.8-wnsh14ya.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.8-xp13dv5e.mjs +1 -0
- package/dist/chunks/git-1.0.8-emhr4f0a.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.8-q88vb6k1.mjs +1 -0
- package/dist/chunks/goal-1.0.8-vx7pfbph.mjs +4 -0
- package/dist/chunks/grove-1.0.8-4vn920ab.mjs +1 -0
- package/dist/chunks/growthbook-1.0.8-ktn0scz1.mjs +1 -0
- package/dist/chunks/headless-1.0.8-kgkf00rm.mjs +2 -0
- package/dist/chunks/heapdump-1.0.8-e5g8ycqp.mjs +6 -0
- package/dist/chunks/help-1.0.8-g5kftejd.mjs +1 -0
- package/dist/chunks/hookChains-1.0.8-jnd1g9vp.mjs +3 -0
- package/dist/chunks/hooks-1.0.8-d343gmd5.mjs +1 -0
- package/dist/chunks/hooks-1.0.8-xq482xcs.mjs +79 -0
- package/dist/chunks/ide-1.0.8-4veg8hzd.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.8-93bk96t4.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.8-zkj9tf58.mjs +1 -0
- package/dist/chunks/index-1.0.8-0pnvq37m.mjs +2 -0
- package/dist/chunks/index-1.0.8-1pa1v81a.mjs +1 -0
- package/dist/chunks/index-1.0.8-464f1j1b.mjs +1 -0
- package/dist/chunks/index-1.0.8-4zsx151v.mjs +1 -0
- package/dist/chunks/index-1.0.8-7wqrymcz.mjs +2 -0
- package/dist/chunks/index-1.0.8-8qzz6s1v.mjs +1 -0
- package/dist/chunks/index-1.0.8-91cpv5tb.mjs +9 -0
- package/dist/chunks/index-1.0.8-9x499a6f.mjs +1 -0
- package/dist/chunks/index-1.0.8-aqm7z1xs.mjs +1 -0
- package/dist/chunks/index-1.0.8-bha1edzd.mjs +1 -0
- package/dist/chunks/index-1.0.8-bhzqmht2.mjs +1 -0
- package/dist/chunks/index-1.0.8-dh80510b.mjs +1 -0
- package/dist/chunks/index-1.0.8-hdnvwr7c.mjs +1 -0
- package/dist/chunks/index-1.0.8-ht187zbt.mjs +17 -0
- package/dist/chunks/index-1.0.8-jj36eqgv.mjs +1 -0
- package/dist/chunks/index-1.0.8-p16qr0gk.mjs +1 -0
- package/dist/chunks/index-1.0.8-pejsn3j4.mjs +1 -0
- package/dist/chunks/index-1.0.8-pzn6kwcz.mjs +1 -0
- package/dist/chunks/index-1.0.8-szryar06.mjs +9 -0
- package/dist/chunks/index-1.0.8-thkaetpe.mjs +5 -0
- package/dist/chunks/index-1.0.8-tnpscb0d.mjs +1 -0
- package/dist/chunks/index-1.0.8-xxdv7dxk.mjs +1 -0
- package/dist/chunks/index-1.0.8-z5xdfxxw.mjs +30 -0
- package/dist/chunks/init-1.0.8-krd7wa3v.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.8-ftx1k41m.mjs +1 -0
- package/dist/chunks/ink-1.0.8-pteq28sp.mjs +1 -0
- package/dist/chunks/insights-1.0.8-mb2z8g5h.mjs +870 -0
- package/dist/chunks/install-1.0.8-s99z78an.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.8-r07c7fc8.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.8-mq0zjdf6.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.8-00jpcry8.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.8-3z1ey7fr.mjs +1 -0
- package/dist/chunks/keybindings-1.0.8-wenkty39.mjs +2 -0
- package/dist/chunks/knowledge-1.0.8-cjdkk8mb.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.8-rncrmhd0.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.8-9ry9xbfw.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.8-5e422tv0.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.8-gw0mb3vq.mjs +1 -0
- package/dist/chunks/log-1.0.8-bhyqzqd4.mjs +1 -0
- package/dist/chunks/main-1.0.8-sv9em0tk.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.8-ey5201g9.mjs +1 -0
- package/dist/chunks/mcp-1.0.8-0wkq1z2f.mjs +1 -0
- package/dist/chunks/mcp-1.0.8-hft3ww8h.mjs +17 -0
- package/dist/chunks/mcp-1.0.8-k2y8akh4.mjs +4 -0
- package/dist/chunks/mcpb-1.0.8-6d4d5qg6.mjs +1 -0
- package/dist/chunks/memory-1.0.8-bhfq1tpv.mjs +3 -0
- package/dist/chunks/model-1.0.8-9x1n1hs4.mjs +2 -0
- package/dist/chunks/model-1.0.8-f30q5v3y.mjs +1 -0
- package/dist/chunks/node-1.0.8-z64w4mf3.mjs +12 -0
- package/dist/chunks/oauth-1.0.8-7vjm8xxp.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.8-dxqbym7v.mjs +14 -0
- package/dist/chunks/output-style-1.0.8-j3vsn3xx.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.8-57wby5pw.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.8-fa21hp3j.mjs +1 -0
- package/dist/chunks/parser-1.0.8-eddksp6m.mjs +1 -0
- package/dist/chunks/passes-1.0.8-82cxmwxv.mjs +1 -0
- package/dist/chunks/permissions-1.0.8-9qwtkcvw.mjs +1 -0
- package/dist/chunks/permissions-1.0.8-hkpezdb6.mjs +3 -0
- package/dist/chunks/plan-1.0.8-t7cypg7z.mjs +1 -0
- package/dist/chunks/plist-1.0.8-tx4wgdc5.mjs +1 -0
- package/dist/chunks/plugin-1.0.8-fpfj5qcx.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.8-htw7er4z.mjs +1 -0
- package/dist/chunks/plugins-1.0.8-89t24bsm.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.8-caxsc3mp.mjs +2 -0
- package/dist/chunks/print-1.0.8-491vxbzs.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.8-m25zra7r.mjs +1 -0
- package/dist/chunks/process-1.0.8-3tzpsdmr.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.8-czb8ax1e.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.8-z2qz58yf.mjs +9 -0
- package/dist/chunks/prompt-1.0.8-2bbvxeh7.mjs +1 -0
- package/dist/chunks/prompt-1.0.8-ftnsddxg.mjs +1 -0
- package/dist/chunks/prompts-1.0.8-7jmnssxc.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.8-y3rebjd9.mjs +13 -0
- package/dist/chunks/provider-1.0.8-zrx7vyqk.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.8-n4b3xs5v.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.8-j9gx7a1v.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.8-084n6z58.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.8-e9k91bmz.mjs +34 -0
- package/dist/chunks/registry-1.0.8-p8bc2ppg.mjs +1 -0
- package/dist/chunks/release-notes-1.0.8-wdtevpan.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.8-crrx8jkj.mjs +2 -0
- package/dist/chunks/remote-env-1.0.8-yb4czxha.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.8-cg38st7c.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.8-g9cx4dmb.mjs +1 -0
- package/dist/chunks/rename-1.0.8-c263drxy.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.8-51065xd1.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.8-n5f7d6tk.mjs +1 -0
- package/dist/chunks/resume-1.0.8-20r9g9a8.mjs +2 -0
- package/dist/chunks/rewind-1.0.8-1shxcx6h.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.8-v3mryhnd.mjs +1 -0
- package/dist/chunks/sandbox-adapter-1.0.8-db8n3sf2.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.8-8ysakwfc.mjs +1 -0
- package/dist/chunks/session-1.0.8-nf98ege7.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.8-j7e3zz3z.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.8-tywx0fhs.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.8-3jncs1jd.mjs +1 -0
- package/dist/chunks/settings-1.0.8-ferv6mr5.mjs +1 -0
- package/dist/chunks/setup-1.0.8-r7jm4921.mjs +5 -0
- package/dist/chunks/sinks-1.0.8-w2zqhs5t.mjs +1 -0
- package/dist/chunks/skills-1.0.8-c2re0407.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.8-m7x42s2c.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.8-hnq9gbsm.mjs +1 -0
- package/dist/chunks/state-1.0.8-mszmr9fy.mjs +1 -0
- package/dist/chunks/stats-1.0.8-xah6pcq3.mjs +6 -0
- package/dist/chunks/status-1.0.8-cb5dxyy1.mjs +1 -0
- package/dist/chunks/stickers-1.0.8-vr13mnk0.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.8-rqxgszbc.mjs +1 -0
- package/dist/chunks/tasks-1.0.8-v1meznm5.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.8-zs8qgyey.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.8-828qsec1.mjs +1 -0
- package/dist/chunks/teleport-1.0.8-aszfnv2s.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.8-9n57sf46.mjs +1 -0
- package/dist/chunks/theme-1.0.8-da67zfgn.mjs +1 -0
- package/dist/chunks/thinkback-1.0.8-p4ne9wck.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.8-kz09z4aa.mjs +1 -0
- package/dist/chunks/toolPool-1.0.8-rbawjenc.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.8-drw7db57.mjs +1 -0
- package/dist/chunks/tools-1.0.8-51cw7jhr.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.8-y6484dbh.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.8-07rx7x03.mjs +69 -0
- package/dist/chunks/types-1.0.8-svkpkerr.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.8-fxpy87j7.mjs +4 -0
- package/dist/chunks/update-1.0.8-r5hsx0vn.mjs +88 -0
- package/dist/chunks/upgrade-1.0.8-rfjr944q.mjs +1 -0
- package/dist/chunks/upload-1.0.8-xb3qq931.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.8-enmg2k32.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.8-4xafghrm.mjs +1 -0
- package/dist/chunks/usage-1.0.8-x3yk026j.mjs +1 -0
- package/dist/chunks/util-1.0.8-g8szktmn.mjs +1 -0
- package/dist/chunks/utils-1.0.8-qkwh1by0.mjs +1 -0
- package/dist/chunks/vim-1.0.8-qv0fhjmv.mjs +1 -0
- package/dist/chunks/watcher-1.0.8-y0ye7hc6.mjs +1 -0
- package/dist/chunks/wiki-1.0.8-3ydvpt0c.mjs +132 -0
- package/dist/chunks/workflows-1.0.8-1fj4wp4z.mjs +1 -0
- package/dist/chunks/worktree-1.0.8-x68tgvcc.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.8-3e98qmek.mjs +1 -0
- package/dist/chunks/wrapper-1.0.8-atewpqqc.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/install.cjs +17 -1
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.0.7-syk5wnkb.mjs +0 -1
- package/dist/chunks/App-1.0.7-9xht4gsa.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.7-dnv7dmn7.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.7-q24ws7x8.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.7-e3kma94j.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.7-2m1y9b7f.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.7-1gpcb873.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.7-pyrnmhtt.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.7-whkynyby.mjs +0 -7
- package/dist/chunks/Doctor-1.0.7-3yedapcw.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.7-99ytgtp8.mjs +0 -6
- package/dist/chunks/Grove-1.0.7-c6wygjxb.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.7-a8a42yx1.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.7-0e1f33ss.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.7-141f7djg.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.7-scbcqde5.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.7-9f7rpy9p.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.7-6mjnccee.mjs +0 -1
- package/dist/chunks/REPL-1.0.7-3xhews8d.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.7-qq2sfpfr.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.7-x9djv2x5.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.7-f6caprdb.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.7-b511561j.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.7-9twx384a.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.7-x3j2hxpn.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.7-1y7h6yxr.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.7-na359dm9.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.7-2vx6krky.mjs +0 -1
- package/dist/chunks/add-dir-1.0.7-r9eb0fmb.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.7-v46w2p6e.mjs +0 -1
- package/dist/chunks/agents-1.0.7-ekjscjc4.mjs +0 -3
- package/dist/chunks/agents-1.0.7-v22jz68n.mjs +0 -110
- package/dist/chunks/api-1.0.7-v520kz7p.mjs +0 -1
- package/dist/chunks/asciicast-1.0.7-r61pgxmk.mjs +0 -1
- package/dist/chunks/assistant-1.0.7-c12zzeyg.mjs +0 -1
- package/dist/chunks/auth-1.0.7-gv0th62c.mjs +0 -1
- package/dist/chunks/auth-1.0.7-y9sxvs6e.mjs +0 -1
- package/dist/chunks/autoMode-1.0.7-yq0m3sf6.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.7-6fqzjxwg.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.7-7mzhb52b.mjs +0 -1
- package/dist/chunks/branch-1.0.7-66ms82bv.mjs +0 -4
- package/dist/chunks/bridge-1.0.7-cd3w20b9.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.7-wztmwmxc.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.7-046e65f0.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.7-knt8h92j.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.7-v2crbecf.mjs +0 -1
- package/dist/chunks/btw-1.0.7-eg973xg5.mjs +0 -1
- package/dist/chunks/buddy-1.0.7-ypvr18ck.mjs +0 -3
- package/dist/chunks/cacache-1.0.7-0tzh2dcw.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.7-hhfr94gj.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.7-51t2bh05.mjs +0 -4
- package/dist/chunks/caches-1.0.7-mvqghhkx.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.7-1mrhcxq6.mjs +0 -1
- package/dist/chunks/claudemd-1.0.7-kgynnx5a.mjs +0 -1
- package/dist/chunks/clear-1.0.7-08jf28zt.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.7-z4gkskcj.mjs +0 -1
- package/dist/chunks/cli-1.0.7-01cbaw74.mjs +0 -2
- package/dist/chunks/cli-1.0.7-05enwpnp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-073ekpkk.mjs +0 -21
- package/dist/chunks/cli-1.0.7-0dmnsy4c.mjs +0 -2
- package/dist/chunks/cli-1.0.7-0qbp0ac0.mjs +0 -17
- package/dist/chunks/cli-1.0.7-15qvkn0q.mjs +0 -15
- package/dist/chunks/cli-1.0.7-16wdg8r0.mjs +0 -18
- package/dist/chunks/cli-1.0.7-1fwxyw8s.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1j68v2d8.mjs +0 -3
- package/dist/chunks/cli-1.0.7-1mkaw3aw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1r1y3a1c.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1rw3xdy0.mjs +0 -58
- package/dist/chunks/cli-1.0.7-1s12ckef.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1sgef4sw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1ty38mre.mjs +0 -2
- package/dist/chunks/cli-1.0.7-1xe7m9s1.mjs +0 -4
- package/dist/chunks/cli-1.0.7-1y8xdp9n.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2438cvr1.mjs +0 -3
- package/dist/chunks/cli-1.0.7-2cajdt14.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2csh6jt3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2k1bt916.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2pyjzmpq.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2wm3s497.mjs +0 -2
- package/dist/chunks/cli-1.0.7-2xw882yk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-39nnxy0p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3arv8y4s.mjs +0 -12
- package/dist/chunks/cli-1.0.7-3fx5xqzq.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3ke0fbeq.mjs +0 -6
- package/dist/chunks/cli-1.0.7-3kmf6s21.mjs +0 -67
- package/dist/chunks/cli-1.0.7-3p608q44.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3pqhf5bj.mjs +0 -4
- package/dist/chunks/cli-1.0.7-3s41c41h.mjs +0 -20
- package/dist/chunks/cli-1.0.7-3s4ccas2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3xrc45nn.mjs +0 -2
- package/dist/chunks/cli-1.0.7-3z1z90gf.mjs +0 -4
- package/dist/chunks/cli-1.0.7-41jm6paw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-45px4q2q.mjs +0 -12
- package/dist/chunks/cli-1.0.7-4a67zfe7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-4qwjg996.mjs +0 -2
- package/dist/chunks/cli-1.0.7-538yatrk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-5f0y2nxn.mjs +0 -2
- package/dist/chunks/cli-1.0.7-5h2vgm7b.mjs +0 -2
- package/dist/chunks/cli-1.0.7-5kc9g0m9.mjs +0 -3
- package/dist/chunks/cli-1.0.7-5rxjz9r1.mjs +0 -2
- package/dist/chunks/cli-1.0.7-65xw81pn.mjs +0 -7
- package/dist/chunks/cli-1.0.7-67z7m1zx.mjs +0 -15
- package/dist/chunks/cli-1.0.7-6ncp8ban.mjs +0 -2
- package/dist/chunks/cli-1.0.7-6r3vkkzw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-6wm7jzey.mjs +0 -2
- package/dist/chunks/cli-1.0.7-6yr2e385.mjs +0 -2
- package/dist/chunks/cli-1.0.7-73e5dz55.mjs +0 -2
- package/dist/chunks/cli-1.0.7-757ex32c.mjs +0 -199
- package/dist/chunks/cli-1.0.7-7egbzjdg.mjs +0 -12
- package/dist/chunks/cli-1.0.7-7gmv86pv.mjs +0 -25
- package/dist/chunks/cli-1.0.7-7qm9503t.mjs +0 -4
- package/dist/chunks/cli-1.0.7-7xhry9cz.mjs +0 -8
- package/dist/chunks/cli-1.0.7-7yrvwwdb.mjs +0 -2
- package/dist/chunks/cli-1.0.7-84dx5y2m.mjs +0 -2
- package/dist/chunks/cli-1.0.7-8fj15s8a.mjs +0 -2
- package/dist/chunks/cli-1.0.7-8hepstgz.mjs +0 -2
- package/dist/chunks/cli-1.0.7-8pfh7aha.mjs +0 -2
- package/dist/chunks/cli-1.0.7-96mb1gmj.mjs +0 -2
- package/dist/chunks/cli-1.0.7-96qpk0ct.mjs +0 -2
- package/dist/chunks/cli-1.0.7-97fqbfff.mjs +0 -2
- package/dist/chunks/cli-1.0.7-9p7hfa00.mjs +0 -2
- package/dist/chunks/cli-1.0.7-9pc6jb5f.mjs +0 -2
- package/dist/chunks/cli-1.0.7-9ws1j17m.mjs +0 -2
- package/dist/chunks/cli-1.0.7-a32vv8nk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-a78rj0kd.mjs +0 -9
- package/dist/chunks/cli-1.0.7-a7fahcda.mjs +0 -2
- package/dist/chunks/cli-1.0.7-a808xdj3.mjs +0 -3
- package/dist/chunks/cli-1.0.7-aa7vfbxa.mjs +0 -2
- package/dist/chunks/cli-1.0.7-af1m1akw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-akbc4ch3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-an2jwvew.mjs +0 -9
- package/dist/chunks/cli-1.0.7-anrcmph3.mjs +0 -3
- package/dist/chunks/cli-1.0.7-av93xde0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-b16t7f1a.mjs +0 -2
- package/dist/chunks/cli-1.0.7-b2pf78c9.mjs +0 -2
- package/dist/chunks/cli-1.0.7-b778v1dh.mjs +0 -2
- package/dist/chunks/cli-1.0.7-baqj15a8.mjs +0 -2
- package/dist/chunks/cli-1.0.7-bfe6f9c6.mjs +0 -2
- package/dist/chunks/cli-1.0.7-bkm2xek7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-bn0sb2w7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-c8kxp6h0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-cb42m3ff.mjs +0 -2
- package/dist/chunks/cli-1.0.7-cf47wta1.mjs +0 -2
- package/dist/chunks/cli-1.0.7-cs7epg9a.mjs +0 -2
- package/dist/chunks/cli-1.0.7-d1zc020r.mjs +0 -133
- package/dist/chunks/cli-1.0.7-dbyr517p.mjs +0 -4
- package/dist/chunks/cli-1.0.7-ddhhvx60.mjs +0 -2
- package/dist/chunks/cli-1.0.7-df9p9tj8.mjs +0 -24
- package/dist/chunks/cli-1.0.7-dhdv7vtc.mjs +0 -50
- package/dist/chunks/cli-1.0.7-dnn18rgf.mjs +0 -2
- package/dist/chunks/cli-1.0.7-dr2dca7n.mjs +0 -2
- package/dist/chunks/cli-1.0.7-f43w1f9g.mjs +0 -42
- package/dist/chunks/cli-1.0.7-f6490vr3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fcfrsawp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fckzct0z.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ff6dfmp3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fmdws8pg.mjs +0 -2
- package/dist/chunks/cli-1.0.7-fvr9xx0m.mjs +0 -2
- package/dist/chunks/cli-1.0.7-g1hrx2r5.mjs +0 -18
- package/dist/chunks/cli-1.0.7-g42rsvs5.mjs +0 -2
- package/dist/chunks/cli-1.0.7-g6d9snde.mjs +0 -3
- package/dist/chunks/cli-1.0.7-ga6hk3n2.mjs +0 -3
- package/dist/chunks/cli-1.0.7-ghxmw318.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gj1806bk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gk53nva2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gnwjbdch.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gp71tfwe.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gq9fp39n.mjs +0 -2
- package/dist/chunks/cli-1.0.7-gqf40mqk.mjs +0 -24
- package/dist/chunks/cli-1.0.7-h1g9rk4g.mjs +0 -4
- package/dist/chunks/cli-1.0.7-hd6xn6rt.mjs +0 -2
- package/dist/chunks/cli-1.0.7-hfcehnx9.mjs +0 -3
- package/dist/chunks/cli-1.0.7-hw8dxgj2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-j31m0f1y.mjs +0 -2
- package/dist/chunks/cli-1.0.7-j6hxvf4r.mjs +0 -2
- package/dist/chunks/cli-1.0.7-j6ndkfy3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-jn7nay2r.mjs +0 -2
- package/dist/chunks/cli-1.0.7-jz4phmb3.mjs +0 -3
- package/dist/chunks/cli-1.0.7-k38j6sgc.mjs +0 -2
- package/dist/chunks/cli-1.0.7-k3nnbdbv.mjs +0 -2
- package/dist/chunks/cli-1.0.7-kegj01e5.mjs +0 -133
- package/dist/chunks/cli-1.0.7-kf237s65.mjs +0 -2
- package/dist/chunks/cli-1.0.7-kgbv7bt5.mjs +0 -17
- package/dist/chunks/cli-1.0.7-khd0yqhk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-m17d94h8.mjs +0 -2
- package/dist/chunks/cli-1.0.7-mv7ptsre.mjs +0 -2
- package/dist/chunks/cli-1.0.7-mwj9f8rw.mjs +0 -59
- package/dist/chunks/cli-1.0.7-mznh91ce.mjs +0 -2
- package/dist/chunks/cli-1.0.7-n5hf2vsh.mjs +0 -2
- package/dist/chunks/cli-1.0.7-na7ksfyj.mjs +0 -2
- package/dist/chunks/cli-1.0.7-nhg85avf.mjs +0 -2
- package/dist/chunks/cli-1.0.7-nnd4za11.mjs +0 -3
- package/dist/chunks/cli-1.0.7-p4p38dky.mjs +0 -3
- package/dist/chunks/cli-1.0.7-p5setvdk.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ph9qjcjb.mjs +0 -2
- package/dist/chunks/cli-1.0.7-pxmf9kyf.mjs +0 -2
- package/dist/chunks/cli-1.0.7-pyacw9kn.mjs +0 -5
- package/dist/chunks/cli-1.0.7-q3ezj6q3.mjs +0 -2
- package/dist/chunks/cli-1.0.7-q7w0ex1x.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qdtt526e.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qjtqaam0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qknq8k3p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-qmm35cv2.mjs +0 -39
- package/dist/chunks/cli-1.0.7-qxjpkptr.mjs +0 -2
- package/dist/chunks/cli-1.0.7-r4h75bn4.mjs +0 -2
- package/dist/chunks/cli-1.0.7-rbrr75z2.mjs +0 -2
- package/dist/chunks/cli-1.0.7-rz8h7nks.mjs +0 -2
- package/dist/chunks/cli-1.0.7-s11nkveb.mjs +0 -24
- package/dist/chunks/cli-1.0.7-s27f8y4p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-s5mhxbhn.mjs +0 -5476
- package/dist/chunks/cli-1.0.7-s6jjnyxd.mjs +0 -2
- package/dist/chunks/cli-1.0.7-s8e8tq3y.mjs +0 -2
- package/dist/chunks/cli-1.0.7-sjpx2md1.mjs +0 -2
- package/dist/chunks/cli-1.0.7-skm59maw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-sv4vj25b.mjs +0 -2
- package/dist/chunks/cli-1.0.7-t8m8vafg.mjs +0 -4
- package/dist/chunks/cli-1.0.7-tf8b1vhx.mjs +0 -2
- package/dist/chunks/cli-1.0.7-tvz0kwb6.mjs +0 -25
- package/dist/chunks/cli-1.0.7-txhggtd1.mjs +0 -16
- package/dist/chunks/cli-1.0.7-tz22r50p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-vcsdnmc0.mjs +0 -2
- package/dist/chunks/cli-1.0.7-veqj11zy.mjs +0 -3
- package/dist/chunks/cli-1.0.7-vjgedfc4.mjs +0 -2
- package/dist/chunks/cli-1.0.7-vtd2sbnq.mjs +0 -3
- package/dist/chunks/cli-1.0.7-vw4n13wr.mjs +0 -2
- package/dist/chunks/cli-1.0.7-vx0rcgfm.mjs +0 -2
- package/dist/chunks/cli-1.0.7-w3g8c9m3.mjs +0 -18
- package/dist/chunks/cli-1.0.7-wahp9jjm.mjs +0 -5
- package/dist/chunks/cli-1.0.7-wc28nq81.mjs +0 -6
- package/dist/chunks/cli-1.0.7-wc4y0k3e.mjs +0 -12
- package/dist/chunks/cli-1.0.7-wgt5ay2x.mjs +0 -6
- package/dist/chunks/cli-1.0.7-wk9hs648.mjs +0 -2
- package/dist/chunks/cli-1.0.7-wmrv4paj.mjs +0 -45
- package/dist/chunks/cli-1.0.7-wqrgw4kw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ws7404wd.mjs +0 -2
- package/dist/chunks/cli-1.0.7-wwy64zs8.mjs +0 -4
- package/dist/chunks/cli-1.0.7-xdt2g9p7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xga48xv7.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xh0afj9p.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xhb3g1xh.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xtj9j6ha.mjs +0 -15
- package/dist/chunks/cli-1.0.7-xvhkprcw.mjs +0 -2
- package/dist/chunks/cli-1.0.7-xxa9e3we.mjs +0 -4
- package/dist/chunks/cli-1.0.7-y8sq6jh3.mjs +0 -4
- package/dist/chunks/cli-1.0.7-yatztvfp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-yb9sxq0k.mjs +0 -2
- package/dist/chunks/cli-1.0.7-ybcht1kp.mjs +0 -2
- package/dist/chunks/cli-1.0.7-yc90byps.mjs +0 -34
- package/dist/chunks/cli-1.0.7-yyqg2waz.mjs +0 -2
- package/dist/chunks/cli-1.0.7-z53gtmpk.mjs +0 -6
- package/dist/chunks/cli-1.0.7-z5vgrn57.mjs +0 -2
- package/dist/chunks/cli-1.0.7-z9fvy0d8.mjs +0 -2
- package/dist/chunks/cli-1.0.7-zjapdrt8.mjs +0 -6
- package/dist/chunks/cli-1.0.7-zmqm6p6t.mjs +0 -2
- package/dist/chunks/cli-1.0.7-zsbst1mq.mjs +0 -1
- package/dist/chunks/cli-1.0.7-zwr4ga8c.mjs +0 -2
- package/dist/chunks/client-1.0.7-n8414pey.mjs +0 -1
- package/dist/chunks/color-1.0.7-99fmrmyq.mjs +0 -1
- package/dist/chunks/compact-1.0.7-91sa41px.mjs +0 -3
- package/dist/chunks/config-1.0.7-bjt981nd.mjs +0 -1
- package/dist/chunks/config-1.0.7-vfbd76cq.mjs +0 -1
- package/dist/chunks/constants-1.0.7-fj97y7dq.mjs +0 -1
- package/dist/chunks/context-1.0.7-qmktq4pg.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.7-w9828p3h.mjs +0 -1
- package/dist/chunks/conversation-1.0.7-d5q8rrwx.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.7-mhsm6qwp.mjs +0 -1
- package/dist/chunks/copy-1.0.7-hznd9dqf.mjs +0 -9
- package/dist/chunks/cost-1.0.7-hbpz16jx.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.7-5s4sy0qv.mjs +0 -1
- package/dist/chunks/createSession-1.0.7-mha5sscw.mjs +0 -1
- package/dist/chunks/debug-1.0.7-6kcgjwgp.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.7-5x2a3qnr.mjs +0 -1446
- package/dist/chunks/desktop-1.0.7-37m19pef.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.7-3ffa7wfs.mjs +0 -1
- package/dist/chunks/detection-1.0.7-bcwz3kz9.mjs +0 -1
- package/dist/chunks/diff-1.0.7-60vwaapm.mjs +0 -1
- package/dist/chunks/doctor-1.0.7-bc3r1p04.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.7-qe18rzqr.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.7-51cxad4b.mjs +0 -1
- package/dist/chunks/effort-1.0.7-mckjwtdk.mjs +0 -10
- package/dist/chunks/engine-1.0.7-1kqhk6mc.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.7-hbpge4a8.mjs +0 -1
- package/dist/chunks/envUtils-1.0.7-m63cpkg3.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.7-kg2xnt7t.mjs +0 -1
- package/dist/chunks/environments-1.0.7-jcrcam7e.mjs +0 -1
- package/dist/chunks/errors-1.0.7-vhtw6kg6.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.7-f254y3tf.mjs +0 -1
- package/dist/chunks/exit-1.0.7-f5s73g22.mjs +0 -1
- package/dist/chunks/explorer-1.0.7-yjpphptq.mjs +0 -1
- package/dist/chunks/export-1.0.7-7kn40p9m.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.7-xwb7xfe4.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.7-0dpsjjh0.mjs +0 -1
- package/dist/chunks/fast-1.0.7-9eg9g1mf.mjs +0 -1
- package/dist/chunks/feedback-1.0.7-kkw4fdj8.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.7-yaekw6be.mjs +0 -1
- package/dist/chunks/git-1.0.7-t3824xkx.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.7-m79e1ga1.mjs +0 -1
- package/dist/chunks/goal-1.0.7-jkmcdmm1.mjs +0 -4
- package/dist/chunks/grove-1.0.7-th5kn0n5.mjs +0 -1
- package/dist/chunks/growthbook-1.0.7-hnr2hv9t.mjs +0 -1
- package/dist/chunks/headless-1.0.7-2w17kqac.mjs +0 -2
- package/dist/chunks/heapdump-1.0.7-1qvsds14.mjs +0 -6
- package/dist/chunks/help-1.0.7-33ennxwb.mjs +0 -1
- package/dist/chunks/hookChains-1.0.7-8gt4r1qg.mjs +0 -3
- package/dist/chunks/hooks-1.0.7-970fsrks.mjs +0 -1
- package/dist/chunks/hooks-1.0.7-xyrevnk8.mjs +0 -79
- package/dist/chunks/ide-1.0.7-knfed9xe.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.7-5c1fwxwf.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.7-5p98j8m2.mjs +0 -1
- package/dist/chunks/index-1.0.7-0ce2q3me.mjs +0 -17
- package/dist/chunks/index-1.0.7-3tbze0ns.mjs +0 -1
- package/dist/chunks/index-1.0.7-3z09rqyx.mjs +0 -1
- package/dist/chunks/index-1.0.7-4g6596jt.mjs +0 -1
- package/dist/chunks/index-1.0.7-59cvfmen.mjs +0 -1
- package/dist/chunks/index-1.0.7-63vq5fws.mjs +0 -1
- package/dist/chunks/index-1.0.7-6wcbk6ve.mjs +0 -5
- package/dist/chunks/index-1.0.7-84wm5p43.mjs +0 -1
- package/dist/chunks/index-1.0.7-c0jfw97a.mjs +0 -9
- package/dist/chunks/index-1.0.7-dds9fcry.mjs +0 -1
- package/dist/chunks/index-1.0.7-ecq1qwpq.mjs +0 -1
- package/dist/chunks/index-1.0.7-gm6exxqq.mjs +0 -30
- package/dist/chunks/index-1.0.7-jh8savg9.mjs +0 -9
- package/dist/chunks/index-1.0.7-k8k38nbt.mjs +0 -1
- package/dist/chunks/index-1.0.7-kyyfrf6j.mjs +0 -1
- package/dist/chunks/index-1.0.7-m23r2bmv.mjs +0 -1
- package/dist/chunks/index-1.0.7-mmm10tac.mjs +0 -2
- package/dist/chunks/index-1.0.7-p82yhqst.mjs +0 -1
- package/dist/chunks/index-1.0.7-vyafwe23.mjs +0 -1
- package/dist/chunks/index-1.0.7-wazwyjm7.mjs +0 -1
- package/dist/chunks/index-1.0.7-wd33rv5q.mjs +0 -1
- package/dist/chunks/index-1.0.7-yhxty6kz.mjs +0 -1
- package/dist/chunks/index-1.0.7-zp3vs07b.mjs +0 -2
- package/dist/chunks/init-1.0.7-y29e6mb3.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.7-14rmpkte.mjs +0 -1
- package/dist/chunks/ink-1.0.7-gf3qdamf.mjs +0 -1
- package/dist/chunks/insights-1.0.7-hd6460mk.mjs +0 -870
- package/dist/chunks/install-1.0.7-antesxaa.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.7-0asc4ajr.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.7-zwna6gq3.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.7-wvv85h9t.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.7-pkmbfs0b.mjs +0 -1
- package/dist/chunks/keybindings-1.0.7-emp8m2vr.mjs +0 -2
- package/dist/chunks/knowledge-1.0.7-6hv6538k.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.7-t1gtsxte.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.7-j5mq4f5x.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.7-6tbrq15z.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.7-k2zgqtye.mjs +0 -1
- package/dist/chunks/log-1.0.7-pmgzzdy7.mjs +0 -1
- package/dist/chunks/main-1.0.7-esamqda3.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.7-6mz7vwyt.mjs +0 -1
- package/dist/chunks/mcp-1.0.7-d4941tnp.mjs +0 -17
- package/dist/chunks/mcp-1.0.7-hjjdsn53.mjs +0 -4
- package/dist/chunks/mcp-1.0.7-skfyfspe.mjs +0 -1
- package/dist/chunks/mcpb-1.0.7-twwnd1ct.mjs +0 -1
- package/dist/chunks/memory-1.0.7-0r8q4re7.mjs +0 -3
- package/dist/chunks/model-1.0.7-d82p81ne.mjs +0 -2
- package/dist/chunks/model-1.0.7-xt8c58fg.mjs +0 -1
- package/dist/chunks/node-1.0.7-5h6w60zy.mjs +0 -12
- package/dist/chunks/oauth-1.0.7-gveatjqe.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.7-q8aqfz40.mjs +0 -14
- package/dist/chunks/output-style-1.0.7-xnamzpre.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.7-y8bvx3y5.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.7-we9ebc0h.mjs +0 -1
- package/dist/chunks/parser-1.0.7-20zgf2mq.mjs +0 -1
- package/dist/chunks/passes-1.0.7-gcnj20c4.mjs +0 -1
- package/dist/chunks/permissions-1.0.7-43y27rj9.mjs +0 -3
- package/dist/chunks/permissions-1.0.7-kw8fw9gd.mjs +0 -1
- package/dist/chunks/plan-1.0.7-z1k9hfr8.mjs +0 -1
- package/dist/chunks/plist-1.0.7-daxqmwqx.mjs +0 -1
- package/dist/chunks/plugin-1.0.7-66bqymg3.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.7-w5krqm0w.mjs +0 -1
- package/dist/chunks/plugins-1.0.7-8njx3c0z.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.7-a1hhphah.mjs +0 -2
- package/dist/chunks/print-1.0.7-xnncgmye.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.7-7gfaexn9.mjs +0 -1
- package/dist/chunks/process-1.0.7-9sx5xgpe.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.7-32dm20nc.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.7-am0rnn44.mjs +0 -9
- package/dist/chunks/prompt-1.0.7-0yt5k7pt.mjs +0 -1
- package/dist/chunks/prompt-1.0.7-hfv56awc.mjs +0 -1
- package/dist/chunks/prompts-1.0.7-1p5km2m0.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.7-geqttcpz.mjs +0 -13
- package/dist/chunks/provider-1.0.7-y0j7q32j.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.7-s0zs9q1r.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.7-aexhx4ft.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.7-r4b2s2hk.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.7-qmvr4jj4.mjs +0 -34
- package/dist/chunks/registry-1.0.7-be1gn584.mjs +0 -1
- package/dist/chunks/release-notes-1.0.7-tcr3xzz7.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.7-psfk2m91.mjs +0 -2
- package/dist/chunks/remote-env-1.0.7-xn5b9vx7.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.7-hvnh9bv2.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.7-870w4tbq.mjs +0 -1
- package/dist/chunks/rename-1.0.7-53emj8yj.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.7-cbrh6d8b.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.7-zs2c9f7n.mjs +0 -1
- package/dist/chunks/resume-1.0.7-b5e8840g.mjs +0 -2
- package/dist/chunks/rewind-1.0.7-15a43rp5.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.7-84t0zbkm.mjs +0 -1
- package/dist/chunks/sandbox-adapter-1.0.7-rs0gse4a.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.7-benxjznf.mjs +0 -1
- package/dist/chunks/session-1.0.7-9kyk2x4p.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.7-3z1nttw5.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.7-wha0618t.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.7-tdsf7h6t.mjs +0 -1
- package/dist/chunks/settings-1.0.7-ew9b4r78.mjs +0 -1
- package/dist/chunks/setup-1.0.7-tnm7hbmj.mjs +0 -5
- package/dist/chunks/sinks-1.0.7-bw23nvqf.mjs +0 -1
- package/dist/chunks/skills-1.0.7-z5a8v4xg.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.7-fqfzm5cc.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.7-enpb315n.mjs +0 -1
- package/dist/chunks/state-1.0.7-anf50tyt.mjs +0 -1
- package/dist/chunks/stats-1.0.7-xgb8h40k.mjs +0 -6
- package/dist/chunks/status-1.0.7-f7s47750.mjs +0 -1
- package/dist/chunks/stickers-1.0.7-z1wec6v6.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.7-838hrdpy.mjs +0 -1
- package/dist/chunks/tasks-1.0.7-gnsbny7t.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.7-b952rdkv.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.7-kp8hzkhr.mjs +0 -1
- package/dist/chunks/teleport-1.0.7-0z0g10ms.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.7-fgc3myw4.mjs +0 -1
- package/dist/chunks/theme-1.0.7-a88j7tjj.mjs +0 -1
- package/dist/chunks/thinkback-1.0.7-yzkgrf3q.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.7-jz896tvv.mjs +0 -1
- package/dist/chunks/toolPool-1.0.7-zc6vp20v.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.7-ym8fk2b2.mjs +0 -1
- package/dist/chunks/tools-1.0.7-612s0tqy.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.7-vjbr81qz.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.7-gz5y243z.mjs +0 -69
- package/dist/chunks/types-1.0.7-16q04281.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.7-v65pd88x.mjs +0 -4
- package/dist/chunks/update-1.0.7-z4et749c.mjs +0 -88
- package/dist/chunks/upgrade-1.0.7-hbdmpet7.mjs +0 -1
- package/dist/chunks/upload-1.0.7-xgyk75yh.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.7-vb939aaw.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.7-nfw64r47.mjs +0 -1
- package/dist/chunks/usage-1.0.7-kpakcv0m.mjs +0 -1
- package/dist/chunks/util-1.0.7-52gcb8n1.mjs +0 -1
- package/dist/chunks/utils-1.0.7-ckre2ymb.mjs +0 -1
- package/dist/chunks/vim-1.0.7-10bew4qn.mjs +0 -1
- package/dist/chunks/watcher-1.0.7-85c73j65.mjs +0 -1
- package/dist/chunks/wiki-1.0.7-yw93y8cn.mjs +0 -132
- package/dist/chunks/workflows-1.0.7-yatxf71n.mjs +0 -1
- package/dist/chunks/worktree-1.0.7-dp2np4vz.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.7-m222ja7h.mjs +0 -1
- package/dist/chunks/wrapper-1.0.7-sqtjm0k7.mjs +0 -7
- /package/dist/chunks/{cli-1.0.7-bc3sxk1j.mjs → cli-1.0.8-2tcfa3h7.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.7-mcmpb4cd.mjs → cli-1.0.8-9fsgsfsr.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.7-y94dd4yd.mjs → cli-1.0.8-by017547.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.7-5qss5m61.mjs → cli-1.0.8-cnp4f1p9.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.7-3qnpcgyc.mjs → cli-1.0.8-kxhxnt9t.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.7-6rt1agkh.mjs → cli-1.0.8-p2tp1j0a.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.7-d3txxwh5.mjs → cli-1.0.8-t5jg9csm.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.7-pscxy55m.mjs → cli-1.0.8-wm0h5bqt.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{MF as h,OF as I,Wn as g,Xn as k}from"./cli-1.0.7-s5mhxbhn.mjs";import{H0 as _,HY as S,c0 as s}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as c,p3 as m,q3 as T}from"./cli-1.0.7-hd6xn6rt.mjs";import{Oda as b,kea as P}from"./cli-1.0.7-757ex32c.mjs";import{tra as D}from"./cli-1.0.7-y94dd4yd.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
-
export{E as u};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xra as r}from"./cli-1.0.7-y94dd4yd.mjs";var i,a=(s,e)=>function(){try{return e||(0,s[i(s)[0]])((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},c;var p=r(()=>{i=Object.getOwnPropertyNames,c=a({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.30.0",description:"JavaScript SDK for Firecrawl API",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.18.0",firecrawl:"4.16.0","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^14.0.0"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk"],engines:{node:">=22.0.0"},pnpm:{overrides:{"@isaacs/brace-expansion@<=5.0.0":">=5.0.1","minimatch@<10.2.3":">=10.2.3","rollup@<4.59.0":">=4.59.0","picomatch@<4.0.4":">=4.0.4",handlebars:">=4.7.9","brace-expansion":">=5.0.6","js-yaml@>=3.0.0 <3.15.0":"3.15.0","axios@>=1.0.0 <1.16.0":"1.16.1","follow-redirects@<1.16.0":">=1.16.0 <2.0.0","form-data@>=4.0.0 <4.0.6":"4.0.6","@babel/core@>=7.0.0 <7.29.6":"7.29.7","esbuild@>=0.17.0 <0.28.1":"0.28.1"}}}}})});
|
|
2
|
-
export{c as ii,p as ji};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Hi as H,Ji as C}from"./cli-1.0.7-0dmnsy4c.mjs";import{Ki as k,Li as y}from"./cli-1.0.7-fmdws8pg.mjs";import{F3 as X,H3 as Y,M3 as R}from"./cli-1.0.7-j31m0f1y.mjs";import{O3 as G,P3 as m}from"./cli-1.0.7-p4p38dky.mjs";import{I7 as B,X7 as f,q4 as w,r4 as E}from"./cli-1.0.7-txhggtd1.mjs";import{Ifa as Q,Oda as S,Qfa as D,Rda as j,kea as x}from"./cli-1.0.7-757ex32c.mjs";import{lia as V,mia as b}from"./cli-1.0.7-vcsdnmc0.mjs";import{Iqa as W,_qa as I}from"./cli-1.0.7-w3g8c9m3.mjs";import{xra as Z}from"./cli-1.0.7-y94dd4yd.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
|
|
2
|
-
export{i as Ei,A as Fi};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Ifa as B,Qfa as N,Rda as A,kea as L}from"./cli-1.0.7-757ex32c.mjs";import{qja as z,tja as K}from"./cli-1.0.7-zjapdrt8.mjs";import{wra as I,xra as J}from"./cli-1.0.7-y94dd4yd.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
|
|
2
|
-
export{P as hU,Q as iU,R as jU,H as kU,U as lU,V as mU,W as nU};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{mra as x,ora as y,sra as C}from"./cli-1.0.7-0qbp0ac0.mjs";import{vra as k}from"./cli-1.0.7-y94dd4yd.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as h9};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{P9 as Q,R9 as M,Rda as P,kea as R}from"./cli-1.0.7-757ex32c.mjs";import{qja as G,tja as C}from"./cli-1.0.7-zjapdrt8.mjs";import{xra as j}from"./cli-1.0.7-y94dd4yd.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
|
|
2
|
-
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
-
export{g as N3,w as O3,f as P3};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_W as YJ,cX as DJ,gX as vJ,hX as c,iX as SJ,qX as ZJ}from"./cli-1.0.7-kf237s65.mjs";import{D2 as CJ,K2 as TJ}from"./cli-1.0.7-xh0afj9p.mjs";import{Ifa as p,N_ as NJ,Q9 as OJ,Qfa as wJ,R9 as FJ,hda as S,jda as yJ,p_ as xJ,u$ as jJ}from"./cli-1.0.7-757ex32c.mjs";import{tha as R,vha as VJ,wha as w,xha as XJ}from"./cli-1.0.7-3kmf6s21.mjs";import{Via as v,Wia as y,_ia as JJ,qja as G,tja as QJ}from"./cli-1.0.7-zjapdrt8.mjs";import{Qja as W,Rja as C,Xja as e}from"./cli-1.0.7-3pqhf5bj.mjs";import{$ja as I,_ja as s,bka as t,lka as a}from"./cli-1.0.7-ph9qjcjb.mjs";import{Ena as i,Nla as r,Ola as MJ,Opa as m,Rla as d,Yoa as L}from"./cli-1.0.7-9p7hfa00.mjs";import{xra as T,yra as BJ}from"./cli-1.0.7-y94dd4yd.mjs";import{mkdir as PJ,readdir as l,readFile as $J,unlink as qJ,writeFile as b}from"fs/promises";import{join as D}from"path";function HQ(J){if(M===J)return;M=J,U()}function UQ(){if(M===void 0)return;M=void 0,U()}function U(){try{GJ.emit()}catch{}}function KJ(J){return D(E(J),cJ)}async function g(J){let Q=KJ(J);try{let V=(await $J(Q,"utf-8")).trim(),X=parseInt(V,10);return isNaN(X)?0:X}catch{return 0}}async function RJ(J,Q){let V=KJ(J);await b(V,String(Q))}function OQ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function xQ(J){let Q=E(J),V=await o(J),X;try{X=await S(V,P);let Z=await WJ(J);if(Z>0){let $=await g(J);if(Z>$)await RJ(J,Z)}let Y;try{Y=await l(Q)}catch{Y=[]}for(let $ of Y)if($.endsWith(".json")&&!$.startsWith(".")){let q=D(Q,$);try{await qJ(q)}catch{}}U()}finally{if(X)await X()}}function CQ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let J=YJ();if(J)return J.teamName;return c()||M||d()}function _J(J){return J.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(J){return D(s(),"tasks",_J(J))}function A(J,Q){return D(E(J),`${_J(Q)}.json`)}async function bJ(J){let Q=E(J);try{await PJ(Q,{recursive:!0})}catch{}}async function WJ(J){let Q=E(J),V;try{V=await l(Q)}catch{return 0}let X=0;for(let Z of V){if(!Z.endsWith(".json"))continue;let Y=parseInt(Z.replace(".json",""),10);if(!isNaN(Y)&&Y>X)X=Y}return X}async function hJ(J){let[Q,V]=await Promise.all([WJ(J),g(J)]);return Math.max(Q,V)}async function vQ(J,Q){let V=await o(J),X;try{X=await S(V,P);let Z=await hJ(J),Y=String(Z+1),$={id:Y,...Q},q=A(J,Y);return await b(q,v($,null,2)),U(),Y}finally{if(X)await X()}}async function O(J,Q){let V=A(J,Q);try{let X=await $J(V,"utf-8"),Z=y(X),Y=pJ().safeParse(Z);if(!Y.success)return G(`[Tasks] Task ${Q} failed schema validation: ${Y.error.message}`),null;return Y.data}catch(X){if(C(X)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${Q}: ${W(X)}`),p(X),null}}async function EJ(J,Q,V){let X=await O(J,Q);if(!X)return null;let Z={...X,...V,id:Q},Y=A(J,Q);return await b(Y,v(Z,null,2)),U(),Z}async function j(J,Q,V){let X=A(J,Q);if(!await O(J,Q))return null;let Y;try{return Y=await S(X,P),await EJ(J,Q,V)}finally{await Y?.()}}async function SQ(J,Q){let V=A(J,Q);try{let X=parseInt(Q,10);if(!isNaN(X)){let Y=await g(J);if(X>Y)await RJ(J,X)}try{await qJ(V)}catch(Y){if(C(Y)==="ENOENT")return!1;throw Y}let Z=await h(J);for(let Y of Z){let $=Y.blocks.filter((K)=>K!==Q),q=Y.blockedBy.filter((K)=>K!==Q);if($.length!==Y.blocks.length||q.length!==Y.blockedBy.length)await j(J,Y.id,{blocks:$,blockedBy:q})}return U(),!0}catch{return!1}}async function h(J){let Q=E(J),V;try{V=await l(Q)}catch{return[]}let X=V.filter((Y)=>Y.endsWith(".json")).map((Y)=>Y.replace(".json",""));return(await Promise.all(X.map((Y)=>O(J,Y)))).filter((Y)=>Y!==null)}async function AQ(J,Q,V){let[X,Z]=await Promise.all([O(J,Q),O(J,V)]);if(!X||!Z)return!1;if(!X.blocks.includes(V))await j(J,Q,{blocks:[...X.blocks,V]});if(!Z.blockedBy.includes(Q))await j(J,V,{blockedBy:[...Z.blockedBy,Q]});return!0}function LJ(J){return D(E(J),".lock")}async function o(J){await bJ(J);let Q=LJ(J);try{await b(Q,"",{flag:"wx"})}catch{}return Q}async function zQ(J,Q,V,X={}){let Z=A(J,Q);if(!await O(J,Q))return{success:!1,reason:"task_not_found"};if(X.checkAgentBusy)return uJ(J,Q,V);let $;try{$=await S(Z,P);let q=await O(J,Q);if(!q)return{success:!1,reason:"task_not_found"};if(q.owner&&q.owner!==V)return{success:!1,reason:"already_claimed",task:q};if(q.status==="completed")return{success:!1,reason:"already_resolved",task:q};let K=await h(J),B=new Set(K.filter((z)=>z.status!=="completed").map((z)=>z.id)),N=q.blockedBy.filter((z)=>B.has(z));if(N.length>0)return{success:!1,reason:"blocked",task:q,blockedByTasks:N};return{success:!0,task:await EJ(J,Q,{owner:V})}}catch(q){return G(`[Tasks] Failed to claim task ${Q}: ${W(q)}`),p(q),{success:!1,reason:"task_not_found"}}finally{if($)await $()}}async function uJ(J,Q,V){let X=await o(J),Z;try{Z=await S(X,P);let Y=await h(J),$=Y.find((_)=>_.id===Q);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==V)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let q=new Set(Y.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=$.blockedBy.filter((_)=>q.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:K};let B=Y.filter((_)=>_.status!=="completed"&&_.owner===V&&_.id!==Q);if(B.length>0)return{success:!1,reason:"agent_busy",task:$,busyWithTasks:B.map((_)=>_.id)};return{success:!0,task:await j(J,Q,{owner:V})}}catch(Y){return G(`[Tasks] Failed to claim task ${Q} with busy check: ${W(Y)}`),p(Y),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function MQ(J,Q,V,X){let Y=(await h(J)).filter((K)=>K.status!=="completed"&&(K.owner===Q||K.owner===V));for(let K of Y)await j(J,K.id,{owner:void 0,status:"pending"});if(Y.length>0)G(`[Tasks] Unassigned ${Y.length} task(s) from ${V}`);let q=`${V} ${X==="terminated"?"was terminated":"has shut down"}.`;if(Y.length>0){let K=Y.map((B)=>`#${B.id} "${B.subject}"`).join(", ");q+=` ${Y.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:Y.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:q}}var GJ,M,BQ,fJ,pJ,cJ=".highwatermark",P;var HJ=T(()=>{VJ();m();jJ();QJ();a();e();XJ();yJ();wJ();MJ();JJ();ZJ();DJ();GJ=r();BQ=GJ.subscribe;fJ=w(()=>R.enum(["pending","in_progress","completed"])),pJ=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:fJ(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),P={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(J){return J==="tmux"||J==="iterm2"}var UJ=()=>{};import{mkdirSync as IJ,readFileSync as lJ,writeFileSync as gJ}from"fs";import{mkdir as oJ,readFile as AJ,rm as k,writeFile as nJ}from"fs/promises";import{join as f}from"path";function zJ(J){return J.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function nQ(J){return J.replace(/@/g,"-")}function u(J){return f(I(),zJ(J))}function F(J){return f(u(J),"config.json")}function H(J){try{let Q=lJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}async function kJ(J){try{let Q=await AJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}function x(J,Q){let V=u(J);IJ(V,{recursive:!0}),gJ(F(J),v(Q,null,2))}async function rJ(J,Q){let V=u(J);await oJ(V,{recursive:!0}),await nJ(F(J),v(Q,null,2))}function kQ(J,Q){let V=Q.agentId||Q.name;if(!V)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let X=H(J);if(!X)return G(`[TeammateTool] Cannot remove teammate ${V}: failed to read team file for "${J}"`),!1;let Z=X.members.length;if(X.members=X.members.filter((Y)=>{if(Q.agentId&&Y.agentId===Q.agentId)return!1;if(Q.name&&Y.name===Q.name)return!1;return!0}),X.members.length===Z)return G(`[TeammateTool] Teammate ${V} not found in team file for "${J}"`),!1;return x(J,X),G(`[TeammateTool] Removed teammate from team file: ${V}`),!0}function rQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[];if(!X.includes(Q))X.push(Q),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Added ${Q} to hidden panes for team ${J}`);return!0}function dQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[],Z=X.indexOf(Q);if(Z!==-1)X.splice(Z,1),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Removed ${Q} from hidden panes for team ${J}`);return!0}function iQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.tmuxPaneId===Q);if(X===-1)return!1;if(V.members.splice(X,1),V.hiddenPaneIds){let Z=V.hiddenPaneIds.indexOf(Q);if(Z!==-1)V.hiddenPaneIds.splice(Z,1)}return x(J,V),G(`[TeammateTool] Removed member with pane ${Q} from team ${J}`),!0}function mQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.agentId===Q);if(X===-1)return!1;return V.members.splice(X,1),x(J,V),G(`[TeammateTool] Removed member ${Q} from team ${J}`),!0}function dJ(J,Q,V){let X=H(J);if(!X)return!1;let Z=X.members.find(($)=>$.name===Q);if(!Z)return G(`[TeammateTool] Cannot set member mode: member ${Q} not found in team ${J}`),!1;if(Z.mode===V)return!0;let Y=X.members.map(($)=>$.name===Q?{...$,mode:V}:$);return x(J,{...X,members:Y}),G(`[TeammateTool] Set member ${Q} in team ${J} to mode: ${V}`),!0}function sQ(J,Q){if(!SJ())return;let V=Q??c(),X=vJ();if(V&&X)dJ(V,X,J)}function tQ(J,Q){let V=H(J);if(!V)return!1;let X=new Map(Q.map(($)=>[$.memberName,$.mode])),Z=!1,Y=V.members.map(($)=>{let q=X.get($.name);if(q!==void 0&&$.mode!==q)return Z=!0,{...$,mode:q};return $});if(Z)x(J,{...V,members:Y}),G(`[TeammateTool] Set ${Q.length} member modes in team ${J}`);return!0}async function aQ(J,Q,V){let X=await kJ(J);if(!X){G(`[TeammateTool] Cannot set member active: team ${J} not found`);return}let Z=X.members.find((Y)=>Y.name===Q);if(!Z){G(`[TeammateTool] Cannot set member active: member ${Q} not found in team ${J}`);return}if(Z.isActive===V)return;Z.isActive=V,await rJ(J,X),G(`[TeammateTool] Set member ${Q} in team ${J} to ${V?"active":"idle"}`)}async function iJ(J){let Q=f(J,".git"),V=null;try{let Z=(await AJ(Q,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Z&&Z[1]){let Y=Z[1],$=f(Y,"..","..");V=f($,"..")}}catch{}if(V){let X=await OJ(xJ(),["worktree","remove","--force",J],{cwd:V});if(X.code===0){G(`[TeammateTool] Removed worktree via git: ${J}`);return}if(X.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${J}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${X.stderr}`)}try{await k(J,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${J}`)}catch(X){G(`[TeammateTool] Failed to remove worktree ${J}: ${W(X)}`)}}function eQ(J){L().add(J)}function JV(J){L().delete(J)}async function QV(){let J=L();if(J.size===0)return;let Q=Array.from(J);G(`cleanupSessionTeams: removing ${Q.length} orphan team dir(s): ${Q.join(", ")}`),await Promise.allSettled(Q.map((V)=>mJ(V))),await Promise.allSettled(Q.map((V)=>sJ(V))),J.clear()}async function mJ(J){let Q=H(J);if(!Q)return;let V=Q.members.filter((q)=>q.name!==CJ&&q.tmuxPaneId&&q.backendType&&n(q.backendType));if(V.length===0)return;let[{ensureBackendsRegistered:X,getBackendByType:Z},{isInsideTmux:Y}]=await Promise.all([import("./registry-1.0.7-be1gn584.mjs"),import("./detection-1.0.7-bcwz3kz9.mjs")]);await X();let $=!await Y();await Promise.allSettled(V.map(async(q)=>{if(!q.tmuxPaneId||!q.backendType||!n(q.backendType))return;let K=await Z(q.backendType).killPane(q.tmuxPaneId,$);G(`cleanupSessionTeams: killPane ${q.name} (${q.backendType} ${q.tmuxPaneId}) → ${K}`)}))}async function sJ(J){let Q=zJ(J),V=H(J),X=[];if(V){for(let $ of V.members)if($.worktreePath)X.push($.worktreePath)}for(let $ of X)await iJ($);let Z=u(J);try{await k(Z,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Z}`)}catch($){G(`[TeammateTool] Failed to clean up team directory ${Z}: ${W($)}`)}let Y=E(Q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${Y}`),U()}catch($){G(`[TeammateTool] Failed to clean up tasks directory ${Y}: ${W($)}`)}}var oQ;var tJ=T(()=>{VJ();m();QJ();a();e();FJ();NJ();XJ();JJ();HJ();ZJ();UJ();TJ();oQ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
|
|
2
|
-
export{HQ as BU,UQ as CU,BQ as DU,fJ as EU,OQ as FU,xQ as GU,CQ as HU,_J as IU,E as JU,bJ as KU,vQ as LU,O as MU,j as NU,SQ as OU,h as PU,AQ as QU,zQ as RU,MQ as SU,HJ as TU,n as UU,UJ as VU,oQ as WU,zJ as XU,nQ as YU,u as ZU,F as _U,H as $U,kJ as aV,rJ as bV,kQ as cV,rQ as dV,dQ as eV,iQ as fV,mQ as gV,dJ as hV,sQ as iV,tQ as jV,aQ as kV,eQ as lV,JV as mV,QV as nV,sJ as oV,tJ as pV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{lqa as M,mqa as Y}from"./cli-1.0.7-dnn18rgf.mjs";import{xra as W}from"./cli-1.0.7-y94dd4yd.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
-
export{$ as Yja,N as Zja,X as _ja,_ as $ja,j as aka,U as bka,I as cka,S as dka,T as eka,c as fka,L as gka,w as hka,z as ika,O as jka,x as kka,k as lka};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$9 as k,N_ as x,X9 as X,r_ as Y}from"./cli-1.0.7-757ex32c.mjs";import{lga as $}from"./cli-1.0.7-1xe7m9s1.mjs";import{xra as Z}from"./cli-1.0.7-y94dd4yd.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
|
|
2
|
-
export{H as cb,M as db};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{$E as S,_E as y,cF as C,iF as s,mo as F,qo as o}from"./cli-1.0.7-s5mhxbhn.mjs";import{vY as D,wY as r,xY as z,yY as j}from"./cli-1.0.7-mwj9f8rw.mjs";import{f_ as R,g_ as l,i_ as b,j_ as u}from"./cli-1.0.7-757ex32c.mjs";import{Yia as O,_ia as c,cja as L,gja as d,qja as N,tja as g}from"./cli-1.0.7-zjapdrt8.mjs";import{lqa as T,mqa as I}from"./cli-1.0.7-dnn18rgf.mjs";import{xra as _}from"./cli-1.0.7-y94dd4yd.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function h(q){return!!b(q)}function V(q){let H=k(q.split(" ")[0]??"");return P.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var P,f,m,v;var x=_(()=>{I();j();g();u();P=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=T(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>h(H))})});function a(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!a(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${F(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=y($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
|
|
2
|
-
`)&&!Q.endsWith(`
|
|
3
|
-
|
|
4
|
-
`))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=_(()=>{s();j();x();l();d();o();c();r();A={code:"code -w",subl:"subl --wait"}});
|
|
5
|
-
export{Qq as xg,v as yg,x as zg,i as Ag,Vq as Bg,t as Cg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{X7 as f,_6 as M,g4 as G,k4 as W,l4 as V,x7 as j}from"./cli-1.0.7-txhggtd1.mjs";import{kda as x,lda as B,m$ as w,n$ as z,q$ as Y}from"./cli-1.0.7-757ex32c.mjs";import{eia as J,mia as F}from"./cli-1.0.7-vcsdnmc0.mjs";import{xra as Z}from"./cli-1.0.7-y94dd4yd.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
|
|
2
|
-
export{g as vT,p as wT,X as xT,S as yT,y as zT,I as AT,b as BT};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{ge as _,ie as v}from"./cli-1.0.7-538yatrk.mjs";import{Je as Z,Ke as P}from"./cli-1.0.7-3arv8y4s.mjs";import{Cx as K,Mx as Y,Ox as A,yx as X}from"./cli-1.0.7-s5mhxbhn.mjs";import{BX as V,EX as C}from"./cli-1.0.7-3p608q44.mjs";import{o3 as H,q3 as Q}from"./cli-1.0.7-hd6xn6rt.mjs";import{r3 as W}from"./cli-1.0.7-jn7nay2r.mjs";import{Tfa as L,Ufa as U}from"./cli-1.0.7-1xe7m9s1.mjs";import{tra as B,xra as M}from"./cli-1.0.7-y94dd4yd.mjs";function x({children:q}){let{bindings:D}=Y(),F=J.useRef(null),E=J.useRef(new Map),G=J.useRef(new Set).current;return H(V,{bindings:D,pendingChordRef:F,pendingChord:null,setPendingChord:()=>{},activeContexts:G,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:E,children:q})}function y(q){if(!("message"in q))return 1;let D=q.message.content;return Array.isArray(D)?D.length:1}async function b(q,D,F,{columns:E,verbose:G=!1,chunkSize:I=40,onProgress:$}={}){let T=(w)=>_(H(X,{children:H(x,{children:H(Z,{messages:q,tools:D,commands:[],verbose:G,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w})})}),E),N=I;for(let w of q)N+=y(w);for(let w=0;w<N;w+=I){let O=await T([w,w+I]);if(L(O).trim()==="")break;await F(O),$?.(w+I)}}async function l(q,D=[],F){let E=[];return await b(q,D,(G)=>void E.push(L(G)),{columns:F}),E.join("")}var J;var j=M(()=>{U();P();C();A();K();v();Q();J=B(W(),1)});
|
|
2
|
-
export{l as mc,j as nc};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{SP as x,VP as B}from"./cli-1.0.7-s5mhxbhn.mjs";import{xra as z}from"./cli-1.0.7-y94dd4yd.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
|
|
2
|
-
export{G as sg,H as tg,A as ug};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xra as J}from"./cli-1.0.7-y94dd4yd.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
-
export{K as Ch,Y as Dh,Z as Eh,V as Fh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Nf as N0,Of as U0,Qf as VP}from"./cli-1.0.7-af1m1akw.mjs";import{AN as pP,Ax as QP,BH as G0,CF as XP,CH as YP,Cx as j0,DF as mP,EM as u0,MF as L0,OF as i0,On as h,Pn as c0,Qn as p,Rn as w0,Sn as r,Tn as W0,Wn as O0,Xn as EP,ZM as ZP,_M as m0,aN as qP,fM as WP,fN as CP,oM as cP,pM as fP,rM as M0,sM as h0,tM as T0,uM as d0,wN as C0,xM as R0,zx as J0}from"./cli-1.0.7-s5mhxbhn.mjs";import{FX as z0,HX as TP,KX as D0,LX as LP,rX as JP,sX as hP}from"./cli-1.0.7-3p608q44.mjs";import{BY as PP,GY as AP,H0 as q0,HY as I0,QY as k0,_Z as C,a0 as X,c0 as L,g0 as F0,w0 as GP}from"./cli-1.0.7-mwj9f8rw.mjs";import{n3 as n,o3 as J,p3 as Q,q3 as a}from"./cli-1.0.7-hd6xn6rt.mjs";import{r3 as $0}from"./cli-1.0.7-jn7nay2r.mjs";import{O3 as A0,P3 as dP}from"./cli-1.0.7-p4p38dky.mjs";import{F7 as e0,X7 as gP}from"./cli-1.0.7-txhggtd1.mjs";import{Nfa as s0,Pba as y0,Qba as B0,Qfa as SP,Rba as KP,fca as H0,gca as zP,oca as p0,y9 as _,z9 as r0}from"./cli-1.0.7-757ex32c.mjs";import{lia as g0,mia as _P}from"./cli-1.0.7-vcsdnmc0.mjs";import{nia as m,qia as IP}from"./cli-1.0.7-gk53nva2.mjs";import{Qja as f0,Xja as t0}from"./cli-1.0.7-3pqhf5bj.mjs";import{tra as e,xra as P0}from"./cli-1.0.7-y94dd4yd.mjs";function K0(G){let P=o0.c(9),{serverToolsCount:Y,serverPromptsCount:z,serverResourcesCount:Z}=G,f;if(P[0]!==z||P[1]!==Z||P[2]!==Y){if(f=[],Y>0)f.push("tools");if(Z>0)f.push("resources");if(z>0)f.push("prompts");P[0]=z,P[1]=Z,P[2]=Y,P[3]=f}else f=P[3];let H;if(P[4]===Symbol.for("react.memo_cache_sentinel"))H=J(L,{bold:!0,children:"Capabilities: "}),P[4]=H;else H=P[4];let W;if(P[5]!==f)W=f.length>0?J(r,{children:f}):"none",P[5]=f,P[6]=W;else W=P[6];let k;if(P[7]!==W)k=Q(X,{children:[H,J(L,{color:"text",children:W})]}),P[7]=W,P[8]=k;else k=P[8];return k}var o0;var _0=P0(()=>{q0();W0();a();o0=e(I0(),1)});function E0(G,P){switch(G.client.type){case"connected":return{message:`Reconnected to ${P}.`,success:!0};case"needs-auth":return{message:`${P} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${P}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${P}.`,success:!1}}}function V0(G,P){let Y=G instanceof Error?G.message:String(G);return`Error reconnecting to ${P}: ${Y}`}var S0=()=>{};function bG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),{columns:k}=JP(),[B,N]=E.default.useState(!1),[$,U]=E.default.useState(null),S=J0((q)=>q.mcp),M=QP(),[b,K]=E.default.useState(null),[V,D]=E.useState(!1),R=E.useRef(null),[g,c]=E.useState(!1),[j,T]=E.useState(null),[A,y]=E.useState(!1),[i,u]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),O=E.useRef(!1),[x0,Q0]=E.useState(""),[kP,DP]=E.useState(0),[a0,n0]=E.useState(null);E.useEffect(()=>()=>{if(O.current=!0,R.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let X0=G.isAuthenticated||G.client.type==="connected"&&P>0,Y0=N0(),wP=E.default.useCallback(async()=>{c(!1),T(null),D(!0);try{let q=await Y0(G.name),F=q.client.type==="connected";if(m("tengu_claudeai_mcp_auth_completed",{success:F}),F)Z?.(`Authentication successful. Connected to ${G.name}.`);else if(q.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}catch(q){m("tengu_claudeai_mcp_auth_completed",{success:!1}),Z?.(V0(q,G.name))}finally{D(!1)}},[Y0,G.name,Z]),MP=E.default.useCallback(async()=>{await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"needs-auth"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),m("tengu_claudeai_mcp_clear_auth_completed",{}),Z?.(`Disconnected from ${G.name}.`),y(!1),u(null),v(!1)},[G.name,G.config,G.scope,M,Z]);z0("confirm:no",()=>{R.current?.abort(),R.current=null,N(!1),K(null)},{context:"Confirmation",isActive:B}),z0("confirm:no",()=>{c(!1),T(null)},{context:"Confirmation",isActive:g}),z0("confirm:no",()=>{y(!1),u(null),v(!1)},{context:"Confirmation",isActive:A}),GP((q,F)=>{if(F.return&&g)wP();if(F.return&&A)if(l)MP();else{let w=`${g0().CLAUDE_AI_ORIGIN}/settings/connectors`;u(w),v(!0),A0(w)}if(q==="c"&&!o){let w=b||j||i;if(w)PP(w).then((d)=>{if(O.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let RP=H0(String(G.name)),NP=M0(S.commands,G.name).length,l0=U0(),UP=E.default.useCallback(async()=>{let q=g0().CLAUDE_AI_ORIGIN,w=e0()?.organizationUuid,d;if(w&&G.config.type==="claudeai-proxy"&&G.config.id){let Z0=G.config.id.startsWith("mcprs")?"mcpsrv"+G.config.id.slice(5):G.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${q}/api/organizations/${w}/mcp/start-auth/${Z0}?product_surface=${t}`}else d=`${q}/settings/connectors`;T(d),c(!0),m("tengu_claudeai_mcp_auth_started",{}),await A0(d)},[G.config]),bP=E.default.useCallback(()=>{y(!0),m("tengu_claudeai_mcp_clear_auth_started",{})},[]),yP=E.default.useCallback(async()=>{let q=G.client.type!=="disabled";try{if(await l0(G.name),G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_toggle",{new_state:q?"disabled":"enabled"});z()}catch(F){Z?.(`Failed to ${q?"disable":"enable"} MCP server '${G.name}': ${f0(F)}`)}},[G.client.type,G.config.type,G.name,l0,z,Z]),BP=E.default.useCallback(async()=>{if(G.config.type==="claudeai-proxy")return;N(!0),U(null);let q=new AbortController;R.current=q;try{if(G.isAuthenticated&&G.config)await m0(G.name,G.config,{preserveStepUpState:!0});if(G.config){await qP(G.name,G.config,K,q.signal,{onWaitingForCallback:(w)=>{n0(()=>w)}}),m("tengu_mcp_auth_config_authenticate",{wasAuthenticated:G.isAuthenticated});let F=await Y0(G.name);if(F.client.type==="connected"){let w=X0?`Authentication successful. Reconnected to ${G.name}.`:`Authentication successful. Connected to ${G.name}.`;Z?.(w)}else if(F.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else s0(G.name,"Reconnection failed after authentication"),Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof ZP))U(F.message)}finally{N(!1),R.current=null,n0(null),Q0("")}},[G.isAuthenticated,G.config,G.name,Z,Y0,X0]),OP=async()=>{if(G.config.type==="claudeai-proxy")return;if(G.config)await m0(G.name,G.config),m("tengu_mcp_auth_config_clear",{}),await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"failed"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),Z?.(`Authentication cleared for ${G.name}.`)};if(B){let q=G.config.type!=="claudeai-proxy"&&G.config.oauth?.xaa?" Authenticating via your identity provider":" A browser window will open for authentication";return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:q})]}),b&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:b})]}),B&&b&&a0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),Q(X,{children:[Q(L,{dimColor:!0,children:["URL ",">"," "]}),J(XP,{value:x0,onChange:Q0,onSubmit:(F)=>{a0(F.trim()),Q0("")},cursorOffset:kP,onChangeCursorOffset:DP,columns:k-8})]})]}),J(X,{marginLeft:3,children:J(L,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]})}if(g)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" A browser window will open for authentication"})]}),j&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:j})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Clear authentication for ",G.name]}),l?Q(n,{children:[J(L,{children:'Find the MCP server in the browser and click "Disconnect".'}),i&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:i})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," when done."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):Q(n,{children:[J(L,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," to open the browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(V)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Connecting to ",J(L,{bold:!0,children:G.name}),"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" Establishing connection to MCP server"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});let I=[];if(G.client.type==="disabled")I.push({label:"Enable",value:"toggle-enabled"});if(G.client.type==="connected"&&P>0)I.push({label:"View tools",value:"tools"});if(G.config.type==="claudeai-proxy"){if(G.client.type==="connected")I.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(G.client.type!=="disabled")I.push({label:"Authenticate",value:"claudeai-auth"})}else{if(X0)I.push({label:"Re-authenticate",value:"reauth"}),I.push({label:"Clear authentication",value:"clear-auth"});if(!X0)I.push({label:"Authenticate",value:"auth"})}if(G.client.type!=="disabled"){if(G.client.type!=="needs-auth")I.push({label:"Reconnect",value:"reconnectMcpServer"});I.push({label:"Disable",value:"toggle-enabled"})}if(I.length===0)I.push({label:"Back",value:"back"});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[RP," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):G.client.type==="needs-auth"?Q(L,{children:[C("warning",H)(_.triangleUpOutline)," needs authentication"]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),G.transport!=="claudeai-proxy"&&Q(X,{children:[J(L,{bold:!0,children:"Auth: "}),X0?Q(L,{children:[C("success",H)(_.tick)," authenticated"]}):Q(L,{children:[C("error",H)(_.cross)," not authenticated"]})]}),Q(X,{children:[J(L,{bold:!0,children:"URL: "}),J(L,{dimColor:!0,children:G.config.url})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(G.scope)})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:NP,serverResourcesCount:S.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),$&&J(X,{marginTop:1,children:Q(L,{color:"error",children:["Error: ",$]})}),I.length>0&&J(X,{marginTop:1,children:J(L0,{options:I,onChange:async(q)=>{switch(q){case"tools":Y();break;case"auth":case"reauth":await BP();break;case"clear-auth":await OP();break;case"claudeai-auth":await UP();break;case"claudeai-clear-auth":bP();break;case"reconnectMcpServer":D(!0);try{let F=await Y0(G.name);if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:F.client.type==="connected"});let{message:w}=E0(F,G.name);Z?.(w)}catch(F){if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:!1});Z?.(V0(F,G.name))}finally{D(!1)}break;case"toggle-enabled":await yP();break;case"back":z();break}},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $P=P0(()=>{r0();IP();_P();LP();hP();AP();q0();TP();CP();pP();VP();u0();j0();gP();dP();t0();SP();p0();w0();i0();W0();c0();YP();mP();_0();S0();a();E=e($0(),1)});function uG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),k=J0((V)=>V.mcp),B=N0(),N=U0(),[$,U]=b0.useState(!1),S=b0.default.useCallback(async()=>{let V=G.client.type!=="disabled";try{await N(G.name),z()}catch(D){Z(`Failed to ${V?"disable":"enable"} MCP server '${G.name}': ${f0(D)}`)}},[G.client.type,G.name,N,z,Z]),M=H0(String(G.name)),b=M0(k.commands,G.name).length,K=[];if(G.client.type!=="disabled"&&P>0)K.push({label:"View tools",value:"tools"});if(G.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:G.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Reconnecting to ",J(L,{bold:!0,children:G.name})]}),Q(X,{children:[J(G0,{}),J(L,{children:" Restarting MCP server process"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[M," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),Q(X,{children:[J(L,{bold:!0,children:"Command: "}),J(L,{dimColor:!0,children:G.config.command})]}),G.config.args&&G.config.args.length>0&&Q(X,{children:[J(L,{bold:!0,children:"Args: "}),J(L,{dimColor:!0,children:G.config.args.join(" ")})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(WP(G.name)?.scope??"dynamic")})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:b,serverResourcesCount:k.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),K.length>0&&J(X,{marginTop:1,children:J(L0,{options:K,onChange:async(V)=>{if(V==="tools")Y();else if(V==="reconnectMcpServer"){U(!0);try{let D=await B(G.name),{message:R}=E0(D,G.name);Z?.(R)}catch(D){Z?.(V0(D,G.name))}finally{U(!1)}}else if(V==="toggle-enabled")await S();else if(V==="back")z()},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var b0;var jP=P0(()=>{r0();LP();q0();cP();VP();u0();j0();t0();p0();w0();i0();W0();c0();YP();_0();S0();a();b0=e($0(),1)});function tG(G){let P=FP.c(44),{tool:Y,server:z,onBack:Z}=G,[f,H]=v0.default.useState(""),W,k;if(P[0]!==z.name||P[1]!==Y){k=y0(Y.name,z.name);let s=Y.userFacingName?Y.userFacingName({}):k;W=B0(s),P[0]=z.name,P[1]=Y,P[2]=W,P[3]=k}else W=P[2],k=P[3];let B=W,N;if(P[4]!==Y)N=Y.isReadOnly?.({})??!1,P[4]=Y,P[5]=N;else N=P[5];let $=N,U;if(P[6]!==Y)U=Y.isDestructive?.({})??!1,P[6]=Y,P[7]=U;else U=P[7];let S=U,M;if(P[8]!==Y)M=Y.isOpenWorld?.({})??!1,P[8]=Y,P[9]=M;else M=P[9];let b=M,K,V;if(P[10]!==Y)K=()=>{(async function(){try{let O=await Y.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});H(O)}catch{H("Failed to load description")}})()},V=[Y],P[10]=Y,P[11]=K,P[12]=V;else K=P[11],V=P[12];v0.default.useEffect(K,V);let D;if(P[13]!==$)D=$&&J(L,{color:"success",children:" [read-only]"}),P[13]=$,P[14]=D;else D=P[14];let R;if(P[15]!==S)R=S&&J(L,{color:"error",children:" [destructive]"}),P[15]=S,P[16]=R;else R=P[16];let g;if(P[17]!==b)g=b&&J(L,{dimColor:!0,children:" [open-world]"}),P[17]=b,P[18]=g;else g=P[18];let c;if(P[19]!==B||P[20]!==D||P[21]!==R||P[22]!==g)c=Q(n,{children:[B,D,R,g]}),P[19]=B,P[20]=D,P[21]=R,P[22]=g,P[23]=c;else c=P[23];let j=c,T;if(P[24]===Symbol.for("react.memo_cache_sentinel"))T=J(L,{bold:!0,children:"Tool name: "}),P[24]=T;else T=P[24];let A;if(P[25]!==k)A=Q(X,{children:[T,J(L,{dimColor:!0,children:k})]}),P[25]=k,P[26]=A;else A=P[26];let y;if(P[27]===Symbol.for("react.memo_cache_sentinel"))y=J(L,{bold:!0,children:"Full name: "}),P[27]=y;else y=P[27];let i;if(P[28]!==Y.name)i=Q(X,{children:[y,J(L,{dimColor:!0,children:Y.name})]}),P[28]=Y.name,P[29]=i;else i=P[29];let u;if(P[30]!==f)u=f&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Description:"}),J(L,{wrap:"wrap",children:f})]}),P[30]=f,P[31]=u;else u=P[31];let l;if(P[32]!==Y.inputJSONSchema)l=Y.inputJSONSchema&&Y.inputJSONSchema.properties&&Object.keys(Y.inputJSONSchema.properties).length>0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Parameters:"}),J(X,{marginLeft:2,flexDirection:"column",children:Object.entries(Y.inputJSONSchema.properties).map((s)=>{let[x,O]=s,Q0=Y.inputJSONSchema?.required?.includes(x);return Q(L,{children:["• ",x,Q0&&J(L,{dimColor:!0,children:" (required)"}),":"," ",J(L,{dimColor:!0,children:typeof O==="object"&&O&&"type"in O?String(O.type):"unknown"}),typeof O==="object"&&O&&"description"in O&&Q(L,{dimColor:!0,children:[" - ",String(O.description)]})]},x)})})]}),P[32]=Y.inputJSONSchema,P[33]=l;else l=P[33];let v;if(P[34]!==A||P[35]!==i||P[36]!==u||P[37]!==l)v=Q(X,{flexDirection:"column",children:[A,i,u,l]}),P[34]=A,P[35]=i,P[36]=u,P[37]=l,P[38]=v;else v=P[38];let o;if(P[39]!==Z||P[40]!==z.name||P[41]!==v||P[42]!==j)o=J(O0,{title:j,subtitle:z.name,onCancel:Z,inputGuide:iP,children:v}),P[39]=Z,P[40]=z.name,P[41]=v,P[42]=j,P[43]=o;else o=P[43];return o}function iP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FP,v0;var uP=P0(()=>{q0();KP();w0();EP();a();FP=e(I0(),1),v0=e($0(),1)});function VJ(G){let P=HP.c(21),{server:Y,onSelectTool:z,onBack:Z}=G,f=J0(xP),H;P:{if(Y.client.type!=="connected"){let V;if(P[0]===Symbol.for("react.memo_cache_sentinel"))V=[],P[0]=V;else V=P[0];H=V;break P}let K;if(P[1]!==f||P[2]!==Y.name)K=fP(f,Y.name),P[1]=f,P[2]=Y.name,P[3]=K;else K=P[3];H=K}let W=H,k;if(P[4]!==Y.name||P[5]!==W){let K;if(P[7]!==Y.name)K=(V,D)=>{let R=y0(V.name,Y.name),g=V.userFacingName?V.userFacingName({}):R,c=B0(g),j=V.isReadOnly?.({})??!1,T=V.isDestructive?.({})??!1,A=V.isOpenWorld?.({})??!1,y=[];if(j)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:c,value:D.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":j?"success":void 0}},P[7]=Y.name,P[8]=K;else K=P[8];k=W.map(K),P[4]=Y.name,P[5]=W,P[6]=k}else k=P[6];let B=k,N=`Tools for ${Y.name}`,$=W.length,U;if(P[9]!==W.length)U=zP(W.length,"tool"),P[9]=W.length,P[10]=U;else U=P[10];let S=`${$} ${U}`,M;if(P[11]!==Z||P[12]!==z||P[13]!==W||P[14]!==B)M=W.length===0?J(L,{dimColor:!0,children:"No tools available"}):J(L0,{options:B,onChange:(K)=>{let V=parseInt(K),D=W[V];if(D)z(D,V)},onCancel:Z}),P[11]=Z,P[12]=z,P[13]=W,P[14]=B,P[15]=M;else M=P[15];let b;if(P[16]!==Z||P[17]!==N||P[18]!==S||P[19]!==M)b=J(O0,{title:N,subtitle:S,onCancel:Z,inputGuide:vP,children:M}),P[16]=Z,P[17]=N,P[18]=S,P[19]=M,P[20]=b;else b=P[20];return b}function vP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xP(G){return G.mcp.tools}var HP;var aP=P0(()=>{q0();KP();u0();j0();p0();w0();i0();W0();EP();c0();a();HP=e(I0(),1)});
|
|
2
|
-
export{bG as Ef,$P as Ff,uG as Gf,jP as Hf,tG as If,uP as Jf,VJ as Kf,aP as Lf};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{Cw as B,DP as L,EP as w,Ew as U,GQ as d,sQ as N}from"./cli-1.0.7-s5mhxbhn.mjs";import{eaa as z,laa as F,oca as P}from"./cli-1.0.7-757ex32c.mjs";import{fga as H,lga as v}from"./cli-1.0.7-1xe7m9s1.mjs";import{xra as j}from"./cli-1.0.7-y94dd4yd.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
|
-
|
|
3
|
-
`;h+=`**Model:** ${Z}
|
|
4
|
-
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
5
|
-
`,h+=`
|
|
6
|
-
`;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
|
|
7
|
-
|
|
8
|
-
`,h+=`| Category | Tokens | Percentage |
|
|
9
|
-
`,h+=`|----------|--------|------------|
|
|
10
|
-
`;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
|
|
11
|
-
`}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
|
|
12
|
-
`}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
|
|
13
|
-
`}h+=`
|
|
14
|
-
`}if(X.length>0){h+=`### MCP Tools
|
|
15
|
-
|
|
16
|
-
`,h+=`| Tool | Server | Tokens |
|
|
17
|
-
`,h+=`|------|--------|--------|
|
|
18
|
-
`;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
|
|
19
|
-
`;h+=`
|
|
20
|
-
`}if(Q.length>0){h+=`### Custom Agents
|
|
21
|
-
|
|
22
|
-
`,h+=`| Agent Type | Source | Tokens |
|
|
23
|
-
`,h+=`|------------|--------|--------|
|
|
24
|
-
`;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
|
|
25
|
-
`}h+=`
|
|
26
|
-
`}if(W.length>0){h+=`### Memory Files
|
|
27
|
-
|
|
28
|
-
`,h+=`| Type | Path | Tokens |
|
|
29
|
-
`,h+=`|------|------|--------|
|
|
30
|
-
`;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
|
|
31
|
-
`;h+=`
|
|
32
|
-
`}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
|
|
33
|
-
|
|
34
|
-
`,h+=`| Skill | Source | Tokens |
|
|
35
|
-
`,h+=`|-------|--------|--------|
|
|
36
|
-
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
|
-
`;h+=`
|
|
38
|
-
`}return h}var A=j(()=>{U();w();v();d();F();P()});
|
|
39
|
-
export{V as qh,g as rh,A as sh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{F7 as Z,I7 as T,O7 as f,X7 as WB}from"./cli-1.0.7-txhggtd1.mjs";import{Aaa as _,Baa as KB,D9 as O,E9 as BB,Rda as A,bea as v,kea as QB}from"./cli-1.0.7-757ex32c.mjs";import{Aha as w,Bha as JB}from"./cli-1.0.7-1ty38mre.mjs";import{bka as F,lka as e}from"./cli-1.0.7-ph9qjcjb.mjs";import{Opa as a,Rla as R,cla as I,dla as c,ola as M,pla as m,yka as S,zka as s}from"./cli-1.0.7-9p7hfa00.mjs";import{lqa as q,mqa as t}from"./cli-1.0.7-dnn18rgf.mjs";import{xra as K}from"./cli-1.0.7-y94dd4yd.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});g=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
|
|
2
|
-
export{kB as bU,r as cU,vB as dU,TB as eU,g as fU,ZB as gU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{bka as B,cka as H,lka as V}from"./cli-1.0.7-ph9qjcjb.mjs";import{xra as Q}from"./cli-1.0.7-y94dd4yd.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
|
|
2
|
-
export{$ as Gh,Y as Hh};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{MF as U,NF as A,RF as V,SF as E}from"./cli-1.0.7-s5mhxbhn.mjs";import{cW as W,kW as G}from"./cli-1.0.7-veqj11zy.mjs";import{H0 as O,a0 as F,c0 as H}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as q,p3 as K,q3 as L}from"./cli-1.0.7-hd6xn6rt.mjs";import{r3 as I}from"./cli-1.0.7-jn7nay2r.mjs";import{X7 as p,x7 as Q}from"./cli-1.0.7-txhggtd1.mjs";import{Oda as M,Rda as N,kea as $}from"./cli-1.0.7-757ex32c.mjs";import{tra as Z,xra as _}from"./cli-1.0.7-y94dd4yd.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
|
|
2
|
-
export{b as cc,d as dc,P as ec};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{AT as U,BT as A,wT as N,xT as p,yT as F}from"./cli-1.0.7-q3ezj6q3.mjs";import{Y7 as L,Z7 as P,a8 as O,c8 as V,m8 as x,o8 as H,p8 as k}from"./cli-1.0.7-7egbzjdg.mjs";import{Lca as X,Rca as Y,Rda as Z,_ca as K,jaa as I,kea as M,laa as D}from"./cli-1.0.7-757ex32c.mjs";import{bka as $,lka as b}from"./cli-1.0.7-ph9qjcjb.mjs";import{xra as G}from"./cli-1.0.7-y94dd4yd.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
|
|
2
|
-
export{r as Kc,g as Lc,j as Mc};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import{Ag as _Q,Cg as iQ}from"./cli-1.0.7-pyacw9kn.mjs";import{pi as WQ,qi as zX}from"./cli-1.0.7-7gmv86pv.mjs";import{CF as SJ,DF as YQ,Xr as CQ,fs as qX,gJ as JJ,hJ as mJ,oJ as GQ,pJ as KQ,qJ as VQ,rJ as OQ,sJ as NQ,vJ as IJ,wJ as nJ,xJ as rJ,xp as ZQ,yJ as gQ,yp as uQ}from"./cli-1.0.7-s5mhxbhn.mjs";import{FX as AQ,HX as ZX,KX as FQ,LX as $X,RX as zJ,SX as iJ,rX as bJ,sX as aJ}from"./cli-1.0.7-3p608q44.mjs";import{H0 as WJ,QY as AJ,XZ as FJ,YZ as CJ,ZZ as oJ,a0 as N,c0 as M,m0 as t,w0 as e,xY as LJ,yY as lJ}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as q,p3 as _,q3 as s}from"./cli-1.0.7-hd6xn6rt.mjs";import{r3 as BJ}from"./cli-1.0.7-jn7nay2r.mjs";import{r8 as i,s8 as dJ}from"./cli-1.0.7-wgt5ay2x.mjs";import{Ifa as x,Qfa as DJ}from"./cli-1.0.7-757ex32c.mjs";import{Vfa as f,Wfa as pJ,Yfa as n,aga as uJ,fga as vJ,lga as kQ}from"./cli-1.0.7-1xe7m9s1.mjs";import{Aha as UQ,Bha as aQ}from"./cli-1.0.7-1ty38mre.mjs";import{tra as OJ,xra as qJ,yra as oQ}from"./cli-1.0.7-y94dd4yd.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let B of HJ(H.agents))if(K+=1,!B.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((B)=>!B.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",B=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return B+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),B=eJ(J),W=Math.min(U,Math.max(0,B.length-1)),X=B[W],{done:I,total:w}=tJ(J),[S]=AJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=B.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[B,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...B.filter(($)=>$.runId!==J.runId)]:B).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((A)=>Math.max(0,A-1));else if(Y.downArrow)O(),S((A)=>Math.min(Math.max(0,P-1),A+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(BJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),B=J.instructions.trim();return`---
|
|
2
|
-
${H}
|
|
3
|
-
---
|
|
4
|
-
${B?`${B}
|
|
5
|
-
`:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((B,W)=>({...B,name:W===U?K:B.name,handbackTo:B.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[B]=AJ(),W=FJ(B),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.0.7-v46w2p6e.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),A=C-1,u=X&&A>=0?X.steps[A]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
|
|
6
|
-
`:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,A).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,A,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&A>=0)P((G)=>({...G,steps:qQ(G.steps,A,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,A,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,A,P]),jQ=E.useCallback(()=>{if(A<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==A)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,A,P]),gJ=E.useCallback((Q)=>{if(!X||A<0)return;let Z=A+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(A,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,A,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
|
|
7
|
-
`):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(BJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,B]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{B(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((A)=>Math.max(0,A-1));else if(P.downArrow)w((A)=>Math.min(H.length-1,A+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let A=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,A?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
|
|
8
|
-
name: ${J}
|
|
9
|
-
description: What this workflow does
|
|
10
|
-
steps:
|
|
11
|
-
- name: explore
|
|
12
|
-
agents: [explorer]
|
|
13
|
-
- name: synthesize
|
|
14
|
-
agents: [synthesizer]
|
|
15
|
-
handbackTo: [explore]
|
|
16
|
-
- name: done
|
|
17
|
-
---
|
|
18
|
-
Describe the goal and any house rules for this workflow.
|
|
19
|
-
`;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(BJ(),1)});function BQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return AQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[B,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
|
|
20
|
-
<status>${c.status}</status>
|
|
21
|
-
<summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
|
|
22
|
-
<result>${$}</result>
|
|
23
|
-
</task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:B==="running",inverse:B==="running",children:[" ","Running"," "]}),_(M,{bold:B==="library",inverse:B==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(B==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(BQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(BQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(BJ(),1)});
|
|
24
|
-
export{NZ as Yb,YX as Zb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{xra as s}from"./cli-1.0.7-y94dd4yd.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.0.7 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
-
export{c as y3,i as z3,r as A3};
|