@claudiolabs/claudin 1.0.4 → 1.0.6
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.6-y5ddd6rm.mjs +1 -0
- package/dist/chunks/App-1.0.6-z0cfvsx2.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.0.6-bp76pand.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.0.6-kb0x64qd.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.0.6-jcaqgq16.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.0.6-0q6kspv2.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.6-jk4g19kb.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.0.6-s65h1n7v.mjs +1 -0
- package/dist/chunks/DiffDialog-1.0.6-6751p16k.mjs +7 -0
- package/dist/chunks/Doctor-1.0.6-cc0tqw44.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.0.6-eebwjw79.mjs +6 -0
- package/dist/chunks/Grove-1.0.6-tyg11yr0.mjs +1 -0
- package/dist/chunks/ITermBackend-1.0.6-qgb1csqa.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.0.6-jgmn19nt.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.0.6-wxwzxegj.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.0.6-zpt6cx2n.mjs +1 -0
- package/dist/chunks/Onboarding-1.0.6-4008ytyb.mjs +1 -0
- package/dist/chunks/ProviderManager-1.0.6-c76hkbn2.mjs +1 -0
- package/dist/chunks/REPL-1.0.6-hg7cv046.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.0.6-2t7j6b2h.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.0.6-mtnwwa4g.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.0.6-6k63h37y.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.6-nwebb6gp.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.0.6-fkq6szhk.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.0.6-c6m3x448.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.0.6-44972q2z.mjs +1 -0
- package/dist/chunks/TrustDialog-1.0.6-g641zp1y.mjs +1 -0
- package/dist/chunks/activeProvider-1.0.6-ae177xqc.mjs +1 -0
- package/dist/chunks/add-dir-1.0.6-eyaavpv6.mjs +1 -0
- package/dist/chunks/agentTypes-1.0.6-qbt1z3ca.mjs +1 -0
- package/dist/chunks/agents-1.0.6-sz53kang.mjs +3 -0
- package/dist/chunks/agents-1.0.6-takpvk31.mjs +110 -0
- package/dist/chunks/api-1.0.6-00s3w079.mjs +1 -0
- package/dist/chunks/asciicast-1.0.6-rh0sh1w1.mjs +1 -0
- package/dist/chunks/assistant-1.0.6-7mq19whz.mjs +1 -0
- package/dist/chunks/auth-1.0.6-a3z8ybme.mjs +1 -0
- package/dist/chunks/auth-1.0.6-bzqx8ws6.mjs +1 -0
- package/dist/chunks/autoMode-1.0.6-m7pgefxn.mjs +48 -0
- package/dist/chunks/autoUpdater-1.0.6-yrfw3qnm.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.0.6-n12f3xrc.mjs +1 -0
- package/dist/chunks/branch-1.0.6-ezwk5k5a.mjs +4 -0
- package/dist/chunks/bridge-1.0.6-b8v3yt2n.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.0.6-nj1zx2fk.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.0.6-qm5685ej.mjs +1 -0
- package/dist/chunks/bridgeMain-1.0.6-8sw3n3ad.mjs +88 -0
- package/dist/chunks/bridgePointer-1.0.6-2smhh25w.mjs +1 -0
- package/dist/chunks/btw-1.0.6-cyy1eqy9.mjs +1 -0
- package/dist/chunks/buddy-1.0.6-jye799sc.mjs +3 -0
- package/dist/chunks/cacache-1.0.6-x530c1sq.mjs +1 -0
- package/dist/chunks/cache-probe-1.0.6-j9g3r3t3.mjs +21 -0
- package/dist/chunks/cacheStats-1.0.6-wn9n7a2f.mjs +4 -0
- package/dist/chunks/caches-1.0.6-jb6nfzzy.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.0.6-nbedzb68.mjs +1 -0
- package/dist/chunks/claudemd-1.0.6-k0ksrf4g.mjs +1 -0
- package/dist/chunks/clear-1.0.6-mwca7g57.mjs +1 -0
- package/dist/chunks/clearTerminal-1.0.6-yxdbxzxq.mjs +1 -0
- package/dist/chunks/cli-1.0.6-0g5ayqzn.mjs +2 -0
- package/dist/chunks/cli-1.0.6-0htc91yb.mjs +2 -0
- package/dist/chunks/cli-1.0.6-0n0gtcr0.mjs +2 -0
- package/dist/chunks/cli-1.0.6-0ndt02kt.mjs +2 -0
- package/dist/chunks/cli-1.0.6-0rh0a1m1.mjs +3 -0
- package/dist/chunks/cli-1.0.6-0v6s0baw.mjs +2 -0
- package/dist/chunks/cli-1.0.6-0z6jg1dt.mjs +2 -0
- package/dist/chunks/cli-1.0.6-0zy5g0r0.mjs +3 -0
- package/dist/chunks/cli-1.0.6-1a002r86.mjs +16 -0
- package/dist/chunks/cli-1.0.6-1eet2296.mjs +2 -0
- package/dist/chunks/cli-1.0.6-1mxskrvk.mjs +2 -0
- package/dist/chunks/cli-1.0.6-1pmvs0sa.mjs +2 -0
- package/dist/chunks/cli-1.0.6-2216bkc9.mjs +18 -0
- package/dist/chunks/cli-1.0.6-256zr6e0.mjs +2 -0
- package/dist/chunks/cli-1.0.6-2kk9k86d.mjs +2 -0
- package/dist/chunks/cli-1.0.6-2ktan1c1.mjs +6 -0
- package/dist/chunks/cli-1.0.6-2q17d8ej.mjs +2 -0
- package/dist/chunks/cli-1.0.6-2taykcm3.mjs +2 -0
- package/dist/chunks/cli-1.0.6-2y4xs66t.mjs +2 -0
- package/dist/chunks/cli-1.0.6-34y44ns8.mjs +2 -0
- package/dist/chunks/cli-1.0.6-36s91tek.mjs +2 -0
- package/dist/chunks/cli-1.0.6-39ebgej3.mjs +9 -0
- package/dist/chunks/cli-1.0.6-3fqch3zx.mjs +2 -0
- package/dist/chunks/cli-1.0.6-3jkvpjb7.mjs +2 -0
- package/dist/chunks/cli-1.0.6-3rnmt44c.mjs +199 -0
- package/dist/chunks/cli-1.0.6-429sbhhn.mjs +2 -0
- package/dist/chunks/cli-1.0.6-43ajeraf.mjs +2 -0
- package/dist/chunks/cli-1.0.6-4jw1053r.mjs +2 -0
- package/dist/chunks/cli-1.0.6-4kafzdd3.mjs +2 -0
- package/dist/chunks/cli-1.0.6-4m8qf7d9.mjs +2 -0
- package/dist/chunks/cli-1.0.6-4pez6ae9.mjs +2 -0
- package/dist/chunks/cli-1.0.6-4pmn22p0.mjs +12 -0
- package/dist/chunks/cli-1.0.6-4r68vt91.mjs +4 -0
- package/dist/chunks/cli-1.0.6-4shdcvhj.mjs +2 -0
- package/dist/chunks/cli-1.0.6-4w9smp0a.mjs +4 -0
- package/dist/chunks/cli-1.0.6-52vkzgxe.mjs +2 -0
- package/dist/chunks/cli-1.0.6-53rqxxkh.mjs +2 -0
- package/dist/chunks/cli-1.0.6-55csqcct.mjs +2 -0
- package/dist/chunks/cli-1.0.6-5esxakc4.mjs +2 -0
- package/dist/chunks/cli-1.0.6-5fd5qjm7.mjs +2 -0
- package/dist/chunks/cli-1.0.6-5kmwcmd1.mjs +25 -0
- package/dist/chunks/cli-1.0.6-5qyfr732.mjs +17 -0
- package/dist/chunks/cli-1.0.6-5tx13t22.mjs +2 -0
- package/dist/chunks/cli-1.0.6-61qpjst5.mjs +2 -0
- package/dist/chunks/cli-1.0.6-620sz5j0.mjs +2 -0
- package/dist/chunks/cli-1.0.6-6a9gyk3y.mjs +12 -0
- package/dist/chunks/cli-1.0.6-6g4hkpj7.mjs +4 -0
- package/dist/chunks/cli-1.0.6-6h5a9gax.mjs +2 -0
- package/dist/chunks/cli-1.0.6-6hs6qqxv.mjs +2 -0
- package/dist/chunks/cli-1.0.6-6x2aqc5w.mjs +3 -0
- package/dist/chunks/cli-1.0.6-6zh1kz2j.mjs +2 -0
- package/dist/chunks/cli-1.0.6-6zqt7f43.mjs +59 -0
- package/dist/chunks/cli-1.0.6-74km5nc4.mjs +2 -0
- package/dist/chunks/cli-1.0.6-77j29wff.mjs +2 -0
- package/dist/chunks/cli-1.0.6-78gtt741.mjs +2 -0
- package/dist/chunks/cli-1.0.6-7dcdpthr.mjs +2 -0
- package/dist/chunks/cli-1.0.6-7ebqg37b.mjs +2 -0
- package/dist/chunks/cli-1.0.6-7qta6sp0.mjs +12 -0
- package/dist/chunks/cli-1.0.6-7rxsh83h.mjs +2 -0
- package/dist/chunks/cli-1.0.6-7sc6kks8.mjs +2 -0
- package/dist/chunks/cli-1.0.6-7wtv8nwt.mjs +2 -0
- package/dist/chunks/cli-1.0.6-80ts2fsy.mjs +2 -0
- package/dist/chunks/cli-1.0.6-831s2dg1.mjs +2 -0
- package/dist/chunks/cli-1.0.6-85rq113c.mjs +2 -0
- package/dist/chunks/cli-1.0.6-86chdw6e.mjs +2 -0
- package/dist/chunks/cli-1.0.6-8k0axbmg.mjs +3 -0
- package/dist/chunks/cli-1.0.6-8kamwh44.mjs +15 -0
- package/dist/chunks/cli-1.0.6-8svdc6qx.mjs +2 -0
- package/dist/chunks/cli-1.0.6-8tj1qeak.mjs +2 -0
- package/dist/chunks/cli-1.0.6-8v7ggr2e.mjs +6 -0
- package/dist/chunks/cli-1.0.6-8xtkd26m.mjs +2 -0
- package/dist/chunks/cli-1.0.6-8zcjrs1k.mjs +2 -0
- package/dist/chunks/cli-1.0.6-93qsrgeq.mjs +2 -0
- package/dist/chunks/cli-1.0.6-967pphy3.mjs +3 -0
- package/dist/chunks/cli-1.0.6-9be2xem8.mjs +4 -0
- package/dist/chunks/cli-1.0.6-9m9h23m8.mjs +2 -0
- package/dist/chunks/cli-1.0.6-9p90g9dg.mjs +7 -0
- package/dist/chunks/cli-1.0.6-9pj529zy.mjs +2 -0
- package/dist/chunks/cli-1.0.6-a9n4dj4c.mjs +2 -0
- package/dist/chunks/cli-1.0.6-a9z7f8hm.mjs +2 -0
- package/dist/chunks/cli-1.0.6-aasgkcf0.mjs +3 -0
- package/dist/chunks/cli-1.0.6-anxd75mm.mjs +2 -0
- package/dist/chunks/cli-1.0.6-apvttvwc.mjs +3 -0
- package/dist/chunks/cli-1.0.6-bghnbyek.mjs +2 -0
- package/dist/chunks/cli-1.0.6-bjz810zw.mjs +2 -0
- package/dist/chunks/cli-1.0.6-c3q3ytrc.mjs +2 -0
- package/dist/chunks/cli-1.0.6-cbv9sb7j.mjs +4 -0
- package/dist/chunks/cli-1.0.6-chfda1vf.mjs +2 -0
- package/dist/chunks/cli-1.0.6-ckyrvbe3.mjs +2 -0
- package/dist/chunks/cli-1.0.6-ct081pz5.mjs +2 -0
- package/dist/chunks/cli-1.0.6-d3y2kbdq.mjs +2 -0
- package/dist/chunks/cli-1.0.6-d4d0xfxp.mjs +5 -0
- package/dist/chunks/cli-1.0.6-d8gyb25m.mjs +15 -0
- package/dist/chunks/cli-1.0.6-d9ryhkjn.mjs +2 -0
- package/dist/chunks/cli-1.0.6-dk4qdtxs.mjs +2 -0
- package/dist/chunks/cli-1.0.6-e3cstemm.mjs +67 -0
- package/dist/chunks/cli-1.0.6-f4f6x83j.mjs +24 -0
- package/dist/chunks/cli-1.0.6-f80wk918.mjs +2 -0
- package/dist/chunks/cli-1.0.6-f82p2yzk.mjs +39 -0
- package/dist/chunks/cli-1.0.6-fggt191f.mjs +2 -0
- package/dist/chunks/cli-1.0.6-fj626dhh.mjs +2 -0
- package/dist/chunks/cli-1.0.6-g4v1k4vj.mjs +2 -0
- package/dist/chunks/cli-1.0.6-g9s2ts6j.mjs +2 -0
- package/dist/chunks/cli-1.0.6-gjtt9hjc.mjs +5471 -0
- package/dist/chunks/cli-1.0.6-hcq3hbzz.mjs +3 -0
- package/dist/chunks/cli-1.0.6-hjqc9sb8.mjs +2 -0
- package/dist/chunks/cli-1.0.6-hkaszwz8.mjs +2 -0
- package/dist/chunks/cli-1.0.6-hn9p22wz.mjs +2 -0
- package/dist/chunks/cli-1.0.6-hv2dry5y.mjs +2 -0
- package/dist/chunks/cli-1.0.6-j12sf764.mjs +2 -0
- package/dist/chunks/cli-1.0.6-j3b1c7v8.mjs +2 -0
- package/dist/chunks/cli-1.0.6-j5xkwr5w.mjs +17 -0
- package/dist/chunks/cli-1.0.6-j6sxw4gg.mjs +2 -0
- package/dist/chunks/cli-1.0.6-jfnnwqdv.mjs +4 -0
- package/dist/chunks/cli-1.0.6-jqa1byr3.mjs +2 -0
- package/dist/chunks/cli-1.0.6-jrrb4qbg.mjs +2 -0
- package/dist/chunks/cli-1.0.6-jwysg2r7.mjs +2 -0
- package/dist/chunks/cli-1.0.6-jyqjk8ym.mjs +2 -0
- package/dist/chunks/cli-1.0.6-kajb476n.mjs +2 -0
- package/dist/chunks/cli-1.0.6-kgver18c.mjs +2 -0
- package/dist/chunks/cli-1.0.6-khth3f6c.mjs +1 -0
- package/dist/chunks/cli-1.0.6-kx801kag.mjs +4 -0
- package/dist/chunks/cli-1.0.6-m747en7y.mjs +50 -0
- package/dist/chunks/cli-1.0.6-m96da95q.mjs +2 -0
- package/dist/chunks/cli-1.0.6-mapf4yym.mjs +2 -0
- package/dist/chunks/cli-1.0.6-mgb1vzp0.mjs +6 -0
- package/dist/chunks/cli-1.0.6-mgk6361j.mjs +4 -0
- package/dist/chunks/cli-1.0.6-mt3y4qmj.mjs +18 -0
- package/dist/chunks/cli-1.0.6-mwb4199d.mjs +3 -0
- package/dist/chunks/cli-1.0.6-mzqatpet.mjs +6 -0
- package/dist/chunks/cli-1.0.6-n3apbtd5.mjs +2 -0
- package/dist/chunks/cli-1.0.6-n6yd76q7.mjs +2 -0
- package/dist/chunks/cli-1.0.6-n9zhw61e.mjs +2 -0
- package/dist/chunks/cli-1.0.6-nb4f2zfq.mjs +2 -0
- package/dist/chunks/cli-1.0.6-nbxf3acf.mjs +2 -0
- package/dist/chunks/cli-1.0.6-njnv92az.mjs +2 -0
- package/dist/chunks/cli-1.0.6-nke3e3mv.mjs +2 -0
- package/dist/chunks/cli-1.0.6-nphrz836.mjs +34 -0
- package/dist/chunks/cli-1.0.6-npng9y9t.mjs +2 -0
- package/dist/chunks/cli-1.0.6-nyh2gact.mjs +133 -0
- package/dist/chunks/cli-1.0.6-p2syhbmk.mjs +24 -0
- package/dist/chunks/cli-1.0.6-pem0rvy0.mjs +2 -0
- package/dist/chunks/cli-1.0.6-pgc0vpjm.mjs +2 -0
- package/dist/chunks/cli-1.0.6-pgwdn1q5.mjs +2 -0
- package/dist/chunks/cli-1.0.6-px4bsvf6.mjs +2 -0
- package/dist/chunks/cli-1.0.6-q2yz709r.mjs +2 -0
- package/dist/chunks/cli-1.0.6-q79ba7ng.mjs +24 -0
- package/dist/chunks/cli-1.0.6-qnmkmcq4.mjs +2 -0
- package/dist/chunks/cli-1.0.6-qp2em1hm.mjs +2 -0
- package/dist/chunks/cli-1.0.6-qt11m0ak.mjs +2 -0
- package/dist/chunks/cli-1.0.6-r0n4r13f.mjs +18 -0
- package/dist/chunks/cli-1.0.6-r2508q6q.mjs +2 -0
- package/dist/chunks/cli-1.0.6-r6mzt599.mjs +3 -0
- package/dist/chunks/cli-1.0.6-rkbbyfm8.mjs +21 -0
- package/dist/chunks/cli-1.0.6-rm2htcb3.mjs +2 -0
- package/dist/chunks/cli-1.0.6-rp7q90tp.mjs +42 -0
- package/dist/chunks/cli-1.0.6-rsj4zt4n.mjs +2 -0
- package/dist/chunks/cli-1.0.6-rwke4nxh.mjs +3 -0
- package/dist/chunks/cli-1.0.6-rx5w7fx8.mjs +2 -0
- package/dist/chunks/cli-1.0.6-ry340c4k.mjs +133 -0
- package/dist/chunks/cli-1.0.6-s333n5zg.mjs +8 -0
- package/dist/chunks/cli-1.0.6-s8neseq2.mjs +4 -0
- package/dist/chunks/cli-1.0.6-shakqp36.mjs +2 -0
- package/dist/chunks/cli-1.0.6-snj1v3kf.mjs +2 -0
- package/dist/chunks/cli-1.0.6-sq2d4y85.mjs +2 -0
- package/dist/chunks/cli-1.0.6-sw7g4tgd.mjs +2 -0
- package/dist/chunks/cli-1.0.6-sws40pv9.mjs +2 -0
- package/dist/chunks/cli-1.0.6-t9r7rn29.mjs +2 -0
- package/dist/chunks/cli-1.0.6-tnt5gdq6.mjs +3 -0
- package/dist/chunks/cli-1.0.6-tw4tv5c3.mjs +2 -0
- package/dist/chunks/cli-1.0.6-v08hd9y9.mjs +2 -0
- package/dist/chunks/cli-1.0.6-va933r6s.mjs +2 -0
- package/dist/chunks/cli-1.0.6-vmwnjv3e.mjs +12 -0
- package/dist/chunks/cli-1.0.6-vpwqryae.mjs +45 -0
- package/dist/chunks/cli-1.0.6-vw4q8h8f.mjs +20 -0
- package/dist/chunks/cli-1.0.6-w3ewev2t.mjs +2 -0
- package/dist/chunks/cli-1.0.6-w3xpmc0m.mjs +2 -0
- package/dist/chunks/cli-1.0.6-wc676ed5.mjs +2 -0
- package/dist/chunks/cli-1.0.6-wgprm90p.mjs +2 -0
- package/dist/chunks/cli-1.0.6-wqqq5eh9.mjs +2 -0
- package/dist/chunks/cli-1.0.6-wvn01egx.mjs +2 -0
- package/dist/chunks/cli-1.0.6-x2m8wf3s.mjs +15 -0
- package/dist/chunks/cli-1.0.6-x6q5yg4p.mjs +2 -0
- package/dist/chunks/cli-1.0.6-xgntnn4t.mjs +2 -0
- package/dist/chunks/cli-1.0.6-xhmby05p.mjs +2 -0
- package/dist/chunks/cli-1.0.6-xk2ttvjs.mjs +2 -0
- package/dist/chunks/cli-1.0.6-xr79bf4b.mjs +58 -0
- package/dist/chunks/cli-1.0.6-xsbxh0be.mjs +2 -0
- package/dist/chunks/cli-1.0.6-xx7yggj6.mjs +2 -0
- package/dist/chunks/cli-1.0.6-y406hq26.mjs +2 -0
- package/dist/chunks/cli-1.0.6-y7y63cz5.mjs +25 -0
- package/dist/chunks/cli-1.0.6-y84yqp9s.mjs +9 -0
- package/dist/chunks/cli-1.0.6-yfs94tn1.mjs +2 -0
- package/dist/chunks/cli-1.0.6-ykfbjap8.mjs +4 -0
- package/dist/chunks/cli-1.0.6-ypbzk2re.mjs +2 -0
- package/dist/chunks/cli-1.0.6-ytd9vx4t.mjs +5 -0
- package/dist/chunks/cli-1.0.6-z06mmyvr.mjs +6 -0
- package/dist/chunks/cli-1.0.6-z1vvz38s.mjs +2 -0
- package/dist/chunks/cli-1.0.6-z6c3g4jy.mjs +2 -0
- package/dist/chunks/cli-1.0.6-zbbh8d20.mjs +2 -0
- package/dist/chunks/cli-1.0.6-zcnjjez0.mjs +3 -0
- package/dist/chunks/client-1.0.6-n3e1kq6z.mjs +1 -0
- package/dist/chunks/color-1.0.6-949mf4t9.mjs +1 -0
- package/dist/chunks/compact-1.0.6-pk763zz3.mjs +3 -0
- package/dist/chunks/config-1.0.6-bysc6622.mjs +1 -0
- package/dist/chunks/config-1.0.6-tgr3szh4.mjs +1 -0
- package/dist/chunks/constants-1.0.6-2ytt6s63.mjs +1 -0
- package/dist/chunks/context-1.0.6-c6a94j19.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.0.6-rs66dgc4.mjs +1 -0
- package/dist/chunks/conversation-1.0.6-jg2wrz10.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.0.6-pqtevy6f.mjs +1 -0
- package/dist/chunks/copy-1.0.6-8q0c5rxd.mjs +9 -0
- package/dist/chunks/cost-1.0.6-99qahzn2.mjs +1 -0
- package/dist/chunks/createSSHSession-1.0.6-d9m8hpvm.mjs +1 -0
- package/dist/chunks/createSession-1.0.6-bst3zcfv.mjs +1 -0
- package/dist/chunks/debug-1.0.6-sp18ckyq.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.0.6-264e52qb.mjs +1446 -0
- package/dist/chunks/desktop-1.0.6-8f041exs.mjs +1 -0
- package/dist/chunks/detectRepository-1.0.6-5xtpjm37.mjs +1 -0
- package/dist/chunks/detection-1.0.6-rqwbmfnt.mjs +1 -0
- package/dist/chunks/diff-1.0.6-2tfee48c.mjs +1 -0
- package/dist/chunks/doctor-1.0.6-8cd8a94q.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.0.6-2waz13fa.mjs +1 -0
- package/dist/chunks/earlyInput-1.0.6-xz3zmash.mjs +1 -0
- package/dist/chunks/effort-1.0.6-sxass88w.mjs +10 -0
- package/dist/chunks/engine-1.0.6-m67y6tar.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.0.6-96am9ft2.mjs +1 -0
- package/dist/chunks/envUtils-1.0.6-rwrw23sx.mjs +1 -0
- package/dist/chunks/environmentSelection-1.0.6-eafb1t40.mjs +1 -0
- package/dist/chunks/environments-1.0.6-4rbtnxhr.mjs +1 -0
- package/dist/chunks/errors-1.0.6-tw2j2j5x.mjs +1 -0
- package/dist/chunks/exampleCommands-1.0.6-nme5mfvh.mjs +1 -0
- package/dist/chunks/exit-1.0.6-0nhvqr67.mjs +1 -0
- package/dist/chunks/explorer-1.0.6-9va9rmay.mjs +1 -0
- package/dist/chunks/export-1.0.6-42k6mg0d.mjs +2 -0
- package/dist/chunks/extra-usage-1.0.6-1ts30zcb.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.0.6-ccj017df.mjs +1 -0
- package/dist/chunks/fast-1.0.6-hng6hkgq.mjs +1 -0
- package/dist/chunks/feedback-1.0.6-5xpevqgs.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.0.6-y50d073s.mjs +1 -0
- package/dist/chunks/git-1.0.6-vdebxyc7.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.0.6-1am8vwv9.mjs +1 -0
- package/dist/chunks/goal-1.0.6-ragq8khs.mjs +4 -0
- package/dist/chunks/grove-1.0.6-94e2ae96.mjs +1 -0
- package/dist/chunks/growthbook-1.0.6-q95706fh.mjs +1 -0
- package/dist/chunks/headless-1.0.6-2jvpkaj6.mjs +2 -0
- package/dist/chunks/heapdump-1.0.6-6mqe5yjj.mjs +6 -0
- package/dist/chunks/help-1.0.6-3f56hs2r.mjs +1 -0
- package/dist/chunks/hookChains-1.0.6-bsdqvn2p.mjs +3 -0
- package/dist/chunks/hooks-1.0.6-2ymh39cf.mjs +79 -0
- package/dist/chunks/hooks-1.0.6-d56f9xmd.mjs +1 -0
- package/dist/chunks/ide-1.0.6-0hyhzmhe.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.0.6-xf9rg916.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.0.6-fz8n9ms8.mjs +1 -0
- package/dist/chunks/index-1.0.6-2bck3pt4.mjs +30 -0
- package/dist/chunks/index-1.0.6-3g0nsrkv.mjs +17 -0
- package/dist/chunks/index-1.0.6-3y7jxvhy.mjs +1 -0
- package/dist/chunks/index-1.0.6-478y2m6e.mjs +2 -0
- package/dist/chunks/index-1.0.6-4b1e7s1x.mjs +1 -0
- package/dist/chunks/index-1.0.6-58j0s67x.mjs +1 -0
- package/dist/chunks/index-1.0.6-5bgvzt3z.mjs +1 -0
- package/dist/chunks/index-1.0.6-5vphvdyy.mjs +1 -0
- package/dist/chunks/index-1.0.6-66q2r5rv.mjs +1 -0
- package/dist/chunks/index-1.0.6-7eqcsb13.mjs +9 -0
- package/dist/chunks/index-1.0.6-7mybgpvp.mjs +9 -0
- package/dist/chunks/index-1.0.6-9h6qgr9j.mjs +1 -0
- package/dist/chunks/index-1.0.6-a1je2hj0.mjs +5 -0
- package/dist/chunks/index-1.0.6-dzem1xyw.mjs +1 -0
- package/dist/chunks/index-1.0.6-h1kbzgbr.mjs +1 -0
- package/dist/chunks/index-1.0.6-jr8edr28.mjs +1 -0
- package/dist/chunks/index-1.0.6-kb626zfj.mjs +1 -0
- package/dist/chunks/index-1.0.6-scap8ztx.mjs +1 -0
- package/dist/chunks/index-1.0.6-sfn887je.mjs +1 -0
- package/dist/chunks/index-1.0.6-trrzmzqw.mjs +2 -0
- package/dist/chunks/index-1.0.6-vxgxky1j.mjs +1 -0
- package/dist/chunks/index-1.0.6-xw59t9mn.mjs +1 -0
- package/dist/chunks/index-1.0.6-zefh4dqr.mjs +1 -0
- package/dist/chunks/init-1.0.6-ceew1r40.mjs +1 -0
- package/dist/chunks/initReplBridge-1.0.6-q0q0cs0q.mjs +1 -0
- package/dist/chunks/ink-1.0.6-egfpysk6.mjs +1 -0
- package/dist/chunks/insights-1.0.6-2jg25rtq.mjs +870 -0
- package/dist/chunks/install-1.0.6-g2wbzhrp.mjs +1 -0
- package/dist/chunks/install-github-app-1.0.6-wkch2k0a.mjs +149 -0
- package/dist/chunks/install-slack-app-1.0.6-t0yx4g99.mjs +1 -0
- package/dist/chunks/instrumentation-1.0.6-rchtz4a0.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.0.6-y17rjqq1.mjs +1 -0
- package/dist/chunks/keybindings-1.0.6-fwfn3ph3.mjs +2 -0
- package/dist/chunks/knowledge-1.0.6-ec5ygwxq.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.0.6-v868fdtg.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.0.6-tqjw33x8.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.6-0ep8t6k1.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.0.6-qnt1qmw9.mjs +1 -0
- package/dist/chunks/log-1.0.6-k9cgc2n4.mjs +1 -0
- package/dist/chunks/main-1.0.6-nqg7gj8m.mjs +1 -0
- package/dist/chunks/managedEnv-1.0.6-5ew1phra.mjs +1 -0
- package/dist/chunks/mcp-1.0.6-3knsgg6d.mjs +17 -0
- package/dist/chunks/mcp-1.0.6-na22t28a.mjs +1 -0
- package/dist/chunks/mcp-1.0.6-zkyhgas3.mjs +4 -0
- package/dist/chunks/mcpb-1.0.6-g3b1zqxb.mjs +1 -0
- package/dist/chunks/memory-1.0.6-atzzmaad.mjs +3 -0
- package/dist/chunks/model-1.0.6-57z0x37s.mjs +1 -0
- package/dist/chunks/model-1.0.6-843dkkfz.mjs +2 -0
- package/dist/chunks/node-1.0.6-vxbhm4hf.mjs +12 -0
- package/dist/chunks/oauth-1.0.6-cfc8agdv.mjs +1 -0
- package/dist/chunks/openaiShim-1.0.6-zsb0hbxr.mjs +14 -0
- package/dist/chunks/output-style-1.0.6-qbmq3rnf.mjs +1 -0
- package/dist/chunks/package-ZZWOLTXM-1.0.6-tkz3dr14.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.0.6-j4d5nn9v.mjs +1 -0
- package/dist/chunks/parser-1.0.6-v2vwmn92.mjs +1 -0
- package/dist/chunks/passes-1.0.6-n7gy2bm9.mjs +1 -0
- package/dist/chunks/permissions-1.0.6-p5k4trnb.mjs +3 -0
- package/dist/chunks/permissions-1.0.6-sdaqy7tv.mjs +1 -0
- package/dist/chunks/plan-1.0.6-dsq3488z.mjs +1 -0
- package/dist/chunks/plist-1.0.6-gpg0h2dj.mjs +1 -0
- package/dist/chunks/plugin-1.0.6-kj0t0xry.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.0.6-tr3d9de5.mjs +1 -0
- package/dist/chunks/plugins-1.0.6-7kctwa0e.mjs +9 -0
- package/dist/chunks/preActionHook-1.0.6-qfq4qcnx.mjs +2 -0
- package/dist/chunks/print-1.0.6-9k27napw.mjs +57 -0
- package/dist/chunks/privacy-settings-1.0.6-pmkcm2k6.mjs +1 -0
- package/dist/chunks/process-1.0.6-yjr9qgm0.mjs +1 -0
- package/dist/chunks/processBashCommand-1.0.6-hjsegdwx.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.0.6-qtste297.mjs +9 -0
- package/dist/chunks/prompt-1.0.6-3pz6ez1b.mjs +1 -0
- package/dist/chunks/prompt-1.0.6-gz6pqd71.mjs +1 -0
- package/dist/chunks/prompts-1.0.6-dds21kka.mjs +1 -0
- package/dist/chunks/protocolHandler-1.0.6-0ks875v7.mjs +13 -0
- package/dist/chunks/provider-1.0.6-9a1x17c8.mjs +2 -0
- package/dist/chunks/providerProfiles-1.0.6-rk717k78.mjs +1 -0
- package/dist/chunks/providerValidation-1.0.6-e3rpsc9f.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.0.6-90etm2re.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.0.6-nvtknss4.mjs +34 -0
- package/dist/chunks/registry-1.0.6-g4g3tqbv.mjs +1 -0
- package/dist/chunks/release-notes-1.0.6-1s9np58q.mjs +5 -0
- package/dist/chunks/reload-plugins-1.0.6-3dd0aedh.mjs +2 -0
- package/dist/chunks/remote-env-1.0.6-gyn1ez8r.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.0.6-g9538ytn.mjs +1 -0
- package/dist/chunks/remoteSession-1.0.6-mta0cnmb.mjs +1 -0
- package/dist/chunks/rename-1.0.6-q495btpz.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.0.6-v46krtrw.mjs +1 -0
- package/dist/chunks/replLauncher-1.0.6-cc276asy.mjs +1 -0
- package/dist/chunks/resume-1.0.6-f7sxdm3s.mjs +2 -0
- package/dist/chunks/rewind-1.0.6-6stqe269.mjs +1 -0
- package/dist/chunks/rootOptions-1.0.6-j78xfj1y.mjs +1 -0
- package/dist/chunks/sandbox-adapter-1.0.6-901t5paa.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.0.6-vc10zpq8.mjs +1 -0
- package/dist/chunks/session-1.0.6-gjwdmj9d.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.0.6-r2ydd9s8.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.0.6-9dvjq66r.mjs +1 -0
- package/dist/chunks/sessionStorage-1.0.6-6xf0298f.mjs +1 -0
- package/dist/chunks/settings-1.0.6-369qbnap.mjs +1 -0
- package/dist/chunks/setup-1.0.6-n8ec75ht.mjs +5 -0
- package/dist/chunks/sinks-1.0.6-h7v83r07.mjs +1 -0
- package/dist/chunks/skills-1.0.6-srbnw6db.mjs +1 -0
- package/dist/chunks/startupProfiler-1.0.6-bt2rwgd4.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.0.6-hs9cecpe.mjs +1 -0
- package/dist/chunks/state-1.0.6-3m5c8zpc.mjs +1 -0
- package/dist/chunks/stats-1.0.6-df87fq0j.mjs +6 -0
- package/dist/chunks/status-1.0.6-0wmbys8d.mjs +1 -0
- package/dist/chunks/stickers-1.0.6-rn50x1rq.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.0.6-1p34363n.mjs +1 -0
- package/dist/chunks/tasks-1.0.6-n9dy1nvm.mjs +1 -0
- package/dist/chunks/teamHelpers-1.0.6-sbqr7ebq.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.0.6-shsz85kr.mjs +1 -0
- package/dist/chunks/teleport-1.0.6-thxx543v.mjs +1 -0
- package/dist/chunks/terminalSetup-1.0.6-2abyvwnm.mjs +1 -0
- package/dist/chunks/theme-1.0.6-3q8wm8dd.mjs +1 -0
- package/dist/chunks/thinkback-1.0.6-sk8ykxzt.mjs +1 -0
- package/dist/chunks/thinkback-play-1.0.6-6202g18m.mjs +1 -0
- package/dist/chunks/toolPool-1.0.6-7f9ny265.mjs +1 -0
- package/dist/chunks/toolSearch-1.0.6-r927q3n6.mjs +1 -0
- package/dist/chunks/tools-1.0.6-49vtha15.mjs +1 -0
- package/dist/chunks/trustedDevice-1.0.6-12zgjreg.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.0.6-m88jykaz.mjs +69 -0
- package/dist/chunks/types-1.0.6-qcw5ptd7.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.0.6-34s8eh57.mjs +4 -0
- package/dist/chunks/update-1.0.6-10vds9r4.mjs +88 -0
- package/dist/chunks/upgrade-1.0.6-sdwjc086.mjs +1 -0
- package/dist/chunks/upload-1.0.6-tk83fcy2.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.0.6-8d54f9fn.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.0.6-ph7g08x7.mjs +1 -0
- package/dist/chunks/usage-1.0.6-3m17gzhd.mjs +1 -0
- package/dist/chunks/util-1.0.6-wh7h4a5g.mjs +1 -0
- package/dist/chunks/utils-1.0.6-5e17hs3n.mjs +1 -0
- package/dist/chunks/vim-1.0.6-4mjggnma.mjs +1 -0
- package/dist/chunks/watcher-1.0.6-6p1xkebx.mjs +1 -0
- package/dist/chunks/wiki-1.0.6-aysp0kpj.mjs +132 -0
- package/dist/chunks/workflows-1.0.6-rnjxwhns.mjs +1 -0
- package/dist/chunks/worktree-1.0.6-8nfcjmff.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.0.6-4pgx8mqk.mjs +1 -0
- package/dist/chunks/wrapper-1.0.6-crv0bjsj.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/install.cjs +6 -2
- package/package.json +10 -10
- package/dist/chunks/AgentTool-1.0.4-hb5yf83k.mjs +0 -1
- package/dist/chunks/App-1.0.4-ee5phav9.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.0.4-cc8qfn6m.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.0.4-k5b5pnrd.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.0.4-jhajeb8a.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.0.4-9hz5azec.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.4-g51kch7p.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.0.4-29trpvey.mjs +0 -1
- package/dist/chunks/DiffDialog-1.0.4-j8p9yt42.mjs +0 -7
- package/dist/chunks/Doctor-1.0.4-wzrsp6wf.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.0.4-nestptq4.mjs +0 -6
- package/dist/chunks/Grove-1.0.4-7b2m2711.mjs +0 -1
- package/dist/chunks/ITermBackend-1.0.4-hqbevsrb.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.0.4-vtmbvxxd.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.0.4-zreb0vxk.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.0.4-ed1k11kd.mjs +0 -1
- package/dist/chunks/Onboarding-1.0.4-nq3j2bap.mjs +0 -1
- package/dist/chunks/ProviderManager-1.0.4-g7qy6jg1.mjs +0 -1
- package/dist/chunks/REPL-1.0.4-ne32y8dw.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.0.4-fedwb24z.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.0.4-w95m7f1z.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.0.4-ck0a2cmq.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.0.4-w37g1ssr.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.0.4-tk09ztje.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.0.4-a4nja4px.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.0.4-q00g76m2.mjs +0 -1
- package/dist/chunks/TrustDialog-1.0.4-xce6cp69.mjs +0 -1
- package/dist/chunks/activeProvider-1.0.4-w4scey43.mjs +0 -1
- package/dist/chunks/add-dir-1.0.4-xm5qwknc.mjs +0 -1
- package/dist/chunks/agentTypes-1.0.4-he8e2qfd.mjs +0 -1
- package/dist/chunks/agents-1.0.4-k2bdfryr.mjs +0 -110
- package/dist/chunks/agents-1.0.4-mt84dfn1.mjs +0 -3
- package/dist/chunks/api-1.0.4-h4pnj11w.mjs +0 -1
- package/dist/chunks/asciicast-1.0.4-cafbqek9.mjs +0 -1
- package/dist/chunks/assistant-1.0.4-cezj138d.mjs +0 -1
- package/dist/chunks/auth-1.0.4-0t5pss7v.mjs +0 -1
- package/dist/chunks/auth-1.0.4-3y0wgt5g.mjs +0 -1
- package/dist/chunks/autoMode-1.0.4-vssxz3fz.mjs +0 -48
- package/dist/chunks/autoUpdater-1.0.4-drwc61h2.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.0.4-dn72g8zg.mjs +0 -1
- package/dist/chunks/branch-1.0.4-4gv6bbzr.mjs +0 -4
- package/dist/chunks/bridge-1.0.4-fs3148xw.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.0.4-tj7j77dy.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.0.4-g5j98pxj.mjs +0 -1
- package/dist/chunks/bridgeMain-1.0.4-47dp2cx1.mjs +0 -88
- package/dist/chunks/bridgePointer-1.0.4-rz3s97zd.mjs +0 -1
- package/dist/chunks/btw-1.0.4-q0v29hp5.mjs +0 -1
- package/dist/chunks/buddy-1.0.4-f6rknpnr.mjs +0 -3
- package/dist/chunks/cacache-1.0.4-zqddgev2.mjs +0 -1
- package/dist/chunks/cache-probe-1.0.4-qx7ym4r0.mjs +0 -21
- package/dist/chunks/cacheStats-1.0.4-q2mcbsr3.mjs +0 -4
- package/dist/chunks/caches-1.0.4-bsgbkzpc.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.0.4-17ztwd14.mjs +0 -1
- package/dist/chunks/claudemd-1.0.4-zdd5de85.mjs +0 -1
- package/dist/chunks/clear-1.0.4-g3cfj02y.mjs +0 -1
- package/dist/chunks/clearTerminal-1.0.4-xz0azar2.mjs +0 -1
- package/dist/chunks/cli-1.0.4-08e3sn18.mjs +0 -2
- package/dist/chunks/cli-1.0.4-092qjm5g.mjs +0 -25
- package/dist/chunks/cli-1.0.4-09fgpcwb.mjs +0 -2
- package/dist/chunks/cli-1.0.4-0gpk6g88.mjs +0 -2
- package/dist/chunks/cli-1.0.4-0pqf799x.mjs +0 -2
- package/dist/chunks/cli-1.0.4-0vwtrvvh.mjs +0 -16
- package/dist/chunks/cli-1.0.4-0wp27vrg.mjs +0 -67
- package/dist/chunks/cli-1.0.4-1bg07n68.mjs +0 -4
- package/dist/chunks/cli-1.0.4-1ddc8bnh.mjs +0 -2
- package/dist/chunks/cli-1.0.4-1j122zyj.mjs +0 -2
- package/dist/chunks/cli-1.0.4-1xkgwtah.mjs +0 -20
- package/dist/chunks/cli-1.0.4-1ymz8m3g.mjs +0 -2
- package/dist/chunks/cli-1.0.4-23n5aaxp.mjs +0 -2
- package/dist/chunks/cli-1.0.4-2g15f7sw.mjs +0 -2
- package/dist/chunks/cli-1.0.4-2je9hpfv.mjs +0 -50
- package/dist/chunks/cli-1.0.4-2m2spkt1.mjs +0 -2
- package/dist/chunks/cli-1.0.4-2mqbwapd.mjs +0 -2
- package/dist/chunks/cli-1.0.4-2pfh6nzj.mjs +0 -2
- package/dist/chunks/cli-1.0.4-2vrfse65.mjs +0 -2
- package/dist/chunks/cli-1.0.4-2wh24aeg.mjs +0 -24
- package/dist/chunks/cli-1.0.4-3289hbrr.mjs +0 -6
- package/dist/chunks/cli-1.0.4-34jdejmp.mjs +0 -2
- package/dist/chunks/cli-1.0.4-36qx2z1d.mjs +0 -2
- package/dist/chunks/cli-1.0.4-3b0061a4.mjs +0 -2
- package/dist/chunks/cli-1.0.4-3gmj1s7h.mjs +0 -3
- package/dist/chunks/cli-1.0.4-3k3cpavm.mjs +0 -3
- package/dist/chunks/cli-1.0.4-4m4pwdge.mjs +0 -2
- package/dist/chunks/cli-1.0.4-4sfp975c.mjs +0 -2
- package/dist/chunks/cli-1.0.4-4wmw1p17.mjs +0 -24
- package/dist/chunks/cli-1.0.4-54j7kz1n.mjs +0 -2
- package/dist/chunks/cli-1.0.4-5663sqrh.mjs +0 -2
- package/dist/chunks/cli-1.0.4-5c4tptcb.mjs +0 -2
- package/dist/chunks/cli-1.0.4-5e2v63sy.mjs +0 -2
- package/dist/chunks/cli-1.0.4-5e9fa04w.mjs +0 -2
- package/dist/chunks/cli-1.0.4-618n4yb3.mjs +0 -2
- package/dist/chunks/cli-1.0.4-61v9tj7g.mjs +0 -2
- package/dist/chunks/cli-1.0.4-75pszwff.mjs +0 -12
- package/dist/chunks/cli-1.0.4-7b7qaegg.mjs +0 -2
- package/dist/chunks/cli-1.0.4-7hvk5sex.mjs +0 -39
- package/dist/chunks/cli-1.0.4-7jd24agk.mjs +0 -2
- package/dist/chunks/cli-1.0.4-7pxrd0w5.mjs +0 -4
- package/dist/chunks/cli-1.0.4-80hrkybp.mjs +0 -2
- package/dist/chunks/cli-1.0.4-85cb91sn.mjs +0 -4
- package/dist/chunks/cli-1.0.4-8bmfjgvt.mjs +0 -2
- package/dist/chunks/cli-1.0.4-8ed4gxkm.mjs +0 -3
- package/dist/chunks/cli-1.0.4-8gkb1zg5.mjs +0 -8
- package/dist/chunks/cli-1.0.4-8jya5ew3.mjs +0 -2
- package/dist/chunks/cli-1.0.4-8ws7nhff.mjs +0 -2
- package/dist/chunks/cli-1.0.4-8x3m3esm.mjs +0 -2
- package/dist/chunks/cli-1.0.4-95nw81kz.mjs +0 -2
- package/dist/chunks/cli-1.0.4-982xabhy.mjs +0 -2
- package/dist/chunks/cli-1.0.4-9ber6pxx.mjs +0 -2
- package/dist/chunks/cli-1.0.4-9ra8j4rt.mjs +0 -59
- package/dist/chunks/cli-1.0.4-9re52te8.mjs +0 -2
- package/dist/chunks/cli-1.0.4-9w88pg39.mjs +0 -12
- package/dist/chunks/cli-1.0.4-9ysbahqq.mjs +0 -2
- package/dist/chunks/cli-1.0.4-a14svdr8.mjs +0 -1
- package/dist/chunks/cli-1.0.4-avmcefxg.mjs +0 -10
- package/dist/chunks/cli-1.0.4-azntz5z2.mjs +0 -2
- package/dist/chunks/cli-1.0.4-bg0v2cnc.mjs +0 -133
- package/dist/chunks/cli-1.0.4-bn5k1yhp.mjs +0 -2
- package/dist/chunks/cli-1.0.4-bneycyws.mjs +0 -2
- package/dist/chunks/cli-1.0.4-bnsdazas.mjs +0 -3
- package/dist/chunks/cli-1.0.4-c9sh44ne.mjs +0 -2
- package/dist/chunks/cli-1.0.4-cavq6b0d.mjs +0 -2
- package/dist/chunks/cli-1.0.4-cj3nrnbs.mjs +0 -58
- package/dist/chunks/cli-1.0.4-ctmzb5aw.mjs +0 -2
- package/dist/chunks/cli-1.0.4-cwjz9xzp.mjs +0 -2
- package/dist/chunks/cli-1.0.4-d4gb1vbz.mjs +0 -2
- package/dist/chunks/cli-1.0.4-d8bjdz7n.mjs +0 -2
- package/dist/chunks/cli-1.0.4-dj36xg0v.mjs +0 -2
- package/dist/chunks/cli-1.0.4-e26gm32b.mjs +0 -2
- package/dist/chunks/cli-1.0.4-e2mkdvw8.mjs +0 -2
- package/dist/chunks/cli-1.0.4-e76jy4xn.mjs +0 -2
- package/dist/chunks/cli-1.0.4-e86sgy00.mjs +0 -3
- package/dist/chunks/cli-1.0.4-ec3dh8bt.mjs +0 -2
- package/dist/chunks/cli-1.0.4-edbk5qx2.mjs +0 -5
- package/dist/chunks/cli-1.0.4-ef5asahs.mjs +0 -4
- package/dist/chunks/cli-1.0.4-emp66cxw.mjs +0 -2
- package/dist/chunks/cli-1.0.4-eny7y9k8.mjs +0 -6
- package/dist/chunks/cli-1.0.4-ex22h376.mjs +0 -2
- package/dist/chunks/cli-1.0.4-f0t68sye.mjs +0 -2
- package/dist/chunks/cli-1.0.4-f20q38cw.mjs +0 -2
- package/dist/chunks/cli-1.0.4-f2cmhz31.mjs +0 -15
- package/dist/chunks/cli-1.0.4-f62zwjj2.mjs +0 -2
- package/dist/chunks/cli-1.0.4-f8dd3sqs.mjs +0 -2
- package/dist/chunks/cli-1.0.4-f8eaamkf.mjs +0 -2
- package/dist/chunks/cli-1.0.4-f965h6gd.mjs +0 -7
- package/dist/chunks/cli-1.0.4-fbhgecgx.mjs +0 -2
- package/dist/chunks/cli-1.0.4-fc0bzryc.mjs +0 -3
- package/dist/chunks/cli-1.0.4-fcswm1md.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ffvpb7fz.mjs +0 -2
- package/dist/chunks/cli-1.0.4-fsf2c4j5.mjs +0 -2
- package/dist/chunks/cli-1.0.4-fv9x8ks1.mjs +0 -2
- package/dist/chunks/cli-1.0.4-g3vvvtwh.mjs +0 -2
- package/dist/chunks/cli-1.0.4-g9kftkyg.mjs +0 -2
- package/dist/chunks/cli-1.0.4-genhzh1b.mjs +0 -2
- package/dist/chunks/cli-1.0.4-gf8tchp1.mjs +0 -5
- package/dist/chunks/cli-1.0.4-ghv1wb08.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ghzbww61.mjs +0 -34
- package/dist/chunks/cli-1.0.4-gqc15qng.mjs +0 -6
- package/dist/chunks/cli-1.0.4-gssg75hx.mjs +0 -2
- package/dist/chunks/cli-1.0.4-gyjecspm.mjs +0 -2
- package/dist/chunks/cli-1.0.4-hfn9tnb6.mjs +0 -2
- package/dist/chunks/cli-1.0.4-hnrps9q2.mjs +0 -2
- package/dist/chunks/cli-1.0.4-hrw2yb74.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ht7fqqqw.mjs +0 -2
- package/dist/chunks/cli-1.0.4-htrx7sdv.mjs +0 -2
- package/dist/chunks/cli-1.0.4-hvgsrtj6.mjs +0 -3
- package/dist/chunks/cli-1.0.4-hwje79ka.mjs +0 -2
- package/dist/chunks/cli-1.0.4-hyj1dzkq.mjs +0 -3
- package/dist/chunks/cli-1.0.4-j17mhs88.mjs +0 -18
- package/dist/chunks/cli-1.0.4-jvp0mp87.mjs +0 -5471
- package/dist/chunks/cli-1.0.4-jxsb0m86.mjs +0 -2
- package/dist/chunks/cli-1.0.4-jy8qt85n.mjs +0 -2
- package/dist/chunks/cli-1.0.4-k16cwcs0.mjs +0 -2
- package/dist/chunks/cli-1.0.4-k20sr786.mjs +0 -3
- package/dist/chunks/cli-1.0.4-k6gh1b1a.mjs +0 -2
- package/dist/chunks/cli-1.0.4-kbfs3rn2.mjs +0 -3
- package/dist/chunks/cli-1.0.4-kc0ty8k1.mjs +0 -2
- package/dist/chunks/cli-1.0.4-kv0e5nm5.mjs +0 -2
- package/dist/chunks/cli-1.0.4-m240wvtt.mjs +0 -9
- package/dist/chunks/cli-1.0.4-n5mydt2f.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ndy339bx.mjs +0 -2
- package/dist/chunks/cli-1.0.4-nfpfve45.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ng8nc24b.mjs +0 -2
- package/dist/chunks/cli-1.0.4-nws4fp34.mjs +0 -2
- package/dist/chunks/cli-1.0.4-nz4ff6hn.mjs +0 -18
- package/dist/chunks/cli-1.0.4-p618f4eb.mjs +0 -2
- package/dist/chunks/cli-1.0.4-pae9c0v0.mjs +0 -18
- package/dist/chunks/cli-1.0.4-pxqvx117.mjs +0 -3
- package/dist/chunks/cli-1.0.4-q00a51mt.mjs +0 -4
- package/dist/chunks/cli-1.0.4-q0rnwhn4.mjs +0 -199
- package/dist/chunks/cli-1.0.4-q97cke3f.mjs +0 -2
- package/dist/chunks/cli-1.0.4-qdsf8s2n.mjs +0 -5
- package/dist/chunks/cli-1.0.4-qka1j546.mjs +0 -4
- package/dist/chunks/cli-1.0.4-qng8dpqh.mjs +0 -2
- package/dist/chunks/cli-1.0.4-qpymvg0c.mjs +0 -25
- package/dist/chunks/cli-1.0.4-r4h3tk3k.mjs +0 -17
- package/dist/chunks/cli-1.0.4-r8mtbv7z.mjs +0 -42
- package/dist/chunks/cli-1.0.4-r8x4yv46.mjs +0 -2
- package/dist/chunks/cli-1.0.4-rf2k7z5d.mjs +0 -2
- package/dist/chunks/cli-1.0.4-rhq4w2pj.mjs +0 -2
- package/dist/chunks/cli-1.0.4-rjgeb0fh.mjs +0 -12
- package/dist/chunks/cli-1.0.4-rkb3rkfa.mjs +0 -2
- package/dist/chunks/cli-1.0.4-rkhq9n0r.mjs +0 -12
- package/dist/chunks/cli-1.0.4-rkw1vtxv.mjs +0 -2
- package/dist/chunks/cli-1.0.4-rmrpsgq6.mjs +0 -24
- package/dist/chunks/cli-1.0.4-rntkbdpm.mjs +0 -2
- package/dist/chunks/cli-1.0.4-rsdrrjzt.mjs +0 -4
- package/dist/chunks/cli-1.0.4-rtwmycp0.mjs +0 -2
- package/dist/chunks/cli-1.0.4-s4sdhvre.mjs +0 -2
- package/dist/chunks/cli-1.0.4-s6m720bj.mjs +0 -2
- package/dist/chunks/cli-1.0.4-s8qwtd3t.mjs +0 -2
- package/dist/chunks/cli-1.0.4-scpa8zjb.mjs +0 -2
- package/dist/chunks/cli-1.0.4-sm5wfdec.mjs +0 -2
- package/dist/chunks/cli-1.0.4-t0zs4sf6.mjs +0 -2
- package/dist/chunks/cli-1.0.4-t915kvpv.mjs +0 -2
- package/dist/chunks/cli-1.0.4-th3f10e2.mjs +0 -2
- package/dist/chunks/cli-1.0.4-tt7ejrct.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ttn7e3zf.mjs +0 -3
- package/dist/chunks/cli-1.0.4-v2973j5k.mjs +0 -15
- package/dist/chunks/cli-1.0.4-vckzcaj2.mjs +0 -2
- package/dist/chunks/cli-1.0.4-vde8kvg5.mjs +0 -4
- package/dist/chunks/cli-1.0.4-vdykgt7q.mjs +0 -2
- package/dist/chunks/cli-1.0.4-vnf5ysx9.mjs +0 -3
- package/dist/chunks/cli-1.0.4-vpcfce7x.mjs +0 -6
- package/dist/chunks/cli-1.0.4-vrfgjvj8.mjs +0 -15
- package/dist/chunks/cli-1.0.4-vwwq0bh3.mjs +0 -2
- package/dist/chunks/cli-1.0.4-vxb33mtd.mjs +0 -4
- package/dist/chunks/cli-1.0.4-w6bsa7jc.mjs +0 -2
- package/dist/chunks/cli-1.0.4-wb91dheq.mjs +0 -2
- package/dist/chunks/cli-1.0.4-wfx4vdv5.mjs +0 -2
- package/dist/chunks/cli-1.0.4-wryebn9y.mjs +0 -2
- package/dist/chunks/cli-1.0.4-x4szzhgq.mjs +0 -2
- package/dist/chunks/cli-1.0.4-x8jnn75c.mjs +0 -2
- package/dist/chunks/cli-1.0.4-xcegbj23.mjs +0 -21
- package/dist/chunks/cli-1.0.4-xjef6vra.mjs +0 -2
- package/dist/chunks/cli-1.0.4-xwh8sxe6.mjs +0 -45
- package/dist/chunks/cli-1.0.4-xwwr77p3.mjs +0 -2
- package/dist/chunks/cli-1.0.4-xxktmt2a.mjs +0 -2
- package/dist/chunks/cli-1.0.4-y1kvcxph.mjs +0 -2
- package/dist/chunks/cli-1.0.4-y8a3yd57.mjs +0 -2
- package/dist/chunks/cli-1.0.4-y9e53xfp.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ya22eazw.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ya3aqyvx.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ygedgw05.mjs +0 -2
- package/dist/chunks/cli-1.0.4-yp6300fv.mjs +0 -2
- package/dist/chunks/cli-1.0.4-yq119gwk.mjs +0 -2
- package/dist/chunks/cli-1.0.4-yq19e16e.mjs +0 -4
- package/dist/chunks/cli-1.0.4-yq6mh0a1.mjs +0 -2
- package/dist/chunks/cli-1.0.4-yrgjsn2v.mjs +0 -17
- package/dist/chunks/cli-1.0.4-ywnv6aw8.mjs +0 -2
- package/dist/chunks/cli-1.0.4-z10ppvxj.mjs +0 -133
- package/dist/chunks/cli-1.0.4-z5zmw573.mjs +0 -2
- package/dist/chunks/cli-1.0.4-zcjfmcay.mjs +0 -2
- package/dist/chunks/cli-1.0.4-zka0z8g9.mjs +0 -2
- package/dist/chunks/cli-1.0.4-znj63zs7.mjs +0 -2
- package/dist/chunks/cli-1.0.4-znmw4kr8.mjs +0 -2
- package/dist/chunks/cli-1.0.4-zpvxzd77.mjs +0 -2
- package/dist/chunks/cli-1.0.4-ztznpg9h.mjs +0 -2
- package/dist/chunks/client-1.0.4-tejrj09r.mjs +0 -1
- package/dist/chunks/color-1.0.4-148b97be.mjs +0 -1
- package/dist/chunks/compact-1.0.4-ky0tgnkb.mjs +0 -3
- package/dist/chunks/config-1.0.4-a5enjc0b.mjs +0 -1
- package/dist/chunks/config-1.0.4-q23nqw9d.mjs +0 -1
- package/dist/chunks/constants-1.0.4-635bzfez.mjs +0 -1
- package/dist/chunks/context-1.0.4-fmdfyxfk.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.0.4-j208qvff.mjs +0 -1
- package/dist/chunks/conversation-1.0.4-mjwd6es3.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.0.4-w8cpfvcn.mjs +0 -1
- package/dist/chunks/copy-1.0.4-3zg2v8v9.mjs +0 -9
- package/dist/chunks/cost-1.0.4-qbz07cgt.mjs +0 -1
- package/dist/chunks/createSSHSession-1.0.4-ck0pjj64.mjs +0 -1
- package/dist/chunks/createSession-1.0.4-zn5jgf43.mjs +0 -1
- package/dist/chunks/debug-1.0.4-dym46dbc.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.0.4-7b6ynz02.mjs +0 -1446
- package/dist/chunks/desktop-1.0.4-b1awqagy.mjs +0 -1
- package/dist/chunks/detectRepository-1.0.4-5ce0vhvf.mjs +0 -1
- package/dist/chunks/detection-1.0.4-02gwawhp.mjs +0 -1
- package/dist/chunks/diff-1.0.4-pn4a7wgt.mjs +0 -1
- package/dist/chunks/doctor-1.0.4-79m6h5bd.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.0.4-kxmkxpsz.mjs +0 -1
- package/dist/chunks/earlyInput-1.0.4-xg5zcr37.mjs +0 -1
- package/dist/chunks/effort-1.0.4-8sdpyadq.mjs +0 -10
- package/dist/chunks/engine-1.0.4-wrn82cfg.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.0.4-x998nrnt.mjs +0 -1
- package/dist/chunks/envUtils-1.0.4-957dzgjm.mjs +0 -1
- package/dist/chunks/environmentSelection-1.0.4-06vjqsxt.mjs +0 -1
- package/dist/chunks/environments-1.0.4-4tzw2x67.mjs +0 -1
- package/dist/chunks/errors-1.0.4-tb1hnmsh.mjs +0 -1
- package/dist/chunks/exampleCommands-1.0.4-hp5tyv1s.mjs +0 -1
- package/dist/chunks/exit-1.0.4-0e0pjfe4.mjs +0 -1
- package/dist/chunks/explorer-1.0.4-kzv9mf71.mjs +0 -1
- package/dist/chunks/export-1.0.4-8yb3xjhz.mjs +0 -2
- package/dist/chunks/extra-usage-1.0.4-ren9nv10.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.0.4-s9hgaf3d.mjs +0 -1
- package/dist/chunks/fast-1.0.4-qb539j3d.mjs +0 -1
- package/dist/chunks/feedback-1.0.4-99yaf8cc.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.0.4-qj82we89.mjs +0 -1
- package/dist/chunks/git-1.0.4-ag4cdf47.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.0.4-62p8s6py.mjs +0 -1
- package/dist/chunks/goal-1.0.4-w76hde3j.mjs +0 -4
- package/dist/chunks/grove-1.0.4-d8k5pbpk.mjs +0 -1
- package/dist/chunks/growthbook-1.0.4-qkc749a9.mjs +0 -1
- package/dist/chunks/headless-1.0.4-4htsajcx.mjs +0 -2
- package/dist/chunks/heapdump-1.0.4-g2n5m54n.mjs +0 -6
- package/dist/chunks/help-1.0.4-mb80yzdd.mjs +0 -1
- package/dist/chunks/hookChains-1.0.4-bhpn5t16.mjs +0 -3
- package/dist/chunks/hooks-1.0.4-3m8at5nd.mjs +0 -1
- package/dist/chunks/hooks-1.0.4-vqe5g9z0.mjs +0 -79
- package/dist/chunks/ide-1.0.4-8w5pj0k7.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.0.4-tn6ykvgm.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.0.4-gs14tq2d.mjs +0 -1
- package/dist/chunks/index-1.0.4-0ds0yar8.mjs +0 -2
- package/dist/chunks/index-1.0.4-0swpjsxv.mjs +0 -1
- package/dist/chunks/index-1.0.4-1adr1cev.mjs +0 -1
- package/dist/chunks/index-1.0.4-2cqwak8f.mjs +0 -1
- package/dist/chunks/index-1.0.4-45r2p2fr.mjs +0 -1
- package/dist/chunks/index-1.0.4-578fqjbt.mjs +0 -5
- package/dist/chunks/index-1.0.4-ak4tdd7x.mjs +0 -1
- package/dist/chunks/index-1.0.4-bq00jtej.mjs +0 -1
- package/dist/chunks/index-1.0.4-d3963jrf.mjs +0 -1
- package/dist/chunks/index-1.0.4-db6y9w6p.mjs +0 -9
- package/dist/chunks/index-1.0.4-eqa6324a.mjs +0 -30
- package/dist/chunks/index-1.0.4-fgtct7wa.mjs +0 -1
- package/dist/chunks/index-1.0.4-fpxnv2m3.mjs +0 -1
- package/dist/chunks/index-1.0.4-kkxqenx5.mjs +0 -17
- package/dist/chunks/index-1.0.4-m48vcxbj.mjs +0 -2
- package/dist/chunks/index-1.0.4-nb8rr4xb.mjs +0 -9
- package/dist/chunks/index-1.0.4-q4bjsgf0.mjs +0 -1
- package/dist/chunks/index-1.0.4-qj0raz1t.mjs +0 -1
- package/dist/chunks/index-1.0.4-rb8h15jh.mjs +0 -1
- package/dist/chunks/index-1.0.4-vhzdmbc5.mjs +0 -1
- package/dist/chunks/index-1.0.4-xadhy3m9.mjs +0 -1
- package/dist/chunks/index-1.0.4-ynqjejnh.mjs +0 -1
- package/dist/chunks/index-1.0.4-zw32d5rq.mjs +0 -1
- package/dist/chunks/init-1.0.4-tdv5z99g.mjs +0 -1
- package/dist/chunks/initReplBridge-1.0.4-rg2exhh0.mjs +0 -1
- package/dist/chunks/ink-1.0.4-w371tr8m.mjs +0 -1
- package/dist/chunks/insights-1.0.4-26m6wmhe.mjs +0 -870
- package/dist/chunks/install-1.0.4-k86wrfgy.mjs +0 -1
- package/dist/chunks/install-github-app-1.0.4-kztkmzd8.mjs +0 -149
- package/dist/chunks/install-slack-app-1.0.4-jr818vd2.mjs +0 -1
- package/dist/chunks/instrumentation-1.0.4-07hsrhzg.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.0.4-s8cew0a4.mjs +0 -1
- package/dist/chunks/keybindings-1.0.4-swcsebxv.mjs +0 -2
- package/dist/chunks/knowledge-1.0.4-fmpjrqf4.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.0.4-q89arrb0.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.0.4-7pg9fk0z.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.4-djam30bs.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.0.4-nntzjww6.mjs +0 -1
- package/dist/chunks/log-1.0.4-q4mkknks.mjs +0 -1
- package/dist/chunks/main-1.0.4-fpq69x53.mjs +0 -1
- package/dist/chunks/managedEnv-1.0.4-50dv7phy.mjs +0 -1
- package/dist/chunks/mcp-1.0.4-3fp6t13e.mjs +0 -1
- package/dist/chunks/mcp-1.0.4-5g0fetmg.mjs +0 -17
- package/dist/chunks/mcp-1.0.4-v67mxtdh.mjs +0 -4
- package/dist/chunks/mcpb-1.0.4-bg0cf4nd.mjs +0 -1
- package/dist/chunks/memory-1.0.4-a5sjkye9.mjs +0 -3
- package/dist/chunks/model-1.0.4-7q33dte0.mjs +0 -2
- package/dist/chunks/model-1.0.4-ffc1hzwk.mjs +0 -1
- package/dist/chunks/node-1.0.4-t61fwtvv.mjs +0 -12
- package/dist/chunks/oauth-1.0.4-wa2f4qb5.mjs +0 -1
- package/dist/chunks/openaiShim-1.0.4-j74991mr.mjs +0 -14
- package/dist/chunks/output-style-1.0.4-rrajfa4e.mjs +0 -1
- package/dist/chunks/package-ZZWOLTXM-1.0.4-y2hbwj02.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.0.4-1krmb0p7.mjs +0 -1
- package/dist/chunks/parser-1.0.4-e0yxtz1k.mjs +0 -1
- package/dist/chunks/passes-1.0.4-kvwashgz.mjs +0 -1
- package/dist/chunks/permissions-1.0.4-apdtqjy6.mjs +0 -3
- package/dist/chunks/permissions-1.0.4-pmabr578.mjs +0 -1
- package/dist/chunks/plan-1.0.4-fsnspnpd.mjs +0 -1
- package/dist/chunks/plist-1.0.4-de9w52d2.mjs +0 -1
- package/dist/chunks/plugin-1.0.4-kaxanxvg.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.0.4-avqbmty1.mjs +0 -1
- package/dist/chunks/plugins-1.0.4-h4238mxy.mjs +0 -9
- package/dist/chunks/preActionHook-1.0.4-hkk5ypj1.mjs +0 -2
- package/dist/chunks/print-1.0.4-zg0pxx71.mjs +0 -57
- package/dist/chunks/privacy-settings-1.0.4-7td5d9xf.mjs +0 -1
- package/dist/chunks/process-1.0.4-trh5g80m.mjs +0 -1
- package/dist/chunks/processBashCommand-1.0.4-vhq5y4b0.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.0.4-27w0dvzd.mjs +0 -9
- package/dist/chunks/prompt-1.0.4-1j8n4q6b.mjs +0 -1
- package/dist/chunks/prompt-1.0.4-p1dmdqgx.mjs +0 -1
- package/dist/chunks/prompts-1.0.4-an41ccab.mjs +0 -1
- package/dist/chunks/protocolHandler-1.0.4-6pyn2eqy.mjs +0 -13
- package/dist/chunks/provider-1.0.4-xz9x5xsf.mjs +0 -2
- package/dist/chunks/providerProfiles-1.0.4-qmtqnwxj.mjs +0 -1
- package/dist/chunks/providerValidation-1.0.4-5yhz71te.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.0.4-71w1mhp8.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.0.4-k68vcvz1.mjs +0 -34
- package/dist/chunks/registry-1.0.4-5am2gh2r.mjs +0 -1
- package/dist/chunks/release-notes-1.0.4-72dkmwym.mjs +0 -5
- package/dist/chunks/reload-plugins-1.0.4-6eyjpyz7.mjs +0 -2
- package/dist/chunks/remote-env-1.0.4-6a8j2qxd.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.0.4-ddgvhxxp.mjs +0 -1
- package/dist/chunks/remoteSession-1.0.4-3eztyv3e.mjs +0 -1
- package/dist/chunks/rename-1.0.4-te7rrrfc.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.0.4-16sm66q5.mjs +0 -1
- package/dist/chunks/replLauncher-1.0.4-mt8zvgft.mjs +0 -1
- package/dist/chunks/resume-1.0.4-sya6c2c8.mjs +0 -2
- package/dist/chunks/rewind-1.0.4-v0yww1mv.mjs +0 -1
- package/dist/chunks/rootOptions-1.0.4-t1drtsae.mjs +0 -1
- package/dist/chunks/sandbox-adapter-1.0.4-q641tp0g.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.0.4-c1033f07.mjs +0 -1
- package/dist/chunks/session-1.0.4-4fb52nd1.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.0.4-0e0rnehv.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.0.4-vk3q8gh9.mjs +0 -1
- package/dist/chunks/sessionStorage-1.0.4-eh1zevz7.mjs +0 -1
- package/dist/chunks/settings-1.0.4-0jpahg4j.mjs +0 -1
- package/dist/chunks/setup-1.0.4-p9hdn98q.mjs +0 -5
- package/dist/chunks/sinks-1.0.4-hs2rw9fa.mjs +0 -1
- package/dist/chunks/skills-1.0.4-www28gn6.mjs +0 -1
- package/dist/chunks/startupProfiler-1.0.4-tngewr6e.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.0.4-w114jwx9.mjs +0 -1
- package/dist/chunks/state-1.0.4-w3xv2kmh.mjs +0 -1
- package/dist/chunks/stats-1.0.4-3vm0apd0.mjs +0 -6
- package/dist/chunks/status-1.0.4-zymfx8mp.mjs +0 -1
- package/dist/chunks/stickers-1.0.4-jwgnam2a.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.0.4-3vgqj8gm.mjs +0 -1
- package/dist/chunks/tasks-1.0.4-hy7y09mg.mjs +0 -1
- package/dist/chunks/teamHelpers-1.0.4-53nq46v0.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.0.4-3wmvsb1r.mjs +0 -1
- package/dist/chunks/teleport-1.0.4-x93h61td.mjs +0 -1
- package/dist/chunks/terminalSetup-1.0.4-fh0en1t5.mjs +0 -1
- package/dist/chunks/theme-1.0.4-wr0m9bga.mjs +0 -1
- package/dist/chunks/thinkback-1.0.4-75kht0mq.mjs +0 -1
- package/dist/chunks/thinkback-play-1.0.4-1b1645q9.mjs +0 -1
- package/dist/chunks/toolPool-1.0.4-q895eqqt.mjs +0 -1
- package/dist/chunks/toolSearch-1.0.4-3247wmxa.mjs +0 -1
- package/dist/chunks/tools-1.0.4-606qnn5t.mjs +0 -1
- package/dist/chunks/trustedDevice-1.0.4-c2380whv.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.0.4-43jppw9w.mjs +0 -69
- package/dist/chunks/types-1.0.4-1kpkjthf.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.0.4-5v4tpqbq.mjs +0 -4
- package/dist/chunks/update-1.0.4-0hj0c9x8.mjs +0 -86
- package/dist/chunks/upgrade-1.0.4-sfxyr5z4.mjs +0 -1
- package/dist/chunks/upload-1.0.4-bcjf0cbz.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.0.4-t76haqj3.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.0.4-nn0e71sf.mjs +0 -1
- package/dist/chunks/usage-1.0.4-hh2n5we9.mjs +0 -1
- package/dist/chunks/util-1.0.4-3cjy2f82.mjs +0 -1
- package/dist/chunks/utils-1.0.4-3cv1bh5y.mjs +0 -1
- package/dist/chunks/vim-1.0.4-26wbsc0p.mjs +0 -1
- package/dist/chunks/watcher-1.0.4-ygqk3k29.mjs +0 -1
- package/dist/chunks/wiki-1.0.4-jdevf4fv.mjs +0 -132
- package/dist/chunks/workflows-1.0.4-mg9ts0qs.mjs +0 -1
- package/dist/chunks/worktree-1.0.4-6849hcw1.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.0.4-3m5c48st.mjs +0 -1
- package/dist/chunks/wrapper-1.0.4-4czm72m1.mjs +0 -7
- /package/dist/chunks/{cli-1.0.4-sx5bf3zy.mjs → cli-1.0.6-eqj39b7c.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.4-a2brsa8c.mjs → cli-1.0.6-esf6g2hg.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.4-1eb2472e.mjs → cli-1.0.6-hg7rd6z8.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.4-jrvveh6t.mjs → cli-1.0.6-m86933bc.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.4-rh4j3s0t.mjs → cli-1.0.6-ntwqb73s.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.4-zjh4h68p.mjs → cli-1.0.6-tefnf8bf.mjs} +0 -0
- /package/dist/chunks/{cli-1.0.4-fyekx70j.mjs → cli-1.0.6-xbk4dr3g.mjs} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j4 as H,k4 as _,l4 as Y,m4 as y}from"./cli-1.0.4-0vwtrvvh.mjs";import{j9 as M,l9 as f}from"./cli-1.0.4-q0rnwhn4.mjs";import{Cia as P,Gia as p,Qia as x,Tha as F,Tia as S,Vha as b}from"./cli-1.0.4-vpcfce7x.mjs";import{oja as V,vja as R}from"./cli-1.0.4-7pxrd0w5.mjs";import{Bja as U,Lja as g}from"./cli-1.0.4-ex22h376.mjs";import{mpa as A,yna as D,zna as W}from"./cli-1.0.4-n5mydt2f.mjs";import{Xqa as L}from"./cli-1.0.4-rhq4w2pj.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var h=L(()=>{b();f();g();Z=new Map});var $q;var m=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
|
|
2
|
-
export{k as NV,s as OV,o as PV,u as QV,e as RV,qq as SV,Gq as TV,Jq as UV,Kq as VV,Qq as WV,h as XV,$q as YV,m as ZV};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{OF as A,QF as O,Yn as M,Zn as G}from"./cli-1.0.4-jvp0mp87.mjs";import{I0 as W,IY as U,b0 as w,d0 as d,h0 as v}from"./cli-1.0.4-9ra8j4rt.mjs";import{O2 as i,P2 as a,Q2 as S}from"./cli-1.0.4-x8jnn75c.mjs";import{R2 as N}from"./cli-1.0.4-5e2v63sy.mjs";import{Kda as P,wda as I}from"./cli-1.0.4-q0rnwhn4.mjs";import{Nha as h,Qha as L}from"./cli-1.0.4-34jdejmp.mjs";import{Tqa as b,Xqa as B}from"./cli-1.0.4-rhq4w2pj.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 Lg,z as Mg};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{F as A}from"./cli-1.0.4-jrvveh6t.mjs";import{Zea as $,_ea as F,efa as z,ffa as H,ofa as P}from"./cli-1.0.4-q0rnwhn4.mjs";import{Cia as V,Gia as C,Qia as X,Rha as _,Sha as N,Tha as B,Tia as E,Vha as W,tia as O,yia as w}from"./cli-1.0.4-vpcfce7x.mjs";import{mpa as L,pla as Z}from"./cli-1.0.4-n5mydt2f.mjs";import{gqa as q,yqa as y}from"./cli-1.0.4-j17mhs88.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
|
|
2
|
-
`)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
|
|
3
|
-
export{e as q};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{I0 as a,IY as u,QZ as QQ,RZ as uQ,b0 as g,d0 as h,j0 as RQ,s0 as jQ,t0 as aQ,x0 as d}from"./cli-1.0.4-9ra8j4rt.mjs";import{O2 as S,P2 as k,Q2 as f}from"./cli-1.0.4-x8jnn75c.mjs";import{R2 as v}from"./cli-1.0.4-5e2v63sy.mjs";import{d3 as n,f3 as t,k3 as YV}from"./cli-1.0.4-f8dd3sqs.mjs";import{a7 as $Q,d7 as P,g7 as bQ,v7 as XV}from"./cli-1.0.4-0vwtrvvh.mjs";import{Kca as fQ,Kda as QV,Lca as eQ,gfa as CQ,mda as mQ,ofa as VV,pda as x}from"./cli-1.0.4-q0rnwhn4.mjs";import{tfa as AQ,ufa as sQ}from"./cli-1.0.4-1bg07n68.mjs";import{Lha as r,Mha as nQ}from"./cli-1.0.4-hfn9tnb6.mjs";import{Qia as D,Tia as iQ}from"./cli-1.0.4-vpcfce7x.mjs";import{gqa as i,yqa as tQ}from"./cli-1.0.4-j17mhs88.mjs";import{Tqa as M,Xqa as F}from"./cli-1.0.4-rhq4w2pj.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=M(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function MV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let I=O.get(U.action);if(I){if(I.delete(U),I.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let b=_,E;if(Q[4]!==G||Q[5]!==z)E=(U)=>{let O=z.current;if(!O)return!1;let I=O.get(U);if(!I||I.size===0)return!1;for(let e of I)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=E;else E=Q[6];let K=E,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,I)=>zQ(U,O,I,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==K||Q[14]!==Y||Q[15]!==q||Q[16]!==b||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:b,invokeAction:K},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=K,Q[14]=Y,Q[15]=q,Q[16]=b,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=S(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function SV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=M(u(),1),m=M(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=M(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=M(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var MQ=F(()=>{aQ();WQ();T=M(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();MQ()});function IQ(){return $.useContext(s)!==null}function pV(X){let Q=SQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function xV(){return $.useContext(s)?.scrollRef??null}var SQ,$,s;var KQ=F(()=>{SQ=M(u(),1),$=M(v(),1),s=$.createContext(null)});function EQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let b=AQ(G)+2,E=Math.max(0,N-b),K=Math.floor(E/2),j=E-K,A=!Z,w;if(Q[0]!==q||Q[1]!==K)w=q.repeat(K),Q[0]=q,Q[1]=K,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=S(h,{dimColor:!0,children:S(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=S(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var DQ=F(()=>{YQ();sQ();a();f();TQ=M(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(IQ()){let q;if(Q[0]!==V)q=S(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=S(EQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=S(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{KQ();a();DQ();f();PQ=M(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function xQ(){return!!(P()?.organizationUuid&&$Q()&&bQ()==="max")}function JX(){if(!xQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=x().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>pQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(p)return D("Passes: Reusing in-flight eligibility fetch"),p;let X=P()?.organizationUuid;if(!X)return null;return p=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),D(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return D("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{p=null}})(),p}async function GV(){if(!xQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=x().passesEligibilityCache?.[X],Z=Date.now();if(!V)return D("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>pQ){D("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}D("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var pQ=86400000,p=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
|
|
2
|
-
export{XQ as sX,YQ as tX,GQ as uX,yQ as vX,l as wX,BV as xX,qQ as yX,LQ as zX,zQ as AX,BQ as BX,MV as CX,y as DX,SV as EX,UQ as FX,TV as GX,OQ as HX,_Q as IX,o as JX,WQ as KX,$V as LX,oQ as MX,s as NX,IQ as OX,pV as PX,xV as QX,KQ as RX,EQ as SX,DQ as TX,oV as UX,rQ as VX,ZX as WX,JX as XX,GX as YX,qX as ZX,LX as _X,GV as $X,HX as aY,qV as bY};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Aga as K,pga as G}from"./cli-1.0.4-d8bjdz7n.mjs";import{Tga as j,Vga as M,Wga as J,Xga as N}from"./cli-1.0.4-0wp27vrg.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
|
|
2
|
-
export{q as Db,$ as Eb};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import{GJ as F,IA as k,IQ as a,JA as I,bj as $,ej as m,lv as U,nv as h,pQ as L,xC as A,yC as p}from"./cli-1.0.4-jvp0mp87.mjs";import{r3 as O,s3 as f}from"./cli-1.0.4-0vwtrvvh.mjs";import{Cia as S,Gia as E}from"./cli-1.0.4-vpcfce7x.mjs";import{tja as b,vja as T}from"./cli-1.0.4-7pxrd0w5.mjs";import{Lja as C,yja as y}from"./cli-1.0.4-ex22h376.mjs";import{Xqa as N}from"./cli-1.0.4-rhq4w2pj.mjs";import{join as P}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
|
|
2
|
-
|
|
3
|
-
Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
|
|
4
|
-
|
|
5
|
-
The file {{docPath}} has already been read for you. Here are its current contents:
|
|
6
|
-
<current_doc_content>
|
|
7
|
-
{{docContents}}
|
|
8
|
-
</current_doc_content>
|
|
9
|
-
|
|
10
|
-
Document title: {{docTitle}}
|
|
11
|
-
{{customInstructions}}
|
|
12
|
-
|
|
13
|
-
Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
|
|
14
|
-
|
|
15
|
-
CRITICAL RULES FOR EDITING:
|
|
16
|
-
- Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
|
|
17
|
-
- If there's an italicized line immediately after the header, preserve it exactly as-is
|
|
18
|
-
- Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
|
|
19
|
-
- Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
|
|
20
|
-
- Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
|
|
21
|
-
- Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
|
|
22
|
-
- Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
|
|
23
|
-
- Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
|
|
24
|
-
|
|
25
|
-
DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
|
|
26
|
-
- BE TERSE. High signal only. No filler words or unnecessary elaboration.
|
|
27
|
-
- Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
|
|
28
|
-
- Do NOT duplicate information that's already obvious from reading the source code
|
|
29
|
-
- Do NOT document every function, parameter, or line number reference
|
|
30
|
-
- Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
|
|
31
|
-
- Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
|
|
32
|
-
|
|
33
|
-
What TO document:
|
|
34
|
-
- High-level architecture and system design
|
|
35
|
-
- Non-obvious patterns, conventions, or gotchas
|
|
36
|
-
- Key entry points and where to start reading code
|
|
37
|
-
- Important design decisions and their rationale
|
|
38
|
-
- Critical dependencies or integration points
|
|
39
|
-
- References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
|
|
40
|
-
|
|
41
|
-
What NOT to document:
|
|
42
|
-
- Anything obvious from reading the code itself
|
|
43
|
-
- Exhaustive lists of files, functions, or parameters
|
|
44
|
-
- Step-by-step implementation details
|
|
45
|
-
- Low-level code mechanics
|
|
46
|
-
- Information already in CLAUDE.md or other project docs
|
|
47
|
-
|
|
48
|
-
Use the Edit tool with file_path: {{docPath}}
|
|
49
|
-
|
|
50
|
-
REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function g(){let w=S(),z=P(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function M(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await g(),K=J?`
|
|
51
|
-
|
|
52
|
-
DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
|
|
53
|
-
The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
|
|
54
|
-
|
|
55
|
-
"${J}"
|
|
56
|
-
|
|
57
|
-
These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return M(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{C();E()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=U(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(b(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let _=await R(q,w.path,H.title,H.instructions),x=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of k({agentDefinition:l(),promptMessages:[F({content:_})],toolUseContext:Z,canUseTool:x,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var s=N(()=>{I();m();p();T();h();a();f();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=O(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(L(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
|
|
58
|
-
export{Xw as Zh,Zw as _h,s as $h};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Tf as EG,Uf as iG,_f as rG}from"./cli-1.0.4-vde8kvg5.mjs";import{Bx as l,CN as cG,Cx as jG,Dx as HG,Ex as dG,GM as aG,Kr as vG,OM as $G,PM as oG,SE as KG,TE as mG,ZL as LG,_L as BG,aM as pG,cM as WG,cn as FG,dM as qG,dn as OG,hn as VG,hs as uG,iM as a,kN as bG,mM as DG,nN as sG,oM as y,pM as o,qM as lG,rN as f,rn as fG,sM as kG,sN as s,tN as c,uN as v,vN as i,xM as _G,yN as u}from"./cli-1.0.4-jvp0mp87.mjs";import{IY as QJ}from"./cli-1.0.4-9ra8j4rt.mjs";import{O2 as wG,Q2 as PG}from"./cli-1.0.4-x8jnn75c.mjs";import{R2 as YG}from"./cli-1.0.4-5e2v63sy.mjs";import{kba as zG,kfa as R,lfa as _,ofa as gG,pba as CG}from"./cli-1.0.4-q0rnwhn4.mjs";import{Aga as NG}from"./cli-1.0.4-d8bjdz7n.mjs";import{Nha as A,Qha as MG}from"./cli-1.0.4-34jdejmp.mjs";import{Qia as ZG,Tia as SG,yia as yG}from"./cli-1.0.4-vpcfce7x.mjs";import{oja as h,vja as TG}from"./cli-1.0.4-7pxrd0w5.mjs";import{mpa as XG,pla as QG}from"./cli-1.0.4-n5mydt2f.mjs";import{Tqa as r,Xqa as p}from"./cli-1.0.4-rhq4w2pj.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
|
|
2
|
-
export{e as Of,aJ as Pf,oJ as Qf,sJ as Rf,XJ as Sf};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{u7 as v,v7 as C}from"./cli-1.0.4-0vwtrvvh.mjs";import{Kca as Z,Lca as V,jea as x,kea as Y}from"./cli-1.0.4-q0rnwhn4.mjs";import{Aga as O,oga as R,sga as W}from"./cli-1.0.4-d8bjdz7n.mjs";import{Lha as Q,Mha as M}from"./cli-1.0.4-hfn9tnb6.mjs";import{Qia as f,Tia as L,tia as P,yia as I}from"./cli-1.0.4-vpcfce7x.mjs";import{oja as w,vja as H}from"./cli-1.0.4-7pxrd0w5.mjs";import{Lpa as N,Mpa as F}from"./cli-1.0.4-z5zmw573.mjs";import{gqa as X,yqa as U}from"./cli-1.0.4-j17mhs88.mjs";import{Uqa as h,Xqa as B}from"./cli-1.0.4-rhq4w2pj.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
|
|
2
|
-
export{u as _V,n as $V,o as aW,t as bW,d as cW};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{I0 as e2,IY as u2,RY as Z,b0 as Y,d0 as u}from"./cli-1.0.4-9ra8j4rt.mjs";import{O2 as t,P2 as o,Q2 as U}from"./cli-1.0.4-x8jnn75c.mjs";import{$$ as j,Z$ as X}from"./cli-1.0.4-q0rnwhn4.mjs";import{Tqa as s}from"./cli-1.0.4-rhq4w2pj.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.0.4"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.0.4"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","1.0.4"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","1.0.4"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
|
|
2
|
-
export{c2 as W};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Xqa as C}from"./cli-1.0.4-rhq4w2pj.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
|
|
2
|
-
export{O as fga,Q as gga,R as hga,S as iga,T as jga,U as kga,W as lga,X as mga,Y as nga,Z as oga,$ as pga,v as qga,w as rga,P as sga,B as tga,D as uga,h as vga,N as wga,m as xga,c as yga,F as zga,J as Aga};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Bja as q,Lja as U}from"./cli-1.0.4-ex22h376.mjs";import{Wqa as L,Xqa as X}from"./cli-1.0.4-rhq4w2pj.mjs";import{AsyncLocalStorage as F}from"async_hooks";function G(){return O.getStore()}function Y(z,B){return O.run(z,B)}function Z(){return O.getStore()!==void 0}function $(z){return{...z,isInProcess:!0}}var O;var Q=X(()=>{O=new F});var y={};L(y,{waitForTeammatesToBecomeIdle:()=>l,setDynamicTeamContext:()=>b,runWithTeammateContext:()=>Y,isTeammate:()=>u,isTeamLead:()=>S,isPlanModeRequired:()=>w,isInProcessTeammate:()=>Z,hasWorkingInProcessTeammates:()=>I,hasActiveInProcessTeammates:()=>P,getTeammateContext:()=>G,getTeammateColor:()=>f,getTeamName:()=>h,getParentSessionId:()=>_,getDynamicTeamContext:()=>v,getAgentName:()=>A,getAgentId:()=>E,createTeammateContext:()=>$,clearDynamicTeamContext:()=>j});function _(){let z=G();if(z)return z.parentSessionId;return D?.parentSessionId}function b(z){D=z}function j(){D=null}function v(){return D}function E(){let z=G();if(z)return z.agentId;return D?.agentId}function A(){let z=G();if(z)return z.agentName;return D?.agentName}function h(z){let B=G();if(B)return B.teamName;if(D?.teamName)return D.teamName;return z?.teamName}function u(){if(G())return!0;return!!(D?.agentId&&D?.teamName)}function f(){let z=G();if(z)return z.color;return D?.color}function w(){let z=G();if(z)return z.planModeRequired;if(D!==null)return D.planModeRequired;return q(process.env.CLAUDE_CODE_PLAN_MODE_REQUIRED)}function S(z){if(!z?.leadAgentId)return!1;let B=E(),H=z.leadAgentId;if(B===H)return!0;if(!B)return!0;return!1}function P(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running")return!0;return!1}function I(z){for(let B of Object.values(z.tasks))if(B.type==="in_process_teammate"&&B.status==="running"&&!B.isIdle)return!0;return!1}function l(z,B){let H=[];for(let[M,J]of Object.entries(B.tasks))if(J.type==="in_process_teammate"&&J.status==="running"&&!J.isIdle)H.push(M);if(H.length===0)return Promise.resolve();return new Promise((M)=>{let J=H.length,R=()=>{if(J--,J===0)M()};z((V)=>{let N={...V.tasks};for(let W of H){let K=N[W];if(K&&K.type==="in_process_teammate")if(K.isIdle)R();else N[W]={...K,onIdleCallbacks:[...K.onIdleCallbacks??[],R]}}return{...V,tasks:N}})})}var D=null;var g=X(()=>{Q();U();Q()});
|
|
2
|
-
export{G as $W,Y as aX,Z as bX,$ as cX,Q as dX,_ as eX,v as fX,E as gX,A as hX,h as iX,u as jX,f as kX,w as lX,S as mX,P as nX,I as oX,l as pX,y as qX,g as rX};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{k3 as m}from"./cli-1.0.4-f8dd3sqs.mjs";import{d7 as K,v7 as $}from"./cli-1.0.4-0vwtrvvh.mjs";import{Kda as Y,Lca as X,mda as Q,ofa as Z,pda as J}from"./cli-1.0.4-q0rnwhn4.mjs";import{Mha as W}from"./cli-1.0.4-hfn9tnb6.mjs";import{Xqa as V}from"./cli-1.0.4-rhq4w2pj.mjs";function y(){let z=K()?.organizationUuid;if(!z)return null;let B=J().overageCreditGrantCache?.[z];if(!B)return null;if(Date.now()-B.timestamp>q)return null;return B.info}function G(){let z=K()?.organizationUuid;if(!z)return;let B=J().overageCreditGrantCache;if(!B||!(z in B))return;Q((N)=>{let P={...N.overageCreditGrantCache};return delete P[z],{...N,overageCreditGrantCache:P}})}function U(z){if(z.amount_minor_units==null||!z.currency)return null;if(z.currency.toUpperCase()==="USD"){let B=z.amount_minor_units/100;return Number.isInteger(B)?`$${B}`:`$${B.toFixed(2)}`}return null}var q=3600000;var w=V(()=>{W();$();Y();Z();X();m()});
|
|
2
|
-
export{y as Ii,G as Ji,U as Ki,w as Li};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{tia as E,uia as F,yia as M}from"./cli-1.0.4-vpcfce7x.mjs";import{gqa as H,yqa as N}from"./cli-1.0.4-j17mhs88.mjs";N();M();function V(z){let C=Buffer.from(z,"base64url").toString("utf-8"),q=F(C);if(!q||typeof q!=="object"||!("version"in q)||q.version!==1)throw Error(`Unsupported work secret version: ${q&&typeof q==="object"&&"version"in q?q.version:"unknown"}`);let A=q;if(typeof A.session_ingress_token!=="string"||A.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof A.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return q}function W(z,C){let q=new URL(z).hostname,A=q==="localhost"||q==="127.0.0.1",D=A?"ws":"wss",J=A?"v2":"v1",K=z.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${D}://${K}/${J}/session_ingress/ws/${C}`}function X(z,C){if(z===C)return!0;let q=z.slice(z.lastIndexOf("_")+1),A=C.slice(C.lastIndexOf("_")+1);return q.length>=4&&q===A}function Y(z,C){return`${z.replace(/\/+$/,"")}/v1/code/sessions/${C}`}async function Z(z,C){let q=await H.post(`${z}/worker/register`,{},{headers:{Authorization:`Bearer ${C}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),A=q.data?.worker_epoch,D=typeof A==="string"?Number(A):A;if(typeof D!=="number"||!Number.isFinite(D)||!Number.isSafeInteger(D))throw Error(`registerWorker: invalid worker_epoch in response: ${E(q.data)}`);return D}
|
|
2
|
-
export{V as Mb,W as Nb,X as Ob,Y as Pb,Z as Qb};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{oi as M,pi as w,qi as A}from"./cli-1.0.4-p618f4eb.mjs";import{Tga as X,Vga as N,Wga as $,Xga as O}from"./cli-1.0.4-0wp27vrg.mjs";import{Qia as R,Tia as C}from"./cli-1.0.4-vpcfce7x.mjs";import{Lja as _,yja as L}from"./cli-1.0.4-ex22h376.mjs";import{mpa as T,pla as H}from"./cli-1.0.4-n5mydt2f.mjs";import{gqa as W,yqa as y}from"./cli-1.0.4-j17mhs88.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
|
|
2
|
-
export{S as X,f as Y,l as Z,s as _};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Mqa as x,Oqa as y,Sqa as C}from"./cli-1.0.4-r4h3tk3k.mjs";import{Vqa as k}from"./cli-1.0.4-rhq4w2pj.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
|
|
2
|
-
`));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
|
|
3
|
-
export{MF as H8};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Zb as Y}from"./cli-1.0.4-zjh4h68p.mjs";import{YV as N,ZV as C}from"./cli-1.0.4-bn5k1yhp.mjs";import{afa as A,cfa as w}from"./cli-1.0.4-q0rnwhn4.mjs";import{Nha as B,Qha as k}from"./cli-1.0.4-34jdejmp.mjs";import{Qia as W,Tia as j,uia as L,yia as E}from"./cli-1.0.4-vpcfce7x.mjs";import{oja as G,vja as K}from"./cli-1.0.4-7pxrd0w5.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
|
|
2
|
-
export{v as Tb,q as Ub,p as Vb,g as Wb,d as Xb,R as Yb};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{Vqa as tZ}from"./cli-1.0.4-rhq4w2pj.mjs";var u0=tZ((g0,LZ)=>{function JZ(Z){if(Z instanceof Map)Z.clear=Z.delete=Z.set=function(){throw Error("map is read-only")};else if(Z instanceof Set)Z.add=Z.clear=Z.delete=function(){throw Error("set is read-only")};return Object.freeze(Z),Object.getOwnPropertyNames(Z).forEach(function(J){var z=Z[J];if(typeof z=="object"&&!Object.isFrozen(z))JZ(z)}),Z}var yZ=JZ,aZ=JZ;yZ.default=aZ;class ZZ{constructor(Z){if(Z.data===void 0)Z.data={};this.data=Z.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function M(Z){return Z.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function x(Z,...J){let z=Object.create(null);for(let $ in Z)z[$]=Z[$];return J.forEach(function($){for(let P in $)z[P]=$[P]}),z}var oZ="</span>",GZ=(Z)=>{return!!Z.kind};class HZ{constructor(Z,J){this.buffer="",this.classPrefix=J.classPrefix,Z.walk(this)}addText(Z){this.buffer+=M(Z)}openNode(Z){if(!GZ(Z))return;let J=Z.kind;if(!Z.sublanguage)J=`${this.classPrefix}${J}`;this.span(J)}closeNode(Z){if(!GZ(Z))return;this.buffer+=oZ}value(){return this.buffer}span(Z){this.buffer+=`<span class="${Z}">`}}class QZ{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Z){this.top.children.push(Z)}openNode(Z){let J={kind:Z,children:[]};this.add(J),this.stack.push(J)}closeNode(){if(this.stack.length>1)return this.stack.pop();return}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Z){return this.constructor._walk(Z,this.rootNode)}static _walk(Z,J){if(typeof J==="string")Z.addText(J);else if(J.children)Z.openNode(J),J.children.forEach((z)=>this._walk(Z,z)),Z.closeNode(J);return Z}static _collapse(Z){if(typeof Z==="string")return;if(!Z.children)return;if(Z.children.every((J)=>typeof J==="string"))Z.children=[Z.children.join("")];else Z.children.forEach((J)=>{QZ._collapse(J)})}}class BZ extends QZ{constructor(Z){super();this.options=Z}addKeyword(Z,J){if(Z==="")return;this.openNode(J),this.addText(Z),this.closeNode()}addText(Z){if(Z==="")return;this.add(Z)}addSublanguage(Z,J){let z=Z.root;z.kind=J,z.sublanguage=!0,this.add(z)}toHTML(){return new HZ(this,this.options).value()}finalize(){return!0}}function eZ(Z){return new RegExp(Z.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function E(Z){if(!Z)return null;if(typeof Z==="string")return Z;return Z.source}function Z0(...Z){return Z.map((z)=>E(z)).join("")}function q0(...Z){return"("+Z.map((z)=>E(z)).join("|")+")"}function J0(Z){return new RegExp(Z.toString()+"|").exec("").length-1}function Q0(Z,J){let z=Z&&Z.exec(J);return z&&z.index===0}var X0=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function V0(Z,J="|"){let z=0;return Z.map(($)=>{z+=1;let P=z,v=E($),D="";while(v.length>0){let Q=X0.exec(v);if(!Q){D+=v;break}if(D+=v.substring(0,Q.index),v=v.substring(Q.index+Q[0].length),Q[0][0]==="\\"&&Q[1])D+="\\"+String(Number(Q[1])+P);else if(D+=Q[0],Q[0]==="(")z++}return D}).map(($)=>`(${$})`).join(J)}var z0=/\b\B/,DZ="[a-zA-Z]\\w*",XZ="[a-zA-Z_]\\w*",VZ="\\b\\d+(\\.\\d+)?",CZ="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",kZ="\\b(0b[01]+)",Y0="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",W0=(Z={})=>{let J=/^#![ ]*\//;if(Z.binary)Z.begin=Z0(J,/.*\b/,Z.binary,/\b.*/);return x({className:"meta",begin:J,end:/$/,relevance:0,"on:begin":(z,$)=>{if(z.index!==0)$.ignoreMatch()}},Z)},p={begin:"\\\\[\\s\\S]",relevance:0},$0={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[p]},F0={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[p]},jZ={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},r=function(Z,J,z={}){let $=x({className:"comment",begin:Z,end:J,contains:[]},z);return $.contains.push(jZ),$.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),$},G0=r("//","$"),U0=r("/\\*","\\*/"),K0=r("#","$"),I0={className:"number",begin:VZ,relevance:0},P0={className:"number",begin:CZ,relevance:0},v0={className:"number",begin:kZ,relevance:0},y0={className:"number",begin:VZ+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},H0={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[p,{begin:/\[/,end:/\]/,relevance:0,contains:[p]}]}]},B0={className:"title",begin:DZ,relevance:0},D0={className:"title",begin:XZ,relevance:0},C0={begin:"\\.\\s*"+XZ,relevance:0},k0=function(Z){return Object.assign(Z,{"on:begin":(J,z)=>{z.data._beginMatch=J[1]},"on:end":(J,z)=>{if(z.data._beginMatch!==J[1])z.ignoreMatch()}})},i=Object.freeze({__proto__:null,MATCH_NOTHING_RE:z0,IDENT_RE:DZ,UNDERSCORE_IDENT_RE:XZ,NUMBER_RE:VZ,C_NUMBER_RE:CZ,BINARY_NUMBER_RE:kZ,RE_STARTERS_RE:Y0,SHEBANG:W0,BACKSLASH_ESCAPE:p,APOS_STRING_MODE:$0,QUOTE_STRING_MODE:F0,PHRASAL_WORDS_MODE:jZ,COMMENT:r,C_LINE_COMMENT_MODE:G0,C_BLOCK_COMMENT_MODE:U0,HASH_COMMENT_MODE:K0,NUMBER_MODE:I0,C_NUMBER_MODE:P0,BINARY_NUMBER_MODE:v0,CSS_NUMBER_MODE:y0,REGEXP_MODE:H0,TITLE_MODE:B0,UNDERSCORE_TITLE_MODE:D0,METHOD_GUARD:C0,END_SAME_AS_BEGIN:k0});function j0(Z,J){if(Z.input[Z.index-1]===".")J.ignoreMatch()}function A0(Z,J){if(!J)return;if(!Z.beginKeywords)return;if(Z.begin="\\b("+Z.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Z.__beforeBegin=j0,Z.keywords=Z.keywords||Z.beginKeywords,delete Z.beginKeywords,Z.relevance===void 0)Z.relevance=0}function w0(Z,J){if(!Array.isArray(Z.illegal))return;Z.illegal=q0(...Z.illegal)}function L0(Z,J){if(!Z.match)return;if(Z.begin||Z.end)throw Error("begin & end are not supported with match");Z.begin=Z.match,delete Z.match}function O0(Z,J){if(Z.relevance===void 0)Z.relevance=1}var T0=["of","and","for","in","not","or","if","then","parent","list","value"],R0="keyword";function AZ(Z,J,z=R0){let $={};if(typeof Z==="string")P(z,Z.split(" "));else if(Array.isArray(Z))P(z,Z);else Object.keys(Z).forEach(function(v){Object.assign($,AZ(Z[v],J,v))});return $;function P(v,D){if(J)D=D.map((Q)=>Q.toLowerCase());D.forEach(function(Q){let X=Q.split("|");$[X[0]]=[v,S0(X[0],X[1])]})}}function S0(Z,J){if(J)return Number(J);return _0(Z)?0:1}function _0(Z){return T0.includes(Z.toLowerCase())}function x0(Z,{plugins:J}){function z(Q,X){return new RegExp(E(Q),"m"+(Z.case_insensitive?"i":"")+(X?"g":""))}class ${constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Q,X){X.position=this.position++,this.matchIndexes[this.matchAt]=X,this.regexes.push([X,Q]),this.matchAt+=J0(Q)+1}compile(){if(this.regexes.length===0)this.exec=()=>null;let Q=this.regexes.map((X)=>X[1]);this.matcherRe=z(V0(Q),!0),this.lastIndex=0}exec(Q){this.matcherRe.lastIndex=this.lastIndex;let X=this.matcherRe.exec(Q);if(!X)return null;let I=X.findIndex((k,S)=>S>0&&k!==void 0),U=this.matchIndexes[I];return X.splice(0,I),Object.assign(X,U)}}class P{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Q){if(this.multiRegexes[Q])return this.multiRegexes[Q];let X=new $;return this.rules.slice(Q).forEach(([I,U])=>X.addRule(I,U)),X.compile(),this.multiRegexes[Q]=X,X}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Q,X){if(this.rules.push([Q,X]),X.type==="begin")this.count++}exec(Q){let X=this.getMatcher(this.regexIndex);X.lastIndex=this.lastIndex;let I=X.exec(Q);if(this.resumingScanAtSamePosition())if(I&&I.index===this.lastIndex);else{let U=this.getMatcher(0);U.lastIndex=this.lastIndex+1,I=U.exec(Q)}if(I){if(this.regexIndex+=I.position+1,this.regexIndex===this.count)this.considerAll()}return I}}function v(Q){let X=new P;if(Q.contains.forEach((I)=>X.addRule(I.begin,{rule:I,type:"begin"})),Q.terminatorEnd)X.addRule(Q.terminatorEnd,{type:"end"});if(Q.illegal)X.addRule(Q.illegal,{type:"illegal"});return X}function D(Q,X){let I=Q;if(Q.isCompiled)return I;[L0].forEach((k)=>k(Q,X)),Z.compilerExtensions.forEach((k)=>k(Q,X)),Q.__beforeBegin=null,[A0,w0,O0].forEach((k)=>k(Q,X)),Q.isCompiled=!0;let U=null;if(typeof Q.keywords==="object")U=Q.keywords.$pattern,delete Q.keywords.$pattern;if(Q.keywords)Q.keywords=AZ(Q.keywords,Z.case_insensitive);if(Q.lexemes&&U)throw Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");if(U=U||Q.lexemes||/\w+/,I.keywordPatternRe=z(U,!0),X){if(!Q.begin)Q.begin=/\B|\b/;if(I.beginRe=z(Q.begin),Q.endSameAsBegin)Q.end=Q.begin;if(!Q.end&&!Q.endsWithParent)Q.end=/\B|\b/;if(Q.end)I.endRe=z(Q.end);if(I.terminatorEnd=E(Q.end)||"",Q.endsWithParent&&X.terminatorEnd)I.terminatorEnd+=(Q.end?"|":"")+X.terminatorEnd}if(Q.illegal)I.illegalRe=z(Q.illegal);if(!Q.contains)Q.contains=[];if(Q.contains=[].concat(...Q.contains.map(function(k){return f0(k==="self"?Q:k)})),Q.contains.forEach(function(k){D(k,I)}),Q.starts)D(Q.starts,X);return I.matcher=v(I),I}if(!Z.compilerExtensions)Z.compilerExtensions=[];if(Z.contains&&Z.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Z.classNameAliases=x(Z.classNameAliases||{}),D(Z)}function wZ(Z){if(!Z)return!1;return Z.endsWithParent||wZ(Z.starts)}function f0(Z){if(Z.variants&&!Z.cachedVariants)Z.cachedVariants=Z.variants.map(function(J){return x(Z,{variants:null},J)});if(Z.cachedVariants)return Z.cachedVariants;if(wZ(Z))return x(Z,{starts:Z.starts?x(Z.starts):null});if(Object.isFrozen(Z))return x(Z);return Z}var b0="10.7.3";function N0(Z){return Boolean(Z||Z==="")}function M0(Z){let J={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Z.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,M(this.code);let $={};if(this.autoDetect)$=Z.highlightAuto(this.code),this.detectedLanguage=$.language;else $=Z.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language;return $.value},autoDetect(){return!this.language||N0(this.autodetect)},ignoreIllegals(){return!0}},render($){return $("pre",{},[$("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:J,VuePlugin:{install($){$.component("highlightjs",J)}}}}var E0={"after:highlightElement":({el:Z,result:J,text:z})=>{let $=UZ(Z);if(!$.length)return;let P=document.createElement("div");P.innerHTML=J.value,J.value=p0($,UZ(P),z)}};function qZ(Z){return Z.nodeName.toLowerCase()}function UZ(Z){let J=[];return function z($,P){for(let v=$.firstChild;v;v=v.nextSibling)if(v.nodeType===3)P+=v.nodeValue.length;else if(v.nodeType===1){if(J.push({event:"start",offset:P,node:v}),P=z(v,P),!qZ(v).match(/br|hr|img|input/))J.push({event:"stop",offset:P,node:v})}return P}(Z,0),J}function p0(Z,J,z){let $=0,P="",v=[];function D(){if(!Z.length||!J.length)return Z.length?Z:J;if(Z[0].offset!==J[0].offset)return Z[0].offset<J[0].offset?Z:J;return J[0].event==="start"?Z:J}function Q(U){function k(S){return" "+S.nodeName+'="'+M(S.value)+'"'}P+="<"+qZ(U)+[].map.call(U.attributes,k).join("")+">"}function X(U){P+="</"+qZ(U)+">"}function I(U){(U.event==="start"?Q:X)(U.node)}while(Z.length||J.length){let U=D();if(P+=M(z.substring($,U[0].offset)),$=U[0].offset,U===Z){v.reverse().forEach(X);do I(U.splice(0,1)[0]),U=D();while(U===Z&&U.length&&U[0].offset===$);v.reverse().forEach(Q)}else{if(U[0].event==="start")v.push(U[0].node);else v.pop();I(U.splice(0,1)[0])}}return P+M(z.substr($))}var KZ={},o=(Z)=>{console.error(Z)},IZ=(Z,...J)=>{console.log(`WARN: ${Z}`,...J)},w=(Z,J)=>{if(KZ[`${Z}/${J}`])return;console.log(`Deprecated as of ${Z}. ${J}`),KZ[`${Z}/${J}`]=!0},e=M,PZ=x,vZ=Symbol("nomatch"),h0=function(Z){let J=Object.create(null),z=Object.create(null),$=[],P=!0,v=/(^(<[^>]+>|\t|)+|\n)/gm,D="Could not find the language '{}', did you forget to load/include a language module?",Q={disableAutodetect:!0,name:"Plain text",contains:[]},X={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:BZ};function I(q){return X.noHighlightRe.test(q)}function U(q){let V=q.className+" ";V+=q.parentNode?q.parentNode.className:"";let K=X.languageDetectRe.exec(V);if(K){let H=R(K[1]);if(!H)IZ(D.replace("{}",K[1])),IZ("Falling back to no-highlight mode for this block.",q);return H?K[1]:"no-highlight"}return V.split(/\s+/).find((H)=>I(H)||R(H))}function k(q,V,K,H){let C="",f="";if(typeof V==="object")C=q,K=V.ignoreIllegals,f=V.language,H=void 0;else w("10.7.0","highlight(lang, code, ...args) has been deprecated."),w("10.7.0",`Please use highlight(code, options) instead.
|
|
2
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),f=q,C=V;let L={code:C,language:f};c("before:highlight",L);let O=L.result?L.result:S(L.language,L.code,K,H);return O.code=L.code,c("after:highlight",O),O}function S(q,V,K,H){function C(Y,W){let G=b.case_insensitive?W[0].toLowerCase():W[0];return Object.prototype.hasOwnProperty.call(Y.keywords,G)&&Y.keywords[G]}function f(){if(!F.keywords){j.addText(B);return}let Y=0;F.keywordPatternRe.lastIndex=0;let W=F.keywordPatternRe.exec(B),G="";while(W){G+=B.substring(Y,W.index);let y=C(F,W);if(y){let[A,s]=y;if(j.addText(G),G="",g+=s,A.startsWith("_"))G+=W[0];else{let nZ=b.classNameAliases[A]||A;j.addKeyword(W[0],nZ)}}else G+=W[0];Y=F.keywordPatternRe.lastIndex,W=F.keywordPatternRe.exec(B)}G+=B.substr(Y),j.addText(G)}function L(){if(B==="")return;let Y=null;if(typeof F.subLanguage==="string"){if(!J[F.subLanguage]){j.addText(B);return}Y=S(F.subLanguage,B,!0,FZ[F.subLanguage]),FZ[F.subLanguage]=Y.top}else Y=l(B,F.subLanguage.length?F.subLanguage:null);if(F.relevance>0)g+=Y.relevance;j.addSublanguage(Y.emitter,Y.language)}function O(){if(F.subLanguage!=null)L();else f();B=""}function T(Y){if(Y.className)j.openNode(b.classNameAliases[Y.className]||Y.className);return F=Object.create(Y,{parent:{value:F}}),F}function _(Y,W,G){let y=Q0(Y.endRe,G);if(y){if(Y["on:end"]){let A=new ZZ(Y);if(Y["on:end"](W,A),A.isMatchIgnored)y=!1}if(y){while(Y.endsParent&&Y.parent)Y=Y.parent;return Y}}if(Y.endsWithParent)return _(Y.parent,W,G)}function iZ(Y){if(F.matcher.regexIndex===0)return B+=Y[0],1;else return a=!0,0}function rZ(Y){let W=Y[0],G=Y.rule,y=new ZZ(G),A=[G.__beforeBegin,G["on:begin"]];for(let s of A){if(!s)continue;if(s(Y,y),y.isMatchIgnored)return iZ(W)}if(G&&G.endSameAsBegin)G.endRe=eZ(W);if(G.skip)B+=W;else{if(G.excludeBegin)B+=W;if(O(),!G.returnBegin&&!G.excludeBegin)B=W}return T(G),G.returnBegin?0:W.length}function lZ(Y){let W=Y[0],G=V.substr(Y.index),y=_(F,Y,G);if(!y)return vZ;let A=F;if(A.skip)B+=W;else{if(!(A.returnEnd||A.excludeEnd))B+=W;if(O(),A.excludeEnd)B=W}do{if(F.className)j.closeNode();if(!F.skip&&!F.subLanguage)g+=F.relevance;F=F.parent}while(F!==y.parent);if(y.starts){if(y.endSameAsBegin)y.starts.endRe=y.endRe;T(y.starts)}return A.returnEnd?0:W.length}function dZ(){let Y=[];for(let W=F;W!==b;W=W.parent)if(W.className)Y.unshift(W.className);Y.forEach((W)=>j.openNode(W))}let u={};function $Z(Y,W){let G=W&&W[0];if(B+=Y,G==null)return O(),0;if(u.type==="begin"&&W.type==="end"&&u.index===W.index&&G===""){if(B+=V.slice(W.index,W.index+1),!P){let y=Error("0 width match regex");throw y.languageName=q,y.badRule=u.rule,y}return 1}if(u=W,W.type==="begin")return rZ(W);else if(W.type==="illegal"&&!K){let y=Error('Illegal lexeme "'+G+'" for mode "'+(F.className||"<unnamed>")+'"');throw y.mode=F,y}else if(W.type==="end"){let y=lZ(W);if(y!==vZ)return y}if(W.type==="illegal"&&G==="")return 1;if(t>1e5&&t>W.index*3)throw Error("potential infinite loop, way more iterations than matches");return B+=G,G.length}let b=R(q);if(!b)throw o(D.replace("{}",q)),Error('Unknown language: "'+q+'"');let mZ=x0(b,{plugins:$}),n="",F=H||mZ,FZ={},j=new X.__emitter(X);dZ();let B="",g=0,N=0,t=0,a=!1;try{F.matcher.considerAll();for(;;){if(t++,a)a=!1;else F.matcher.considerAll();F.matcher.lastIndex=N;let Y=F.matcher.exec(V);if(!Y)break;let W=V.substring(N,Y.index),G=$Z(W,Y);N=Y.index+G}return $Z(V.substr(N)),j.closeAllNodes(),j.finalize(),n=j.toHTML(),{relevance:Math.floor(g),value:n,language:q,illegal:!1,emitter:j,top:F}}catch(Y){if(Y.message&&Y.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Y.message,context:V.slice(N-100,N+100),mode:Y.mode},sofar:n,relevance:0,value:e(V),emitter:j};else if(P)return{illegal:!1,relevance:0,value:e(V),emitter:j,language:q,top:F,errorRaised:Y};else throw Y}}function OZ(q){let V={relevance:0,emitter:new X.__emitter(X),value:e(q),illegal:!1,top:Q};return V.emitter.addText(q),V}function l(q,V){V=V||X.languages||Object.keys(J);let K=OZ(q),H=V.filter(R).filter(WZ).map((T)=>S(T,q,!1));H.unshift(K);let C=H.sort((T,_)=>{if(T.relevance!==_.relevance)return _.relevance-T.relevance;if(T.language&&_.language){if(R(T.language).supersetOf===_.language)return 1;else if(R(_.language).supersetOf===T.language)return-1}return 0}),[f,L]=C,O=f;return O.second_best=L,O}function TZ(q){if(!(X.tabReplace||X.useBR))return q;return q.replace(v,(V)=>{if(V===`
|
|
3
|
-
`)return X.useBR?"<br>":V;else if(X.tabReplace)return V.replace(/\t/g,X.tabReplace);return V})}function RZ(q,V,K){let H=V?z[V]:K;if(q.classList.add("hljs"),H)q.classList.add(H)}let SZ={"before:highlightElement":({el:q})=>{if(X.useBR)q.innerHTML=q.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
|
4
|
-
`)},"after:highlightElement":({result:q})=>{if(X.useBR)q.value=q.value.replace(/\n/g,"<br>")}},_Z=/^(<[^>]+>|\t)+/gm,xZ={"after:highlightElement":({result:q})=>{if(X.tabReplace)q.value=q.value.replace(_Z,(V)=>V.replace(/\t/g,X.tabReplace))}};function h(q){let V=null,K=U(q);if(I(K))return;c("before:highlightElement",{el:q,language:K}),V=q;let H=V.textContent,C=K?k(H,{language:K,ignoreIllegals:!0}):l(H);if(c("after:highlightElement",{el:q,result:C,text:H}),q.innerHTML=C.value,RZ(q,K,C.language),q.result={language:C.language,re:C.relevance,relavance:C.relevance},C.second_best)q.second_best={language:C.second_best.language,re:C.second_best.relevance,relavance:C.second_best.relevance}}function fZ(q){if(q.useBR)w("10.3.0","'useBR' will be removed entirely in v11.0"),w("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559");X=PZ(X,q)}let d=()=>{if(d.called)return;d.called=!0,w("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(h)};function bZ(){w("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),m=!0}let m=!1;function zZ(){if(document.readyState==="loading"){m=!0;return}document.querySelectorAll("pre code").forEach(h)}function NZ(){if(m)zZ()}if(typeof window<"u"&&window.addEventListener)window.addEventListener("DOMContentLoaded",NZ,!1);function MZ(q,V){let K=null;try{K=V(Z)}catch(H){if(o("Language definition for '{}' could not be registered.".replace("{}",q)),!P)throw H;else o(H);K=Q}if(!K.name)K.name=q;if(J[q]=K,K.rawDefinition=V.bind(null,Z),K.aliases)YZ(K.aliases,{languageName:q})}function EZ(q){delete J[q];for(let V of Object.keys(z))if(z[V]===q)delete z[V]}function pZ(){return Object.keys(J)}function hZ(q){w("10.4.0","requireLanguage will be removed entirely in v11."),w("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let V=R(q);if(V)return V;throw Error("The '{}' language is required, but not loaded.".replace("{}",q))}function R(q){return q=(q||"").toLowerCase(),J[q]||J[z[q]]}function YZ(q,{languageName:V}){if(typeof q==="string")q=[q];q.forEach((K)=>{z[K.toLowerCase()]=V})}function WZ(q){let V=R(q);return V&&!V.disableAutodetect}function cZ(q){if(q["before:highlightBlock"]&&!q["before:highlightElement"])q["before:highlightElement"]=(V)=>{q["before:highlightBlock"](Object.assign({block:V.el},V))};if(q["after:highlightBlock"]&&!q["after:highlightElement"])q["after:highlightElement"]=(V)=>{q["after:highlightBlock"](Object.assign({block:V.el},V))}}function uZ(q){cZ(q),$.push(q)}function c(q,V){let K=q;$.forEach(function(H){if(H[K])H[K](V)})}function gZ(q){return w("10.2.0","fixMarkup will be removed entirely in v11.0"),w("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),TZ(q)}function sZ(q){return w("10.7.0","highlightBlock will be removed entirely in v12.0"),w("10.7.0","Please use highlightElement now."),h(q)}Object.assign(Z,{highlight:k,highlightAuto:l,highlightAll:zZ,fixMarkup:gZ,highlightElement:h,highlightBlock:sZ,configure:fZ,initHighlighting:d,initHighlightingOnLoad:bZ,registerLanguage:MZ,unregisterLanguage:EZ,listLanguages:pZ,getLanguage:R,registerAliases:YZ,requireLanguage:hZ,autoDetection:WZ,inherit:PZ,addPlugin:uZ,vuePlugin:M0(Z).VuePlugin}),Z.debugMode=function(){P=!1},Z.safeMode=function(){P=!0},Z.versionString=b0;for(let q in i)if(typeof i[q]==="object")yZ(i[q]);return Object.assign(Z,i),Z.addPlugin(SZ),Z.addPlugin(E0),Z.addPlugin(xZ),Z},c0=h0({});LZ.exports=c0});
|
|
5
|
-
export{u0 as M2};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{Fg as s,Gg as Sy}from"./cli-1.0.4-kbfs3rn2.mjs";import{Og as wy,Qg as kG}from"./cli-1.0.4-r8x4yv46.mjs";import{Ii as Zy,Ki as Ky,Li as ny}from"./cli-1.0.4-e26gm32b.mjs";import{AS as Vy,Ar as Wy,BL as by,FL as GG,Ir as ly,Ms as C,OF as i,PF as Ly,Rx as X,Sx as oy,TF as g,UF as My,Us as _y,VS as zG,bL as j,bo as yy,cL as ey,do as Gy,fo as ky,io as qy,jS as Hy,jo as zy,kL as Oy,kl as e,ko as Iy,kv as Xy,mo as Jy,nv as ay,ol as sy,pr as Qy,so as xy,uL as yG}from"./cli-1.0.4-jvp0mp87.mjs";import{VW as Ny,WW as ty}from"./cli-1.0.4-rmrpsgq6.mjs";import{XX as Py,YX as Uy,ZX as jy,bY as qG}from"./cli-1.0.4-c9sh44ne.mjs";import{hY as Ry,nY as cy}from"./cli-1.0.4-ghzbww61.mjs";import{$Z as Q,I0 as ry,IY as hy,a0 as $y,b0 as L,d0 as d}from"./cli-1.0.4-9ra8j4rt.mjs";import{O2 as O,P2 as E,Q2 as p}from"./cli-1.0.4-x8jnn75c.mjs";import{R2 as Yy}from"./cli-1.0.4-5e2v63sy.mjs";import{O5 as iy,c7 as h,o5 as c,p5 as t,v7 as gy}from"./cli-1.0.4-0vwtrvvh.mjs";import{R7 as a,S7 as fy}from"./cli-1.0.4-3289hbrr.mjs";import{$$ as Ey,Kda as M,Q9 as T,Z$ as J,e_ as o,jca as n,l_ as Ay,mda as P,n_ as U,o_ as uy,oca as r,pca as v,pda as q,yca as dy}from"./cli-1.0.4-q0rnwhn4.mjs";import{Aga as u,oga as K,zga as A}from"./cli-1.0.4-d8bjdz7n.mjs";import{Nha as f,Qha as Fy}from"./cli-1.0.4-34jdejmp.mjs";import{Qia as _,Tia as Dy}from"./cli-1.0.4-vpcfce7x.mjs";import{Tqa as D}from"./cli-1.0.4-rhq4w2pj.mjs";ry();u();Fy();M();Ly();Sy();My();p();var $=D(hy(),1),F=D(Yy(),1),Ty={enable_shortcut_tip:!1,enable_startup_dialog:!1};function S(){return A("tengu_desktop_upsell",Ty)}function vy(){return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}function wG(){if(!vy())return!1;if(!S().enable_startup_dialog)return!1;let y=q();if(y.desktopUpsellDismissed)return!1;if((y.desktopUpsellSeenCount??0)>=3)return!1;return!0}function PG(y){let G=$.c(14),{onDone:k}=y,[z,Z]=F.useState(!1),W;if(G[0]===Symbol.for("react.memo_cache_sentinel"))W=[],G[0]=W;else W=G[0];if(F.useEffect(py,W),z){let w;if(G[1]!==k)w=O(s,{onDone:()=>k()}),G[1]=k,G[2]=w;else w=G[2];return w}let b;if(G[3]!==k)b=function(By){switch(By){case"try":{Z(!0);return}case"never":{P(Cy),k();return}case"not-now":{k();return}}},G[3]=k,G[4]=b;else b=G[4];let I=b,R;if(G[5]===Symbol.for("react.memo_cache_sentinel"))R={label:"Open in Claude Code Desktop",value:"try"},G[5]=R;else R=G[5];let H;if(G[6]===Symbol.for("react.memo_cache_sentinel"))H={label:"Not now",value:"not-now"},G[6]=H;else H=G[6];let V;if(G[7]===Symbol.for("react.memo_cache_sentinel"))V=[R,H,{label:"Don't ask again",value:"never"}],G[7]=V;else V=G[7];let my=V,m;if(G[8]===Symbol.for("react.memo_cache_sentinel"))m=O(L,{marginBottom:1,children:O(d,{children:"Same Claude Code with visual diffs, live app preview, parallel sessions, and more."})}),G[8]=m;else m=G[8];let N;if(G[9]!==I)N=()=>I("not-now"),G[9]=I,G[10]=N;else N=G[10];let B;if(G[11]!==I||G[12]!==N)B=O(g,{title:"Try Claude Code Desktop",children:E(L,{flexDirection:"column",paddingX:2,paddingY:1,children:[m,O(i,{options:my,onChange:I,onCancel:N})]})}),G[11]=I,G[12]=N,G[13]=B;else B=G[13];return B}function Cy(y){if(y.desktopUpsellDismissed)return y;return{...y,desktopUpsellDismissed:!0}}function py(){let y=(q().desktopUpsellSeenCount??0)+1;P((G)=>{if((G.desktopUpsellSeenCount??0)>=y)return G;return{...G,desktopUpsellSeenCount:y}}),f("tengu_desktop_upsell_shown",{seen_count:y})}M();function VG(y){let G=q().numStartups;P((k)=>{let z=k.tipsHistory??{};if(z[y]===G)return k;return{...k,tipsHistory:{...z,[y]:G}}})}function x(y){let G=q(),k=G.tipsHistory?.[y];if(!k)return 1/0;return G.numStartups-k}fy();Dy();_y();dy();cy();$y();kG();oy();sy();gy();ty();M();ly();Ey();ay();Ay();xy();iy();uy();GG();yG();ey();zG();u();ny();qG();var Y;async function IG(){if(Y!==void 0)return Y;let y=await Oy();return Y=j in y,Y}async function l(y,G,k){if(!await IG())return!1;if(by(`${y}@${j}`))return!1;let{bashTools:z}=G??{};if(k.cli&&z?.size){if(k.cli.some((Z)=>z.has(Z)))return!0}if(k.filePath&&G?.readFileState){if(Xy(G.readFileState).some((W)=>k.filePath.test(W)))return!0}return!1}var JG=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return q().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=q();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=q(),G=v(),k=Boolean(y.lastPlanModeUse),z=Boolean(G?.permissions?.defaultMode);return k&&!z}catch(y){return _(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=q();return await o()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${X("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${X("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await T()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${X("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=q();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(Hy())return!1;return await Ny()>=2}},{id:"terminal-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=q();if(J.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>J.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=q();return Boolean((J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>J.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!Ry())return!1;let y=q();return!(J.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return q().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&a.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>U()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>v().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return q().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${J.terminal==="vscode"?"code":J.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!yy())return!1;if(U()!=="macos")return!1;switch(J.terminal){case"vscode":return!await Iy();case"cursor":return!await qy();case"windsurf":return!await zy();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Gy())return!1;if((await ky()).length!==0)return!1;return(await Jy()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!q().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!q().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return q().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!J.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>U()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!C()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>C()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>Vy()&&q().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return q().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${X("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${X("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return q().numStartups>5}},{id:"desktop-app",content:async()=>"Run Claude Code locally or remotely using the Claude desktop app: clau.de/desktop",cooldownSessions:15,isRelevant:async()=>U()!=="linux"},{id:"desktop-shortcut",content:async(y)=>{return`Continue your session in Claude Code Desktop with ${Q("suggestion",y.theme)("/desktop")}`},cooldownSessions:15,isRelevant:async()=>{if(!S().enable_shortcut_tip)return!1;return process.platform==="darwin"||process.platform==="win32"&&process.arch==="x64"}},{id:"web-app",content:async()=>"Run tasks in the cloud while you keep coding locally · clau.de/web",cooldownSessions:15,isRelevant:async()=>!0},{id:"mobile-app",content:async()=>"/mobile to use Claude Code from the Claude app on your phone",cooldownSessions:15,isRelevant:async()=>!0},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${X("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=q(),k=c()==="opusplan",z=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return k&&z>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
|
|
2
|
-
${Q("suggestion",y.theme)(`/plugin install frontend-design@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
|
|
3
|
-
${Q("suggestion",y.theme)(`/plugin install vercel@${j}`)}`},cooldownSessions:3,isRelevant:async(y)=>l("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let k=Q("suggestion",y.theme)("/effort high");return K("tengu_tide_elm","off")==="copy_b"?`Use ${k} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${k} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!Qy(t()))return!1;if(n("policySettings")?.effortLevel!==void 0)return!1;if(Wy()!==void 0)return!1;let y=r().effortLevel;if(y==="high"||y==="max")return!1;return K("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${G("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${G('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;return K("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let G=Q("suggestion",y.theme);return K("tengu_timber_lark","off")==="copy_b"?`Use ${G("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${G("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!h())return!1;if(!e())return!1;return K("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let G=Q("claude",y.theme),k=jy();return k?`Share Claude Code and earn ${G(Uy(k))} of extra usage · ${G("/passes")}`:`You have free guest passes to share · ${G("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(q().hasVisitedPasses)return!1;let{eligible:G}=Py();return G}},{id:"overage-credit",content:async(y)=>{let G=Q("claude",y.theme),k=Zy(),z=k?Ky(k):null;if(!z)return"";return`${G(`${z} in extra usage, on us`)} · third-party apps · ${G("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>wy()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return q().numStartups>5}}],QG=[];function WG(){let G=r().spinnerTipsOverride;if(!G?.tips?.length)return[];return G.tips.map((k,z)=>({id:`custom-tip-${z}`,content:async()=>k,cooldownSessions:0,isRelevant:async()=>!0}))}async function cG(y){let k=r().spinnerTipsOverride,z=WG();if(k?.excludeDefault&&z.length>0)return z;let Z=[...JG,...QG],W=await Promise.all(Z.map((I)=>I.isRelevant(y)));return[...Z.filter((I,R)=>W[R]).filter((I)=>x(I.id)>=I.cooldownSessions),...z]}
|
|
4
|
-
export{wG as Xa,PG as Ya,VG as Za,x as _a,cG as $a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{AT as F,CT as U,DT as A,yT as N,zT as p}from"./cli-1.0.4-s8qwtd3t.mjs";import{A7 as O,C7 as V,M7 as x,O7 as H,P7 as k,w7 as L,x7 as P}from"./cli-1.0.4-9w88pg39.mjs";import{J$ as I,Kda as M,L$ as D,jca as X,pca as Y,pda as Z,yca as K}from"./cli-1.0.4-q0rnwhn4.mjs";import{Bja as $,Lja as b}from"./cli-1.0.4-ex22h376.mjs";import{Xqa as G}from"./cli-1.0.4-rhq4w2pj.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 Mc,g as Nc,j as Oc};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{Eh as e,Fh as qq,Gh as Jq,Hh as _q}from"./cli-1.0.4-fcswm1md.mjs";import{Ih as Zq,Jh as Pq}from"./cli-1.0.4-rkw1vtxv.mjs";import{cz as j,dz as y,hz as x}from"./cli-1.0.4-jvp0mp87.mjs";import{I0 as Iq,b0 as F,d0 as K}from"./cli-1.0.4-9ra8j4rt.mjs";import{O2 as Y,P2 as L,Q2 as Qq}from"./cli-1.0.4-x8jnn75c.mjs";import{R2 as m}from"./cli-1.0.4-5e2v63sy.mjs";import{Gba as r,M9 as w,O9 as h,Oba as Vq,V9 as f,Y8 as I,Z8 as t,l_ as Uq}from"./cli-1.0.4-q0rnwhn4.mjs";import{Lfa as Eq,wfa as Xq,xfa as Mq}from"./cli-1.0.4-1bg07n68.mjs";import{Tqa as R,Xqa as D}from"./cli-1.0.4-rhq4w2pj.mjs";function p(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,V=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:V,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var u=D(()=>{x();b=R(m(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),V=q.join(`
|
|
2
|
-
`),X=J.join(`
|
|
3
|
-
`);O.useEffect(()=>{let v=!1;M(!0);async function G(){let N=V?V.split(`
|
|
4
|
-
`):[],_=X?X.split(`
|
|
5
|
-
`):[],E=(await Promise.all(_.map((B)=>h(B)))).flat(),P=w(E).filter((B)=>!N.includes(B)).sort((B,C)=>S(B).localeCompare(S(C))),k=w([...N,...P]),Yq=await Promise.all(k.map(async(B)=>{let[C,g,Aq]=await Promise.all([j(B),y(B),f(B)]);return{root:B,name:S(B),branch:Aq,files:C?p(C,g):[],hunks:g}}));if(!v)z(Yq),Z(k),M(!1)}return G().catch(()=>{if(!v)z([]),Z([]),M(!1)}),()=>{v=!0}},[V,X,U]);let W=O.useCallback(()=>H((v)=>v+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=D(()=>{Uq();x();u();O=R(m(),1)});import{basename as c}from"path";function n(q,J,$){if(q===0)return"";return J.join("")+($?vq:a)}function d(q){return{name:q,dirs:new Map,files:[]}}function Gq(q){let J=d("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=d(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function l(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>c(X.path).localeCompare(c(W.path))),V=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],v=W.name,G=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;v=`${v}/${P.name}`,G=`${G}/${P.name}`,W=P}let N=X===U.length-1&&!V,_=`${Q}\x00${G}`,E=z.has(_);if(A.push({kind:"dir",key:_,label:v,depth:$,collapsed:E,guides:n($,M,N)}),!E){let P=$>=1?[...M,N?Bq:a]:M;l(W,G,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],v=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:n($,M,v)})}}function Nq(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${r(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}l(Gq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var a="│ ",vq="└ ",Bq=" ";var i=D(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return T[Math.abs(J)%T.length]}function o(q){let J=T.length;return T[(q%J+J)%J]}var T;var s=D(()=>{T=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function $q(){let q=Zq();return{enabled:q,fileIcon:(J)=>q?Jq(J):"",folderIcon:(J)=>q?J?qq:e:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var zq=D(()=>{t();_q();Pq()});import{basename as Lq}from"path";function Dq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function JJ(q){return q.flatMap((J)=>J.files)}function ZJ({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo($q,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Dq(M,J,$),V=[];for(let X=U;X<H;X++){let W=q[X];V.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),V,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let N=J?`${z.pointer} `:" ",_=q.collapsed?I.triangleRight:I.triangleDown;return L(K,{dimColor:!J,bold:J,children:[`${N}${_} `,z.repoIcon&&Y(K,{color:o(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let N=q.collapsed?I.triangleRight:I.triangleDown,_=z.folderIcon(!q.collapsed),E=_?`${_} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=Mq(q.label,P);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${N} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),V=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,v=Math.max(4,$-U-X.length-(V?2:0)-W-1),G=Xq(Lq(q.file.path),v);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,V,Q&&!J?Y(K,{color:Q,children:G}):G]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq;var Tq=D(()=>{t();Iq();Eq();s();i();zq();Qq();Wq=R(m(),1)});
|
|
6
|
-
export{wq as $f,Hq as ag,$q as bg,zq as cg,hq as dg,s as eg,Nq as fg,i as gg,JJ as hg,ZJ as ig,Tq as jg};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Lpa as M,Mpa as Y}from"./cli-1.0.4-z5zmw573.mjs";import{Xqa as W}from"./cli-1.0.4-rhq4w2pj.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
|
|
2
|
-
export{$ as wja,N as xja,X as yja,_ as zja,j as Aja,U as Bja,I as Cja,S as Dja,T as Eja,c as Fja,L as Gja,w as Hja,z as Ija,O as Jja,x as Kja,k as Lja};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{Wqa as Q,Xqa as U}from"./cli-1.0.4-rhq4w2pj.mjs";var w={};Q(w,{default:()=>x,createSupportsColor:()=>K});import M from"node:process";import V from"node:os";import O from"node:tty";function z(q,B=globalThis.Deno?globalThis.Deno.args:M.argv){let D=q.startsWith("-")?"":q.length===1?"-":"--",E=B.indexOf(D+q),G=B.indexOf("--");return E!==-1&&(G===-1||E<G)}function X(){if(!("FORCE_COLOR"in j))return;if(j.FORCE_COLOR==="true")return 1;if(j.FORCE_COLOR==="false")return 0;if(j.FORCE_COLOR.length===0)return 1;let q=Math.min(Number.parseInt(j.FORCE_COLOR,10),3);if(![0,1,2,3].includes(q))return;return q}function Z(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function $(q,{streamIsTTY:B,sniffFlags:D=!0}={}){let E=X();if(E!==void 0)H=E;let G=D?H:E;if(G===0)return 0;if(D){if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2}if("TF_BUILD"in j&&"AGENT_NAME"in j)return 1;if(q&&!B&&G===void 0)return 0;let J=G||0;if(j.TERM==="dumb")return J;if(M.platform==="win32"){let A=V.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586)return Number(A[2])>=14931?3:2;return 1}if("CI"in j){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((A)=>(A in j)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((A)=>(A in j))||j.CI_NAME==="codeship")return 1;return J}if("TEAMCITY_VERSION"in j)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(j.TEAMCITY_VERSION)?1:0;if(j.COLORTERM==="truecolor")return 3;if(j.TERM==="xterm-kitty")return 3;if(j.TERM==="xterm-ghostty")return 3;if(j.TERM==="wezterm")return 3;if("TERM_PROGRAM"in j){let A=Number.parseInt((j.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(j.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(j.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(j.TERM))return 1;if("COLORTERM"in j)return 1;return J}function K(q,B={}){let D=$(q,{streamIsTTY:q&&q.isTTY,...B});return Z(D)}var j,H,b,x;var L=U(()=>{({env:j}=M);if(z("no-color")||z("no-colors")||z("color=false")||z("color=never"))H=0;else if(z("color")||z("colors")||z("color=true")||z("color=always"))H=1;b={stdout:K({isTTY:O.isatty(1)}),stderr:K({isTTY:O.isatty(2)})},x=b});
|
|
2
|
-
export{K as Eqa,w as Fqa,L as Gqa};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{MM as Q,NM as $}from"./cli-1.0.4-jvp0mp87.mjs";import{$ka as E,Yja as V,Zja as P,_ka as W}from"./cli-1.0.4-n5mydt2f.mjs";import{Xqa as L}from"./cli-1.0.4-rhq4w2pj.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
|
|
2
|
-
export{v as hd,C as id};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{C1 as o,F1 as OJ}from"./cli-1.0.4-vckzcaj2.mjs";import{$$ as BJ,Kda as D,Z$ as G,gfa as q,mda as v,o9 as K,oca as i,ofa as E,p9 as I,yca as HJ}from"./cli-1.0.4-q0rnwhn4.mjs";import{Nha as A,Qha as XJ}from"./cli-1.0.4-34jdejmp.mjs";import{Cia as y,Gia as F,Qia as W,Tia as zJ,tia as k,uia as j,yia as C}from"./cli-1.0.4-vpcfce7x.mjs";import{_ia as l,pja as O,qja as w,tja as p,vja as R}from"./cli-1.0.4-7pxrd0w5.mjs";import{Lja as b,yja as H}from"./cli-1.0.4-ex22h376.mjs";import{Xqa as M}from"./cli-1.0.4-rhq4w2pj.mjs";import{access as P,chmod as JJ,writeFile as QJ}from"fs/promises";import{homedir as f}from"os";import{join as B}from"path";function S(){return B(H(),"local")}function YJ(J=f()){return B(J,".claude","local")}function m(J){let Q=J?.homeDir??f(),Y=J?.configHomeDir??H();return Array.from(new Set([B(Y,"local"),YJ(Q)]))}function d(J){return[B(J,"node_modules",".bin","claudin"),B(J,"node_modules",".bin","claude")]}function ZJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function T(){return B(S(),"claudin")}function DJ(){return ZJ(process.argv[1]||"")}async function L(J,Q,Y){try{return await QJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(O(Z)==="EEXIST")return!1;throw Z}}async function $J(){try{let J=S();await y().mkdir(J),await L(B(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=T();if(await L(Q,`#!/bin/sh
|
|
2
|
-
exec "${J}/node_modules/.bin/claudin" "$@"`,493))await JJ(Q,493);return!0}catch(J){return q(J),!1}}async function EJ(J,Q){try{if(!await $J())return"install_failed";let Z=await K("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:S(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return v(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function PJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),!0}catch{}return!1}async function fJ(){for(let J of m())for(let Q of d(J))try{return await P(Q),J}catch{}return null}function mJ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var u=M(()=>{D();b();R();I();F();E();C()});import{open as qJ,readFile as WJ,stat as KJ}from"fs/promises";import{homedir as h}from"os";import{join as U}from"path";function V(J){let Q=J?.homedir??h(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:U(Z,".zshrc"),bash:U(Q,".bashrc"),fish:U(Q,".config/fish/config.fish")}}function g(J){let Q=!1;return{filtered:J.filter((Z)=>{if(c.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===T())return Q=!0,!1}}return!0}),hadAlias:Q}}async function x(J){try{return(await WJ(J,{encoding:"utf8"})).split(`
|
|
3
|
-
`)}catch(Q){if(p(Q))return null;throw Q}}async function n(J,Q){let Y=await qJ(J,"w");try{await Y.writeFile(Q.join(`
|
|
4
|
-
`),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function NJ(J){let Q=V(J);for(let Y of Object.values(Q)){let Z=await x(Y);if(!Z)continue;for(let $ of Z)if(c.test($)){let N=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(N&&N[1])return N[1]}}return null}async function nJ(J){let Q=await NJ(J);if(!Q)return null;let Y=J?.homedir??h(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await KJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var c;var s=M(()=>{R();u();c=/^\s*alias\s+claude\s*=/});import{constants as yJ}from"fs";import{access as GJ,writeFile as a}from"fs/promises";import{homedir as X}from"os";import{join as _J}from"path";function r(){let J=process.argv[1]||"";if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}async function vJ(){let J=await K("bun",["pm","ls","-g"],{cwd:X()});if(J.code!==0)return!1;return J.stdout.includes("@claudiolabs/claudin")}async function zQ(){}async function BQ(){return}async function HQ(){return}function OQ(J){let Y=i()?.minimumVersion;if(!Y)return!1;let Z=!o(J,Y);if(Z)W(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function e(){return _J(H(),".update.lock")}async function wJ(){let J=y(),Q=e();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<t)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<t)return!1;await J.unlink(Q)}catch($){if(!w($))return q($),!1}}catch(Y){if(!w(Y))return q(Y),!1}try{return await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=O(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(H()),await a(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(O($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function MJ(){let J=y(),Q=e();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(w(Y))return;q(Y)}}async function RJ(){let J=G.isRunningWithBun()||r(),Q=null;if(J)Q=await K("bun",["pm","bin","-g"],{cwd:X()});else Q=await K("npm",["-g","config","get","prefix"],{cwd:X()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function SJ(){try{let J=await RJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await GJ(J,yJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new _("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function yQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await K("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:X()});if($.code!==0){if(W(`npm view failed with code ${$.code}`),$.stderr)W(`npm stderr: ${$.stderr.trim()}`);else W("npm stderr: (empty)");if($.stdout)W(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function GQ(){let J=await K("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:X()});if(J.code!==0)return W(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=j(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return W(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function _Q(J){return null}async function vQ(){return{latest:null,stable:null}}async function wQ(J){let Y=await K("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:X()});if(Y.code!==0){if(W(`npm view versions failed with code ${Y.code}`),Y.stderr)W(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return j(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return W(`Failed to parse version history: ${Z}`),[]}}async function MQ(J){if(!await wJ())return q(new _("Another process is currently installing an update")),A("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{if(await TJ(),!G.isRunningWithBun()&&G.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),A("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
|
|
5
|
-
Error: Windows NPM detected in WSL
|
|
6
|
-
|
|
7
|
-
You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
|
|
8
|
-
This configuration is not supported for updates.
|
|
9
|
-
|
|
10
|
-
To fix this issue:
|
|
11
|
-
1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
|
|
12
|
-
2. Make sure Linux NPM is in your PATH before the Windows version
|
|
13
|
-
3. Try updating again with 'claude update'
|
|
14
|
-
`),"install_failed";let{hasPermissions:Q}=await SJ();if(!Q)return"no_permissions";let Y=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",Z=G.isRunningWithBun()||r()?"bun":"npm",N=await K(Z,Z==="npm"?["install","-g","--force",Y]:["install","-g",Y],{cwd:X()});if(N.code!==0){let z=new _(`Failed to install new version of claude: ${N.stdout} ${N.stderr}`);return q(z),"install_failed"}if(Z==="npm"&&await vJ()){let z=await K("bun",["install","-g",Y],{cwd:X()});if(z.code!==0)q(new _(`Failed to update bun global install: ${z.stdout} ${z.stderr}`))}return v((z)=>({...z,installMethod:"global"})),"success"}finally{await MJ()}}async function TJ(){let J=V();for(let[,Q]of Object.entries(J))try{let Y=await x(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=g(Y);if($)await n(Q,Z),W(`Removed claude alias from ${Q}`)}catch(Y){W(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var _,t=300000;var UJ=M(()=>{XJ();D();zJ();BJ();b();R();I();F();E();OJ();HJ();s();C();_=class _ extends l{}});
|
|
15
|
-
export{DJ as ET,EJ as FT,PJ as GT,fJ as HT,mJ as IT,u as JT,V as KT,g as LT,x as MT,n as NT,NJ as OT,nJ as PT,s as QT,zQ as RT,BQ as ST,HQ as TT,OQ as UT,e as VT,SJ as WT,yQ as XT,GQ as YT,_Q as ZT,vQ as _T,wQ as $T,MQ as aU,UJ as bU};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{OF as h,QF as I,Yn as g,Zn as k}from"./cli-1.0.4-jvp0mp87.mjs";import{I0 as _,IY as S,d0 as s}from"./cli-1.0.4-9ra8j4rt.mjs";import{O2 as c,P2 as m,Q2 as T}from"./cli-1.0.4-x8jnn75c.mjs";import{Kda as P,mda as b}from"./cli-1.0.4-q0rnwhn4.mjs";import{Tqa as D}from"./cli-1.0.4-rhq4w2pj.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
-
export{E as u};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{X6 as f,f4 as j,i4 as I,p6 as b,q6 as c,v7 as d}from"./cli-1.0.4-0vwtrvvh.mjs";import{O8 as F,P8 as D}from"./cli-1.0.4-ng8nc24b.mjs";import{gfa as y,ofa as T}from"./cli-1.0.4-q0rnwhn4.mjs";import{Uga as $,Vga as R,Wga as _,Xga as E}from"./cli-1.0.4-0wp27vrg.mjs";import{Lha as q,Mha as m}from"./cli-1.0.4-hfn9tnb6.mjs";import{Qia as W,Tia as z,tia as M,yia as U}from"./cli-1.0.4-vpcfce7x.mjs";import{nja as k,oja as Y,vja as O}from"./cli-1.0.4-7pxrd0w5.mjs";import{gqa as X,yqa as h}from"./cli-1.0.4-j17mhs88.mjs";import{Xqa as A}from"./cli-1.0.4-rhq4w2pj.mjs";import{randomUUID as l}from"crypto";function p(J){if(!X.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function u(J,B){let N;for(let K=0;K<=x;K++)try{return await X.get(J,B)}catch(Q){if(N=Q,!p(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${Y(Q)}`),Q;let V=S[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${Y(Q)}`),await b(V)}throw N}async function C(){let J=f()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function NJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${q().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await u(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let v=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(v?.url){let G=F(v.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:v.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function WJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${q().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await X.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let v=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(v||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function GJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function vJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${q().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??l(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await X.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${Y(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${q().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await X.patch(Q,{title:B},{headers:V,validateStatus:(v)=>v<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${Y(N)}`),!1}}var S,x,$J="ccr-byoc-2025-07-29",BJ;var g=A(()=>{h();m();I();R();d();z();D();O();E();T();c();U();S=[2000,4000,8000,16000],x=S.length;BJ=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
|
|
2
|
-
export{$J as $2,p as a3,u as b3,BJ as c3,C as d3,NJ as e3,L as f3,WJ as g3,GJ as h3,vJ as i3,XJ as j3,g as k3};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$t as T,Uw as U,Vw as V,Yw as f,_t as R,au as $}from"./cli-1.0.4-jvp0mp87.mjs";import{k5 as Q,l5 as _}from"./cli-1.0.4-0vwtrvvh.mjs";import{E$ as L,L$ as Y,gfa as G,ofa as Z}from"./cli-1.0.4-q0rnwhn4.mjs";import{Xqa as X}from"./cli-1.0.4-rhq4w2pj.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
|
|
2
|
-
export{O as Xc,S as Yc,I as Zc,N as _c,P as $c,h as ad};
|