@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
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_W as YJ,cX as DJ,gX as vJ,hX as c,iX as SJ,qX as ZJ}from"./cli-1.0.8-5gn5a7p3.mjs";import{D2 as CJ,K2 as TJ}from"./cli-1.0.8-w6atgaqw.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.8-ke76gxzw.mjs";import{tha as R,vha as VJ,wha as w,xha as XJ}from"./cli-1.0.8-74zbkhyt.mjs";import{Via as v,Wia as y,_ia as JJ,qja as G,tja as QJ}from"./cli-1.0.8-z96bbp08.mjs";import{Qja as W,Rja as C,Xja as e}from"./cli-1.0.8-0w29g9sk.mjs";import{$ja as I,_ja as s,bka as t,lka as a}from"./cli-1.0.8-swts6q29.mjs";import{Ena as i,Nla as r,Ola as MJ,Opa as m,Rla as d,Yoa as L}from"./cli-1.0.8-c1m2f995.mjs";import{xra as T,yra as BJ}from"./cli-1.0.8-by017547.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.8-p8bc2ppg.mjs"),import("./detection-1.0.8-adg3pmtx.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};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$y as mq,Zq as Hq,_q as pq,_y as Uq}from"./cli-1.0.8-ykwgcdbt.mjs";import{A3 as dq,y3 as Bq}from"./cli-1.0.8-7tm0v9g4.mjs";import{B7 as S,R6 as Nq,S6 as yq,X7 as gq,g4 as Wq,k4 as jq,l4 as Sq,x7 as c}from"./cli-1.0.8-sqbaxhfc.mjs";import{Bda as Lq,J_ as M,N_ as $q,s$ as Gq,u$ as Pq,uda as Yq,vda as Dq,wda as k,yda as Xq}from"./cli-1.0.8-ke76gxzw.mjs";import{tha as N,vha as bq,wha as E,xha as Cq}from"./cli-1.0.8-74zbkhyt.mjs";import{eia as Kq,fia as Qq,gia as Vq,lia as Zq,mia as Rq}from"./cli-1.0.8-2yyas23w.mjs";import{nia as _,qia as e}from"./cli-1.0.8-gmf61bcb.mjs";import{Via as m,_ia as Eq,qja as Y,tia as Fq,tja as Jq,via as $J}from"./cli-1.0.8-z96bbp08.mjs";import{Qja as C,Wja as P,Xja as qq}from"./cli-1.0.8-0w29g9sk.mjs";import{Iqa as z,_qa as kq}from"./cli-1.0.8-zjckzq5j.mjs";import{wra as ZJ,xra as d,yra as Tq}from"./cli-1.0.8-by017547.mjs";var fq,r,s;var t=d(()=>{bq();Cq();fq=E(()=>N.object({entries:N.record(N.string(),N.string()),entryChecksums:N.record(N.string(),N.string()).optional()})),r=E(()=>N.object({organizationId:N.string(),repo:N.string(),version:N.number(),lastModified:N.string(),checksum:N.string(),content:fq()})),s=E(()=>N.object({error:N.object({details:N.object({error_code:N.literal("team_memory_too_many_entries"),max_entries:N.number().int().positive(),received_entries:N.number().int().positive()})})}))});import{createHash as hq}from"crypto";import{mkdir as cq,readdir as iq,readFile as Oq,stat as nq,writeFile as lq}from"fs/promises";import{join as uq,relative as oq,sep as aq}from"path";function wq(){return{lastKnownChecksum:null,serverChecksums:new Map,serverMaxEntries:null}}function sq(q){return"sha256:"+hq("sha256").update(q,"utf8").digest("hex")}function xq(q){return q instanceof Error&&"code"in q&&typeof q.code==="string"}function n(){if(Wq()!=="firstParty"||!jq())return!1;let q=c();return Boolean(q?.accessToken&&q.scopes?.includes(Kq)&&q.scopes.includes(Qq))}function l(q){return`${process.env.TEAM_MEMORY_SYNC_URL||Zq().BASE_API_URL}/api/claude_code/team_memory?repo=${encodeURIComponent(q)}`}function u(){let q=c();if(q?.accessToken)return{headers:{Authorization:`Bearer ${q.accessToken}`,"anthropic-beta":Vq,"User-Agent":Bq()}};return{error:"No OAuth token available for team memory sync"}}async function tq(q,K,$){try{await S();let V=u();if(V.error)return{success:!1,error:V.error,skipRetry:!0,errorType:"auth"};let Q={...V.headers};if($)Q["If-None-Match"]=`"${$.replace(/"/g,"")}"`;let G=l(K),J=await z.get(G,{headers:Q,timeout:i,validateStatus:(L)=>L===200||L===304||L===404});if(J.status===304)return Y("team-memory-sync: not modified (304)",{level:"debug"}),{success:!0,notModified:!0,checksum:$??void 0};if(J.status===404)return Y("team-memory-sync: no remote data (404)",{level:"debug"}),q.lastKnownChecksum=null,{success:!0,isEmpty:!0};let Z=r().safeParse(J.data);if(!Z.success)return Y("team-memory-sync: invalid response format",{level:"warn"}),{success:!1,error:"Invalid team memory response format",skipRetry:!0,errorType:"parse"};let X=Z.data.checksum||J.headers.etag?.replace(/^"|"$/g,"")||void 0;if(X)q.lastKnownChecksum=X;return Y(`team-memory-sync: fetched successfully (checksum: ${X??"none"})`,{level:"debug"}),{success:!0,data:Z.data,isEmpty:!1,checksum:X}}catch(V){let{kind:Q,status:G,message:J}=P(V),Z=z.isAxiosError(V)?JSON.stringify(V.response?.data??""):"";if(Q!=="other")Y(`team-memory-sync: fetch error ${G}: ${Z}`,{level:"warn"});switch(Q){case"auth":return{success:!1,error:`Not authorized for team memory sync: ${Z}`,skipRetry:!0,errorType:"auth",httpStatus:G};case"timeout":return{success:!1,error:"Team memory sync request timeout",errorType:"timeout"};case"network":return{success:!1,error:"Cannot connect to server",errorType:"network"};default:return{success:!1,error:J,errorType:"unknown",httpStatus:G}}}}async function eq(q,K){try{await S();let $=u();if($.error)return{success:!1,error:$.error,errorType:"auth"};let V=l(K)+"&view=hashes",Q=await z.get(V,{headers:$.headers,timeout:i,validateStatus:(Z)=>Z===200||Z===404});if(Q.status===404)return q.lastKnownChecksum=null,{success:!0,entryChecksums:{}};let G=Q.data?.checksum||Q.headers.etag?.replace(/^"|"$/g,""),J=Q.data?.entryChecksums;if(!J||typeof J!=="object")return{success:!1,error:"Server did not return entryChecksums (?view=hashes unsupported)",errorType:"parse"};if(G)q.lastKnownChecksum=G;return{success:!0,version:Q.data?.version,checksum:G,entryChecksums:J}}catch($){let{kind:V,status:Q,message:G}=P($);switch(V){case"auth":return{success:!1,error:"Not authorized",errorType:"auth",httpStatus:Q};case"timeout":return{success:!1,error:"Timeout",errorType:"timeout"};case"network":return{success:!1,error:"Network error",errorType:"network"};default:return{success:!1,error:G,errorType:"unknown",httpStatus:Q}}}}async function qJ(q,K,$){let V=null;for(let Q=1;Q<=p+1;Q++){if(V=await tq(q,K,$),V.success||V.skipRetry)return V;if(Q>p)return V;let G=Hq(Q);Y(`team-memory-sync: retry ${Q}/${p}`,{level:"debug"}),await Nq(G)}return V}function JJ(q){let K=Object.keys(q).sort();if(K.length===0)return[];let $=Buffer.byteLength('{"entries":{}}',"utf8"),V=(Z,X)=>Buffer.byteLength(m(Z),"utf8")+Buffer.byteLength(m(X),"utf8")+2,Q=[],G={},J=$;for(let Z of K){let X=V(Z,q[Z]);if(J+X>rq&&Object.keys(G).length>0)Q.push(G),G={},J=$;G[Z]=q[Z],J+=X}return Q.push(G),Q}async function KJ(q,K,$,V){try{await S();let Q=u();if(Q.error)return{success:!1,error:Q.error,errorType:"auth"};let G={...Q.headers,"Content-Type":"application/json"};if(V)G["If-Match"]=`"${V.replace(/"/g,"")}"`;let J=l(K),Z=await z.put(J,{entries:$},{headers:G,timeout:i,validateStatus:(L)=>L===200||L===412});if(Z.status===412)return Y("team-memory-sync: conflict (412 Precondition Failed)",{level:"info"}),{success:!1,conflict:!0,error:"ETag mismatch"};let X=Z.data?.checksum;if(X)q.lastKnownChecksum=X;return Y(`team-memory-sync: uploaded ${Object.keys($).length} entries (checksum: ${X??"none"})`,{level:"debug"}),{success:!0,checksum:X,lastModified:Z.data?.lastModified}}catch(Q){let G=z.isAxiosError(Q)?JSON.stringify(Q.response?.data??""):"";Y(`team-memory-sync: upload failed: ${Q instanceof Error?Q.message:""} ${G}`,{level:"warn"});let{kind:J,status:Z,message:X}=P(Q),L=J==="http"||J==="other"?"unknown":J,j,O,B;if(Z===413&&z.isAxiosError(Q)){let H=s().safeParse(Q.response?.data);if(H.success)j=H.data.error.details.error_code,O=H.data.error.details.max_entries,B=H.data.error.details.received_entries}return{success:!1,error:X,errorType:L,httpStatus:Z,...j!==void 0&&{serverErrorCode:j},...O!==void 0&&{serverMaxEntries:O},...B!==void 0&&{serverReceivedEntries:B}}}}async function QJ(q){let K=k(),$={},V=[];async function Q(J){try{let Z=await iq(J,{withFileTypes:!0});await Promise.all(Z.map(async(X)=>{let L=uq(J,X.name);if(X.isDirectory())await Q(L);else if(X.isFile())try{let j=await nq(L);if(j.size>h){Y(`team-memory-sync: skipping oversized file ${X.name} (${j.size} > ${h} bytes)`,{level:"info"});return}let O=await Oq(L,"utf8"),B=oq(K,L).replaceAll("\\","/"),H=Uq(O);if(H.length>0){let W=H[0];V.push({path:B,ruleId:W.ruleId,label:W.label}),Y(`team-memory-sync: skipping "${B}" — detected ${W.label}`,{level:"warn"});return}$[B]=O}catch{}}))}catch(Z){if(xq(Z)){if(Z.code!=="ENOENT"&&Z.code!=="EACCES"&&Z.code!=="EPERM")throw Z}else throw Z}}await Q(K);let G=Object.keys($).sort();if(q!==null&&G.length>q){let J=G.slice(q);Y(`team-memory-sync: ${G.length} local entries exceeds server cap of ${q}; ${J.length} file(s) will NOT sync: ${J.join(", ")}. Consider consolidating or removing some team memory files.`,{level:"warn"}),_("tengu_team_mem_entries_capped",{total_entries:G.length,dropped_count:J.length,max_entries:q});let Z={};for(let X of G.slice(0,q))Z[X]=$[X];return{entries:Z,skippedSecrets:V}}return{entries:$,skippedSecrets:V}}async function VJ(q){let K=await Promise.all(Object.entries(q).map(async([$,V])=>{let Q;try{Q=await Xq($)}catch(J){if(J instanceof Yq)return Y(`team-memory-sync: ${J.message}`,{level:"warn"}),!1;throw J}if(Buffer.byteLength(V,"utf8")>h)return Y(`team-memory-sync: skipping oversized remote entry "${$}"`,{level:"info"}),!1;try{if(await Oq(Q,"utf8")===V)return!1}catch(J){if(xq(J)&&J.code!=="ENOENT"&&J.code!=="ENOTDIR")Y(`team-memory-sync: unexpected read error for "${$}": ${J.code}`,{level:"debug"})}try{let J=Q.substring(0,Q.lastIndexOf(aq));return await cq(J,{recursive:!0}),await lq(Q,V,"utf8"),!0}catch(J){return Y(`team-memory-sync: failed to write "${$}": ${J}`,{level:"warn"}),!1}}));return Gq(K,Boolean)}function _q(){return n()}async function Iq(q,K){let $=K?.skipEtagCache??!1,V=Date.now();if(!n())return v(V,{success:!1,errorType:"no_oauth"}),{success:!1,filesWritten:0,entryCount:0,error:"OAuth not available"};let Q=await M();if(!Q)return v(V,{success:!1,errorType:"no_repo"}),{success:!1,filesWritten:0,entryCount:0,error:"No git remote found"};let G=$?null:q.lastKnownChecksum,J=await qJ(q,Q,G);if(!J.success)return v(V,{success:!1,errorType:J.errorType,status:J.httpStatus}),{success:!1,filesWritten:0,entryCount:0,error:J.error};if(J.notModified)return v(V,{success:!0,notModified:!0}),{success:!0,filesWritten:0,entryCount:0,notModified:!0};if(J.isEmpty||!J.data)return q.serverChecksums.clear(),v(V,{success:!0}),{success:!0,filesWritten:0,entryCount:0};let Z=J.data.content.entries,X=J.data.content.entryChecksums;if(q.serverChecksums.clear(),X)for(let[j,O]of Object.entries(X))q.serverChecksums.set(j,O);else Y("team-memory-sync: server response missing entryChecksums (pre-#283027 deploy) — next push will be full, not delta",{level:"debug"});let L=await VJ(Z);if(L>0){let{clearMemoryFileCaches:j}=await import("./claudemd-1.0.8-mrm97672.mjs");j()}return Y(`team-memory-sync: pulled ${L} files`,{level:"info"}),v(V,{success:!0,filesWritten:L}),{success:!0,filesWritten:L,entryCount:Object.keys(Z).length}}async function o(q){let K=Date.now(),$=0;if(!n())return x(K,{success:!1,errorType:"no_oauth"}),{success:!1,filesUploaded:0,error:"OAuth not available",errorType:"no_oauth"};let V=await M();if(!V)return x(K,{success:!1,errorType:"no_repo"}),{success:!1,filesUploaded:0,error:"No git remote found",errorType:"no_repo"};let Q=await QJ(q.serverMaxEntries),G=Q.entries,J=Q.skippedSecrets;if(J.length>0){let L=J.map((j)=>`"${j.path}" (${j.label})`).join(", ");Y(`team-memory-sync: ${J.length} file(s) skipped due to detected secrets: ${L}. Remove the secret(s) to enable sync for these files.`,{level:"warn"}),_("tengu_team_mem_secret_skipped",{file_count:J.length,rule_ids:J.map((j)=>j.ruleId).join(",")})}let Z=new Map;for(let[L,j]of Object.entries(G))Z.set(L,sq(j));let X=!1;for(let L=0;L<=R;L++){let j={};for(let[w,D]of Z)if(q.serverChecksums.get(w)!==D)j[w]=G[w];if(Object.keys(j).length===0)return x(K,{success:!0,conflict:X,conflictRetries:$}),{success:!0,filesUploaded:0,...J.length>0&&{skippedSecrets:J}};let B=JJ(j),H=0,W;for(let w of B){if(W=await KJ(q,V,w,q.lastKnownChecksum),!W.success)break;for(let D of Object.keys(w))q.serverChecksums.set(D,Z.get(D));H+=Object.keys(w).length}if(W=W,W.success)return Y(B.length>1?`team-memory-sync: pushed ${H} of ${Z.size} files in ${B.length} batches`:`team-memory-sync: pushed ${H} of ${Z.size} files (delta)`,{level:"info"}),x(K,{success:!0,filesUploaded:H,conflict:X,conflictRetries:$,putBatches:B.length>1?B.length:void 0}),{success:!0,filesUploaded:H,checksum:W.checksum,...J.length>0&&{skippedSecrets:J}};if(!W.conflict){if(W.serverMaxEntries!==void 0)q.serverMaxEntries=W.serverMaxEntries,Y(`team-memory-sync: learned server max_entries=${W.serverMaxEntries} from 413; next push will truncate to this`,{level:"warn"});return x(K,{success:!1,filesUploaded:H,conflictRetries:$,putBatches:B.length>1?B.length:void 0,errorType:W.errorType,status:W.httpStatus,errorCode:W.serverErrorCode,serverMaxEntries:W.serverMaxEntries,serverReceivedEntries:W.serverReceivedEntries}),{success:!1,filesUploaded:H,error:W.error,errorType:W.errorType,httpStatus:W.httpStatus}}if(X=!0,L>=R)return Y(`team-memory-sync: giving up after ${R} conflict retries`,{level:"warn"}),x(K,{success:!1,conflict:!0,conflictRetries:$,errorType:"conflict"}),{success:!1,filesUploaded:0,conflict:!0,error:"Conflict resolution failed after retries"};$++,Y(`team-memory-sync: conflict (412), probing server hashes (attempt ${L+1}/${R})`,{level:"info"});let T=await eq(q,V);if(!T.success||!T.entryChecksums)return x(K,{success:!1,conflict:!0,conflictRetries:$,errorType:"conflict"}),{success:!1,filesUploaded:0,conflict:!0,error:`Conflict resolution hashes probe failed: ${T.error}`};q.serverChecksums.clear();for(let[w,D]of Object.entries(T.entryChecksums))q.serverChecksums.set(w,D)}return x(K,{success:!1,conflictRetries:$}),{success:!1,filesUploaded:0,error:"Unexpected end of conflict resolution loop"}}function v(q,K){_("tengu_team_mem_sync_pull",{success:K.success,files_written:K.filesWritten??0,not_modified:K.notModified??!1,duration_ms:Date.now()-q,...K.errorType&&{errorType:K.errorType},...K.status&&{status:K.status}})}function x(q,K){_("tengu_team_mem_sync_push",{success:K.success,files_uploaded:K.filesUploaded??0,conflict:K.conflict??!1,conflict_retries:K.conflictRetries??0,duration_ms:Date.now()-q,...K.errorType&&{errorType:K.errorType},...K.status&&{status:K.status},...K.putBatches&&{put_batches:K.putBatches},...K.errorCode&&{error_code:K.errorCode},...K.serverMaxEntries!==void 0&&{server_max_entries:K.serverMaxEntries},...K.serverReceivedEntries!==void 0&&{server_received_entries:K.serverReceivedEntries}})}var i=30000,h=250000,rq=200000,p=3,R=2;var zq=d(()=>{kq();Rq();Lq();Pq();gq();Jq();qq();$q();Sq();yq();Eq();dq();e();pq();mq();t()});var OJ={};ZJ(OJ,{stopTeamMemoryWatcher:()=>Mq,startTeamMemoryWatcher:()=>NJ,notifyTeamMemoryWrite:()=>BJ,isPermanentFailure:()=>vq,_startFileWatcherForTesting:()=>UJ,_resetWatcherStateForTesting:()=>HJ});import{watch as GJ}from"fs";import{mkdir as YJ,stat as XJ}from"fs/promises";import{join as LJ}from"path";function vq(q){if(q.errorType==="no_oauth"||q.errorType==="no_repo")return!0;if(q.httpStatus!==void 0&&q.httpStatus>=400&&q.httpStatus<500&&q.httpStatus!==409&&q.httpStatus!==429)return!0;return!1}async function jJ(){if(!I)return;y=!0;try{let q=await o(I);if(q.success)g=!1;if(q.success&&q.filesUploaded>0)Y(`team-memory-watcher: pushed ${q.filesUploaded} files`,{level:"info"});else if(!q.success){if(Y(`team-memory-watcher: push failed: ${q.error}`,{level:"warn"}),vq(q)&&U===null)U=q.httpStatus!==void 0?`http_${q.httpStatus}`:q.errorType??"unknown",Y(`team-memory-watcher: suppressing retry until next unlink or session restart (${U})`,{level:"warn"}),_("tengu_team_mem_push_suppressed",{reason:U,...q.httpStatus&&{status:q.httpStatus}})}}catch(q){Y(`team-memory-watcher: push error: ${C(q)}`,{level:"warn"})}finally{y=!1,f=null}}function b(){if(U!==null)return;if(g=!0,F)clearTimeout(F);F=setTimeout(()=>{if(y){b();return}f=jJ()},WJ)}async function Aq(q){if(a)return;a=!0;try{await YJ(q,{recursive:!0}),A=GJ(q,{persistent:!1,recursive:!0},(K,$)=>{if($===null){b();return}if(U!==null){XJ(LJ(q,$)).catch((V)=>{if(V.code!=="ENOENT")return;if(U!==null)Y(`team-memory-watcher: unlink cleared suppression (was: ${U})`,{level:"info"}),U=null;b()});return}b()}),A.on("error",(K)=>{Y(`team-memory-watcher: fs.watch error: ${C(K)}`,{level:"warn"})}),Y(`team-memory-watcher: watching ${q}`,{level:"debug"})}catch(K){Y(`team-memory-watcher: failed to watch ${q}: ${C(K)}`,{level:"warn"})}Fq(async()=>Mq())}async function NJ(){if(!Dq()||!_q())return;if(!await M()){Y("team-memory-watcher: no github.com remote, skipping sync",{level:"debug"});return}I=wq();let K=!1,$=0,V=!1;try{let Q=await Iq(I);if(K=Q.success,V=Q.entryCount>0,Q.success&&Q.filesWritten>0)$=Q.filesWritten,Y(`team-memory-watcher: initial pull got ${Q.filesWritten} files`,{level:"info"})}catch(Q){Y(`team-memory-watcher: initial pull failed: ${C(Q)}`,{level:"warn"})}await Aq(k()),_("tengu_team_mem_sync_started",{initial_pull_success:K,initial_files_pulled:$,watcher_started:!0,server_has_content:V})}async function BJ(){if(!I)return;b()}async function Mq(){if(F)clearTimeout(F),F=null;if(A)A.close(),A=null;if(f)try{await f}catch{}if(g&&I&&U===null)try{await o(I)}catch{}}function HJ(q){A=null,F=null,y=!1,g=!1,f=null,a=q?.skipWatcher??!1,U=q?.pushSuppressedReason??null,I=q?.syncState??null}function UJ(q){return Aq(q)}var WJ=2000,A=null,F=null,y=!1,g=!1,f=null,a=!1,U=null,I=null;var wJ=d(()=>{Lq();$J();Jq();qq();$q();e();zq()});
|
|
2
|
+
export{vq as i,NJ as j,BJ as k,Mq as l,HJ as m,UJ as n,OJ as o,wJ as p};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{X7 as D,x7 as q}from"./cli-1.0.8-sqbaxhfc.mjs";import{lia as m,mia as z}from"./cli-1.0.8-2yyas23w.mjs";import{xra as x}from"./cli-1.0.8-by017547.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
+
export{E as ki,F as li,K as mi,M as ni,G as oi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Vd as j,Wd as E}from"./cli-1.0.8-9e91trv9.mjs";import{DL as f,fL as X,hL as Y,kp as W,np as v,qL as Z,sL as w,wL as _,yL as $}from"./cli-1.0.8-ykwgcdbt.mjs";import{Hba as T,Ifa as V,Qfa as N,_da as S,kea as A,uba as Q}from"./cli-1.0.8-ke76gxzw.mjs";import{qja as B,tja as R}from"./cli-1.0.8-z96bbp08.mjs";import{Qja as L,Xja as K}from"./cli-1.0.8-0w29g9sk.mjs";import{xra as y}from"./cli-1.0.8-by017547.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
|
|
2
|
+
export{d as rd,P as sd,t as td,U as ud};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{CG as z,DG as M,QE as L,RE as h,ux as J,vx as Z}from"./cli-1.0.8-ykwgcdbt.mjs";import{HY as X}from"./cli-1.0.8-qss5sph3.mjs";import{r3 as W}from"./cli-1.0.8-rna8rhza.mjs";import{Opa as V,jpa as H}from"./cli-1.0.8-c1m2f995.mjs";import{tra as D,xra as U}from"./cli-1.0.8-by017547.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
|
|
2
|
+
export{v as og,A as pg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{xra as o}from"./cli-1.0.8-by017547.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
+
export{t as u8,i as v8,n as w8,s as x8,c as y8,r as z8,a as A8,p as B8,_ as C8,S as D8,E as E8,e as F8};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{BH as U,CH as w}from"./cli-1.0.8-ykwgcdbt.mjs";import{H0 as k,HY as f,a0 as N,c0 as O}from"./cli-1.0.8-qss5sph3.mjs";import{o3 as M,p3 as H,q3 as R}from"./cli-1.0.8-qzqze1a1.mjs";import{tra as Y,xra as Z}from"./cli-1.0.8-by017547.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
|
|
2
|
+
export{_ as Fg,A as Gg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{MF as A,OF as O,Wn as M,Xn as G}from"./cli-1.0.8-ykwgcdbt.mjs";import{H0 as W,HY as U,a0 as w,c0 as d,g0 as v}from"./cli-1.0.8-qss5sph3.mjs";import{o3 as i,p3 as a,q3 as S}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as N}from"./cli-1.0.8-rna8rhza.mjs";import{Yda as I,kea as P}from"./cli-1.0.8-ke76gxzw.mjs";import{nia as h,qia as L}from"./cli-1.0.8-gmf61bcb.mjs";import{tra as b,xra as B}from"./cli-1.0.8-by017547.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=i(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&a(w,{flexDirection:"column",children:[i(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=a(d,{dimColor:!0,children:["Important: Only use Claudin with files you trust. Accessing untrusted files may pose security risks"," ",i(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=i(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=a(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return a(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
|
|
2
|
+
export{V as Jg,z as Kg};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Fg as d,Gg as Vq}from"./cli-1.0.8-fmf0f85n.mjs";import{TS as Oq,lR as a,nR as yq,rS as l}from"./cli-1.0.8-ykwgcdbt.mjs";import{H0 as Gq,HY as Zq,a0 as T,c0 as R,w0 as $}from"./cli-1.0.8-qss5sph3.mjs";import{B1 as v,E1 as e,z1 as t}from"./cli-1.0.8-74y9exyb.mjs";import{o3 as P,p3 as N,q3 as S}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as Yq}from"./cli-1.0.8-rna8rhza.mjs";import{O3 as u,P3 as Aq}from"./cli-1.0.8-g8tpbbvt.mjs";import{P9 as G,R9 as o,U$ as s,x$ as j}from"./cli-1.0.8-ke76gxzw.mjs";import{Aha as w,Bha as r}from"./cli-1.0.8-acrtv429.mjs";import{qja as L,tja as n}from"./cli-1.0.8-z96bbp08.mjs";import{Qja as c,Xja as Xq}from"./cli-1.0.8-0w29g9sk.mjs";import{Opa as i,Rla as f}from"./cli-1.0.8-c1m2f995.mjs";import{tra as I,xra as h}from"./cli-1.0.8-by017547.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return j("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await G("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await G("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await G("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>K.coerce(W)!==null).sort((W,B)=>{let V=K.coerce(W),y=K.coerce(B);return V.compare(y)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function x(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=K.coerce(q);if(!z||!v(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(L(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await G("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await G("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await G("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await G("cmd",["/c","start","",H]);return z===0}return!1}async function m(){let H=f();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var K,Hq="1.1.2396";var k=h(()=>{i();r();n();o();s();e();K=I(t(),1)});function Kq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function mq(H){let q=p.c(20),{onDone:z}=H,[Q,Y]=A.useState("checking"),[W,B]=A.useState(null),[V,y]=A.useState(""),O;if(q[0]!==W||q[1]!==z||q[2]!==Q)O=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")u(Kq()).catch(Rq),z(`Starting download. Re-run /desktop once you’ve installed the app.
|
|
2
|
+
Learn more at ${D}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${D}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=O;else O=q[3];$(O);let E,F;if(q[4]!==z)E=()=>{(async function(){Y("checking");let X=await x();if(X.status==="not-installed"){y("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){y(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await l(),Y("opening");let U=await m();if(!U.success){B(U.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Pq,500,z)})().catch((Z)=>{B(c(Z)),Y("error")})},F=[z],q[4]=z,q[5]=E,q[6]=F;else E=q[5],F=q[6];if(A.useEffect(E,F),Q==="error"){let J;if(q[7]!==W)J=N(R,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==V)J=P(R,{children:V}),q[12]=V,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=P(R,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=N(T,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let b=C[Q],M;if(q[18]!==b)M=P(d,{message:b}),q[18]=b,q[19]=M;else M=q[19];return M}async function Pq(H){H("Session transferred to Claude Desktop",{display:"system"}),await a(0,"other")}function Rq(){}var p,A,D="https://clau.de/desktop";var Bq=h(()=>{Gq();Aq();k();Xq();yq();Oq();Vq();S();p=I(Zq(),1),A=I(Yq(),1)});
|
|
3
|
+
export{mq as Dg,Bq as Eg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Eh as v,Fh as i}from"./cli-1.0.8-kh51d8mn.mjs";import{Gh as E,Hh as t}from"./cli-1.0.8-6q1p5cvf.mjs";import{rX as b,sX as s}from"./cli-1.0.8-apm2cwth.mjs";import{H0 as m,a0 as L,c0 as X}from"./cli-1.0.8-qss5sph3.mjs";import{o3 as $,q3 as F}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as d}from"./cli-1.0.8-rna8rhza.mjs";import{y9 as C,z9 as n}from"./cli-1.0.8-ke76gxzw.mjs";import{Vfa as O,Wfa as l,Xfa as P,Yfa as k,lga as o}from"./cli-1.0.8-s5kcxz2r.mjs";import{tra as g,xra as a}from"./cli-1.0.8-by017547.mjs";function Kq(J,q,H){if(J.startsWith("file-"))return H?v(q):"+";if(J.startsWith("mcp-resource-"))return"◇";if(J.startsWith("agent-"))return"*";return"+"}function Oq(J){return J.startsWith("file-")||J.startsWith("mcp-resource-")||J.startsWith("agent-")}function Qq(J){let q=J.metadata?.type;return q==="directory"||q==="file"}function Zq({suggestions:J,selectedSuggestion:q,maxColumnWidth:H,overlay:K}){let{rows:A}=b(),Y=A-2,G=Y>=e?Math.min(qq,Y):Math.max(1,Y);if(J.length===0)return null;let w=H??Math.max(...J.map((Q)=>O(Q.displayText)))+5,V=Math.max(0,Math.min(q-Math.floor(G/2),J.length-G)),U=Math.min(V+G,J.length),Z=J.slice(V,U);return $(L,{flexDirection:"column",justifyContent:K?void 0:"flex-end",children:Z.map((Q)=>$(Yq,{item:Q,maxColumnWidth:w,isSelected:Q.id===J[q]?.id},`${Q.id}:${Q.id===J[q]?.id?"selected":"idle"}`))})}var _,e=8,qq=15,y,Jq=" ",B,j,Yq,Mq;var $q=a(()=>{n();s();l();m();i();o();t();F();_=g(d(),1),y=`${C.pointer} `,B=O(y),j=E();Yq=_.memo(function({item:q,maxColumnWidth:H,isSelected:K}){let A=b().columns,Y=K?y:Jq,G=K?"suggestion":void 0,w=K?"inverseText":void 0;if(Oq(q.id)){let D=Kq(q.id,q.displayText,j),I=!K,x=q.id.startsWith("file-"),c=q.id.startsWith("mcp-resource-"),Aq=2,Gq=4,R=q.description?3:0,z;if(x){let N=q.description?Math.min(20,O(q.description)):0,r=A-B-2-4-R-N;z=P(q.displayText,r)}else if(c)z=k(q.displayText,30);else z=q.displayText;let u=A-B-2-O(z)-R-4,M;if(q.description){let N=k(q.description.replace(/\s+/g," "),Math.max(0,u));M=`${Y}${D} ${z} - ${N}`}else M=`${Y}${D} ${z}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:I,bold:K,wrap:"truncate",children:M})})}let V=Math.floor(A*0.4),U=Math.min(H??O(q.displayText)+5,V),Z=q.displayText;if(O(Z)>U-2)Z=k(Z,U-2);let Q=Qq(q)?`${j?v(q.displayText):"+"} `:"",W=Y+Q+Z+" ".repeat(Math.max(0,U-O(Z))),f=q.tag?`[${q.tag}] `:"",S=O(f),h=Math.max(0,A-B-U-S-4),p=q.description?k(q.description.replace(/\s+/g," "),h):"",T=`${W}${f}${p}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:!K,bold:K,wrap:"truncate",children:T})})});Mq=_.memo(Zq)});
|
|
2
|
+
export{Zq as zh,Mq as Ah,$q as Bh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DJ as Y,GQ as R,km as W,nm as P,pk as Q,qk as I}from"./cli-1.0.8-ykwgcdbt.mjs";import{Tfa as B,Ufa as f}from"./cli-1.0.8-s5kcxz2r.mjs";import{Iha as H,Jha as J,cia as F}from"./cli-1.0.8-acrtv429.mjs";import{Opa as $,Rla as v}from"./cli-1.0.8-c1m2f995.mjs";import{xra as Z}from"./cli-1.0.8-by017547.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
|
|
2
|
+
export{S as We,V as Xe,X as Ye,r as Ze,w as _e,T as $e,G as af};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{pra as n}from"./cli-1.0.8-5wfqemy1.mjs";import{vra as r}from"./cli-1.0.8-by017547.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
|
+
export{i as i9};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{P9 as Q,R9 as M,Rda as P,kea as R}from"./cli-1.0.8-ke76gxzw.mjs";import{qja as G,tja as C}from"./cli-1.0.8-z96bbp08.mjs";import{xra as j}from"./cli-1.0.8-by017547.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};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{wra as n,xra as o}from"./cli-1.0.8-by017547.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
|
|
2
|
+
export{i as nia,c as oia,p as pia,u as qia};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{Cw as B,DP as L,EP as w,Ew as U,GQ as d,sQ as N}from"./cli-1.0.8-ykwgcdbt.mjs";import{eaa as z,laa as F,oca as P}from"./cli-1.0.8-ke76gxzw.mjs";import{fga as H,lga as v}from"./cli-1.0.8-s5kcxz2r.mjs";import{xra as j}from"./cli-1.0.8-by017547.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};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ph as g,Qh as Uf}from"./cli-1.0.8-ebmqnhat.mjs";import{Uh as A,Wh as Kf}from"./cli-1.0.8-nyq2vcvp.mjs";import{Am as Vf,Cl as y,Ej as W,HQ as l,Iu as m,JB as M,Ju as Zf,KC as c,Mr as E,NC as bf,Nr as P,Or as Xf,Pu as C,Rj as w,SS as Hf,Sj as zf,TS as d,Tu as T,VD as u,WD as jf,Xl as Jf,Xu as _f,YB as I,YR as S,ZB as $f,hR as Ff,hm as N,jE as v,jS as p,nm as Qf,qE as Df,qS as k,vl as Bf,vm as L,wl as Gf,ws as h,xs as Yf}from"./cli-1.0.8-ykwgcdbt.mjs";import{Ifa as R,Qfa as ff}from"./cli-1.0.8-ke76gxzw.mjs";import{nia as O,qia as e}from"./cli-1.0.8-gmf61bcb.mjs";import{Doa as H,Opa as s,Qma as F,Rla as U,Sla as q,Xla as x}from"./cli-1.0.8-c1m2f995.mjs";import{ura as K,xra as t}from"./cli-1.0.8-by017547.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await M("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(m(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),I(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:u(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await c("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();Zf();Df();Yf();zf();_f();jf();Ff();ff();Kf();Qf();$f();bf();d();Xf();Vf();Jf();Uf()});
|
|
2
|
+
export{lf as Nh,xf as Oh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{xra as r}from"./cli-1.0.8-by017547.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};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{E as D}from"./cli-1.0.8-p2tp1j0a.mjs";import{O as x}from"./cli-1.0.8-eqnts1fr.mjs";import{Za as A}from"./cli-1.0.8-cvanywgv.mjs";import{_a as L}from"./cli-1.0.8-2tqdqypv.mjs";import{Fo as k,Go as U,Jo as F,Ko as p,rT as b,sT as u}from"./cli-1.0.8-ykwgcdbt.mjs";import{dU as O,gU as c}from"./cli-1.0.8-kzrdbzd1.mjs";import{X7 as m,g4 as Y,l4 as I,p6 as w,q6 as M,q7 as E,r7 as G}from"./cli-1.0.8-sqbaxhfc.mjs";import{kda as X,lda as B,tfa as $,wfa as z}from"./cli-1.0.8-ke76gxzw.mjs";import{Aha as _,Bha as y}from"./cli-1.0.8-acrtv429.mjs";import{qja as K,tja as T}from"./cli-1.0.8-z96bbp08.mjs";import{Qja as V,Xja as S}from"./cli-1.0.8-0w29g9sk.mjs";import{bka as J,dka as N,lka as v}from"./cli-1.0.8-swts6q29.mjs";import{Iqa as W,_qa as j}from"./cli-1.0.8-zjckzq5j.mjs";v();c();u();z();m();p();y();j();T();S();I();B();var C=void 0;function h(q){try{let H=new URL(q);return H.search="",H.toString().replace(/\/$/,"")}catch{return}}async function Z(){if(X())return;if(Y()!=="firstParty")return;try{let q=await W.get("https://api.anthropic.com/mcp-registry/v0/servers?version=latest&visibility=commercial",{timeout:5000}),H=new Set;for(let P of q.data.servers)for(let R of P.server.remotes??[]){let Q=h(R.url);if(Q)H.add(Q)}C=H,K(`[mcp-registry] Loaded ${H.size} official MCP URLs`)}catch(q){K(`Failed to fetch MCP registry: ${V(q)}`,{level:"error"})}}M();U();function Xq(){if(J(process.env.CLAUDE_CODE_EXIT_AFTER_FIRST_RENDER)||N())return;O(),b(),x(),A();let q=$()?.transport;if(q==="bedrock"&&!J(process.env.CLAUDE_CODE_SKIP_BEDROCK_AUTH))G();if(q==="vertex"&&!J(process.env.CLAUDE_CODE_SKIP_VERTEX_AUTH))E();if(F(_(),AbortSignal.timeout(3000),[]),D(),Z(),w(),k.initialize(),!N())L.initialize()}
|
|
2
|
+
export{Xq as D};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{N_ as _,x_ as Q}from"./cli-1.0.8-ke76gxzw.mjs";import{Aha as I,Bha as X}from"./cli-1.0.8-acrtv429.mjs";import{qja as B,tja as V}from"./cli-1.0.8-z96bbp08.mjs";import{xra as T}from"./cli-1.0.8-by017547.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
|
|
2
|
+
export{j as j9,P as k9,Y as l9,S as m9,O as n9,D as o9,Z as p9};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{o3 as v,q3 as D}from"./cli-1.0.8-qzqze1a1.mjs";import{yra as B}from"./cli-1.0.8-by017547.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-1.0.8-d2xvppcs.mjs"),J=z??import("./REPL-1.0.8-r0frprp1.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
|
|
2
|
+
export{N as ab,O as bb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{HY as O}from"./cli-1.0.8-qss5sph3.mjs";import{o3 as X,q3 as Q}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as b}from"./cli-1.0.8-rna8rhza.mjs";import{Yda as W,kea as P}from"./cli-1.0.8-ke76gxzw.mjs";import{tra as U}from"./cli-1.0.8-by017547.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
+
export{V as jb,C as kb};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{D as G0}from"./cli-1.0.8-hbgss955.mjs";import{V as p0}from"./cli-1.0.8-ycxmnmhs.mjs";import{eb as E0}from"./cli-1.0.8-tz68cg1p.mjs";import{jb as k0}from"./cli-1.0.8-htq95mje.mjs";import{Dc as P0,Fc}from"./cli-1.0.8-x4hcncpt.mjs";import{Ic as N,Jc as uc}from"./cli-1.0.8-s6nsgb78.mjs";import{Lc as Q0,Mc as hc}from"./cli-1.0.8-jy0q2dkm.mjs";import{fd as n0,gd as x0}from"./cli-1.0.8-swq5n54q.mjs";import{CG as y0,CM as u0,Cx as l0,DG as _c,EM as r0,HE as Y0,KF as m0,LE as lc,LF as g0,MF as r,OF as A0,On as p,Pn as K0,Qn as f0,Rn as N0,Sn as i0,TF as Y,Tn as d0,UF as M0,VF as Z0,WF as Mc,Wn as W,Xn as j,_S as O0,eM as _0,iT as b0,jR as d,kT as B0,lR as W0,nR as Ic,nT as ac,oM as j0,qT as D0,sT as Tc,yx as X}from"./cli-1.0.8-ykwgcdbt.mjs";import{H0 as x,HY as G,YY as X0,a0 as c0,aZ as oc,c0 as y,g0 as g}from"./cli-1.0.8-qss5sph3.mjs";import{n3 as e,o3 as m,p3 as U,q3 as C}from"./cli-1.0.8-qzqze1a1.mjs";import{P4 as J0,Q4 as nc,h4 as H0,l4 as mc}from"./cli-1.0.8-sqbaxhfc.mjs";import{Ida as V0,Nca as V,Oda as s,Rca as J,Rda as t,Tda as q0,Uca as w0,Wca as U0,_ca as k,kea as I0,tfa as z0,wfa as ic}from"./cli-1.0.8-ke76gxzw.mjs";import{qga as R,vga as cc}from"./cli-1.0.8-s5kcxz2r.mjs";import{Oga as C0,Wga as L0,aha as fc}from"./cli-1.0.8-a5h5dhvb.mjs";import{nia as q,qia as E}from"./cli-1.0.8-gmf61bcb.mjs";import{tja as $0}from"./cli-1.0.8-z96bbp08.mjs";import{bka as K,ika as R0,lka as e0}from"./cli-1.0.8-swts6q29.mjs";import{Eoa as T0,Opa as v0,yma as a0}from"./cli-1.0.8-c1m2f995.mjs";import{tra as D,yra as L}from"./cli-1.0.8-by017547.mjs";E();Ic();v0();import{appendFileSync as Rc}from"fs";Tc();oc();M0();fc();ic();lc();E();k();A0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}x0();E();x();k();N0();g0();d0();j();K0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},s0=Z.enabledMcpjsonServers||[],t0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...s0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...t0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(S0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function S0(f){return{label:f,value:f}}M0();l0();j0();r0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();uc();nc();ac();I0();Fc();I0();$0();e0();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}hc();mc();Mc();_c();k();cc();C();function Cc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Lc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function Gf(f,c,i){return wc(f,c,{color:"error",beforeExit:i})}async function wc(f,c,i){let{Text:n}=await import("./ink-1.0.8-pteq28sp.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Lc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function Ef(f,c){f.render(c),G0(),await f.waitUntilExit(),await W0(0)}async function kf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(P0()){let{MigrationDialog:o}=await import("./MigrationDialog-1.0.8-sa3w4fkf.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-1.0.8-j2grnf78.mjs");await z(f,(h)=>m(o,{onDone:()=>{Cc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-1.0.8-6fmeeyg3.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),D0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await B0();if(R("setupScreens_after_claudemd_check"),h){let F=b0(await O0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-1.0.8-d7f3p2f2.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}E0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>p0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-1.0.8-vaqh13j1.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-1.0.8-46gxh8v1.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-1.0.8-qw286z98.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-1.0.8-wbj2exgg.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function pf(f){let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=k0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
+
`;Rc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
+
export{Cc as v,Lc as w,Gf as x,wc as y,z,Ef as A,kf as B,pf as C};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{AT as U,BT as A,wT as N,xT as p,yT as F}from"./cli-1.0.8-4a1exx1w.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.8-abdc5b5p.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.8-ke76gxzw.mjs";import{bka as $,lka as b}from"./cli-1.0.8-swts6q29.mjs";import{xra as G}from"./cli-1.0.8-by017547.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};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ax as g,Cx as Wq,MF as h,Mn as S,Nn as Zq,OF as Fq,On as V,Pn as $q,Sn as p,Tn as zq,kz as c,lR as a,nR as Uq,nz as T,oz as _q,rz as r,sz as Vq,zx as u}from"./cli-1.0.8-ykwgcdbt.mjs";import{DX as j,EX as Qq,FX as m,HX as Xq,KX as d,LX as Yq,rX as w,sX as Nq}from"./cli-1.0.8-apm2cwth.mjs";import{H0 as Lq,QY as v,RY as H,SY as y,a0 as J,c0 as N}from"./cli-1.0.8-qss5sph3.mjs";import{n3 as _,o3 as q,p3 as G,q3 as B}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as Jq}from"./cli-1.0.8-rna8rhza.mjs";import{Nca as b,_ca as Gq}from"./cli-1.0.8-ke76gxzw.mjs";import{tra as e,xra as qq}from"./cli-1.0.8-by017547.mjs";function mq({onThemeSelect:F,showIntroText:I=!1,helpText:X="",showHelpTextBelow:O=!1,hideEscToCancel:x=!1,skipExitHandling:$=!1,onCancel:A}){let[U]=v(),k=H(),{columns:l}=w(),Y=Q.useMemo(()=>c(),[]),Z=Y===null?T(U):null,{setPreviewTheme:K,savePreview:M,cancelPreview:R}=y(),z=u((L)=>L.settings.syntaxHighlightingDisabled??!1),E=g();j("ThemePicker",!0);let W=S("theme:toggleSyntaxHighlighting","ThemePicker","ctrl+t"),i=Q.useCallback(()=>{if(Y===null){let L=!z;b("userSettings",{syntaxHighlightingDisabled:L}),E((P)=>({...P,settings:{...P.settings,syntaxHighlightingDisabled:L}}))}},[Y,z,E]);m("theme:toggleSyntaxHighlighting",i,{context:"ThemePicker"});let f=d($?()=>{}:void 0),D=Q.useMemo(()=>[...[],{label:"Dark mode",value:"dark"},{label:"Light mode",value:"light"},{label:"Dark mode (colorblind-friendly)",value:"dark-daltonized"},{label:"Light mode (colorblind-friendly)",value:"light-daltonized"},{label:"Dark mode (ANSI colors only)",value:"dark-ansi"},{label:"Light mode (ANSI colors only)",value:"light-ansi"},{label:"Terminal default (inherit colors)",value:"terminal"},{label:"Dracula",value:"dracula"},{label:"Catppuccin Mocha (dark)",value:"catppuccin-mocha"},{label:"Catppuccin Latte (light)",value:"catppuccin-latte"},{label:"Tokyo Night",value:"tokyo-night"},{label:"Nord",value:"nord"},{label:"Gruvbox Dark",value:"gruvbox-dark"}],[]),o=Q.useCallback((L)=>{K(L)},[K]),n=Q.useCallback((L)=>{M(),F(L)},[M,F]),s=Q.useCallback(()=>{if(R(),$)A?.();else a(0)},[R,A,$]),t=Y==="env"?`Syntax highlighting disabled (via CLAUDE_CODE_SYNTAX_HIGHLIGHT=${process.env.CLAUDE_CODE_SYNTAX_HIGHLIGHT})`:z?`Syntax highlighting disabled (${W} to enable)`:Z?`Syntax theme: ${Z.theme}${Z.source?` (from ${Z.source})`:""} (${W} to disable)`:`Syntax highlighting enabled (${W} to disable)`,C=G(J,{flexDirection:"column",gap:1,children:[G(J,{flexDirection:"column",gap:1,children:[I?q(N,{children:"Let's get started."}):q(N,{bold:!0,color:"permission",children:"Theme"}),G(J,{flexDirection:"column",children:[q(N,{bold:!0,children:"Choose the text style that looks best with your terminal"}),X&&!O?q(N,{dimColor:!0,children:X}):null]}),q(h,{options:D,onFocus:o,onChange:n,onCancel:s,visibleOptionCount:D.length,defaultValue:k,defaultFocusValue:k})]}),G(J,{flexDirection:"column",width:"100%",children:[q(J,{flexDirection:"column",borderTop:!0,borderBottom:!0,borderLeft:!1,borderRight:!1,borderStyle:"dashed",borderColor:"subtle",children:q(Iq,{patch:Oq,dim:!1,filePath:"demo.js",firstLine:null,width:l})},U),G(N,{dimColor:!0,children:[" ",t]})]})]});if(!I)return G(_,{children:[q(J,{flexDirection:"column",children:C}),O&&X?q(J,{marginLeft:3,children:q(N,{dimColor:!0,children:X})}):null,!x?q(J,{marginTop:1,children:q(N,{dimColor:!0,italic:!0,children:f.pending?G(_,{children:["Press ",f.keyName," again to exit"]}):G(p,{children:[q(V,{shortcut:"Enter",action:"select"}),q(V,{shortcut:"Esc",action:"cancel"})]})})}):null]});return C}var Q,Iq,Oq;var Aq=qq(()=>{Yq();Nq();Lq();Qq();Xq();Zq();Wq();Uq();Gq();Fq();zq();$q();_q();Vq();B();Q=e(Jq(),1),Iq=r,Oq={oldStart:1,newStart:1,oldLines:3,newLines:3,lines:[" function greet() {",'- console.log("Hello, World!");','+ console.log("Hello, Claude!");'," }"]}});
|
|
2
|
+
export{mq as dh,Aq as eh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{xra as g}from"./cli-1.0.8-by017547.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
|
|
2
|
+
export{Bq as qV,d as rV,$J as sV,DJ as tV,GJ as uV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{HY as f}from"./cli-1.0.8-qss5sph3.mjs";import{o3 as p,q3 as c}from"./cli-1.0.8-qzqze1a1.mjs";import{r3 as M}from"./cli-1.0.8-rna8rhza.mjs";import{tra as o}from"./cli-1.0.8-by017547.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
|
|
2
|
+
export{a as lb,l as mb};
|