@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
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{zra as b}from"./cli-1.0.6-c3q3ytrc.mjs";var K$,L$,F$=(_)=>typeof _==="string"?{...L$,name:_}:{...L$,..._};var S_=b(()=>{K$=Symbol("Let zodToJsonSchema decide on which parser to use"),L$={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref",openAiAnyTypeName:"OpenAiAnyType"}});var O,f$,B,T=(_)=>{switch(typeof _){case"undefined":return B.undefined;case"string":return B.string;case"number":return Number.isNaN(_)?B.nan:B.number;case"boolean":return B.boolean;case"function":return B.function;case"bigint":return B.bigint;case"symbol":return B.symbol;case"object":if(Array.isArray(_))return B.array;if(_===null)return B.null;if(_.then&&typeof _.then==="function"&&_.catch&&typeof _.catch==="function")return B.promise;if(typeof Map<"u"&&_ instanceof Map)return B.map;if(typeof Set<"u"&&_ instanceof Set)return B.set;if(typeof Date<"u"&&_ instanceof Date)return B.date;return B.object;default:return B.unknown}};var __=b(()=>{(function(_){_.assertEqual=(W)=>{};function $(W){}_.assertIs=$;function q(W){throw Error()}_.assertNever=q,_.arrayToEnum=(W)=>{let X={};for(let H of W)X[H]=H;return X},_.getValidEnumValues=(W)=>{let X=_.objectKeys(W).filter((Y)=>typeof W[W[Y]]!=="number"),H={};for(let Y of X)H[Y]=W[Y];return _.objectValues(H)},_.objectValues=(W)=>{return _.objectKeys(W).map(function(X){return W[X]})},_.objectKeys=typeof Object.keys==="function"?(W)=>Object.keys(W):(W)=>{let X=[];for(let H in W)if(Object.prototype.hasOwnProperty.call(W,H))X.push(H);return X},_.find=(W,X)=>{for(let H of W)if(X(H))return H;return},_.isInteger=typeof Number.isInteger==="function"?(W)=>Number.isInteger(W):(W)=>typeof W==="number"&&Number.isFinite(W)&&Math.floor(W)===W;function J(W,X=" | "){return W.map((H)=>typeof H==="string"?`'${H}'`:H).join(X)}_.joinValues=J,_.jsonStringifyReplacer=(W,X)=>{if(typeof X==="bigint")return X.toString();return X}})(O||(O={}));(function(_){_.mergeShapes=($,q)=>{return{...$,...q}}})(f$||(f$={}));B=O.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"])});var G,f;var v_=b(()=>{__();G=O.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);f=class f extends Error{get errors(){return this.issues}constructor(_){super();this.issues=[],this.addIssue=(q)=>{this.issues=[...this.issues,q]},this.addIssues=(q=[])=>{this.issues=[...this.issues,...q]};let $=new.target.prototype;if(Object.setPrototypeOf)Object.setPrototypeOf(this,$);else this.__proto__=$;this.name="ZodError",this.issues=_}format(_){let $=_||function(W){return W.message},q={_errors:[]},J=(W)=>{for(let X of W.issues)if(X.code==="invalid_union")X.unionErrors.map(J);else if(X.code==="invalid_return_type")J(X.returnTypeError);else if(X.code==="invalid_arguments")J(X.argumentsError);else if(X.path.length===0)q._errors.push($(X));else{let H=q,Y=0;while(Y<X.path.length){let Q=X.path[Y];if(Y!==X.path.length-1)H[Q]=H[Q]||{_errors:[]};else H[Q]=H[Q]||{_errors:[]},H[Q]._errors.push($(X));H=H[Q],Y++}}};return J(this),q}static assert(_){if(!(_ instanceof f))throw Error(`Not a ZodError: ${_}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,O.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(_=($)=>$.message){let $=Object.create(null),q=[];for(let J of this.issues)if(J.path.length>0){let W=J.path[0];$[W]=$[W]||[],$[W].push(_(J))}else q.push(_(J));return{formErrors:q,fieldErrors:$}}get formErrors(){return this.flatten()}};f.create=(_)=>{return new f(_)}});var bq=(_,$)=>{let q;switch(_.code){case G.invalid_type:if(_.received===B.undefined)q="Required";else q=`Expected ${_.expected}, received ${_.received}`;break;case G.invalid_literal:q=`Invalid literal value, expected ${JSON.stringify(_.expected,O.jsonStringifyReplacer)}`;break;case G.unrecognized_keys:q=`Unrecognized key(s) in object: ${O.joinValues(_.keys,", ")}`;break;case G.invalid_union:q="Invalid input";break;case G.invalid_union_discriminator:q=`Invalid discriminator value. Expected ${O.joinValues(_.options)}`;break;case G.invalid_enum_value:q=`Invalid enum value. Expected ${O.joinValues(_.options)}, received '${_.received}'`;break;case G.invalid_arguments:q="Invalid function arguments";break;case G.invalid_return_type:q="Invalid function return type";break;case G.invalid_date:q="Invalid date";break;case G.invalid_string:if(typeof _.validation==="object")if("includes"in _.validation){if(q=`Invalid input: must include "${_.validation.includes}"`,typeof _.validation.position==="number")q=`${q} at one or more positions greater than or equal to ${_.validation.position}`}else if("startsWith"in _.validation)q=`Invalid input: must start with "${_.validation.startsWith}"`;else if("endsWith"in _.validation)q=`Invalid input: must end with "${_.validation.endsWith}"`;else O.assertNever(_.validation);else if(_.validation!=="regex")q=`Invalid ${_.validation}`;else q="Invalid";break;case G.too_small:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at least":"more than"} ${_.minimum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at least":"over"} ${_.minimum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="bigint")q=`Number must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${_.minimum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly equal to ":_.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(_.minimum))}`;else q="Invalid input";break;case G.too_big:if(_.type==="array")q=`Array must contain ${_.exact?"exactly":_.inclusive?"at most":"less than"} ${_.maximum} element(s)`;else if(_.type==="string")q=`String must contain ${_.exact?"exactly":_.inclusive?"at most":"under"} ${_.maximum} character(s)`;else if(_.type==="number")q=`Number must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="bigint")q=`BigInt must be ${_.exact?"exactly":_.inclusive?"less than or equal to":"less than"} ${_.maximum}`;else if(_.type==="date")q=`Date must be ${_.exact?"exactly":_.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(_.maximum))}`;else q="Invalid input";break;case G.custom:q="Invalid input";break;case G.invalid_intersection_types:q="Intersection results could not be merged";break;case G.not_multiple_of:q=`Number must be a multiple of ${_.multipleOf}`;break;case G.not_finite:q="Number must be finite";break;default:q=$.defaultError,O.assertNever(_)}return{message:q}},Z;var y_=b(()=>{v_();__();Z=bq});function $_(){return zq}var zq;var j_=b(()=>{y_();zq=Z});function D(_,$){let q=$_(),J=A_({issueData:$,data:_.data,path:_.path,errorMaps:[_.common.contextualErrorMap,_.schemaErrorMap,q,q===Z?void 0:Z].filter((W)=>!!W)});_.common.issues.push(J)}class L{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(_,$){let q=[];for(let J of $){if(J.status==="aborted")return z;if(J.status==="dirty")_.dirty();q.push(J.value)}return{status:_.value,value:q}}static async mergeObjectAsync(_,$){let q=[];for(let J of $){let W=await J.key,X=await J.value;q.push({key:W,value:X})}return L.mergeObjectSync(_,q)}static mergeObjectSync(_,$){let q={};for(let J of $){let{key:W,value:X}=J;if(W.status==="aborted")return z;if(X.status==="aborted")return z;if(W.status==="dirty")_.dirty();if(X.status==="dirty")_.dirty();if(W.value!=="__proto__"&&(typeof X.value<"u"||J.alwaysSet))q[W.value]=X.value}return{status:_.value,value:q}}}var A_=(_)=>{let{data:$,path:q,errorMaps:J,issueData:W}=_,X=[...q,...W.path||[]],H={...W,path:X};if(W.message!==void 0)return{...W,path:X,message:W.message};let Y="",Q=J.filter((v)=>!!v).slice().reverse();for(let v of Q)Y=v(H,{data:$,defaultError:Y}).message;return{...W,path:X,message:Y}},z,c=(_)=>({status:"dirty",value:_}),K=(_)=>({status:"valid",value:_}),x_=(_)=>_.status==="aborted",n_=(_)=>_.status==="dirty",i=(_)=>_.status==="valid",q_=(_)=>typeof Promise<"u"&&_ instanceof Promise;var Z_=b(()=>{j_();y_();z=Object.freeze({status:"aborted"})});var g$=()=>{};var w;var C$=b(()=>{(function(_){_.errToObj=($)=>typeof $==="string"?{message:$}:$||{},_.toString=($)=>typeof $==="string"?$:$?.message})(w||(w={}))});class C{constructor(_,$,q,J){this._cachedPath=[],this.parent=_,this.data=$,this._path=q,this._key=J}get path(){if(!this._cachedPath.length)if(Array.isArray(this._key))this._cachedPath.push(...this._path,...this._key);else this._cachedPath.push(...this._path,this._key);return this._cachedPath}}function j(_){if(!_)return{};let{errorMap:$,invalid_type_error:q,required_error:J,description:W}=_;if($&&(q||J))throw Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);if($)return{errorMap:$,description:W};return{errorMap:(H,Y)=>{let{message:Q}=_;if(H.code==="invalid_enum_value")return{message:Q??Y.defaultError};if(typeof Y.data>"u")return{message:Q??J??Y.defaultError};if(H.code!=="invalid_type")return{message:Y.defaultError};return{message:Q??q??Y.defaultError}},description:W}}class A{get description(){return this._def.description}_getType(_){return T(_.data)}_getOrReturnCtx(_,$){return $||{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}_processInputParams(_){return{status:new L,ctx:{common:_.parent.common,data:_.data,parsedType:T(_.data),schemaErrorMap:this._def.errorMap,path:_.path,parent:_.parent}}}_parseSync(_){let $=this._parse(_);if(q_($))throw Error("Synchronous parse encountered promise.");return $}_parseAsync(_){let $=this._parse(_);return Promise.resolve($)}parse(_,$){let q=this.safeParse(_,$);if(q.success)return q.data;throw q.error}safeParse(_,$){let q={common:{issues:[],async:$?.async??!1,contextualErrorMap:$?.errorMap},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parseSync({data:_,path:q.path,parent:q});return k$(q,J)}"~validate"(_){let $={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)};if(!this["~standard"].async)try{let q=this._parseSync({data:_,path:[],parent:$});return i(q)?{value:q.value}:{issues:$.common.issues}}catch(q){if(q?.message?.toLowerCase()?.includes("encountered"))this["~standard"].async=!0;$.common={issues:[],async:!0}}return this._parseAsync({data:_,path:[],parent:$}).then((q)=>i(q)?{value:q.value}:{issues:$.common.issues})}async parseAsync(_,$){let q=await this.safeParseAsync(_,$);if(q.success)return q.data;throw q.error}async safeParseAsync(_,$){let q={common:{issues:[],contextualErrorMap:$?.errorMap,async:!0},path:$?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:_,parsedType:T(_)},J=this._parse({data:_,path:q.path,parent:q}),W=await(q_(J)?J:Promise.resolve(J));return k$(q,W)}refine(_,$){let q=(J)=>{if(typeof $==="string"||typeof $>"u")return{message:$};else if(typeof $==="function")return $(J);else return $};return this._refinement((J,W)=>{let X=_(J),H=()=>W.addIssue({code:G.custom,...q(J)});if(typeof Promise<"u"&&X instanceof Promise)return X.then((Y)=>{if(!Y)return H(),!1;else return!0});if(!X)return H(),!1;else return!0})}refinement(_,$){return this._refinement((q,J)=>{if(!_(q))return J.addIssue(typeof $==="function"?$(q,J):$),!1;else return!0})}_refinement(_){return new l({schema:this,typeName:M.ZodEffects,effect:{type:"refinement",refinement:_}})}superRefine(_){return this._refinement(_)}constructor(_){this.spa=this.safeParseAsync,this._def=_,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:($)=>this["~validate"]($)}}optional(){return m.create(this,this._def)}nullable(){return u.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return P.create(this)}promise(){return e.create(this,this._def)}or(_){return Q_.create([this,_],this._def)}and(_){return Y_.create(this,_,this._def)}transform(_){return new l({...j(this._def),schema:this,typeName:M.ZodEffects,effect:{type:"transform",transform:_}})}default(_){let $=typeof _==="function"?_:()=>_;return new D_({...j(this._def),innerType:this,defaultValue:$,typeName:M.ZodDefault})}brand(){return new r_({typeName:M.ZodBranded,type:this,...j(this._def)})}catch(_){let $=typeof _==="function"?_:()=>_;return new w_({...j(this._def),innerType:this,catchValue:$,typeName:M.ZodCatch})}describe(_){return new this.constructor({...this._def,description:_})}pipe(_){return K_.create(this,_)}readonly(){return b_.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}function P$(_){let $="[0-5]\\d";if(_.precision)$=`${$}\\.\\d{${_.precision}}`;else if(_.precision==null)$=`${$}(\\.\\d+)?`;let q=_.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${$})${q}`}function kq(_){return new RegExp(`^${P$(_)}$`)}function Iq(_){let $=`${I$}T${P$(_)}`,q=[];if(q.push(_.local?"Z?":"Z"),_.offset)q.push("([+-]\\d{2}:?\\d{2})");return $=`${$}(${q.join("|")})`,new RegExp(`^${$}$`)}function Pq(_,$){if(($==="v4"||!$)&&Rq.test(_))return!0;if(($==="v6"||!$)&&Kq.test(_))return!0;return!1}function mq(_,$){if(!Nq.test(_))return!1;try{let[q]=_.split(".");if(!q)return!1;let J=q.replace(/-/g,"+").replace(/_/g,"/").padEnd(q.length+(4-q.length%4)%4,"="),W=JSON.parse(atob(J));if(typeof W!=="object"||W===null)return!1;if("typ"in W&&W?.typ!=="JWT")return!1;if(!W.alg)return!1;if($&&W.alg!==$)return!1;return!0}catch{return!1}}function lq(_,$){if(($==="v4"||!$)&&Lq.test(_))return!0;if(($==="v6"||!$)&&Fq.test(_))return!0;return!1}function Tq(_,$){let q=(_.toString().split(".")[1]||"").length,J=($.toString().split(".")[1]||"").length,W=q>J?q:J,X=Number.parseInt(_.toFixed(W).replace(".","")),H=Number.parseInt($.toFixed(W).replace(".",""));return X%H/10**W}function d(_){if(_ instanceof U){let $={};for(let q in _.shape){let J=_.shape[q];$[q]=m.create(d(J))}return new U({..._._def,shape:()=>$})}else if(_ instanceof P)return new P({..._._def,type:d(_.element)});else if(_ instanceof m)return m.create(d(_.unwrap()));else if(_ instanceof u)return u.create(d(_.unwrap()));else if(_ instanceof n)return n.create(_.items.map(($)=>d($)));else return _}function p_(_,$){let q=T(_),J=T($);if(_===$)return{valid:!0,data:_};else if(q===B.object&&J===B.object){let W=O.objectKeys($),X=O.objectKeys(_).filter((Y)=>W.indexOf(Y)!==-1),H={..._,...$};for(let Y of X){let Q=p_(_[Y],$[Y]);if(!Q.valid)return{valid:!1};H[Y]=Q.data}return{valid:!0,data:H}}else if(q===B.array&&J===B.array){if(_.length!==$.length)return{valid:!1};let W=[];for(let X=0;X<_.length;X++){let H=_[X],Y=$[X],Q=p_(H,Y);if(!Q.valid)return{valid:!1};W.push(Q.data)}return{valid:!0,data:W}}else if(q===B.date&&J===B.date&&+_===+$)return{valid:!0,data:_};else return{valid:!1}}function m$(_,$){return new o({values:_,typeName:M.ZodEnum,...j($)})}var k$=(_,$)=>{if(i($))return{success:!0,data:$.value};else{if(!_.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let q=new f(_.common.issues);return this._error=q,this._error}}}},Sq,vq,jq,Aq,Oq,Nq,Eq,Uq,Vq="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",u_,Rq,Lq,Kq,Fq,fq,gq,I$="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Cq,y,t,a,O_,W_,N_,X_,H_,E_,r,x,U_,P,U,Q_,h=(_)=>{if(_ instanceof G_)return h(_.schema);else if(_ instanceof l)return h(_.innerType());else if(_ instanceof M_)return[_.value];else if(_ instanceof o)return _.options;else if(_ instanceof B_)return O.objectValues(_.enum);else if(_ instanceof D_)return h(_._def.innerType);else if(_ instanceof X_)return[void 0];else if(_ instanceof H_)return[null];else if(_ instanceof m)return[void 0,...h(_.unwrap())];else if(_ instanceof u)return[null,...h(_.unwrap())];else if(_ instanceof r_)return h(_.unwrap());else if(_ instanceof b_)return h(_.unwrap());else if(_ instanceof w_)return h(_._def.innerType);else return[]},i_,Y_,n,V_,R_,s,J_,G_,M_,o,B_,e,l,m,u,D_,w_,L_,D3,r_,K_,b_,w3,M,b3,z3,S3,v3,j3,A3,O3,N3,E3,U3,V3,R3,L3,K3,F3,f3,g3,C3,k3,I3,P3,m3,l3,T3,h3,y3,x3,n3,Z3,u3,p3,i3,r3,o3;var l$=b(()=>{v_();j_();C$();Z_();__();Sq=/^c[^\s-]{8,}$/i,vq=/^[0-9a-z]+$/,jq=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Aq=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Oq=/^[a-z0-9_-]{21}$/i,Nq=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Eq=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Uq=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Rq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Lq=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Kq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Fq=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,fq=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,gq=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Cq=new RegExp(`^${I$}$`);y=class y extends A{_parse(_){if(this._def.coerce)_.data=String(_.data);if(this._getType(_)!==B.string){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.string,received:W.parsedType}),z}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.length<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="max"){if(_.data.length>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!1,message:W.message}),q.dirty()}else if(W.kind==="length"){let X=_.data.length>W.value,H=_.data.length<W.value;if(X||H){if(J=this._getOrReturnCtx(_,J),X)D(J,{code:G.too_big,maximum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});else if(H)D(J,{code:G.too_small,minimum:W.value,type:"string",inclusive:!0,exact:!0,message:W.message});q.dirty()}}else if(W.kind==="email"){if(!Uq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"email",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="emoji"){if(!u_)u_=new RegExp(Vq,"u");if(!u_.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"emoji",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="uuid"){if(!Aq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"uuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="nanoid"){if(!Oq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"nanoid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid"){if(!Sq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cuid2"){if(!vq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"cuid2",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ulid"){if(!jq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"ulid",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="url")try{new URL(_.data)}catch{J=this._getOrReturnCtx(_,J),D(J,{validation:"url",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="regex"){if(W.regex.lastIndex=0,!W.regex.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"regex",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="trim")_.data=_.data.trim();else if(W.kind==="includes"){if(!_.data.includes(W.value,W.position))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{includes:W.value,position:W.position},message:W.message}),q.dirty()}else if(W.kind==="toLowerCase")_.data=_.data.toLowerCase();else if(W.kind==="toUpperCase")_.data=_.data.toUpperCase();else if(W.kind==="startsWith"){if(!_.data.startsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{startsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="endsWith"){if(!_.data.endsWith(W.value))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:{endsWith:W.value},message:W.message}),q.dirty()}else if(W.kind==="datetime"){if(!Iq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"datetime",message:W.message}),q.dirty()}else if(W.kind==="date"){if(!Cq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"date",message:W.message}),q.dirty()}else if(W.kind==="time"){if(!kq(W).test(_.data))J=this._getOrReturnCtx(_,J),D(J,{code:G.invalid_string,validation:"time",message:W.message}),q.dirty()}else if(W.kind==="duration"){if(!Eq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"duration",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="ip"){if(!Pq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"ip",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="jwt"){if(!mq(_.data,W.alg))J=this._getOrReturnCtx(_,J),D(J,{validation:"jwt",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="cidr"){if(!lq(_.data,W.version))J=this._getOrReturnCtx(_,J),D(J,{validation:"cidr",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64"){if(!fq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64",code:G.invalid_string,message:W.message}),q.dirty()}else if(W.kind==="base64url"){if(!gq.test(_.data))J=this._getOrReturnCtx(_,J),D(J,{validation:"base64url",code:G.invalid_string,message:W.message}),q.dirty()}else O.assertNever(W);return{status:q.value,value:_.data}}_regex(_,$,q){return this.refinement((J)=>_.test(J),{validation:$,code:G.invalid_string,...w.errToObj(q)})}_addCheck(_){return new y({...this._def,checks:[...this._def.checks,_]})}email(_){return this._addCheck({kind:"email",...w.errToObj(_)})}url(_){return this._addCheck({kind:"url",...w.errToObj(_)})}emoji(_){return this._addCheck({kind:"emoji",...w.errToObj(_)})}uuid(_){return this._addCheck({kind:"uuid",...w.errToObj(_)})}nanoid(_){return this._addCheck({kind:"nanoid",...w.errToObj(_)})}cuid(_){return this._addCheck({kind:"cuid",...w.errToObj(_)})}cuid2(_){return this._addCheck({kind:"cuid2",...w.errToObj(_)})}ulid(_){return this._addCheck({kind:"ulid",...w.errToObj(_)})}base64(_){return this._addCheck({kind:"base64",...w.errToObj(_)})}base64url(_){return this._addCheck({kind:"base64url",...w.errToObj(_)})}jwt(_){return this._addCheck({kind:"jwt",...w.errToObj(_)})}ip(_){return this._addCheck({kind:"ip",...w.errToObj(_)})}cidr(_){return this._addCheck({kind:"cidr",...w.errToObj(_)})}datetime(_){if(typeof _==="string")return this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:_});return this._addCheck({kind:"datetime",precision:typeof _?.precision>"u"?null:_?.precision,offset:_?.offset??!1,local:_?.local??!1,...w.errToObj(_?.message)})}date(_){return this._addCheck({kind:"date",message:_})}time(_){if(typeof _==="string")return this._addCheck({kind:"time",precision:null,message:_});return this._addCheck({kind:"time",precision:typeof _?.precision>"u"?null:_?.precision,...w.errToObj(_?.message)})}duration(_){return this._addCheck({kind:"duration",...w.errToObj(_)})}regex(_,$){return this._addCheck({kind:"regex",regex:_,...w.errToObj($)})}includes(_,$){return this._addCheck({kind:"includes",value:_,position:$?.position,...w.errToObj($?.message)})}startsWith(_,$){return this._addCheck({kind:"startsWith",value:_,...w.errToObj($)})}endsWith(_,$){return this._addCheck({kind:"endsWith",value:_,...w.errToObj($)})}min(_,$){return this._addCheck({kind:"min",value:_,...w.errToObj($)})}max(_,$){return this._addCheck({kind:"max",value:_,...w.errToObj($)})}length(_,$){return this._addCheck({kind:"length",value:_,...w.errToObj($)})}nonempty(_){return this.min(1,w.errToObj(_))}trim(){return new y({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new y({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new y({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((_)=>_.kind==="datetime")}get isDate(){return!!this._def.checks.find((_)=>_.kind==="date")}get isTime(){return!!this._def.checks.find((_)=>_.kind==="time")}get isDuration(){return!!this._def.checks.find((_)=>_.kind==="duration")}get isEmail(){return!!this._def.checks.find((_)=>_.kind==="email")}get isURL(){return!!this._def.checks.find((_)=>_.kind==="url")}get isEmoji(){return!!this._def.checks.find((_)=>_.kind==="emoji")}get isUUID(){return!!this._def.checks.find((_)=>_.kind==="uuid")}get isNANOID(){return!!this._def.checks.find((_)=>_.kind==="nanoid")}get isCUID(){return!!this._def.checks.find((_)=>_.kind==="cuid")}get isCUID2(){return!!this._def.checks.find((_)=>_.kind==="cuid2")}get isULID(){return!!this._def.checks.find((_)=>_.kind==="ulid")}get isIP(){return!!this._def.checks.find((_)=>_.kind==="ip")}get isCIDR(){return!!this._def.checks.find((_)=>_.kind==="cidr")}get isBase64(){return!!this._def.checks.find((_)=>_.kind==="base64")}get isBase64url(){return!!this._def.checks.find((_)=>_.kind==="base64url")}get minLength(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxLength(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};y.create=(_)=>{return new y({checks:[],typeName:M.ZodString,coerce:_?.coerce??!1,...j(_)})};t=class t extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(_){if(this._def.coerce)_.data=Number(_.data);if(this._getType(_)!==B.number){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.number,received:W.parsedType}),z}let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="int"){if(!O.isInteger(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.invalid_type,expected:"integer",received:"float",message:W.message}),J.dirty()}else if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,minimum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,maximum:W.value,type:"number",inclusive:W.inclusive,exact:!1,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(Tq(_.data,W.value)!==0)q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else if(W.kind==="finite"){if(!Number.isFinite(_.data))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_finite,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new t({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new t({...this._def,checks:[...this._def.checks,_]})}int(_){return this._addCheck({kind:"int",message:w.toString(_)})}positive(_){return this._addCheck({kind:"min",value:0,inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:0,inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:0,inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:0,inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}finite(_){return this._addCheck({kind:"finite",message:w.toString(_)})}safe(_){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:w.toString(_)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:w.toString(_)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}get isInt(){return!!this._def.checks.find((_)=>_.kind==="int"||_.kind==="multipleOf"&&O.isInteger(_.value))}get isFinite(){let _=null,$=null;for(let q of this._def.checks)if(q.kind==="finite"||q.kind==="int"||q.kind==="multipleOf")return!0;else if(q.kind==="min"){if($===null||q.value>$)$=q.value}else if(q.kind==="max"){if(_===null||q.value<_)_=q.value}return Number.isFinite($)&&Number.isFinite(_)}};t.create=(_)=>{return new t({checks:[],typeName:M.ZodNumber,coerce:_?.coerce||!1,...j(_)})};a=class a extends A{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte}_parse(_){if(this._def.coerce)try{_.data=BigInt(_.data)}catch{return this._getInvalidInput(_)}if(this._getType(_)!==B.bigint)return this._getInvalidInput(_);let q=void 0,J=new L;for(let W of this._def.checks)if(W.kind==="min"){if(W.inclusive?_.data<W.value:_.data<=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_small,type:"bigint",minimum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="max"){if(W.inclusive?_.data>W.value:_.data>=W.value)q=this._getOrReturnCtx(_,q),D(q,{code:G.too_big,type:"bigint",maximum:W.value,inclusive:W.inclusive,message:W.message}),J.dirty()}else if(W.kind==="multipleOf"){if(_.data%W.value!==BigInt(0))q=this._getOrReturnCtx(_,q),D(q,{code:G.not_multiple_of,multipleOf:W.value,message:W.message}),J.dirty()}else O.assertNever(W);return{status:J.value,value:_.data}}_getInvalidInput(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.bigint,received:$.parsedType}),z}gte(_,$){return this.setLimit("min",_,!0,w.toString($))}gt(_,$){return this.setLimit("min",_,!1,w.toString($))}lte(_,$){return this.setLimit("max",_,!0,w.toString($))}lt(_,$){return this.setLimit("max",_,!1,w.toString($))}setLimit(_,$,q,J){return new a({...this._def,checks:[...this._def.checks,{kind:_,value:$,inclusive:q,message:w.toString(J)}]})}_addCheck(_){return new a({...this._def,checks:[...this._def.checks,_]})}positive(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:w.toString(_)})}negative(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:w.toString(_)})}nonpositive(_){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:w.toString(_)})}nonnegative(_){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:w.toString(_)})}multipleOf(_,$){return this._addCheck({kind:"multipleOf",value:_,message:w.toString($)})}get minValue(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _}get maxValue(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _}};a.create=(_)=>{return new a({checks:[],typeName:M.ZodBigInt,coerce:_?.coerce??!1,...j(_)})};O_=class O_ extends A{_parse(_){if(this._def.coerce)_.data=Boolean(_.data);if(this._getType(_)!==B.boolean){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.boolean,received:q.parsedType}),z}return K(_.data)}};O_.create=(_)=>{return new O_({typeName:M.ZodBoolean,coerce:_?.coerce||!1,...j(_)})};W_=class W_ extends A{_parse(_){if(this._def.coerce)_.data=new Date(_.data);if(this._getType(_)!==B.date){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_type,expected:B.date,received:W.parsedType}),z}if(Number.isNaN(_.data.getTime())){let W=this._getOrReturnCtx(_);return D(W,{code:G.invalid_date}),z}let q=new L,J=void 0;for(let W of this._def.checks)if(W.kind==="min"){if(_.data.getTime()<W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_small,message:W.message,inclusive:!0,exact:!1,minimum:W.value,type:"date"}),q.dirty()}else if(W.kind==="max"){if(_.data.getTime()>W.value)J=this._getOrReturnCtx(_,J),D(J,{code:G.too_big,message:W.message,inclusive:!0,exact:!1,maximum:W.value,type:"date"}),q.dirty()}else O.assertNever(W);return{status:q.value,value:new Date(_.data.getTime())}}_addCheck(_){return new W_({...this._def,checks:[...this._def.checks,_]})}min(_,$){return this._addCheck({kind:"min",value:_.getTime(),message:w.toString($)})}max(_,$){return this._addCheck({kind:"max",value:_.getTime(),message:w.toString($)})}get minDate(){let _=null;for(let $ of this._def.checks)if($.kind==="min"){if(_===null||$.value>_)_=$.value}return _!=null?new Date(_):null}get maxDate(){let _=null;for(let $ of this._def.checks)if($.kind==="max"){if(_===null||$.value<_)_=$.value}return _!=null?new Date(_):null}};W_.create=(_)=>{return new W_({checks:[],coerce:_?.coerce||!1,typeName:M.ZodDate,...j(_)})};N_=class N_ extends A{_parse(_){if(this._getType(_)!==B.symbol){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.symbol,received:q.parsedType}),z}return K(_.data)}};N_.create=(_)=>{return new N_({typeName:M.ZodSymbol,...j(_)})};X_=class X_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.undefined,received:q.parsedType}),z}return K(_.data)}};X_.create=(_)=>{return new X_({typeName:M.ZodUndefined,...j(_)})};H_=class H_ extends A{_parse(_){if(this._getType(_)!==B.null){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.null,received:q.parsedType}),z}return K(_.data)}};H_.create=(_)=>{return new H_({typeName:M.ZodNull,...j(_)})};E_=class E_ extends A{constructor(){super(...arguments);this._any=!0}_parse(_){return K(_.data)}};E_.create=(_)=>{return new E_({typeName:M.ZodAny,...j(_)})};r=class r extends A{constructor(){super(...arguments);this._unknown=!0}_parse(_){return K(_.data)}};r.create=(_)=>{return new r({typeName:M.ZodUnknown,...j(_)})};x=class x extends A{_parse(_){let $=this._getOrReturnCtx(_);return D($,{code:G.invalid_type,expected:B.never,received:$.parsedType}),z}};x.create=(_)=>{return new x({typeName:M.ZodNever,...j(_)})};U_=class U_ extends A{_parse(_){if(this._getType(_)!==B.undefined){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.void,received:q.parsedType}),z}return K(_.data)}};U_.create=(_)=>{return new U_({typeName:M.ZodVoid,...j(_)})};P=class P extends A{_parse(_){let{ctx:$,status:q}=this._processInputParams(_),J=this._def;if($.parsedType!==B.array)return D($,{code:G.invalid_type,expected:B.array,received:$.parsedType}),z;if(J.exactLength!==null){let X=$.data.length>J.exactLength.value,H=$.data.length<J.exactLength.value;if(X||H)D($,{code:X?G.too_big:G.too_small,minimum:H?J.exactLength.value:void 0,maximum:X?J.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:J.exactLength.message}),q.dirty()}if(J.minLength!==null){if($.data.length<J.minLength.value)D($,{code:G.too_small,minimum:J.minLength.value,type:"array",inclusive:!0,exact:!1,message:J.minLength.message}),q.dirty()}if(J.maxLength!==null){if($.data.length>J.maxLength.value)D($,{code:G.too_big,maximum:J.maxLength.value,type:"array",inclusive:!0,exact:!1,message:J.maxLength.message}),q.dirty()}if($.common.async)return Promise.all([...$.data].map((X,H)=>{return J.type._parseAsync(new C($,X,$.path,H))})).then((X)=>{return L.mergeArray(q,X)});let W=[...$.data].map((X,H)=>{return J.type._parseSync(new C($,X,$.path,H))});return L.mergeArray(q,W)}get element(){return this._def.type}min(_,$){return new P({...this._def,minLength:{value:_,message:w.toString($)}})}max(_,$){return new P({...this._def,maxLength:{value:_,message:w.toString($)}})}length(_,$){return new P({...this._def,exactLength:{value:_,message:w.toString($)}})}nonempty(_){return this.min(1,_)}};P.create=(_,$)=>{return new P({type:_,minLength:null,maxLength:null,exactLength:null,typeName:M.ZodArray,...j($)})};U=class U extends A{constructor(){super(...arguments);this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let _=this._def.shape(),$=O.objectKeys(_);return this._cached={shape:_,keys:$},this._cached}_parse(_){if(this._getType(_)!==B.object){let Q=this._getOrReturnCtx(_);return D(Q,{code:G.invalid_type,expected:B.object,received:Q.parsedType}),z}let{status:q,ctx:J}=this._processInputParams(_),{shape:W,keys:X}=this._getCached(),H=[];if(!(this._def.catchall instanceof x&&this._def.unknownKeys==="strip")){for(let Q in J.data)if(!X.includes(Q))H.push(Q)}let Y=[];for(let Q of X){let v=W[Q],R=J.data[Q];Y.push({key:{status:"valid",value:Q},value:v._parse(new C(J,R,J.path,Q)),alwaysSet:Q in J.data})}if(this._def.catchall instanceof x){let Q=this._def.unknownKeys;if(Q==="passthrough")for(let v of H)Y.push({key:{status:"valid",value:v},value:{status:"valid",value:J.data[v]}});else if(Q==="strict"){if(H.length>0)D(J,{code:G.unrecognized_keys,keys:H}),q.dirty()}else if(Q==="strip");else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let Q=this._def.catchall;for(let v of H){let R=J.data[v];Y.push({key:{status:"valid",value:v},value:Q._parse(new C(J,R,J.path,v)),alwaysSet:v in J.data})}}if(J.common.async)return Promise.resolve().then(async()=>{let Q=[];for(let v of Y){let R=await v.key,R$=await v.value;Q.push({key:R,value:R$,alwaysSet:v.alwaysSet})}return Q}).then((Q)=>{return L.mergeObjectSync(q,Q)});else return L.mergeObjectSync(q,Y)}get shape(){return this._def.shape()}strict(_){return w.errToObj,new U({...this._def,unknownKeys:"strict",..._!==void 0?{errorMap:($,q)=>{let J=this._def.errorMap?.($,q).message??q.defaultError;if($.code==="unrecognized_keys")return{message:w.errToObj(_).message??J};return{message:J}}}:{}})}strip(){return new U({...this._def,unknownKeys:"strip"})}passthrough(){return new U({...this._def,unknownKeys:"passthrough"})}extend(_){return new U({...this._def,shape:()=>({...this._def.shape(),..._})})}merge(_){return new U({unknownKeys:_._def.unknownKeys,catchall:_._def.catchall,shape:()=>({...this._def.shape(),..._._def.shape()}),typeName:M.ZodObject})}setKey(_,$){return this.augment({[_]:$})}catchall(_){return new U({...this._def,catchall:_})}pick(_){let $={};for(let q of O.objectKeys(_))if(_[q]&&this.shape[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}omit(_){let $={};for(let q of O.objectKeys(this.shape))if(!_[q])$[q]=this.shape[q];return new U({...this._def,shape:()=>$})}deepPartial(){return d(this)}partial(_){let $={};for(let q of O.objectKeys(this.shape)){let J=this.shape[q];if(_&&!_[q])$[q]=J;else $[q]=J.optional()}return new U({...this._def,shape:()=>$})}required(_){let $={};for(let q of O.objectKeys(this.shape))if(_&&!_[q])$[q]=this.shape[q];else{let W=this.shape[q];while(W instanceof m)W=W._def.innerType;$[q]=W}return new U({...this._def,shape:()=>$})}keyof(){return m$(O.objectKeys(this.shape))}};U.create=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.strictCreate=(_,$)=>{return new U({shape:()=>_,unknownKeys:"strict",catchall:x.create(),typeName:M.ZodObject,...j($)})};U.lazycreate=(_,$)=>{return new U({shape:_,unknownKeys:"strip",catchall:x.create(),typeName:M.ZodObject,...j($)})};Q_=class Q_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=this._def.options;function J(W){for(let H of W)if(H.result.status==="valid")return H.result;for(let H of W)if(H.result.status==="dirty")return $.common.issues.push(...H.ctx.common.issues),H.result;let X=W.map((H)=>new f(H.ctx.common.issues));return D($,{code:G.invalid_union,unionErrors:X}),z}if($.common.async)return Promise.all(q.map(async(W)=>{let X={...$,common:{...$.common,issues:[]},parent:null};return{result:await W._parseAsync({data:$.data,path:$.path,parent:X}),ctx:X}})).then(J);else{let W=void 0,X=[];for(let Y of q){let Q={...$,common:{...$.common,issues:[]},parent:null},v=Y._parseSync({data:$.data,path:$.path,parent:Q});if(v.status==="valid")return v;else if(v.status==="dirty"&&!W)W={result:v,ctx:Q};if(Q.common.issues.length)X.push(Q.common.issues)}if(W)return $.common.issues.push(...W.ctx.common.issues),W.result;let H=X.map((Y)=>new f(Y));return D($,{code:G.invalid_union,unionErrors:H}),z}}get options(){return this._def.options}};Q_.create=(_,$)=>{return new Q_({options:_,typeName:M.ZodUnion,...j($)})};i_=class i_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.object)return D($,{code:G.invalid_type,expected:B.object,received:$.parsedType}),z;let q=this.discriminator,J=$.data[q],W=this.optionsMap.get(J);if(!W)return D($,{code:G.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[q]}),z;if($.common.async)return W._parseAsync({data:$.data,path:$.path,parent:$});else return W._parseSync({data:$.data,path:$.path,parent:$})}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(_,$,q){let J=new Map;for(let W of $){let X=h(W.shape[_]);if(!X.length)throw Error(`A discriminator value for key \`${_}\` could not be extracted from all schema options`);for(let H of X){if(J.has(H))throw Error(`Discriminator property ${String(_)} has duplicate value ${String(H)}`);J.set(H,W)}}return new i_({typeName:M.ZodDiscriminatedUnion,discriminator:_,options:$,optionsMap:J,...j(q)})}};Y_=class Y_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=(W,X)=>{if(x_(W)||x_(X))return z;let H=p_(W.value,X.value);if(!H.valid)return D(q,{code:G.invalid_intersection_types}),z;if(n_(W)||n_(X))$.dirty();return{status:$.value,value:H.data}};if(q.common.async)return Promise.all([this._def.left._parseAsync({data:q.data,path:q.path,parent:q}),this._def.right._parseAsync({data:q.data,path:q.path,parent:q})]).then(([W,X])=>J(W,X));else return J(this._def.left._parseSync({data:q.data,path:q.path,parent:q}),this._def.right._parseSync({data:q.data,path:q.path,parent:q}))}};Y_.create=(_,$,q)=>{return new Y_({left:_,right:$,typeName:M.ZodIntersection,...j(q)})};n=class n extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.array)return D(q,{code:G.invalid_type,expected:B.array,received:q.parsedType}),z;if(q.data.length<this._def.items.length)return D(q,{code:G.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),z;if(!this._def.rest&&q.data.length>this._def.items.length)D(q,{code:G.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),$.dirty();let W=[...q.data].map((X,H)=>{let Y=this._def.items[H]||this._def.rest;if(!Y)return null;return Y._parse(new C(q,X,q.path,H))}).filter((X)=>!!X);if(q.common.async)return Promise.all(W).then((X)=>{return L.mergeArray($,X)});else return L.mergeArray($,W)}get items(){return this._def.items}rest(_){return new n({...this._def,rest:_})}};n.create=(_,$)=>{if(!Array.isArray(_))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new n({items:_,typeName:M.ZodTuple,rest:null,...j($)})};V_=class V_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.object)return D(q,{code:G.invalid_type,expected:B.object,received:q.parsedType}),z;let J=[],W=this._def.keyType,X=this._def.valueType;for(let H in q.data)J.push({key:W._parse(new C(q,H,q.path,H)),value:X._parse(new C(q,q.data[H],q.path,H)),alwaysSet:H in q.data});if(q.common.async)return L.mergeObjectAsync($,J);else return L.mergeObjectSync($,J)}get element(){return this._def.valueType}static create(_,$,q){if($ instanceof A)return new V_({keyType:_,valueType:$,typeName:M.ZodRecord,...j(q)});return new V_({keyType:y.create(),valueType:_,typeName:M.ZodRecord,...j($)})}};R_=class R_ extends A{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.map)return D(q,{code:G.invalid_type,expected:B.map,received:q.parsedType}),z;let J=this._def.keyType,W=this._def.valueType,X=[...q.data.entries()].map(([H,Y],Q)=>{return{key:J._parse(new C(q,H,q.path,[Q,"key"])),value:W._parse(new C(q,Y,q.path,[Q,"value"]))}});if(q.common.async){let H=new Map;return Promise.resolve().then(async()=>{for(let Y of X){let Q=await Y.key,v=await Y.value;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}})}else{let H=new Map;for(let Y of X){let{key:Q,value:v}=Y;if(Q.status==="aborted"||v.status==="aborted")return z;if(Q.status==="dirty"||v.status==="dirty")$.dirty();H.set(Q.value,v.value)}return{status:$.value,value:H}}}};R_.create=(_,$,q)=>{return new R_({valueType:$,keyType:_,typeName:M.ZodMap,...j(q)})};s=class s extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.parsedType!==B.set)return D(q,{code:G.invalid_type,expected:B.set,received:q.parsedType}),z;let J=this._def;if(J.minSize!==null){if(q.data.size<J.minSize.value)D(q,{code:G.too_small,minimum:J.minSize.value,type:"set",inclusive:!0,exact:!1,message:J.minSize.message}),$.dirty()}if(J.maxSize!==null){if(q.data.size>J.maxSize.value)D(q,{code:G.too_big,maximum:J.maxSize.value,type:"set",inclusive:!0,exact:!1,message:J.maxSize.message}),$.dirty()}let W=this._def.valueType;function X(Y){let Q=new Set;for(let v of Y){if(v.status==="aborted")return z;if(v.status==="dirty")$.dirty();Q.add(v.value)}return{status:$.value,value:Q}}let H=[...q.data.values()].map((Y,Q)=>W._parse(new C(q,Y,q.path,Q)));if(q.common.async)return Promise.all(H).then((Y)=>X(Y));else return X(H)}min(_,$){return new s({...this._def,minSize:{value:_,message:w.toString($)}})}max(_,$){return new s({...this._def,maxSize:{value:_,message:w.toString($)}})}size(_,$){return this.min(_,$).max(_,$)}nonempty(_){return this.min(1,_)}};s.create=(_,$)=>{return new s({valueType:_,minSize:null,maxSize:null,typeName:M.ZodSet,...j($)})};J_=class J_ extends A{constructor(){super(...arguments);this.validate=this.implement}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.function)return D($,{code:G.invalid_type,expected:B.function,received:$.parsedType}),z;function q(H,Y){return A_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_arguments,argumentsError:Y}})}function J(H,Y){return A_({data:H,path:$.path,errorMaps:[$.common.contextualErrorMap,$.schemaErrorMap,$_(),Z].filter((Q)=>!!Q),issueData:{code:G.invalid_return_type,returnTypeError:Y}})}let W={errorMap:$.common.contextualErrorMap},X=$.data;if(this._def.returns instanceof e){let H=this;return K(async function(...Y){let Q=new f([]),v=await H._def.args.parseAsync(Y,W).catch((h_)=>{throw Q.addIssue(q(Y,h_)),Q}),R=await Reflect.apply(X,this,v);return await H._def.returns._def.type.parseAsync(R,W).catch((h_)=>{throw Q.addIssue(J(R,h_)),Q})})}else{let H=this;return K(function(...Y){let Q=H._def.args.safeParse(Y,W);if(!Q.success)throw new f([q(Y,Q.error)]);let v=Reflect.apply(X,this,Q.data),R=H._def.returns.safeParse(v,W);if(!R.success)throw new f([J(v,R.error)]);return R.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(..._){return new J_({...this._def,args:n.create(_).rest(r.create())})}returns(_){return new J_({...this._def,returns:_})}implement(_){return this.parse(_)}strictImplement(_){return this.parse(_)}static create(_,$,q){return new J_({args:_?_:n.create([]).rest(r.create()),returns:$||r.create(),typeName:M.ZodFunction,...j(q)})}};G_=class G_ extends A{get schema(){return this._def.getter()}_parse(_){let{ctx:$}=this._processInputParams(_);return this._def.getter()._parse({data:$.data,path:$.path,parent:$})}};G_.create=(_,$)=>{return new G_({getter:_,typeName:M.ZodLazy,...j($)})};M_=class M_ extends A{_parse(_){if(_.data!==this._def.value){let $=this._getOrReturnCtx(_);return D($,{received:$.data,code:G.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:_.data}}get value(){return this._def.value}};M_.create=(_,$)=>{return new M_({value:_,typeName:M.ZodLiteral,...j($)})};o=class o extends A{_parse(_){if(typeof _.data!=="string"){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{expected:O.joinValues(q),received:$.parsedType,code:G.invalid_type}),z}if(!this._cache)this._cache=new Set(this._def.values);if(!this._cache.has(_.data)){let $=this._getOrReturnCtx(_),q=this._def.values;return D($,{received:$.data,code:G.invalid_enum_value,options:q}),z}return K(_.data)}get options(){return this._def.values}get enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Values(){let _={};for(let $ of this._def.values)_[$]=$;return _}get Enum(){let _={};for(let $ of this._def.values)_[$]=$;return _}extract(_,$=this._def){return o.create(_,{...this._def,...$})}exclude(_,$=this._def){return o.create(this.options.filter((q)=>!_.includes(q)),{...this._def,...$})}};o.create=m$;B_=class B_ extends A{_parse(_){let $=O.getValidEnumValues(this._def.values),q=this._getOrReturnCtx(_);if(q.parsedType!==B.string&&q.parsedType!==B.number){let J=O.objectValues($);return D(q,{expected:O.joinValues(J),received:q.parsedType,code:G.invalid_type}),z}if(!this._cache)this._cache=new Set(O.getValidEnumValues(this._def.values));if(!this._cache.has(_.data)){let J=O.objectValues($);return D(q,{received:q.data,code:G.invalid_enum_value,options:J}),z}return K(_.data)}get enum(){return this._def.values}};B_.create=(_,$)=>{return new B_({values:_,typeName:M.ZodNativeEnum,...j($)})};e=class e extends A{unwrap(){return this._def.type}_parse(_){let{ctx:$}=this._processInputParams(_);if($.parsedType!==B.promise&&$.common.async===!1)return D($,{code:G.invalid_type,expected:B.promise,received:$.parsedType}),z;let q=$.parsedType===B.promise?$.data:Promise.resolve($.data);return K(q.then((J)=>{return this._def.type.parseAsync(J,{path:$.path,errorMap:$.common.contextualErrorMap})}))}};e.create=(_,$)=>{return new e({type:_,typeName:M.ZodPromise,...j($)})};l=class l extends A{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===M.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(_){let{status:$,ctx:q}=this._processInputParams(_),J=this._def.effect||null,W={addIssue:(X)=>{if(D(q,X),X.fatal)$.abort();else $.dirty()},get path(){return q.path}};if(W.addIssue=W.addIssue.bind(W),J.type==="preprocess"){let X=J.transform(q.data,W);if(q.common.async)return Promise.resolve(X).then(async(H)=>{if($.value==="aborted")return z;let Y=await this._def.schema._parseAsync({data:H,path:q.path,parent:q});if(Y.status==="aborted")return z;if(Y.status==="dirty")return c(Y.value);if($.value==="dirty")return c(Y.value);return Y});else{if($.value==="aborted")return z;let H=this._def.schema._parseSync({data:X,path:q.path,parent:q});if(H.status==="aborted")return z;if(H.status==="dirty")return c(H.value);if($.value==="dirty")return c(H.value);return H}}if(J.type==="refinement"){let X=(H)=>{let Y=J.refinement(H,W);if(q.common.async)return Promise.resolve(Y);if(Y instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return H};if(q.common.async===!1){let H=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(H.status==="aborted")return z;if(H.status==="dirty")$.dirty();return X(H.value),{status:$.value,value:H.value}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((H)=>{if(H.status==="aborted")return z;if(H.status==="dirty")$.dirty();return X(H.value).then(()=>{return{status:$.value,value:H.value}})})}if(J.type==="transform")if(q.common.async===!1){let X=this._def.schema._parseSync({data:q.data,path:q.path,parent:q});if(!i(X))return z;let H=J.transform(X.value,W);if(H instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:$.value,value:H}}else return this._def.schema._parseAsync({data:q.data,path:q.path,parent:q}).then((X)=>{if(!i(X))return z;return Promise.resolve(J.transform(X.value,W)).then((H)=>({status:$.value,value:H}))});O.assertNever(J)}};l.create=(_,$,q)=>{return new l({schema:_,typeName:M.ZodEffects,effect:$,...j(q)})};l.createWithPreprocess=(_,$,q)=>{return new l({schema:$,effect:{type:"preprocess",transform:_},typeName:M.ZodEffects,...j(q)})};m=class m extends A{_parse(_){if(this._getType(_)===B.undefined)return K(void 0);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};m.create=(_,$)=>{return new m({innerType:_,typeName:M.ZodOptional,...j($)})};u=class u extends A{_parse(_){if(this._getType(_)===B.null)return K(null);return this._def.innerType._parse(_)}unwrap(){return this._def.innerType}};u.create=(_,$)=>{return new u({innerType:_,typeName:M.ZodNullable,...j($)})};D_=class D_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;if($.parsedType===B.undefined)q=this._def.defaultValue();return this._def.innerType._parse({data:q,path:$.path,parent:$})}removeDefault(){return this._def.innerType}};D_.create=(_,$)=>{return new D_({innerType:_,typeName:M.ZodDefault,defaultValue:typeof $.default==="function"?$.default:()=>$.default,...j($)})};w_=class w_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q={...$,common:{...$.common,issues:[]}},J=this._def.innerType._parse({data:q.data,path:q.path,parent:{...q}});if(q_(J))return J.then((W)=>{return{status:"valid",value:W.status==="valid"?W.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}});else return{status:"valid",value:J.status==="valid"?J.value:this._def.catchValue({get error(){return new f(q.common.issues)},input:q.data})}}removeCatch(){return this._def.innerType}};w_.create=(_,$)=>{return new w_({innerType:_,typeName:M.ZodCatch,catchValue:typeof $.catch==="function"?$.catch:()=>$.catch,...j($)})};L_=class L_ extends A{_parse(_){if(this._getType(_)!==B.nan){let q=this._getOrReturnCtx(_);return D(q,{code:G.invalid_type,expected:B.nan,received:q.parsedType}),z}return{status:"valid",value:_.data}}};L_.create=(_)=>{return new L_({typeName:M.ZodNaN,...j(_)})};D3=Symbol("zod_brand");r_=class r_ extends A{_parse(_){let{ctx:$}=this._processInputParams(_),q=$.data;return this._def.type._parse({data:q,path:$.path,parent:$})}unwrap(){return this._def.type}};K_=class K_ extends A{_parse(_){let{status:$,ctx:q}=this._processInputParams(_);if(q.common.async)return(async()=>{let W=await this._def.in._parseAsync({data:q.data,path:q.path,parent:q});if(W.status==="aborted")return z;if(W.status==="dirty")return $.dirty(),c(W.value);else return this._def.out._parseAsync({data:W.value,path:q.path,parent:q})})();else{let J=this._def.in._parseSync({data:q.data,path:q.path,parent:q});if(J.status==="aborted")return z;if(J.status==="dirty")return $.dirty(),{status:"dirty",value:J.value};else return this._def.out._parseSync({data:J.value,path:q.path,parent:q})}}static create(_,$){return new K_({in:_,out:$,typeName:M.ZodPipeline})}};b_=class b_ extends A{_parse(_){let $=this._def.innerType._parse(_),q=(J)=>{if(i(J))J.value=Object.freeze(J.value);return J};return q_($)?$.then((J)=>q(J)):q($)}unwrap(){return this._def.innerType}};b_.create=(_,$)=>{return new b_({innerType:_,typeName:M.ZodReadonly,...j($)})};w3={object:U.lazycreate};(function(_){_.ZodString="ZodString",_.ZodNumber="ZodNumber",_.ZodNaN="ZodNaN",_.ZodBigInt="ZodBigInt",_.ZodBoolean="ZodBoolean",_.ZodDate="ZodDate",_.ZodSymbol="ZodSymbol",_.ZodUndefined="ZodUndefined",_.ZodNull="ZodNull",_.ZodAny="ZodAny",_.ZodUnknown="ZodUnknown",_.ZodNever="ZodNever",_.ZodVoid="ZodVoid",_.ZodArray="ZodArray",_.ZodObject="ZodObject",_.ZodUnion="ZodUnion",_.ZodDiscriminatedUnion="ZodDiscriminatedUnion",_.ZodIntersection="ZodIntersection",_.ZodTuple="ZodTuple",_.ZodRecord="ZodRecord",_.ZodMap="ZodMap",_.ZodSet="ZodSet",_.ZodFunction="ZodFunction",_.ZodLazy="ZodLazy",_.ZodLiteral="ZodLiteral",_.ZodEnum="ZodEnum",_.ZodEffects="ZodEffects",_.ZodNativeEnum="ZodNativeEnum",_.ZodOptional="ZodOptional",_.ZodNullable="ZodNullable",_.ZodDefault="ZodDefault",_.ZodCatch="ZodCatch",_.ZodPromise="ZodPromise",_.ZodBranded="ZodBranded",_.ZodPipeline="ZodPipeline",_.ZodReadonly="ZodReadonly"})(M||(M={}));b3=y.create,z3=t.create,S3=L_.create,v3=a.create,j3=O_.create,A3=W_.create,O3=N_.create,N3=X_.create,E3=H_.create,U3=E_.create,V3=r.create,R3=x.create,L3=U_.create,K3=P.create,F3=U.create,f3=U.strictCreate,g3=Q_.create,C3=i_.create,k3=Y_.create,I3=n.create,P3=V_.create,m3=R_.create,l3=s.create,T3=J_.create,h3=G_.create,y3=M_.create,x3=o.create,n3=B_.create,Z3=e.create,u3=l.create,p3=m.create,i3=u.create,r3=l.createWithPreprocess,o3=K_.create});var T$=b(()=>{j_();Z_();g$();__();l$();v_()});var F_=b(()=>{T$()});var f_=(_,$)=>{let q=0;for(;q<_.length&&q<$.length;q++)if(_[q]!==$[q])break;return[(_.length-q).toString(),...$.slice(q)].join("/")};var g_=()=>{};function E(_){if(_.target!=="openAi")return{};let $=[..._.basePath,_.definitionPath,_.openAiAnyTypeName];return _.flags.hasReferencedOpenAiAnyType=!0,{$ref:_.$refStrategy==="relative"?f_($,_.currentPath):$.join("/")}}var g=b(()=>{g_()});function o_(_,$,q,J){if(!J?.errorMessages)return;if(q)_.errorMessage={..._.errorMessage,[$]:q}}function N(_,$,q,J,W){_[$]=q,o_(_,$,J,W)}var p=()=>{};function h$(_,$){let q={type:"array"};if(_.type?._def&&_.type?._def?.typeName!==M.ZodAny)q.items=S(_.type._def,{...$,currentPath:[...$.currentPath,"items"]});if(_.minLength)N(q,"minItems",_.minLength.value,_.minLength.message,$);if(_.maxLength)N(q,"maxItems",_.maxLength.value,_.maxLength.message,$);if(_.exactLength)N(q,"minItems",_.exactLength.value,_.exactLength.message,$),N(q,"maxItems",_.exactLength.value,_.exactLength.message,$);return q}var c_=b(()=>{F_();p();V()});function y$(_,$){let q={type:"integer",format:"int64"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var d_=b(()=>{p()});function x$(){return{type:"boolean"}}var t_=()=>{};function C_(_,$){return S(_.type._def,$)}var k_=b(()=>{V()});var n$=(_,$)=>{return S(_.innerType._def,$)};var a_=b(()=>{V()});function s_(_,$,q){let J=q??$.dateStrategy;if(Array.isArray(J))return{anyOf:J.map((W,X)=>s_(_,$,W))};switch(J){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return hq(_,$)}}var hq=(_,$)=>{let q={type:"integer",format:"unix-time"};if($.target==="openApi3")return q;for(let J of _.checks)switch(J.kind){case"min":N(q,"minimum",J.value,J.message,$);break;case"max":N(q,"maximum",J.value,J.message,$);break}return q};var e_=b(()=>{p()});function Z$(_,$){return{...S(_.innerType._def,$),default:_.defaultValue()}}var _$=b(()=>{V()});function u$(_,$){return $.effectStrategy==="input"?S(_.schema._def,$):E($)}var $$=b(()=>{V();g()});function p$(_){return{type:"string",enum:Array.from(_.values)}}var q$=()=>{};function i$(_,$){let q=[S(_.left._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),S(_.right._def,{...$,currentPath:[...$.currentPath,"allOf","1"]})].filter((X)=>!!X),J=$.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,W=[];return q.forEach((X)=>{if(yq(X)){if(W.push(...X.allOf),X.unevaluatedProperties===void 0)J=void 0}else{let H=X;if("additionalProperties"in X&&X.additionalProperties===!1){let{additionalProperties:Y,...Q}=X;H=Q}else J=void 0;W.push(H)}}),W.length?{allOf:W,...J}:void 0}var yq=(_)=>{if("type"in _&&_.type==="string")return!1;return"allOf"in _};var J$=b(()=>{V()});function r$(_,$){let q=typeof _.value;if(q!=="bigint"&&q!=="number"&&q!=="boolean"&&q!=="string")return{type:Array.isArray(_.value)?"array":"object"};if($.target==="openApi3")return{type:q==="bigint"?"integer":q,enum:[_.value]};return{type:q==="bigint"?"integer":q,const:_.value}}var W$=()=>{};function I_(_,$){let q={type:"string"};if(_.checks)for(let J of _.checks)switch(J.kind){case"min":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$);break;case"max":N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"email":switch($.emailStrategy){case"format:email":I(q,"email",J.message,$);break;case"format:idn-email":I(q,"idn-email",J.message,$);break;case"pattern:zod":F(q,k.email,J.message,$);break}break;case"url":I(q,"uri",J.message,$);break;case"uuid":I(q,"uuid",J.message,$);break;case"regex":F(q,J.regex,J.message,$);break;case"cuid":F(q,k.cuid,J.message,$);break;case"cuid2":F(q,k.cuid2,J.message,$);break;case"startsWith":F(q,RegExp(`^${H$(J.value,$)}`),J.message,$);break;case"endsWith":F(q,RegExp(`${H$(J.value,$)}$`),J.message,$);break;case"datetime":I(q,"date-time",J.message,$);break;case"date":I(q,"date",J.message,$);break;case"time":I(q,"time",J.message,$);break;case"duration":I(q,"duration",J.message,$);break;case"length":N(q,"minLength",typeof q.minLength==="number"?Math.max(q.minLength,J.value):J.value,J.message,$),N(q,"maxLength",typeof q.maxLength==="number"?Math.min(q.maxLength,J.value):J.value,J.message,$);break;case"includes":{F(q,RegExp(H$(J.value,$)),J.message,$);break}case"ip":{if(J.version!=="v6")I(q,"ipv4",J.message,$);if(J.version!=="v4")I(q,"ipv6",J.message,$);break}case"base64url":F(q,k.base64url,J.message,$);break;case"jwt":F(q,k.jwt,J.message,$);break;case"cidr":{if(J.version!=="v6")F(q,k.ipv4Cidr,J.message,$);if(J.version!=="v4")F(q,k.ipv6Cidr,J.message,$);break}case"emoji":F(q,k.emoji(),J.message,$);break;case"ulid":{F(q,k.ulid,J.message,$);break}case"base64":{switch($.base64Strategy){case"format:binary":{I(q,"binary",J.message,$);break}case"contentEncoding:base64":{N(q,"contentEncoding","base64",J.message,$);break}case"pattern:zod":{F(q,k.base64,J.message,$);break}}break}case"nanoid":F(q,k.nanoid,J.message,$);case"toLowerCase":case"toUpperCase":case"trim":break;default:((W)=>{})(J)}return q}function H$(_,$){return $.patternStrategy==="escape"?nq(_):_}function nq(_){let $="";for(let q=0;q<_.length;q++){if(!xq.has(_[q]))$+="\\";$+=_[q]}return $}function I(_,$,q,J){if(_.format||_.anyOf?.some((W)=>W.format)){if(!_.anyOf)_.anyOf=[];if(_.format){if(_.anyOf.push({format:_.format,..._.errorMessage&&J.errorMessages&&{errorMessage:{format:_.errorMessage.format}}}),delete _.format,_.errorMessage){if(delete _.errorMessage.format,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.anyOf.push({format:$,...q&&J.errorMessages&&{errorMessage:{format:q}}})}else N(_,"format",$,q,J)}function F(_,$,q,J){if(_.pattern||_.allOf?.some((W)=>W.pattern)){if(!_.allOf)_.allOf=[];if(_.pattern){if(_.allOf.push({pattern:_.pattern,..._.errorMessage&&J.errorMessages&&{errorMessage:{pattern:_.errorMessage.pattern}}}),delete _.pattern,_.errorMessage){if(delete _.errorMessage.pattern,Object.keys(_.errorMessage).length===0)delete _.errorMessage}}_.allOf.push({pattern:o$($,J),...q&&J.errorMessages&&{errorMessage:{pattern:q}}})}else N(_,"pattern",o$($,J),q,J)}function o$(_,$){if(!$.applyRegexFlags||!_.flags)return _.source;let q={i:_.flags.includes("i"),m:_.flags.includes("m"),s:_.flags.includes("s")},J=q.i?_.source.toLowerCase():_.source,W="",X=!1,H=!1,Y=!1;for(let Q=0;Q<J.length;Q++){if(X){W+=J[Q],X=!1;continue}if(q.i){if(H){if(J[Q].match(/[a-z]/)){if(Y)W+=J[Q],W+=`${J[Q-2]}-${J[Q]}`.toUpperCase(),Y=!1;else if(J[Q+1]==="-"&&J[Q+2]?.match(/[a-z]/))W+=J[Q],Y=!0;else W+=`${J[Q]}${J[Q].toUpperCase()}`;continue}}else if(J[Q].match(/[a-z]/)){W+=`[${J[Q]}${J[Q].toUpperCase()}]`;continue}}if(q.m){if(J[Q]==="^"){W+=`(^|(?<=[\r
|
|
2
|
+
]))`;continue}else if(J[Q]==="$"){W+=`($|(?=[\r
|
|
3
|
+
]))`;continue}}if(q.s&&J[Q]==="."){W+=H?`${J[Q]}\r
|
|
4
|
+
`:`[${J[Q]}\r
|
|
5
|
+
]`;continue}if(W+=J[Q],J[Q]==="\\")X=!0;else if(H&&J[Q]==="]")H=!1;else if(!H&&J[Q]==="[")H=!0}try{new RegExp(W)}catch{return console.warn(`Could not convert regex pattern at ${$.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),_.source}return W}var X$=void 0,k,xq;var P_=b(()=>{p();k={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(X$===void 0)X$=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return X$},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};xq=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789")});function m_(_,$){if($.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if($.target==="openApi3"&&_.keyType?._def.typeName===M.ZodEnum)return{type:"object",required:_.keyType._def.values,properties:_.keyType._def.values.reduce((J,W)=>({...J,[W]:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"properties",W]})??E($)}),{}),additionalProperties:$.rejectedAdditionalProperties};let q={type:"object",additionalProperties:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]})??$.allowedAdditionalProperties};if($.target==="openApi3")return q;if(_.keyType?._def.typeName===M.ZodString&&_.keyType._def.checks?.length){let{type:J,...W}=I_(_.keyType._def,$);return{...q,propertyNames:W}}else if(_.keyType?._def.typeName===M.ZodEnum)return{...q,propertyNames:{enum:_.keyType._def.values}};else if(_.keyType?._def.typeName===M.ZodBranded&&_.keyType._def.type._def.typeName===M.ZodString&&_.keyType._def.type._def.checks?.length){let{type:J,...W}=C_(_.keyType._def,$);return{...q,propertyNames:W}}return q}var l_=b(()=>{F_();V();P_();k_();g()});function c$(_,$){if($.mapStrategy==="record")return m_(_,$);let q=S(_.keyType._def,{...$,currentPath:[...$.currentPath,"items","items","0"]})||E($),J=S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items","items","1"]})||E($);return{type:"array",maxItems:125,items:{type:"array",items:[q,J],minItems:2,maxItems:2}}}var Q$=b(()=>{V();l_();g()});function d$(_){let $=_.values,J=Object.keys(_.values).filter((X)=>{return typeof $[$[X]]!=="number"}).map((X)=>$[X]),W=Array.from(new Set(J.map((X)=>typeof X)));return{type:W.length===1?W[0]==="string"?"string":"number":["string","number"],enum:J}}var Y$=()=>{};function t$(_){return _.target==="openAi"?void 0:{not:E({..._,currentPath:[..._.currentPath,"not"]})}}var G$=b(()=>{g()});function a$(_){return _.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var M$=()=>{};function e$(_,$){if($.target==="openApi3")return s$(_,$);let q=_.options instanceof Map?Array.from(_.options.values()):_.options;if(q.every((J)=>(J._def.typeName in z_)&&(!J._def.checks||!J._def.checks.length))){let J=q.reduce((W,X)=>{let H=z_[X._def.typeName];return H&&!W.includes(H)?[...W,H]:W},[]);return{type:J.length>1?J:J[0]}}else if(q.every((J)=>J._def.typeName==="ZodLiteral"&&!J.description)){let J=q.reduce((W,X)=>{let H=typeof X._def.value;switch(H){case"string":case"number":case"boolean":return[...W,H];case"bigint":return[...W,"integer"];case"object":if(X._def.value===null)return[...W,"null"];case"symbol":case"undefined":case"function":default:return W}},[]);if(J.length===q.length){let W=J.filter((X,H,Y)=>Y.indexOf(X)===H);return{type:W.length>1?W:W[0],enum:q.reduce((X,H)=>{return X.includes(H._def.value)?X:[...X,H._def.value]},[])}}}else if(q.every((J)=>J._def.typeName==="ZodEnum"))return{type:"string",enum:q.reduce((J,W)=>[...J,...W._def.values.filter((X)=>!J.includes(X))],[])};return s$(_,$)}var z_,s$=(_,$)=>{let q=(_.options instanceof Map?Array.from(_.options.values()):_.options).map((J,W)=>S(J._def,{...$,currentPath:[...$.currentPath,"anyOf",`${W}`]})).filter((J)=>!!J&&(!$.strictUnions||typeof J==="object"&&Object.keys(J).length>0));return q.length?{anyOf:q}:void 0};var T_=b(()=>{V();z_={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"}});function _q(_,$){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(_.innerType._def.typeName)&&(!_.innerType._def.checks||!_.innerType._def.checks.length)){if($.target==="openApi3")return{type:z_[_.innerType._def.typeName],nullable:!0};return{type:[z_[_.innerType._def.typeName],"null"]}}if($.target==="openApi3"){let J=S(_.innerType._def,{...$,currentPath:[...$.currentPath]});if(J&&"$ref"in J)return{allOf:[J],nullable:!0};return J&&{...J,nullable:!0}}let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","0"]});return q&&{anyOf:[q,{type:"null"}]}}var B$=b(()=>{V();T_()});function $q(_,$){let q={type:"number"};if(!_.checks)return q;for(let J of _.checks)switch(J.kind){case"int":q.type="integer",o_(q,"type",J.message,$);break;case"min":if($.target==="jsonSchema7")if(J.inclusive)N(q,"minimum",J.value,J.message,$);else N(q,"exclusiveMinimum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMinimum=!0;N(q,"minimum",J.value,J.message,$)}break;case"max":if($.target==="jsonSchema7")if(J.inclusive)N(q,"maximum",J.value,J.message,$);else N(q,"exclusiveMaximum",J.value,J.message,$);else{if(!J.inclusive)q.exclusiveMaximum=!0;N(q,"maximum",J.value,J.message,$)}break;case"multipleOf":N(q,"multipleOf",J.value,J.message,$);break}return q}var D$=b(()=>{p()});function qq(_,$){let q=$.target==="openAi",J={type:"object",properties:{}},W=[],X=_.shape();for(let Y in X){let Q=X[Y];if(Q===void 0||Q._def===void 0)continue;let v=uq(Q);if(v&&q){if(Q._def.typeName==="ZodOptional")Q=Q._def.innerType;if(!Q.isNullable())Q=Q.nullable();v=!1}let R=S(Q._def,{...$,currentPath:[...$.currentPath,"properties",Y],propertyPath:[...$.currentPath,"properties",Y]});if(R===void 0)continue;if(J.properties[Y]=R,!v)W.push(Y)}if(W.length)J.required=W;let H=Zq(_,$);if(H!==void 0)J.additionalProperties=H;return J}function Zq(_,$){if(_.catchall._def.typeName!=="ZodNever")return S(_.catchall._def,{...$,currentPath:[...$.currentPath,"additionalProperties"]});switch(_.unknownKeys){case"passthrough":return $.allowedAdditionalProperties;case"strict":return $.rejectedAdditionalProperties;case"strip":return $.removeAdditionalStrategy==="strict"?$.allowedAdditionalProperties:$.rejectedAdditionalProperties}}function uq(_){try{return _.isOptional()}catch{return!0}}var w$=b(()=>{V()});var Jq=(_,$)=>{if($.currentPath.toString()===$.propertyPath?.toString())return S(_.innerType._def,$);let q=S(_.innerType._def,{...$,currentPath:[...$.currentPath,"anyOf","1"]});return q?{anyOf:[{not:E($)},q]}:E($)};var b$=b(()=>{V();g()});var Wq=(_,$)=>{if($.pipeStrategy==="input")return S(_.in._def,$);else if($.pipeStrategy==="output")return S(_.out._def,$);let q=S(_.in._def,{...$,currentPath:[...$.currentPath,"allOf","0"]}),J=S(_.out._def,{...$,currentPath:[...$.currentPath,"allOf",q?"1":"0"]});return{allOf:[q,J].filter((W)=>W!==void 0)}};var z$=b(()=>{V()});function Xq(_,$){return S(_.type._def,$)}var S$=b(()=>{V()});function Hq(_,$){let J={type:"array",uniqueItems:!0,items:S(_.valueType._def,{...$,currentPath:[...$.currentPath,"items"]})};if(_.minSize)N(J,"minItems",_.minSize.value,_.minSize.message,$);if(_.maxSize)N(J,"maxItems",_.maxSize.value,_.maxSize.message,$);return J}var v$=b(()=>{p();V()});function Qq(_,$){if(_.rest)return{type:"array",minItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[]),additionalItems:S(_.rest._def,{...$,currentPath:[...$.currentPath,"additionalItems"]})};else return{type:"array",minItems:_.items.length,maxItems:_.items.length,items:_.items.map((q,J)=>S(q._def,{...$,currentPath:[...$.currentPath,"items",`${J}`]})).reduce((q,J)=>J===void 0?q:[...q,J],[])}}var j$=b(()=>{V()});function Yq(_){return{not:E(_)}}var A$=b(()=>{g()});function Gq(_){return E(_)}var O$=b(()=>{g()});var Mq=(_,$)=>{return S(_.innerType._def,$)};var N$=b(()=>{V()});var Bq=(_,$,q)=>{switch($){case M.ZodString:return I_(_,q);case M.ZodNumber:return $q(_,q);case M.ZodObject:return qq(_,q);case M.ZodBigInt:return y$(_,q);case M.ZodBoolean:return x$();case M.ZodDate:return s_(_,q);case M.ZodUndefined:return Yq(q);case M.ZodNull:return a$(q);case M.ZodArray:return h$(_,q);case M.ZodUnion:case M.ZodDiscriminatedUnion:return e$(_,q);case M.ZodIntersection:return i$(_,q);case M.ZodTuple:return Qq(_,q);case M.ZodRecord:return m_(_,q);case M.ZodLiteral:return r$(_,q);case M.ZodEnum:return p$(_);case M.ZodNativeEnum:return d$(_);case M.ZodNullable:return _q(_,q);case M.ZodOptional:return Jq(_,q);case M.ZodMap:return c$(_,q);case M.ZodSet:return Hq(_,q);case M.ZodLazy:return()=>_.getter()._def;case M.ZodPromise:return Xq(_,q);case M.ZodNaN:case M.ZodNever:return t$(q);case M.ZodEffects:return u$(_,q);case M.ZodAny:return E(q);case M.ZodUnknown:return Gq(q);case M.ZodDefault:return Z$(_,q);case M.ZodBranded:return C_(_,q);case M.ZodReadonly:return Mq(_,q);case M.ZodCatch:return n$(_,q);case M.ZodPipeline:return Wq(_,q);case M.ZodFunction:case M.ZodVoid:case M.ZodSymbol:return;default:return((J)=>{return})($)}};var E$=b(()=>{F_();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();l_();v$();P_();j$();A$();T_();O$();N$()});function S(_,$,q=!1){let J=$.seen.get(_);if($.override){let Y=$.override?.(_,$,J,q);if(Y!==K$)return Y}if(J&&!q){let Y=pq(J,$);if(Y!==void 0)return Y}let W={def:_,path:$.currentPath,jsonSchema:void 0};$.seen.set(_,W);let X=Bq(_,_.typeName,$),H=typeof X==="function"?S(X(),$):X;if(H)iq(_,$,H);if($.postProcess){let Y=$.postProcess(H,_,$);return W.jsonSchema=H,Y}return W.jsonSchema=H,H}var pq=(_,$)=>{switch($.$refStrategy){case"root":return{$ref:_.path.join("/")};case"relative":return{$ref:f_($.currentPath,_.path)};case"none":case"seen":{if(_.path.length<$.currentPath.length&&_.path.every((q,J)=>$.currentPath[J]===q))return console.warn(`Recursive reference detected at ${$.currentPath.join("/")}! Defaulting to any`),E($);return $.$refStrategy==="seen"?E($):void 0}}},iq=(_,$,q)=>{if(_.description){if(q.description=_.description,$.markdownDescription)q.markdownDescription=_.description}return q};var V=b(()=>{S_();E$();g_();g()});var Dq=(_)=>{let $=F$(_),q=$.name!==void 0?[...$.basePath,$.definitionPath,$.name]:$.basePath;return{...$,flags:{hasReferencedOpenAiAnyType:!1},currentPath:q,propertyPath:void 0,seen:new Map(Object.entries($.definitions).map(([J,W])=>[W._def,{def:W._def,path:[...$.basePath,$.definitionPath,J],jsonSchema:void 0}]))}};var U$=b(()=>{S_()});var rq=(_,$)=>{let q=Dq($),J=typeof $==="object"&&$.definitions?Object.entries($.definitions).reduce((Q,[v,R])=>({...Q,[v]:S(R._def,{...q,currentPath:[...q.basePath,q.definitionPath,v]},!0)??E(q)}),{}):void 0,W=typeof $==="string"?$:$?.nameStrategy==="title"?void 0:$?.name,X=S(_._def,W===void 0?q:{...q,currentPath:[...q.basePath,q.definitionPath,W]},!1)??E(q),H=typeof $==="object"&&$.name!==void 0&&$.nameStrategy==="title"?$.name:void 0;if(H!==void 0)X.title=H;if(q.flags.hasReferencedOpenAiAnyType){if(!J)J={};if(!J[q.openAiAnyTypeName])J[q.openAiAnyTypeName]={type:["string","number","integer","boolean","array","null"],items:{$ref:q.$refStrategy==="relative"?"1":[...q.basePath,q.definitionPath,q.openAiAnyTypeName].join("/")}}}let Y=W===void 0?J?{...X,[q.definitionPath]:J}:X:{$ref:[...q.$refStrategy==="relative"?[]:q.basePath,q.definitionPath,W].join("/"),[q.definitionPath]:{...J,[W]:X}};if(q.target==="jsonSchema7")Y.$schema="http://json-schema.org/draft-07/schema#";else if(q.target==="jsonSchema2019-09"||q.target==="openAi")Y.$schema="https://json-schema.org/draft/2019-09/schema#";if(q.target==="openAi"&&(("anyOf"in Y)||("oneOf"in Y)||("allOf"in Y)||("type"in Y)&&Array.isArray(Y.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return Y};var V$=b(()=>{V();U$();g()});var wq=()=>{};var oq=b(()=>{V$();S_();U$();p();g_();V();wq();g();c_();d_();t_();k_();a_();e_();_$();$$();q$();J$();W$();Q$();Y$();G$();M$();B$();D$();w$();b$();z$();S$();N$();l_();v$();P_();j$();A$();T_();O$();E$();V$()});
|
|
6
|
+
export{rq as m2,oq as n2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{is as I,ls as X}from"./cli-1.0.6-gjtt9hjc.mjs";import{dka as H,nka as W}from"./cli-1.0.6-77j29wff.mjs";import{zra as V}from"./cli-1.0.6-c3q3ytrc.mjs";function q(f){J=f}function F(f){z=f}function K(f){N=f}function Q(){return O}function R(f,B){if(O=f,J?.(f,B),f==="requires_action"&&B)G=!0,z?.({pending_action:B});else if(G)G=!1,z?.({pending_action:null});if(f==="idle")z?.({task_summary:null});if(H(process.env.CLAUDE_CODE_EMIT_SESSION_STATE_EVENTS))I({type:"system",subtype:"session_state_changed",state:f})}function _(f){z?.(f)}function j(f){N?.(f)}var J=null,z=null,N=null,G=!1,O="idle";var Y=V(()=>{W();X()});
|
|
2
|
+
export{q as Pc,F as Qc,K as Rc,Q as Sc,R as Tc,_ as Uc,j as Vc,Y as Wc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{I2 as y,M2 as V}from"./cli-1.0.6-4kafzdd3.mjs";import{Baa as q,Daa as Q,R9 as p,T9 as K}from"./cli-1.0.6-3rnmt44c.mjs";import{zra as J}from"./cli-1.0.6-c3q3ytrc.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
|
|
2
|
+
export{j as w2,D as x2,P as y2,w as z2,E as A2,Y as B2,F as C2,G as D2,Z as E2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{J4 as j,M4 as I,T6 as b,U6 as c,Z7 as d,z7 as f}from"./cli-1.0.6-1a002r86.mjs";import{q9 as F,r9 as D}from"./cli-1.0.6-wqqq5eh9.mjs";import{Kfa as y,Sfa as T}from"./cli-1.0.6-3rnmt44c.mjs";import{wha as $,xha as R,yha as _,zha as E}from"./cli-1.0.6-e3cstemm.mjs";import{nia as q,oia as m}from"./cli-1.0.6-2taykcm3.mjs";import{Xia as M,aja as U,sja as W,vja as z}from"./cli-1.0.6-z06mmyvr.mjs";import{Rja as k,Sja as Y,Zja as O}from"./cli-1.0.6-4r68vt91.mjs";import{Kqa as X,ara as h}from"./cli-1.0.6-r0n4r13f.mjs";import{zra as A}from"./cli-1.0.6-c3q3ytrc.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 D3,p as E3,u as F3,BJ as G3,C as H3,NJ as I3,L as J3,WJ as K3,GJ as L3,vJ as M3,XJ as N3,g as O3};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Nh as Vq,Oh as fq}from"./cli-1.0.6-jwysg2r7.mjs";import{IX as o,JX as pq,PX as Qq,RX as Uq,SX as Hq,tX as Pq,uX as mq}from"./cli-1.0.6-2kk9k86d.mjs";import{J0 as Wq,JY as Sq,c0 as M,e0 as g}from"./cli-1.0.6-6zqt7f43.mjs";import{q3 as Z,r3 as F,s3 as Jq}from"./cli-1.0.6-w3xpmc0m.mjs";import{t3 as _q}from"./cli-1.0.6-6zh1kz2j.mjs";import{Xfa as s,Yfa as jq}from"./cli-1.0.6-9be2xem8.mjs";import{vra as Lq,zra as wq}from"./cli-1.0.6-c3q3ytrc.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
+
export{lq as lh,oq as mh,sq as nh,aq as oh,Tq as ph};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{AB as P,GB as b,Ju as T,MB as j,bP as f,cP as L,jR as i,mP as r,rC as K,tC as I,uC as _,wC as p}from"./cli-1.0.6-gjtt9hjc.mjs";import{vV as A,wV as n}from"./cli-1.0.6-qt11m0ak.mjs";import{pia as E,sia as C}from"./cli-1.0.6-xx7yggj6.mjs";import{eja as M,ija as m,sja as Z,via as F,vja as u,xia as S}from"./cli-1.0.6-z06mmyvr.mjs";import{Pla as Y,Qla as k,Qpa as c,spa as v}from"./cli-1.0.6-8zcjrs1k.mjs";n();c();r();C();p();P();S();u();m();i();k();import*as H from"path";var d=1000,o=500,l=300,e=2000,h=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=Y(),U=null;async function t(){if(B||D)return;if(B=!0,!V)V=!0,_(()=>{f(),W.emit()});let q=await a();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=A.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??d,pollInterval:U?.pollInterval??o},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:h,interval:U?.chokidarInterval??e,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=F(async()=>{await g()})}function g(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var s=W.subscribe;async function a(){let q=M(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of v()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),E("tengu_skill_file_changed",{source:"chokidar"}),qq(q)}function qq(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await j("skills",w[0]);if(b(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}I(),L(),T(),W.emit()},U?.reloadDebounce??l)}async function wq(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Zq={initialize:t,dispose:g,subscribe:s,resetForTesting:wq};
|
|
2
|
+
export{Zq as ab};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Kw as I,Lw as P,Pw as t,wp as W,xp as n}from"./cli-1.0.6-gjtt9hjc.mjs";import{y3 as H,z3 as p}from"./cli-1.0.6-snj1v3kf.mjs";import{A3 as C,C3 as i}from"./cli-1.0.6-tw4tv5c3.mjs";import{F7 as V,Z7 as l,_6 as v,i4 as S,n4 as c,z7 as R}from"./cli-1.0.6-1a002r86.mjs";import{Kfa as D,Qda as E,Sfa as m,Tda as X,lfa as T,mda as q,mea as O,mfa as Y,nda as u,sfa as y,vfa as k,yfa as g}from"./cli-1.0.6-3rnmt44c.mjs";import{vha as G,xha as f,yha as $,zha as h}from"./cli-1.0.6-e3cstemm.mjs";import{iia as Z,nia as _,oia as M}from"./cli-1.0.6-2taykcm3.mjs";import{sja as x,vja as b}from"./cli-1.0.6-z06mmyvr.mjs";import{Kqa as Q,ara as A}from"./cli-1.0.6-r0n4r13f.mjs";import{zra as U}from"./cli-1.0.6-c3q3ytrc.mjs";async function s(){if(q())return x("[Bootstrap] Skipped: Nonessential traffic disabled"),null;if(S()!=="firstParty")return x("[Bootstrap] Skipped: 3P provider"),null;let w=v();if(!(R()?.accessToken&&V())&&!w)return x("[Bootstrap] Skipped: no usable OAuth or API key"),null;let J=`${_().BASE_API_URL}/api/claude_cli/bootstrap`;try{return await H(async()=>{let j=R()?.accessToken,z;if(j&&V())z={Authorization:`Bearer ${j}`,"anthropic-beta":Z};else if(w)z={"x-api-key":w};else return x("[Bootstrap] No auth available on retry, aborting"),null;x("[Bootstrap] Fetching");let N=await Q.get(J,{headers:{"Content-Type":"application/json","User-Agent":C(),...z},timeout:5000}),B=d().safeParse(N.data);if(!B.success)return x(`[Bootstrap] Response failed validation: ${B.error.message}`),null;return x("[Bootstrap] Fetch ok"),B.data})}catch(j){if(Q.isAxiosError(j)){let z=j.response?.status??"no-response",N=j.code??"unknown-code",B=j.config?.method?.toUpperCase()??"UNKNOWN",K=j.config?.url??"unknown-url",L=j.message??"unknown axios error";x(`[Bootstrap] Fetch failed: status=${z} code=${N} method=${B} url=${K} message=${L}`)}else{let z=j instanceof Error?j.message:String(j);x(`[Bootstrap] Fetch failed: ${z}`)}throw j}}async function a(){let w=Y();if(!w?.startsWith("openai:"))return null;let{baseUrl:F}=T(),J=await P({baseUrl:F,apiKey:k()?.apiKey});if(J===null)return x("[Bootstrap] Local OpenAI model discovery failed"),null;let j=I(F);return{clientData:X().clientDataCache??null,additionalModelOptionsScope:w,additionalModelOptions:J.map((z)=>({value:z,label:z,description:`Detected from ${j}`}))}}async function Yj(){try{let w=Y(),F=null;if(w==="firstParty"){let B=await s();if(!B)return;F={clientData:B.client_data??null,additionalModelOptions:B.additional_model_options??[],additionalModelOptionsScope:w}}else if(w?.startsWith("openai:")){if(F=await a(),!F)return}else{x("[Bootstrap] Skipped: no additional model source");return}let{clientData:J,additionalModelOptions:j,additionalModelOptionsScope:z}=F,N=X();if(W(N.clientDataCache,J)&&W(N.additionalModelOptionsCache,j)&&N.additionalModelOptionsCacheScope===z){x("[Bootstrap] Cache unchanged, skipping write");return}x("[Bootstrap] Cache updated, persisting to disk"),E((B)=>({...B,clientDataCache:J,additionalModelOptionsCache:j,additionalModelOptionsCacheScope:z}))}catch(w){D(w)}}var d;var r=U(()=>{A();n();l();f();M();O();b();p();h();m();c();u();t();i();g();y();d=$(()=>G.object({client_data:G.record(G.string(),G.unknown()).nullish(),additional_model_options:G.array(G.object({model:G.string(),name:G.string(),description:G.string()}).transform(({model:w,name:F,description:J})=>({value:w,label:F,description:J}))).nullish()}))});
|
|
2
|
+
export{Yj as qc,r as rc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{JY as O}from"./cli-1.0.6-6zqt7f43.mjs";import{q3 as X,s3 as Q}from"./cli-1.0.6-w3xpmc0m.mjs";import{t3 as b}from"./cli-1.0.6-6zh1kz2j.mjs";import{_da as W,mea as P}from"./cli-1.0.6-3rnmt44c.mjs";import{vra as U}from"./cli-1.0.6-c3q3ytrc.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
|
|
2
|
+
export{V as lb,C as mb};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{J0 as IT,a0 as X,g0 as JT,h0 as ST}from"./cli-1.0.6-6zqt7f43.mjs";import{t8 as K,u8 as VT}from"./cli-1.0.6-mgb1vzp0.mjs";import{$$ as FT,Baa as Q,Daa as UT,Kfa as H,P$ as s,Qda as z,R9 as Y,R_ as BT,S_ as _T,Sfa as n,T9 as o,Tda as V,W$ as XT,Zda as l,_da as d,caa as qT,daa as OT,mea as D,rda as f,tda as YT}from"./cli-1.0.6-3rnmt44c.mjs";import{Cha as E,Dha as QT}from"./cli-1.0.6-sws40pv9.mjs";import{Xia as GT,Yia as $T,aja as zT,eja as P,ija as KT}from"./cli-1.0.6-z06mmyvr.mjs";import{Xja as u,Zja as LT}from"./cli-1.0.6-4r68vt91.mjs";import{nqa as r,oqa as ZT}from"./cli-1.0.6-7sc6kks8.mjs";import{zra as I}from"./cli-1.0.6-c3q3ytrc.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
|
|
2
|
+
|
|
3
|
+
No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
|
|
4
|
+
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
5
|
+
`;let F=`Terminal setup cannot be run from ${$}.
|
|
6
|
+
|
|
7
|
+
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
+
${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
+
|
|
10
|
+
To set up the shortcut (optional):
|
|
11
|
+
1. Exit tmux/screen temporarily
|
|
12
|
+
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
+
${J} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
+
• Other: Alacritty
|
|
15
|
+
3. Return to tmux/screen - settings will persist
|
|
16
|
+
|
|
17
|
+
${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
|
|
18
|
+
{
|
|
19
|
+
"key": "shift+enter",
|
|
20
|
+
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
+
"args": { "text": "\\u001b\\r" },
|
|
22
|
+
"when": "terminalFocus"
|
|
23
|
+
}
|
|
24
|
+
]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
|
|
25
|
+
`))F+=`
|
|
26
|
+
`;return F+=`
|
|
27
|
+
[[keyboard.bindings]]
|
|
28
|
+
key = "Return"
|
|
29
|
+
mods = "Shift"
|
|
30
|
+
chars = "\\u001B\\r"
|
|
31
|
+
`,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
|
|
32
|
+
`,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
|
|
33
|
+
`,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
+
export{a as dY,h as eY,e as fY,TT as gY,Ww as hY,uT as iY,ET as jY,Lw as kY,zw as lY,Vw as mY,_w as nY,bT as oY};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{lF as R,mF as E,nF as l,oF as i,pF as c,qF as w,rF as O,vF as y,wF as e}from"./cli-1.0.6-gjtt9hjc.mjs";import{tX as x,uX as s}from"./cli-1.0.6-2kk9k86d.mjs";import{J0 as K,JY as n,TZ as j,UZ as r,c0 as k,e0 as W,y0 as Q}from"./cli-1.0.6-6zqt7f43.mjs";import{p3 as A,q3 as V,r3 as D,s3 as v}from"./cli-1.0.6-w3xpmc0m.mjs";import{t3 as t}from"./cli-1.0.6-6zh1kz2j.mjs";import{vra as q,zra as p}from"./cli-1.0.6-c3q3ytrc.mjs";function X1(J){let b=S.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(k,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var S;var u=p(()=>{K();v();S=q(n(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function W1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=x(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=y.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=E();if(T.length>0){let X=F.offset,M=F.insert(T);i(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;w(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{z(new j(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,b1;var B1=p(()=>{r();K();e();s();U=q(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
|
|
2
|
+
export{X1 as hh,u as ih,W1 as jh,B1 as kh};
|