@claudiolabs/claudio 0.1.14 → 0.1.15
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-0.1.15-aene6e12.mjs +1 -0
- package/dist/chunks/App-0.1.15-skbrajfh.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +1 -0
- package/dist/chunks/{AssistantSessionChooser-0.1.14-tf848k8v.mjs → AssistantSessionChooser-0.1.15-3wyrkte5.mjs} +1 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +1 -0
- package/dist/chunks/{DiffDialog-0.1.14-wtx2wmbs.mjs → DiffDialog-0.1.15-86m0j64m.mjs} +1 -1
- package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +1 -0
- package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +1 -0
- package/dist/chunks/{ITermBackend-0.1.14-xtdr5bmp.mjs → ITermBackend-0.1.15-ejm7gc8d.mjs} +1 -1
- package/dist/chunks/{InProcessTransport-0.1.14-wdqgcpb4.mjs → InProcessTransport-0.1.15-p32k8qva.mjs} +1 -1
- package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +1 -0
- package/dist/chunks/{Onboarding-0.1.14-1rddgg2b.mjs → Onboarding-0.1.15-pqx4v1wq.mjs} +1 -1
- package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +1 -0
- package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +1 -0
- package/dist/chunks/{ResumeConversation-0.1.14-79hg5s2w.mjs → ResumeConversation-0.1.15-fm1gvj49.mjs} +1 -1
- package/dist/chunks/{SnapshotUpdateDialog-0.1.14-sbjnsz3c.mjs → SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs} +1 -1
- package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +1 -0
- package/dist/chunks/{TeleportResumeWrapper-0.1.14-8wfa8twy.mjs → TeleportResumeWrapper-0.1.15-bwv0syaw.mjs} +1 -1
- package/dist/chunks/{TmuxBackend-0.1.14-175xkeyy.mjs → TmuxBackend-0.1.15-0d8n5p59.mjs} +1 -1
- package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +1 -0
- package/dist/chunks/{TrustDialog-0.1.14-zvmfmtg5.mjs → TrustDialog-0.1.15-srz2xcqx.mjs} +1 -1
- package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +1 -0
- package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +1 -0
- package/dist/chunks/agents-0.1.15-vkekdkan.mjs +3 -0
- package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +111 -0
- package/dist/chunks/api-0.1.15-jq17qdd8.mjs +1 -0
- package/dist/chunks/{asciicast-0.1.14-kgp9j4z6.mjs → asciicast-0.1.15-4t4tanfk.mjs} +1 -1
- package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +1 -0
- package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +1 -0
- package/dist/chunks/{auth-0.1.14-vj6095mm.mjs → auth-0.1.15-x6bxj6d1.mjs} +1 -1
- package/dist/chunks/{autoMode-0.1.14-jxse6h16.mjs → autoMode-0.1.15-p9r45wxy.mjs} +1 -1
- package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +1 -0
- package/dist/chunks/{branch-0.1.14-r5tt7cec.mjs → branch-0.1.15-cqq1x0cj.mjs} +1 -1
- package/dist/chunks/{bridgePointer-0.1.14-2w1wvxgt.mjs → bridgePointer-0.1.15-p6kq1zz7.mjs} +1 -1
- package/dist/chunks/{btw-0.1.14-j1cexrtn.mjs → btw-0.1.15-q693ppfr.mjs} +1 -1
- package/dist/chunks/{buddy-0.1.14-r4nmfbke.mjs → buddy-0.1.15-vcca6k2p.mjs} +1 -1
- package/dist/chunks/{cacache-0.1.14-3vw5qkqs.mjs → cacache-0.1.15-tj6nes3h.mjs} +1 -1
- package/dist/chunks/{cache-probe-0.1.14-zfb6aw4f.mjs → cache-probe-0.1.15-dfdjj53r.mjs} +1 -1
- package/dist/chunks/{cacheStats-0.1.14-15eahew3.mjs → cacheStats-0.1.15-v9v9y02q.mjs} +1 -1
- package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +1 -0
- package/dist/chunks/{claudeDesktop-0.1.14-0df0z4v6.mjs → claudeDesktop-0.1.15-rxtx8hbf.mjs} +1 -1
- package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +1 -0
- package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +1 -0
- package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +1 -0
- package/dist/chunks/{cli-0.1.14-39y8qfj7.mjs → cli-0.1.15-0a38j3t8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ktz3cgwa.mjs → cli-0.1.15-0g0abv7y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-mgcmwvcn.mjs → cli-0.1.15-11sdbfxy.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-r46jh9af.mjs → cli-0.1.15-12azgmva.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-as9nq99n.mjs → cli-0.1.15-1hxkpjgs.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-sn1rf71y.mjs → cli-0.1.15-1kmf57b0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-eq0gbnpg.mjs → cli-0.1.15-1nkkhw5c.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-heevc19y.mjs → cli-0.1.15-20tvdt2s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-edjtfw4q.mjs → cli-0.1.15-216kns0c.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-sb7dm65b.mjs → cli-0.1.15-229xqnrp.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-hvfg45y0.mjs → cli-0.1.15-23cavaaa.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-j5sbzwhy.mjs → cli-0.1.15-26hkdean.mjs} +709 -707
- package/dist/chunks/{cli-0.1.14-244fknyr.mjs → cli-0.1.15-2ccapgj1.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fdpfr31f.mjs → cli-0.1.15-2h647znt.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-0kzzfe41.mjs → cli-0.1.15-2vwx57re.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-y2wxptpk.mjs → cli-0.1.15-30tz5ck8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9gem156t.mjs → cli-0.1.15-36pxgzf6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ch9c9c38.mjs → cli-0.1.15-3jz926ax.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-tqexnkmz.mjs → cli-0.1.15-3qwnw3ca.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-c4v2kfdn.mjs → cli-0.1.15-3z0tzzs8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-2f7s5xbd.mjs → cli-0.1.15-4892kydg.mjs} +3 -3
- package/dist/chunks/{cli-0.1.14-ta3w93yb.mjs → cli-0.1.15-4fc5wnse.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jnfs73kb.mjs → cli-0.1.15-4hnhxg2w.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-rtstk94r.mjs → cli-0.1.15-4y7051f2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-rc5yd94n.mjs → cli-0.1.15-5denzf1p.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-bgqm4vsk.mjs → cli-0.1.15-5g0zxgxn.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9kxzs20h.mjs → cli-0.1.15-5qx5p8cd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9b8kspnd.mjs → cli-0.1.15-5tz7z79g.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-seq2fm2d.mjs → cli-0.1.15-68f0jtkh.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-k8nwm06m.mjs → cli-0.1.15-69kq5chw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9vc52dnj.mjs → cli-0.1.15-6mad0r56.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jpe9sxch.mjs → cli-0.1.15-6nwbd09n.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-71sp86jb.mjs → cli-0.1.15-6r12ayea.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-wwehdfwx.mjs → cli-0.1.15-6r630k68.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-vp1kn532.mjs → cli-0.1.15-77346q11.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-90zkq8jm.mjs → cli-0.1.15-7myqm617.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-4wdh3k7y.mjs → cli-0.1.15-7rr53z40.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yxce1bdc.mjs → cli-0.1.15-82r3zgmq.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-qe5zyvfh.mjs → cli-0.1.15-8k69z9kk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-hxvzvfr2.mjs → cli-0.1.15-8sgewact.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-w6nzk5dc.mjs → cli-0.1.15-8v8bskr0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-28exj8zm.mjs → cli-0.1.15-90ye3yqx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5rp4y3q2.mjs → cli-0.1.15-99wmm9j7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-c0bv9eha.mjs → cli-0.1.15-9m2znwvb.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-s9m1y93w.mjs → cli-0.1.15-9pe3dbgs.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-w3rwfr1d.mjs → cli-0.1.15-9w140hjt.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3w7fbjhy.mjs → cli-0.1.15-a10ekh15.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ntq8w1ss.mjs → cli-0.1.15-a8kgfrkd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-8fr10t94.mjs → cli-0.1.15-acdm8b28.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-dqads3y3.mjs → cli-0.1.15-ajg1d1bh.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-d4zkffre.mjs → cli-0.1.15-asts8hm3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dt11hwkv.mjs → cli-0.1.15-b1t6c81s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kcrsww4s.mjs → cli-0.1.15-b21k5hzy.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-wz5yr49j.mjs → cli-0.1.15-b6gdqjbg.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-k9jcmxtd.mjs → cli-0.1.15-b7p48xfw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-zjqt3r89.mjs → cli-0.1.15-be4mz6ka.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-e40hm9sd.mjs → cli-0.1.15-behp1dag.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kt6sq4nr.mjs → cli-0.1.15-bfd337b0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fmmxw3gj.mjs → cli-0.1.15-bpcmpy8b.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yagh75p5.mjs → cli-0.1.15-bz57rf9t.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-cbseyggr.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-7zz7abpc.mjs → cli-0.1.15-cenwnwnx.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-71m91842.mjs → cli-0.1.15-cf4s92e9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-7zjhrz42.mjs → cli-0.1.15-cqzrzsh5.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-wgatq2fj.mjs → cli-0.1.15-cr7qy3wd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3zj4s594.mjs → cli-0.1.15-cyq0gbzk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nxphqjb4.mjs → cli-0.1.15-d9nfa2yf.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5brvxst8.mjs → cli-0.1.15-dcabmk2v.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-adz0gnzy.mjs → cli-0.1.15-dcxa8b6s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nprcbhwn.mjs → cli-0.1.15-dp2e8j4f.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-442a367x.mjs → cli-0.1.15-dq954y1q.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-9evp0ewn.mjs → cli-0.1.15-dqkhbs67.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ftjxb57b.mjs → cli-0.1.15-e2e7hn7p.mjs} +3 -3
- package/dist/chunks/{cli-0.1.14-zrmretjp.mjs → cli-0.1.15-e494j2sj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-y56629hj.mjs → cli-0.1.15-e64w5wan.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-xp6rc33g.mjs → cli-0.1.15-e70ktyft.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-zs4vmj7z.mjs → cli-0.1.15-em40knm7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-4tmbgg29.mjs → cli-0.1.15-en9ppdbd.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5te1nbdc.mjs → cli-0.1.15-f838g4vw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jf8019sb.mjs → cli-0.1.15-f8abjagh.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-08ambmnj.mjs → cli-0.1.15-fe92jeft.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-jbn4ywda.mjs → cli-0.1.15-fmnyh9j9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-x88ypr2r.mjs → cli-0.1.15-fr83vs1y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-khtq9cgy.mjs → cli-0.1.15-ft6xtjsa.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-d483gd53.mjs → cli-0.1.15-g5wt8d3g.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dw74ppax.mjs → cli-0.1.15-ghvjjc4g.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-0nhaxy76.mjs → cli-0.1.15-gkzany0s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kmsvd61a.mjs → cli-0.1.15-gmdv5ny8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-zq66y0mv.mjs → cli-0.1.15-gn4wnxx3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-16jrehc2.mjs → cli-0.1.15-gqf82qvm.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ab0rxxvk.mjs → cli-0.1.15-gqp8kzp0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-r5qyt63x.mjs → cli-0.1.15-gtn9gx9w.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-hjktwgtk.mjs → cli-0.1.15-gxgy4enj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-77ha4n58.mjs → cli-0.1.15-h3a2cbdb.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-aky5tegx.mjs → cli-0.1.15-h4erh2cn.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-canpypsb.mjs → cli-0.1.15-htms4w3h.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-a15xdexp.mjs → cli-0.1.15-hyydz4kc.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-cp2pada5.mjs → cli-0.1.15-j5m3s9r5.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-we6s7jfg.mjs → cli-0.1.15-jy7cjb23.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-m7xchegb.mjs → cli-0.1.15-k0bn0cze.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-mngn74ga.mjs → cli-0.1.15-knpxv22b.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fmgz6tx2.mjs → cli-0.1.15-ks9rz9tk.mjs} +2 -2
- package/dist/chunks/{cli-0.1.14-w8efvbh6.mjs → cli-0.1.15-kw7che8m.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yfc7weqn.mjs → cli-0.1.15-m0v1d1kt.mjs} +11 -11
- package/dist/chunks/{cli-0.1.14-0x3m90bk.mjs → cli-0.1.15-m7gtc61y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3scecgzx.mjs → cli-0.1.15-my0y22r7.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-r00mjm41.mjs → cli-0.1.15-n97y4hq4.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-d1edbjh4.mjs → cli-0.1.15-ncammv2n.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-svqkx41a.mjs → cli-0.1.15-nejf7yqz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-m75ce5ve.mjs → cli-0.1.15-njg0k6ga.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-2mzb5ath.mjs → cli-0.1.15-nk50qhet.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-wymtdw5f.mjs → cli-0.1.15-nkn6jfmb.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-mx9yse7m.mjs → cli-0.1.15-nts79xbr.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-5e5kkjam.mjs → cli-0.1.15-nw94frpp.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-4mde8z7h.mjs → cli-0.1.15-nx5v1cvm.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nzsj259d.mjs → cli-0.1.15-p159ga3t.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yxq1tr3a.mjs → cli-0.1.15-p47rrzrn.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-akz49g5v.mjs → cli-0.1.15-p5ty029c.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dq7jkw1n.mjs → cli-0.1.15-pcqjreq6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ckjcet41.mjs → cli-0.1.15-pxf97j8y.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fspxpmh7.mjs → cli-0.1.15-pya8tbx3.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-q021qg07.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-a6kwmqhz.mjs → cli-0.1.15-q35rzjnz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-25ta9abj.mjs → cli-0.1.15-qhz07at6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dntkrp1j.mjs → cli-0.1.15-qns6xv34.mjs} +5 -5
- package/dist/chunks/{cli-0.1.14-1g5jq0j8.mjs → cli-0.1.15-r626437v.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3yj4dkmn.mjs → cli-0.1.15-r8qzzahw.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nmmtd1d6.mjs → cli-0.1.15-r9nrfwrq.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3xj419mp.mjs → cli-0.1.15-rbx47sc3.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-yphht6rx.mjs → cli-0.1.15-rq9n4js4.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-cdby401e.mjs → cli-0.1.15-rr65b3dk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-68wbwy40.mjs → cli-0.1.15-rs5swvy0.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-473sgexj.mjs → cli-0.1.15-rv6zpjh8.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-6cjjzttb.mjs → cli-0.1.15-rvtve9kq.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-893g12wf.mjs → cli-0.1.15-rwx8446j.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-v9q1cxjy.mjs → cli-0.1.15-s7trme0x.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-0ctjta81.mjs → cli-0.1.15-sct02cw6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kpsh76mj.mjs → cli-0.1.15-sd5jysf2.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-dcgxqsyp.mjs → cli-0.1.15-sg3n1v0w.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-qyx55m6c.mjs → cli-0.1.15-svhrqvzp.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-whe4bxfr.mjs → cli-0.1.15-tj4kzvth.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nnr43nyg.mjs → cli-0.1.15-tn4214gj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-harz1d9d.mjs → cli-0.1.15-tp614m5f.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-a9ytrehs.mjs → cli-0.1.15-twq0mjmr.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-3m63hy2a.mjs → cli-0.1.15-v07ep52w.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-y55hrwdp.mjs → cli-0.1.15-v8zwx5j6.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-ba919tmj.mjs → cli-0.1.15-vwb8h4r1.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-z0ckw2hb.mjs → cli-0.1.15-vzk22hwe.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kv650aha.mjs → cli-0.1.15-w8q8f37x.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-z8j2n955.mjs → cli-0.1.15-wfn10357.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-gdm27acz.mjs → cli-0.1.15-wmwtv0tz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-m7khgn2k.mjs → cli-0.1.15-wn40n534.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-42sm5vzr.mjs → cli-0.1.15-x3yhaxm9.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-stv1d0q3.mjs → cli-0.1.15-x69hfzmj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-nkza93de.mjs → cli-0.1.15-xaw2s45s.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-qzcceap6.mjs → cli-0.1.15-xe4dq144.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-g5q2xqp3.mjs → cli-0.1.15-xery8c8c.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-1xkst5wv.mjs → cli-0.1.15-y6fkcbes.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-tyv29sz9.mjs → cli-0.1.15-y7xkk5ds.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-hkaqyhx1.mjs → cli-0.1.15-yghcqf7h.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-fhfj87ej.mjs → cli-0.1.15-yjxhk7qj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-tkb5t0xv.mjs → cli-0.1.15-ywed2hpz.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-kn1f2x94.mjs → cli-0.1.15-yxm6wwfz.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-yym7bka2.mjs +2 -0
- package/dist/chunks/{cli-0.1.14-v2acyy7r.mjs → cli-0.1.15-z2yexprk.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-59axynr8.mjs → cli-0.1.15-z35x5bfj.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-as1s0b0t.mjs → cli-0.1.15-zap1wk9j.mjs} +1 -1
- package/dist/chunks/{cli-0.1.14-0a8ckx07.mjs → cli-0.1.15-zf1s8y92.mjs} +1 -1
- package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +2 -0
- package/dist/chunks/client-0.1.15-pbb4218v.mjs +1 -0
- package/dist/chunks/color-0.1.15-w9tvjt51.mjs +1 -0
- package/dist/chunks/{compact-0.1.14-mx9ng433.mjs → compact-0.1.15-2a2eywaz.mjs} +1 -1
- package/dist/chunks/{config-0.1.14-76vavy7t.mjs → config-0.1.15-m4gwmfb1.mjs} +1 -1
- package/dist/chunks/config-0.1.15-r15yk3zr.mjs +1 -0
- package/dist/chunks/{context-0.1.14-hyykwj83.mjs → context-0.1.15-ghkedaaw.mjs} +1 -1
- package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +1 -0
- package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +1 -0
- package/dist/chunks/{copy-0.1.14-kp76nh7r.mjs → copy-0.1.15-53q3e2fk.mjs} +1 -1
- package/dist/chunks/cost-0.1.15-garxyfxy.mjs +1 -0
- package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +1 -0
- package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +1 -0
- package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +1 -0
- package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +1 -0
- package/dist/chunks/diff-0.1.15-gc5686z3.mjs +1 -0
- package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +1 -0
- package/dist/chunks/{earlyInput-0.1.14-997vtdw4.mjs → earlyInput-0.1.15-ftgt9y2w.mjs} +1 -1
- package/dist/chunks/{effort-0.1.14-d9xmff2t.mjs → effort-0.1.15-5za6yh63.mjs} +1 -1
- package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +1 -0
- package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +1 -0
- package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +1 -0
- package/dist/chunks/{export-0.1.14-qpt72paa.mjs → export-0.1.15-h5n9s624.mjs} +1 -1
- package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +1 -0
- package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +1 -0
- package/dist/chunks/{feedback-0.1.14-qhk5ek0b.mjs → feedback-0.1.15-pqe68x4v.mjs} +1 -1
- package/dist/chunks/{firstPartyEventLogger-0.1.14-78y09nr6.mjs → firstPartyEventLogger-0.1.15-pss0293k.mjs} +1 -1
- package/dist/chunks/{git-0.1.14-zvsa13gk.mjs → git-0.1.15-002t17pq.mjs} +1 -1
- package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +1 -0
- package/dist/chunks/{growthbook-0.1.14-dcdeqgyq.mjs → growthbook-0.1.15-m7gdvgqa.mjs} +1 -1
- package/dist/chunks/{heapdump-0.1.14-tj7w79dt.mjs → heapdump-0.1.15-s8h9rwpe.mjs} +1 -1
- package/dist/chunks/{help-0.1.14-gk9s0stg.mjs → help-0.1.15-y48dg88b.mjs} +1 -1
- package/dist/chunks/{hookChains-0.1.14-wng6tzfd.mjs → hookChains-0.1.15-z46c2xkf.mjs} +2 -2
- package/dist/chunks/{hooks-0.1.14-jy9bt7s6.mjs → hooks-0.1.15-f81kq7m2.mjs} +1 -1
- package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +1 -0
- package/dist/chunks/{ide-0.1.14-0ar60k4r.mjs → ide-0.1.15-xepj09gj.mjs} +1 -1
- package/dist/chunks/{plist-0.1.14-ssqtjjq9.mjs → image-processor-napi-0.1.15-5w5sybn1.mjs} +1 -1
- package/dist/chunks/index-0.1.15-0z186jwx.mjs +1 -0
- package/dist/chunks/index-0.1.15-136649ke.mjs +1 -0
- package/dist/chunks/{index-0.1.14-8v5xwttx.mjs → index-0.1.15-15ftbc8a.mjs} +2 -2
- package/dist/chunks/index-0.1.15-1r19582s.mjs +1 -0
- package/dist/chunks/{index-0.1.14-2v6wa4p4.mjs → index-0.1.15-3jxezstk.mjs} +1 -1
- package/dist/chunks/index-0.1.15-52zxtxf2.mjs +1 -0
- package/dist/chunks/{index-0.1.14-ac13h1t1.mjs → index-0.1.15-628tag5v.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-y3aj57xa.mjs → index-0.1.15-77j1wp6f.mjs} +1 -1
- package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +1 -0
- package/dist/chunks/{index-0.1.14-mzhk0gvs.mjs → index-0.1.15-832xm57n.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-272zxs9n.mjs → index-0.1.15-abzge0fa.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-qrykb444.mjs → index-0.1.15-b9sdtjj4.mjs} +2 -2
- package/dist/chunks/{index-0.1.14-4hv4f8g9.mjs → index-0.1.15-bvr8e4dt.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-ksa4vdak.mjs → index-0.1.15-d4ea93sj.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-hqphn8m5.mjs → index-0.1.15-f1y1067a.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-2x59va64.mjs → index-0.1.15-n2q4dkvc.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-g5kkm9ng.mjs → index-0.1.15-nzmg6zng.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-071xy8v4.mjs → index-0.1.15-r9ck21mp.mjs} +1 -1
- package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +1 -0
- package/dist/chunks/{index-0.1.14-dmbjzapt.mjs → index-0.1.15-tf5b20vy.mjs} +1 -1
- package/dist/chunks/{index-0.1.14-1mttyja2.mjs → index-0.1.15-x8ghxne4.mjs} +1 -1
- package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +1 -0
- package/dist/chunks/{initReplBridge-0.1.14-qe820gff.mjs → initReplBridge-0.1.15-g7q1qemf.mjs} +1 -1
- package/dist/chunks/{ink-0.1.14-kxs7ygns.mjs → ink-0.1.15-rd56fvsx.mjs} +1 -1
- package/dist/chunks/{insights-0.1.14-9n58d9t8.mjs → insights-0.1.15-2zt9898j.mjs} +1 -1
- package/dist/chunks/{install-0.1.14-1zyjez10.mjs → install-0.1.15-z6a6aa3t.mjs} +1 -1
- package/dist/chunks/{install-github-app-0.1.14-kmetkgdq.mjs → install-github-app-0.1.15-h746hza3.mjs} +1 -1
- package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +1 -0
- package/dist/chunks/{instrumentation-0.1.14-fsgk97cp.mjs → instrumentation-0.1.15-bwm4tb1y.mjs} +1 -1
- package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +1 -0
- package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +2 -0
- package/dist/chunks/{knowledge-0.1.14-f7w4damb.mjs → knowledge-0.1.15-2bnycc4a.mjs} +1 -1
- package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +1 -0
- package/dist/chunks/{lsp-0.1.14-cks4jevz.mjs → lsp-0.1.15-veqrp99h.mjs} +1 -1
- package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +1 -0
- package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +1 -0
- package/dist/chunks/{mcp-0.1.14-3tzc0agq.mjs → mcp-0.1.15-rfy9pyrt.mjs} +1 -1
- package/dist/chunks/{mcp-0.1.14-dmtc9tjr.mjs → mcp-0.1.15-tw9s435t.mjs} +3 -3
- package/dist/chunks/{mcp-0.1.14-tepbr987.mjs → mcp-0.1.15-zc7h2fyj.mjs} +1 -1
- package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +1 -0
- package/dist/chunks/{image-processor-napi-0.1.14-p1r3vkb0.mjs → mcpb-0.1.15-5mam984d.mjs} +1 -1
- package/dist/chunks/{memory-0.1.14-cgx518q9.mjs → memory-0.1.15-b6zkcs44.mjs} +1 -1
- package/dist/chunks/{mobile-0.1.14-bwjnmpy0.mjs → mobile-0.1.15-sm8kbft4.mjs} +1 -1
- package/dist/chunks/{model-0.1.14-zg566cz0.mjs → model-0.1.15-843f7654.mjs} +1 -1
- package/dist/chunks/{model-0.1.14-rq2dkze7.mjs → model-0.1.15-e62wxf7h.mjs} +1 -1
- package/dist/chunks/{oauth-0.1.14-gftadks2.mjs → oauth-0.1.15-gxgmqwwx.mjs} +1 -1
- package/dist/chunks/{openaiShim-0.1.14-jv6416m8.mjs → openaiShim-0.1.15-0yryhq9r.mjs} +1 -1
- package/dist/chunks/{output-style-0.1.14-v41ce6t5.mjs → output-style-0.1.15-d20e4vc3.mjs} +1 -1
- package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +1 -0
- package/dist/chunks/parser-0.1.15-wbja947p.mjs +1 -0
- package/dist/chunks/{passes-0.1.14-0jjh5wg5.mjs → passes-0.1.15-726y1cyq.mjs} +1 -1
- package/dist/chunks/{permissions-0.1.14-hh0d709r.mjs → permissions-0.1.15-4pqgyt4h.mjs} +1 -1
- package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +1 -0
- package/dist/chunks/{mcpb-0.1.14-ffa57420.mjs → plist-0.1.15-fseac2c0.mjs} +1 -1
- package/dist/chunks/{plugin-0.1.14-01jhhdd3.mjs → plugin-0.1.15-yeqq1san.mjs} +1 -1
- package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +1 -0
- package/dist/chunks/{plugins-0.1.14-4tggkexv.mjs → plugins-0.1.15-3rpwr86v.mjs} +2 -2
- package/dist/chunks/{print-0.1.14-m719w2yp.mjs → print-0.1.15-64y2p7wj.mjs} +4 -4
- package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +1 -0
- package/dist/chunks/{process-0.1.14-vgdgd7sq.mjs → process-0.1.15-g6km3z8k.mjs} +1 -1
- package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +1 -0
- package/dist/chunks/{processSlashCommand-0.1.14-7w1v93bg.mjs → processSlashCommand-0.1.15-mee2mbyy.mjs} +1 -1
- package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +1 -0
- package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +1 -0
- package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +1 -0
- package/dist/chunks/{provider-0.1.14-xs34vy3w.mjs → provider-0.1.15-gz0fhpp7.mjs} +1 -1
- package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +1 -0
- package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +1 -0
- package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +1 -0
- package/dist/chunks/release-notes-0.1.15-1g908440.mjs +5 -0
- package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +2 -0
- package/dist/chunks/{remote-env-0.1.14-jyc0gkhb.mjs → remote-env-0.1.15-fd5z1adp.mjs} +1 -1
- package/dist/chunks/{remoteBridgeCore-0.1.14-8kt4ffzy.mjs → remoteBridgeCore-0.1.15-kbthngek.mjs} +1 -1
- package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +1 -0
- package/dist/chunks/rename-0.1.15-8079z5ff.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +1 -0
- package/dist/chunks/{resume-0.1.14-7sda36n0.mjs → resume-0.1.15-s4hv4t9y.mjs} +1 -1
- package/dist/chunks/{rewind-0.1.14-zba66at0.mjs → rewind-0.1.15-fevxgefp.mjs} +1 -1
- package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +1 -0
- package/dist/chunks/{sandbox-toggle-0.1.14-jz6x02qp.mjs → sandbox-toggle-0.1.15-fn86ac4p.mjs} +1 -1
- package/dist/chunks/session-0.1.15-crg226x4.mjs +2 -0
- package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +1 -0
- package/dist/chunks/{sessionStorage-0.1.14-sz2medpp.mjs → sessionStorage-0.1.15-x0gw4hbz.mjs} +1 -1
- package/dist/chunks/{setup-0.1.14-f13rnmdg.mjs → setup-0.1.15-6znmc2q6.mjs} +2 -2
- package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +1 -0
- package/dist/chunks/{skills-0.1.14-1vvr60ph.mjs → skills-0.1.15-sybv0v2p.mjs} +1 -1
- package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +1 -0
- package/dist/chunks/{state-0.1.14-rj00ry6n.mjs → state-0.1.15-rr5k0vbf.mjs} +1 -1
- package/dist/chunks/{stats-0.1.14-rr3tpwqw.mjs → stats-0.1.15-3c4f5zp4.mjs} +1 -1
- package/dist/chunks/status-0.1.15-cvscafrs.mjs +1 -0
- package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +1 -0
- package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +1 -0
- package/dist/chunks/{teamHelpers-0.1.14-zv908fgk.mjs → teamHelpers-0.1.15-gw6hwmyj.mjs} +1 -1
- package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +1 -0
- package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +1 -0
- package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +1 -0
- package/dist/chunks/theme-0.1.15-zq998m8x.mjs +1 -0
- package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +1 -0
- package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +1 -0
- package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +1 -0
- package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +1 -0
- package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +1 -0
- package/dist/chunks/{turndown.cjs-0.1.14-nw2rtcyd.mjs → turndown.cjs-0.1.15-pmxpe7z8.mjs} +1 -1
- package/dist/chunks/{ultrareviewCommand-0.1.14-9twnt5bp.mjs → ultrareviewCommand-0.1.15-3gjgaeyn.mjs} +1 -1
- package/dist/chunks/{update-0.1.14-9dhep94r.mjs → update-0.1.15-jtd1h3e7.mjs} +11 -11
- package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +1 -0
- package/dist/chunks/{upstreamproxy-0.1.14-sc0x4n7b.mjs → upstreamproxy-0.1.15-wtbs40ct.mjs} +1 -1
- package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +1 -0
- package/dist/chunks/util-0.1.15-vs1eanbw.mjs +1 -0
- package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +1 -0
- package/dist/chunks/vim-0.1.15-syferjfa.mjs +1 -0
- package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +1 -0
- package/dist/chunks/{wiki-0.1.14-s3exyf45.mjs → wiki-0.1.15-pp951r9h.mjs} +1 -1
- package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +1 -0
- package/dist/chunks/{wrapper-0.1.14-a4mesaeh.mjs → wrapper-0.1.15-dw3awx2b.mjs} +1 -1
- package/dist/claudio-vscode.vsix +0 -0
- package/dist/cli.mjs +3 -3
- package/package.json +1 -1
- package/dist/chunks/AgentTool-0.1.14-cdr5h1g4.mjs +0 -1
- package/dist/chunks/App-0.1.14-pg2tqqjz.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.1.14-e86h3nff.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.1.14-ftdkaf8h.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.1.14-d45z21x5.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.14-dzhpgrhm.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.1.14-y2v8vg76.mjs +0 -1
- package/dist/chunks/Doctor-0.1.14-rhryp3qj.mjs +0 -1
- package/dist/chunks/Grove-0.1.14-4pt83x25.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.1.14-rx2djmka.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.1.14-nhkj2max.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.1.14-f6hf3ymp.mjs +0 -1
- package/dist/chunks/ProviderManager-0.1.14-2d77t0cr.mjs +0 -1
- package/dist/chunks/REPL-0.1.14-rz1jsayd.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.1.14-411m3y24.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.1.14-v6ytg24w.mjs +0 -1
- package/dist/chunks/ToolSearchTool-0.1.14-rpbvvb5j.mjs +0 -1
- package/dist/chunks/activeProvider-0.1.14-5cpywex1.mjs +0 -1
- package/dist/chunks/add-dir-0.1.14-q700x1tp.mjs +0 -1
- package/dist/chunks/agents-0.1.14-nm4k11re.mjs +0 -3
- package/dist/chunks/agents-0.1.14-pjr42t23.mjs +0 -111
- package/dist/chunks/api-0.1.14-v09922m9.mjs +0 -1
- package/dist/chunks/assistant-0.1.14-yt6v1sjy.mjs +0 -1
- package/dist/chunks/auth-0.1.14-vg6ez70v.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.1.14-bh13ez8a.mjs +0 -1
- package/dist/chunks/caches-0.1.14-et2zg3m5.mjs +0 -1
- package/dist/chunks/claudemd-0.1.14-exzt8psa.mjs +0 -1
- package/dist/chunks/clear-0.1.14-62gnxkg3.mjs +0 -1
- package/dist/chunks/clearTerminal-0.1.14-5p1j5sbv.mjs +0 -1
- package/dist/chunks/cli-0.1.14-1shkmy81.mjs +0 -2
- package/dist/chunks/cli-0.1.14-2e2jfccr.mjs +0 -2
- package/dist/chunks/cli-0.1.14-373staaj.mjs +0 -2
- package/dist/chunks/cli-0.1.14-86gckvrm.mjs +0 -2
- package/dist/chunks/cli-0.1.14-bat0c779.mjs +0 -2
- package/dist/chunks/cli-0.1.14-dz2jvye2.mjs +0 -2
- package/dist/chunks/cli-0.1.14-efhhkgkx.mjs +0 -2
- package/dist/chunks/cli-0.1.14-ja2ctrem.mjs +0 -2
- package/dist/chunks/cli-0.1.14-ka0xhrv6.mjs +0 -2
- package/dist/chunks/cli-0.1.14-t3fga5je.mjs +0 -2
- package/dist/chunks/cli-0.1.14-ydm3fwx1.mjs +0 -2
- package/dist/chunks/client-0.1.14-3t6sfwha.mjs +0 -1
- package/dist/chunks/color-0.1.14-65rf0ap9.mjs +0 -1
- package/dist/chunks/config-0.1.14-1v5v86ax.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.1.14-24qfm7b9.mjs +0 -1
- package/dist/chunks/conversation-0.1.14-mkc1cd5a.mjs +0 -1
- package/dist/chunks/cost-0.1.14-3d4g5gqm.mjs +0 -1
- package/dist/chunks/createSession-0.1.14-8599rbgg.mjs +0 -1
- package/dist/chunks/desktop-0.1.14-bx4eky6b.mjs +0 -1
- package/dist/chunks/detectRepository-0.1.14-8yam7kv4.mjs +0 -1
- package/dist/chunks/detection-0.1.14-vz5bqsc0.mjs +0 -1
- package/dist/chunks/diff-0.1.14-e4pm39ee.mjs +0 -1
- package/dist/chunks/doctor-0.1.14-22fc2q8y.mjs +0 -1
- package/dist/chunks/environmentSelection-0.1.14-fn5p85z5.mjs +0 -1
- package/dist/chunks/environments-0.1.14-7napbg6g.mjs +0 -1
- package/dist/chunks/exit-0.1.14-v8j7rsfw.mjs +0 -1
- package/dist/chunks/extra-usage-0.1.14-tmwgn4dh.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.1.14-b2pdph8q.mjs +0 -1
- package/dist/chunks/fast-0.1.14-q1tyk3k8.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.1.14-r30t00rx.mjs +0 -1
- package/dist/chunks/hooks-0.1.14-ybdbkdfh.mjs +0 -1
- package/dist/chunks/index-0.1.14-3m7vrt91.mjs +0 -1
- package/dist/chunks/index-0.1.14-h8gc6ph5.mjs +0 -1
- package/dist/chunks/index-0.1.14-qvap58wt.mjs +0 -1
- package/dist/chunks/index-0.1.14-vygpnv88.mjs +0 -1
- package/dist/chunks/index-0.1.14-wjc5jkvz.mjs +0 -1
- package/dist/chunks/index-0.1.14-yjw9017n.mjs +0 -1
- package/dist/chunks/index-0.1.14-zgwbnfqh.mjs +0 -1
- package/dist/chunks/install-slack-app-0.1.14-64534gsm.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.1.14-ca4bp7gy.mjs +0 -1
- package/dist/chunks/keybindings-0.1.14-zk3nyh0h.mjs +0 -2
- package/dist/chunks/loadAgentsDir-0.1.14-md40mt17.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.1.14-d998c7wf.mjs +0 -1
- package/dist/chunks/main-0.1.14-94wst05h.mjs +0 -1
- package/dist/chunks/managedEnv-0.1.14-tvr9zhbp.mjs +0 -1
- package/dist/chunks/mcpServer-0.1.14-0mvs3bcw.mjs +0 -1
- package/dist/chunks/package-WSP46L7M-0.1.14-xy3ej2c4.mjs +0 -1
- package/dist/chunks/parser-0.1.14-jr4b3as9.mjs +0 -1
- package/dist/chunks/plan-0.1.14-kxb7xax2.mjs +0 -1
- package/dist/chunks/pluginStartupCheck-0.1.14-zjwy126p.mjs +0 -1
- package/dist/chunks/privacy-settings-0.1.14-2gv7gdy1.mjs +0 -1
- package/dist/chunks/processBashCommand-0.1.14-d3xsyk5f.mjs +0 -1
- package/dist/chunks/prompt-0.1.14-30e7kfkx.mjs +0 -1
- package/dist/chunks/prompt-0.1.14-brtd9j19.mjs +0 -1
- package/dist/chunks/prompts-0.1.14-bv9qxc0a.mjs +0 -1
- package/dist/chunks/providerProfiles-0.1.14-068kvwwx.mjs +0 -1
- package/dist/chunks/rate-limit-options-0.1.14-2ftxh15k.mjs +0 -1
- package/dist/chunks/registry-0.1.14-ad3na7g6.mjs +0 -1
- package/dist/chunks/release-notes-0.1.14-b7e554an.mjs +0 -5
- package/dist/chunks/reload-plugins-0.1.14-3w9v6nw6.mjs +0 -2
- package/dist/chunks/remoteSession-0.1.14-ppejxt7n.mjs +0 -1
- package/dist/chunks/rename-0.1.14-tx9dpgk1.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.1.14-gsqgzdev.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.1.14-k97fyzcg.mjs +0 -1
- package/dist/chunks/session-0.1.14-5qsfxmey.mjs +0 -2
- package/dist/chunks/sessionFileAccessHooks-0.1.14-mgx78eqm.mjs +0 -1
- package/dist/chunks/sinks-0.1.14-bkyqa9eq.mjs +0 -1
- package/dist/chunks/startupProfiler-0.1.14-sabjns03.mjs +0 -1
- package/dist/chunks/status-0.1.14-d4fcn5sn.mjs +0 -1
- package/dist/chunks/stickers-0.1.14-s9x2bdhp.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.1.14-spqyrvd7.mjs +0 -1
- package/dist/chunks/tasks-0.1.14-yje1cmy8.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.1.14-natmxyx5.mjs +0 -1
- package/dist/chunks/teleport-0.1.14-np0wrxrm.mjs +0 -1
- package/dist/chunks/terminalSetup-0.1.14-dzsstmk7.mjs +0 -1
- package/dist/chunks/theme-0.1.14-202es8wd.mjs +0 -1
- package/dist/chunks/thinkback-0.1.14-k4krnzrn.mjs +0 -1
- package/dist/chunks/thinkback-play-0.1.14-nn1v84ja.mjs +0 -1
- package/dist/chunks/toolPool-0.1.14-4etecef4.mjs +0 -1
- package/dist/chunks/toolSearch-0.1.14-q506jg4k.mjs +0 -1
- package/dist/chunks/trustedDevice-0.1.14-qq8dmccd.mjs +0 -1
- package/dist/chunks/upgrade-0.1.14-4nr1rdba.mjs +0 -1
- package/dist/chunks/usage-0.1.14-sbaqxx8h.mjs +0 -1
- package/dist/chunks/util-0.1.14-vfg50acy.mjs +0 -1
- package/dist/chunks/utils-0.1.14-heqqycdx.mjs +0 -1
- package/dist/chunks/vim-0.1.14-z71303w7.mjs +0 -1
- package/dist/chunks/watcher-0.1.14-h1wk07kt.mjs +0 -1
- package/dist/chunks/worktree-0.1.14-5486fw5t.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.1.14-xn1mf8hc.mjs +0 -1
- /package/dist/chunks/{cli-0.1.14-nbvvdkk2.mjs → cli-0.1.15-618hqv9f.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-tsth8deg.mjs → cli-0.1.15-7mfwj2xs.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-et8yewbf.mjs → cli-0.1.15-7ve9h395.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-qn4ftczz.mjs → cli-0.1.15-mhbfhhf6.mjs} +0 -0
- /package/dist/chunks/{cli-0.1.14-cahvg3jq.mjs → cli-0.1.15-p6bypqrv.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{EU as JT,FU as ST,fV as IT,yU as X}from"./cli-0.1.
|
|
1
|
+
import{EU as JT,FU as ST,fV as IT,yU as X}from"./cli-0.1.15-68f0jtkh.mjs";import{U3 as K,V3 as UT}from"./cli-0.1.15-fmnyh9j9.mjs";import{A$ as YT,T8 as Q,U$ as z,V8 as OT,X$ as V,_5 as H,aaa as l,baa as d,d6 as o,h8 as s,i7 as BT,k7 as VT,l6 as Y,n6 as n,n8 as XT,oaa as D,r8 as FT,u8 as qT,v8 as _T,y$ as f}from"./cli-0.1.15-4892kydg.mjs";import{vca as E,wca as KT}from"./cli-0.1.15-rr65b3dk.mjs";import{afa as u,cfa as LT,efa as GT,ffa as $T,ifa as zT,mfa as P,qfa as QT}from"./cli-0.1.15-nk50qhet.mjs";import{Lla as r,Mla as ZT}from"./cli-0.1.15-p5ty029c.mjs";import{bma as I}from"./cli-0.1.15-mhbfhhf6.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(()=>{KT();XT();QT();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();n();o()});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
2
|
|
|
3
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
4
|
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Vla as n}from"./cli-0.1.
|
|
1
|
+
import{Vla as n}from"./cli-0.1.15-acdm8b28.mjs";import{$la as r}from"./cli-0.1.15-mhbfhhf6.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
|
|
2
2
|
export{i as z4};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gb as z,Hb as K}from"./cli-0.1.15-gtn9gx9w.mjs";import{JC as w,KC as J}from"./cli-0.1.15-26hkdean.mjs";import{HV as H}from"./cli-0.1.15-tp614m5f.mjs";import{Zla as E,bma as G}from"./cli-0.1.15-mhbfhhf6.mjs";function V(q,v,k){return B.useMemo(()=>{let D=w(k,v);return z(q,D,k.mode)},[q,v,k,!1,!1])}var B;var N=G(()=>{J();K();B=E(H(),1)});
|
|
2
|
+
export{V as Cb,N as Db};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ub as Z,Vb as _,Wb as $,Zb as O}from"./cli-0.1.
|
|
1
|
+
import{Ub as Z,Vb as _,Wb as $,Zb as O}from"./cli-0.1.15-knpxv22b.mjs";import{gd as Y,ld as x}from"./cli-0.1.15-e494j2sj.mjs";import{CG as V,hG as U,mG as W,rG as S,sG as X}from"./cli-0.1.15-26hkdean.mjs";import{Yea as Q,cfa as C,wfa as R,zfa as K}from"./cli-0.1.15-nk50qhet.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
|
|
2
2
|
export{F as oa};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{W3 as A}from"./cli-0.1.
|
|
1
|
+
import{W3 as A}from"./cli-0.1.15-cr7qy3wd.mjs";import{$4 as gG,K4 as q}from"./cli-0.1.15-x69hfzmj.mjs";import{d5 as $G}from"./cli-0.1.15-20tvdt2s.mjs";import{mfa as L,qfa as MG,wfa as $,zfa as i}from"./cli-0.1.15-nk50qhet.mjs";import{Cfa as c,Dfa as RG,Nfa as HG}from"./cli-0.1.15-9pe3dbgs.mjs";import{Lla as O,Mla as g}from"./cli-0.1.15-p5ty029c.mjs";import{$la as P,Zla as aG,bma as a,cma as H}from"./cli-0.1.15-mhbfhhf6.mjs";var GG=P((w)=>{var jG=w&&w.__createBinding||(Object.create?function(G,J,Q,V){if(V===void 0)V=Q;var Y=Object.getOwnPropertyDescriptor(J,Q);if(!Y||("get"in Y?!J.__esModule:Y.writable||Y.configurable))Y={enumerable:!0,get:function(){return J[Q]}};Object.defineProperty(G,V,Y)}:function(G,J,Q,V){if(V===void 0)V=Q;G[V]=J[Q]}),TG=w&&w.__setModuleDefault||(Object.create?function(G,J){Object.defineProperty(G,"default",{enumerable:!0,value:J})}:function(G,J){G.default=J}),o=w&&w.__importStar||function(G){if(G&&G.__esModule)return G;var J={};if(G!=null){for(var Q in G)if(Q!=="default"&&Object.prototype.hasOwnProperty.call(G,Q))jG(J,G,Q)}return TG(J,G),J};Object.defineProperty(w,"__esModule",{value:!0});w.req=w.json=w.toBuffer=void 0;var DG=o(H("http")),NG=o(H("https"));async function e(G){let J=0,Q=[];for await(let V of G)J+=V.length,Q.push(V);return Buffer.concat(Q,J)}w.toBuffer=e;async function LG(G){let Q=(await e(G)).toString("utf8");try{return JSON.parse(Q)}catch(V){let Y=V;throw Y.message+=` (input: ${Q})`,Y}}w.json=LG;function SG(G,J={}){let V=((typeof G==="string"?G:G.href).startsWith("https:")?NG:DG).request(G,J),Y=new Promise((Z,K)=>{V.once("response",Z).once("error",K).end()});return V.then=Y.then.bind(Y),V}w.req=SG});var ZG=P((X)=>{var QG=X&&X.__createBinding||(Object.create?function(G,J,Q,V){if(V===void 0)V=Q;var Y=Object.getOwnPropertyDescriptor(J,Q);if(!Y||("get"in Y?!J.__esModule:Y.writable||Y.configurable))Y={enumerable:!0,get:function(){return J[Q]}};Object.defineProperty(G,V,Y)}:function(G,J,Q,V){if(V===void 0)V=Q;G[V]=J[Q]}),PG=X&&X.__setModuleDefault||(Object.create?function(G,J){Object.defineProperty(G,"default",{enumerable:!0,value:J})}:function(G,J){G.default=J}),VG=X&&X.__importStar||function(G){if(G&&G.__esModule)return G;var J={};if(G!=null){for(var Q in G)if(Q!=="default"&&Object.prototype.hasOwnProperty.call(G,Q))QG(J,G,Q)}return PG(J,G),J},_G=X&&X.__exportStar||function(G,J){for(var Q in G)if(Q!=="default"&&!Object.prototype.hasOwnProperty.call(J,Q))QG(J,G,Q)};Object.defineProperty(X,"__esModule",{value:!0});X.Agent=void 0;var vG=VG(H("net")),JG=VG(H("http")),AG=H("https");_G(GG(),X);var M=Symbol("AgentBaseInternalState");class YG extends JG.Agent{constructor(G){super(G);this[M]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
|
|
2
2
|
`).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new vG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],V=Q.indexOf(J);if(V!==-1){if(Q.splice(V,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return AG.Agent.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let V={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(V),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,V)).then((K)=>{if(this.decrementSockets(Y,Z),K instanceof JG.Agent)try{return K.addRequest(G,V)}catch(W){return Q(W)}this[M].currentSocket=K,super.createSocket(G,J,Q)},(K)=>{this.decrementSockets(Y,Z),Q(K)})}createConnection(){let G=this[M].currentSocket;if(this[M].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[M].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[M])this[M].defaultPort=G}get protocol(){return this[M].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[M])this[M].protocol=G}}X.Agent=YG});var KG=P((U)=>{var bG=U&&U.__importDefault||function(G){return G&&G.__esModule?G:{default:G}};Object.defineProperty(U,"__esModule",{value:!0});U.parseProxyResponse=void 0;var hG=bG($G()),_=(0,hG.default)("https-proxy-agent:parse-proxy-response");function CG(G){return new Promise((J,Q)=>{let V=0,Y=[];function Z(){let E=G.read();if(E)u(E);else G.once("readable",Z)}function K(){G.removeListener("end",W),G.removeListener("error",R),G.removeListener("readable",Z)}function W(){K(),_("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function R(E){K(),_("onerror %o",E),Q(E)}function u(E){Y.push(E),V+=E.length;let z=Buffer.concat(Y,V),r=z.indexOf(`\r
|
|
3
3
|
\r
|
|
4
4
|
`);if(r===-1){_("have not received end of HTTP headers yet..."),Z();return}let s=z.slice(0,r).toString("ascii").split(`\r
|
|
5
5
|
`),x=s.shift();if(!x)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=x.split(" "),OG=+t[1],UG=t.slice(2).join(" "),T={};for(let D of s){if(!D)continue;let k=D.indexOf(":");if(k===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${D}"`));let l=D.slice(0,k).toLowerCase(),d=D.slice(k+1).trimStart(),S=T[l];if(typeof S==="string")T[l]=[S,d];else if(Array.isArray(S))S.push(d);else T[l]=d}_("got proxy server response: %o %o",x,T),K(),J({connect:{statusCode:OG,statusText:UG,headers:T},buffered:z})}G.on("error",R),G.on("end",W),Z()})}U.parseProxyResponse=CG});var EG=P((B)=>{var yG=B&&B.__createBinding||(Object.create?function(G,J,Q,V){if(V===void 0)V=Q;var Y=Object.getOwnPropertyDescriptor(J,Q);if(!Y||("get"in Y?!J.__esModule:Y.writable||Y.configurable))Y={enumerable:!0,get:function(){return J[Q]}};Object.defineProperty(G,V,Y)}:function(G,J,Q,V){if(V===void 0)V=Q;G[V]=J[Q]}),fG=B&&B.__setModuleDefault||(Object.create?function(G,J){Object.defineProperty(G,"default",{enumerable:!0,value:J})}:function(G,J){G.default=J}),zG=B&&B.__importStar||function(G){if(G&&G.__esModule)return G;var J={};if(G!=null){for(var Q in G)if(Q!=="default"&&Object.prototype.hasOwnProperty.call(G,Q))yG(J,G,Q)}return fG(J,G),J},BG=B&&B.__importDefault||function(G){return G&&G.__esModule?G:{default:G}};Object.defineProperty(B,"__esModule",{value:!0});B.HttpsProxyAgent=void 0;var v=zG(H("net")),WG=zG(H("tls")),uG=BG(H("assert")),xG=BG($G()),kG=ZG(),lG=H("url"),dG=KG(),N=(0,xG.default)("https-proxy-agent"),wG=(G)=>{if(G.servername===void 0&&G.host&&!v.isIP(G.host))return{...G,servername:G.host};return G};class m extends kG.Agent{constructor(G,J){super(J);this.options={path:void 0},this.proxy=typeof G==="string"?new lG.URL(G):G,this.proxyHeaders=J?.headers??{},N("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),V=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?XG(J,"headers"):null,host:Q,port:V}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let V;if(Q.protocol==="https:")N("Creating `tls.Socket`: %o",this.connectOpts),V=WG.connect(wG(this.connectOpts));else N("Creating `net.Socket`: %o",this.connectOpts),V=v.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=v.isIPv6(J.host)?`[${J.host}]`:J.host,K=`CONNECT ${Z}:${J.port} HTTP/1.1\r
|
|
6
6
|
`;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))K+=`${z}: ${Y[z]}\r
|
|
7
7
|
`;let W=(0,dG.parseProxyResponse)(V);V.write(`${K}\r
|
|
8
|
-
`);let{connect:R,buffered:u}=await W;if(G.emit("proxyConnect",R),this.emit("proxyConnect",R,G),R.statusCode===200){if(G.once("socket",mG),J.secureEndpoint)return N("Upgrading socket connection to TLS"),WG.connect({...XG(wG(J),"host","path","port"),socket:V});return V}V.destroy();let E=new v.Socket({writable:!1});return E.readable=!0,G.once("socket",(z)=>{N("Replaying proxy buffer for failed request"),(0,uG.default)(z.listenerCount("data")>0),z.push(u),z.push(null)}),E}}m.protocols=["http","https"];B.HttpsProxyAgent=m;function mG(G){G.resume()}function XG(G,...J){let Q={},V;for(V in G)if(!J.includes(V))Q[V]=G[V];return Q}});function VJ(){I.cache.clear?.(),$("Cleared CA certificates cache")}var I;var p=a(()=>{g();i();HG();MG();I=O(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if($(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=H("tls"),V=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)V.push(...Z),$(`CA certs: Loaded ${V.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){$("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else V.push(...Q.rootCertificates),$(`CA certs: Loaded ${V.length} bundled root certificates as base (--use-system-ca fallback)`)}else V.push(...Q.rootCertificates),$(`CA certs: Loaded ${V.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});V.push(Y),$(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){$(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return V.length>0?V:void 0})});import{Agent as cG}from"https";function XJ(){let G=F(),J=I();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function h(){let G=F(),J=I();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return $("TLS: Created undici agent with custom certificates"),{dispatcher:new(A()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function zJ(){F.cache.clear?.(),b.cache.clear?.(),$("Cleared mTLS configuration cache")}function BJ(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)$("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,b;var qG=a(()=>{g();p();i();MG();F=O(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),$("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){$(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),$("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){$(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,$("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),b=O(()=>{let G=F(),J=I();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return $("mTLS: Creating HTTPS agent with custom certificates"),new cG(Q)})});function OJ(G){FG.set(G,!0)}function iG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function j(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function pG(G=process.env){return G.no_proxy||G.NO_PROXY}function y(G,J=pG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),V=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${V}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some((W)=>{if(W=W.toLowerCase().trim(),W.includes(":"))return Z===W;if(W.startsWith(".")){let R=W;return V===W.substring(1)||V.endsWith(R)}return V===W})}catch{return!1}}function f(G,J={}){let Q=F(),V=I(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...V&&{ca:V}};if(RG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,K,W)=>{W(null,Z,iG(K))};return new IG.HttpsProxyAgent(G,{...Y,...J})}function UJ(G={}){let J=j(),Q=b(),V=q.create({proxy:!1});if(!J){if(Q)V.defaults.httpsAgent=Q;return V}let Y=f(J,G);return V.interceptors.request.use((Z)=>{if(Z.url&&y(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),V}function jJ(G){let J=j();if(!J)return;if(y(G))return;return f(J)}function TJ(G){let J=j();if(!J)return;if(y(G))return;return J}function DJ(G){let J=G?.provider??"unknown",Q=FG.get(J)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...Q,unix:Y}}let V=j();if(V){if(typeof Bun<"u")return{...Q,proxy:V,...h()};return{...Q,dispatcher:n(V)}}return{...Q,...h()}}function NJ(){let G=j(),J=b();if(C!==void 0)q.interceptors.request.eject(C),C=void 0;if(q.defaults.proxy=void 0,q.defaults.httpAgent=void 0,q.defaults.httpsAgent=void 0,G){q.defaults.proxy=!1;let Q=f(G);C=q.interceptors.request.use((V)=>{if(V.url&&y(V.url))if(J)V.httpsAgent=J,V.httpAgent=J;else delete V.httpsAgent,delete V.httpAgent;else V.httpsAgent=Q,V.httpAgent=Q;return V}),A().setGlobalDispatcher(n(G))}else if(J){q.defaults.httpsAgent=J;let Q=h();if(Q.dispatcher)A().setGlobalDispatcher(Q.dispatcher)}}async function LJ(){let G=j();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-0.1.
|
|
8
|
+
`);let{connect:R,buffered:u}=await W;if(G.emit("proxyConnect",R),this.emit("proxyConnect",R,G),R.statusCode===200){if(G.once("socket",mG),J.secureEndpoint)return N("Upgrading socket connection to TLS"),WG.connect({...XG(wG(J),"host","path","port"),socket:V});return V}V.destroy();let E=new v.Socket({writable:!1});return E.readable=!0,G.once("socket",(z)=>{N("Replaying proxy buffer for failed request"),(0,uG.default)(z.listenerCount("data")>0),z.push(u),z.push(null)}),E}}m.protocols=["http","https"];B.HttpsProxyAgent=m;function mG(G){G.resume()}function XG(G,...J){let Q={},V;for(V in G)if(!J.includes(V))Q[V]=G[V];return Q}});function VJ(){I.cache.clear?.(),$("Cleared CA certificates cache")}var I;var p=a(()=>{g();i();HG();MG();I=O(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if($(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=H("tls"),V=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)V.push(...Z),$(`CA certs: Loaded ${V.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){$("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else V.push(...Q.rootCertificates),$(`CA certs: Loaded ${V.length} bundled root certificates as base (--use-system-ca fallback)`)}else V.push(...Q.rootCertificates),$(`CA certs: Loaded ${V.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});V.push(Y),$(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){$(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return V.length>0?V:void 0})});import{Agent as cG}from"https";function XJ(){let G=F(),J=I();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function h(){let G=F(),J=I();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return $("TLS: Created undici agent with custom certificates"),{dispatcher:new(A()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function zJ(){F.cache.clear?.(),b.cache.clear?.(),$("Cleared mTLS configuration cache")}function BJ(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)$("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,b;var qG=a(()=>{g();p();i();MG();F=O(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),$("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){$(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),$("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){$(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,$("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),b=O(()=>{let G=F(),J=I();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return $("mTLS: Creating HTTPS agent with custom certificates"),new cG(Q)})});function OJ(G){FG.set(G,!0)}function iG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function j(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function pG(G=process.env){return G.no_proxy||G.NO_PROXY}function y(G,J=pG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),V=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${V}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some((W)=>{if(W=W.toLowerCase().trim(),W.includes(":"))return Z===W;if(W.startsWith(".")){let R=W;return V===W.substring(1)||V.endsWith(R)}return V===W})}catch{return!1}}function f(G,J={}){let Q=F(),V=I(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...V&&{ca:V}};if(RG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,K,W)=>{W(null,Z,iG(K))};return new IG.HttpsProxyAgent(G,{...Y,...J})}function UJ(G={}){let J=j(),Q=b(),V=q.create({proxy:!1});if(!J){if(Q)V.defaults.httpsAgent=Q;return V}let Y=f(J,G);return V.interceptors.request.use((Z)=>{if(Z.url&&y(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),V}function jJ(G){let J=j();if(!J)return;if(y(G))return;return f(J)}function TJ(G){let J=j();if(!J)return;if(y(G))return;return J}function DJ(G){let J=G?.provider??"unknown",Q=FG.get(J)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...Q,unix:Y}}let V=j();if(V){if(typeof Bun<"u")return{...Q,proxy:V,...h()};return{...Q,dispatcher:n(V)}}return{...Q,...h()}}function NJ(){let G=j(),J=b();if(C!==void 0)q.interceptors.request.eject(C),C=void 0;if(q.defaults.proxy=void 0,q.defaults.httpAgent=void 0,q.defaults.httpsAgent=void 0,G){q.defaults.proxy=!1;let Q=f(G);C=q.interceptors.request.use((V)=>{if(V.url&&y(V.url))if(J)V.httpsAgent=J,V.httpAgent=J;else delete V.httpsAgent,delete V.httpAgent;else V.httpsAgent=Q,V.httpAgent=Q;return V}),A().setGlobalDispatcher(n(G))}else if(J){q.defaults.httpsAgent=J;let Q=h();if(Q.dispatcher)A().setGlobalDispatcher(Q.dispatcher)}}async function LJ(){let G=j();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-0.1.15-136649ke.mjs"),import("./index-0.1.15-b9sdtjj4.mjs")]),V=f(G),Y=new J({httpAgent:V,httpsAgent:V});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function SJ(){n.cache.clear?.(),$("Cleared proxy agent cache")}var IG,FG,n,C;var nG=a(()=>{gG();g();p();i();HG();qG();IG=aG(EG(),1),FG=new Map;n=O((G)=>{let J=A(),Q=F(),V=I(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||V){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...V&&{ca:V}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)})});
|
|
9
9
|
export{EG as z3,I as A3,VJ as B3,p as C3,F as D3,XJ as E3,zJ as F3,BJ as G3,qG as H3,OJ as I3,j as J3,y as K3,UJ as L3,jJ as M3,TJ as N3,DJ as O3,NJ as P3,LJ as Q3,SJ as R3,nG as S3};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{$J as L,aK as M,qw as z,rw as h,uh as J,vh as Z}from"./cli-0.1.
|
|
1
|
+
import{$J as L,aK as M,qw as z,rw as h,uh as J,vh as Z}from"./cli-0.1.15-26hkdean.mjs";import{QS as X}from"./cli-0.1.15-68f0jtkh.mjs";import{HV as W}from"./cli-0.1.15-tp614m5f.mjs";import{Oka as H,mla as V}from"./cli-0.1.15-12azgmva.mjs";import{Zla as D,bma as U}from"./cli-0.1.15-mhbfhhf6.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{M();V();h();Z();P=D(X(),1),x=D(W(),1)});
|
|
2
2
|
export{v as Ke,A as Le};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{hp as I,kp as W}from"./cli-0.1.
|
|
1
|
+
import{hp as I,kp as W}from"./cli-0.1.15-26hkdean.mjs";import{Dfa as H,Nfa as V}from"./cli-0.1.15-9pe3dbgs.mjs";V();W();var J=null,z=null,N=null;function Z(f){J=f}function $(f){z=f}function q(f){N=f}var G=!1,O="idle";function F(){return O}function K(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 Q(f){z?.(f)}function R(f){N?.(f)}
|
|
2
2
|
export{Z as fb,$ as gb,q as hb,F as ib,K as jb,Q as kb,R as lb};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{BQ as X,zQ as M}from"./cli-0.1.
|
|
1
|
+
import{BQ as X,zQ as M}from"./cli-0.1.15-qhz07at6.mjs";import{F8 as V,X_ as K,a$ as L,j$ as W,w8 as B}from"./cli-0.1.15-4892kydg.mjs";import{bma as Q}from"./cli-0.1.15-mhbfhhf6.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
|
|
2
2
|
export{F as sb,Y as tb};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{hV as mj,mV as __}from"./cli-0.1.14-qyx55m6c.mjs";import{nV as q_,pV as d1,sV as B_}from"./cli-0.1.14-fspxpmh7.mjs";import{EV as Q0,FV as e6,GV as m0}from"./cli-0.1.14-hjktwgtk.mjs";import{HV as n0}from"./cli-0.1.14-harz1d9d.mjs";import{$Y as vU,LY as k4,MY as C4,NY as c4,OY as qQ,PY as M8,QY as Ez,RY as W6,SY as kB,TY as _K,UY as gB,VY as HQ,WY as qZ,XY as OH,YY as HH,ZY as yU,_Y as r2,aZ as UJ,bZ as AQ,cZ as kG,dZ as e2,eZ as cj,fZ as lj,gZ as dj,hZ as aj,iZ as dB,jZ as aB,kZ as Pj,lZ as yj,mZ as Z9,nZ as zJ,oZ as J9,pZ as Q9,qZ as _8,rZ as Zj,tZ as U_}from"./cli-0.1.14-5brvxst8.mjs";import{T3 as lO,U3 as K0,V3 as Lz}from"./cli-0.1.14-jbn4ywda.mjs";import{f5 as IF,g5 as PF}from"./cli-0.1.14-kv650aha.mjs";import{T8 as DQ,U$ as t3,V8 as c1,X$ as QK,_5 as L8,d6 as M1,g6 as gO,h6 as XF,l6 as U4,n6 as PB,oaa as o3}from"./cli-0.1.14-2f7s5xbd.mjs";import{Jda as eN,Kda as mY,Lda as fY,Mda as pY,Nda as wY,Oda as UQ,Pda as U1,Qda as X7,Rda as KQ}from"./cli-0.1.14-mgcmwvcn.mjs";import{rea as bG,xea as GO}from"./cli-0.1.14-16jrehc2.mjs";import{wfa as KZ,zfa as G5}from"./cli-0.1.14-2mzb5ath.mjs";import{Dfa as N8,Efa as IB,Nfa as Rz}from"./cli-0.1.14-s9m1y93w.mjs";import{Wga as UB,Xga as hA,dia as Ij,eia as kO,jja as bB,mla as $z}from"./cli-0.1.14-r46jh9af.mjs";import{pla as ZB,qla as yA,vla as p5,wla as Bz}from"./cli-0.1.14-akz49g5v.mjs";import{$la as g5,Zla as U0,bma as P}from"./cli-0.1.14-qn4ftczz.mjs";var R7=g5((fW,l3)=>{var RA=U0(n0()),XA=Object.create,r9=Object.defineProperty,zA=Object.getOwnPropertyDescriptor,UA=Object.getOwnPropertyNames,qA=Object.getPrototypeOf,BA=Object.prototype.hasOwnProperty,YA=(Z,K)=>{for(var G in K)r9(Z,G,{get:K[G],enumerable:!0})},p3=(Z,K,G,z)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let q of UA(K))if(!BA.call(Z,q)&&q!==G)r9(Z,q,{get:()=>K[q],enumerable:!(z=zA(K,q))||z.enumerable})}return Z},jA=(Z,K,G)=>(G=Z!=null?XA(qA(Z)):{},p3(K||!Z||!Z.__esModule?r9(G,"default",{value:Z,enumerable:!0}):G,Z)),OA=(Z)=>p3(r9({},"__esModule",{value:!0}),Z),c3={};YA(c3,{$dispatcherGuard:()=>AA,$makeReadOnly:()=>MA,$reset:()=>NA,$structuralCheck:()=>$A,c:()=>VA,clearRenderCounterRegistry:()=>_A,renderCounterRegistry:()=>j6,useRenderCounter:()=>LA});l3.exports=OA(c3);var nJ=jA(RA),{useRef:HA,useEffect:DA,isValidElement:iJ}=nJ,g3,Kz=(g3=nJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?g3:nJ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gz=Symbol.for("react.memo_cache_sentinel"),h3,VA=typeof((h3=nJ.__COMPILER_RUNTIME)==null?void 0:h3.c)==="function"?nJ.__COMPILER_RUNTIME.c:function(K){return nJ.useMemo(()=>{let G=Array(K);for(let z=0;z<K;z++)G[z]=Gz;return G[Gz]=!0,G},[])},o9={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach((Z)=>{o9[Z]=()=>{throw Error(`[React] Unexpected React hook call (${Z}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var Y6=null;o9.useMemoCache=(Z)=>{if(Y6==null)throw Error("React Compiler internal invariant violation: unexpected null dispatcher");else return Y6.useMemoCache(Z)};function t9(Z){return Kz.ReactCurrentDispatcher.current=Z,Kz.ReactCurrentDispatcher.current}var sJ=[];function AA(Z){let K=Kz.ReactCurrentDispatcher.current;if(Z===0){if(sJ.push(K),sJ.length===1)Y6=K;if(K===o9)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");t9(o9)}else if(Z===1){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");if(sJ.length===0)Y6=null;t9(G)}else if(Z===2)sJ.push(K),t9(Y6);else if(Z===3){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");t9(G)}else throw Error("React Compiler internal error: unreachable block"+Z)}function NA(Z){for(let K=0;K<Z.length;K++)Z[K]=Gz}function MA(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var j6=new Map;function _A(){for(let Z of j6.values())Z.forEach((K)=>{K.count=0})}function FA(Z,K){let G=j6.get(Z);if(G==null)G=new Set,j6.set(Z,G);G.add(K)}function WA(Z,K){let G=j6.get(Z);if(G==null)return;G.delete(K)}function LA(Z){let K=HA(null);if(K.current!=null)K.current.count+=1;DA(()=>{if(K.current==null){let G={count:0};FA(Z,G),K.current=G}return()=>{if(K.current!==null)WA(Z,K.current)}})}var u3=new Set;function $A(Z,K,G,z,q,Y){function j(V,A,M,F){let _=`${z}:${Y} [${q}] ${G}${M} changed from ${V} to ${A} at depth ${F}`;if(u3.has(_))return;u3.add(_),console.error(_)}let H=2;function D(V,A,M,F){if(F>H)return;else if(V===A)return;else if(typeof V!==typeof A)j(`type ${typeof V}`,`type ${typeof A}`,M,F);else if(typeof V==="object"){let _=Array.isArray(V),R=Array.isArray(A);if(V===null&&A!==null)j("null",`type ${typeof A}`,M,F);else if(A===null)j(`type ${typeof V}`,"null",M,F);else if(V instanceof Map)if(!(A instanceof Map))j("Map instance","other value",M,F);else if(V.size!==A.size)j(`Map instance with size ${V.size}`,`Map instance with size ${A.size}`,M,F);else for(let[W,E]of V)if(!A.has(W))j(`Map instance with key ${W}`,`Map instance without key ${W}`,M,F);else D(E,A.get(W),`${M}.get(${W})`,F+1);else if(A instanceof Map)j("other value","Map instance",M,F);else if(V instanceof Set){if(!(A instanceof Set))j("Set instance","other value",M,F);else if(V.size!==A.size)j(`Set instance with size ${V.size}`,`Set instance with size ${A.size}`,M,F);else for(let W of A)if(!V.has(W))j(`Set instance without element ${W}`,`Set instance with element ${W}`,M,F)}else if(A instanceof Set)j("other value","Set instance",M,F);else if(_||R)if(_!==R)j(`type ${_?"array":"object"}`,`type ${R?"array":"object"}`,M,F);else if(V.length!==A.length)j(`array with length ${V.length}`,`array with length ${A.length}`,M,F);else for(let W=0;W<V.length;W++)D(V[W],A[W],`${M}[${W}]`,F+1);else if(iJ(V)||iJ(A))if(iJ(V)!==iJ(A))j(`type ${iJ(V)?"React element":"object"}`,`type ${iJ(A)?"React element":"object"}`,M,F);else if(V.type!==A.type)j(`React element of type ${V.type}`,`React element of type ${A.type}`,M,F);else D(V.props,A.props,`[props of ${M}]`,F+1);else{for(let W in A)if(!(W in V))j(`object without key ${W}`,`object with key ${W}`,M,F);for(let W in V)if(!(W in A))j(`object with key ${W}`,`object without key ${W}`,M,F);else D(V[W],A[W],`${M}.${W}`,F+1)}}else if(typeof V==="function")return;else if(isNaN(V)||isNaN(A)){if(isNaN(V)!==isNaN(A))j(`${isNaN(V)?"NaN":"non-NaN value"}`,`${isNaN(A)?"NaN":"non-NaN value"}`,M,F)}else if(V!==A)j(V,A,M,F)}D(Z,K,"",0)}});class G4{_didStopImmediatePropagation=!1;didStopImmediatePropagation(){return this._didStopImmediatePropagation}stopImmediatePropagation(){this._didStopImmediatePropagation=!0}}var h5=()=>{};import{EventEmitter as EA}from"events";var tJ;var e9=P(()=>{h5();tJ=class tJ extends EA{constructor(){super();this.setMaxListeners(0)}emit(Z,...K){if(Z==="error")return super.emit(Z,...K);let G=this.rawListeners(Z);if(G.length===0)return!1;let z=K[0]instanceof G4?K[0]:null;for(let q of G)if(q.apply(this,K),z?.didStopImmediatePropagation())break;return!0}}});var d3,a3,u5;var ZK=P(()=>{e9();d3=U0(n0(),1),a3=d3.createContext({stdin:process.stdin,internal_eventEmitter:new tJ,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0,internal_querier:null});a3.displayName="InternalStdinContext";u5=a3});var i3,TA=()=>i3.useContext(u5),O6;var JK=P(()=>{ZK();i3=U0(n0(),1),O6=TA});function H6(){if(Xz===void 0)Xz=CA()??"dark";return Xz}function dW(Z){if(Z==="auto")return H6();return Z}function CA(){let Z=process.env.COLORFGBG;if(!Z)return;let K=Z.split(";"),G=K[K.length-1];if(G===void 0||G==="")return;let z=Number(G);if(!Number.isInteger(z)||z<0||z>15)return;return z<=6||z===8?"dark":"light"}var Xz;var s3=()=>{};function SA(){return QK().theme}function vA(Z){t3((K)=>({...K,theme:Z}))}function Uz({children:Z,initialState:K,onThemeSave:G=vA}){let[z,q]=f7.useState(K??SA),[Y,j]=f7.useState(null),[H,D]=f7.useState(()=>(K??z)==="auto"?H6():"dark"),V=Y??z,{internal_querier:A}=O6();f7.useEffect(()=>{},[V,A]);let M=V==="auto"?H:V,F=f7.useMemo(()=>({themeSetting:z,setThemeSetting:(_)=>{if(q(_),j(null),_==="auto")D(H6());G?.(_)},setPreviewTheme:(_)=>{if(j(_),_==="auto")D(H6())},savePreview:()=>{if(Y!==null)q(Y),j(null),G?.(Y)},cancelPreview:()=>{if(Y!==null)j(null)},currentTheme:M}),[z,Y,M,G]);return Q0(KK.Provider,{value:F,children:Z})}function D6(){let Z=zz.c(3),{currentTheme:K,setThemeSetting:G}=f7.useContext(KK),z;if(Z[0]!==K||Z[1]!==G)z=[K,G],Z[0]=K,Z[1]=G,Z[2]=z;else z=Z[2];return z}function xA(){return f7.useContext(KK).themeSetting}function bA(){let Z=zz.c(4),{setPreviewTheme:K,savePreview:G,cancelPreview:z}=f7.useContext(KK),q;if(Z[0]!==z||Z[1]!==G||Z[2]!==K)q={setPreviewTheme:K,savePreview:G,cancelPreview:z},Z[0]=z,Z[1]=G,Z[2]=K,Z[3]=q;else q=Z[3];return q}var zz,f7,n3="dark",KK;var V6=P(()=>{JK();o3();s3();m0();zz=U0(R7(),1),f7=U0(n0(),1),KK=f7.createContext({themeSetting:n3,setThemeSetting:()=>{},setPreviewTheme:()=>{},savePreview:()=>{},cancelPreview:()=>{},currentTheme:n3})});function qz(Z,{include:K,exclude:G}={}){let z=(q)=>{let Y=(j)=>typeof j==="string"?q===j:j.test(q);if(K)return K.some(Y);if(G)return!G.some(Y);return!0};for(let[q,Y]of IA(Z.constructor.prototype)){if(Y==="constructor"||!z(Y))continue;let j=Reflect.getOwnPropertyDescriptor(q,Y);if(j&&typeof j.value==="function")Z[Y]=Z[Y].bind(Z)}return Z}var IA=(Z)=>{let K=new Set;do for(let G of Reflect.ownKeys(Z))K.add([Z,G]);while((Z=Reflect.getPrototypeOf(Z))&&Z!==Object.prototype);return K};var r3=()=>{};function PA(){}var GK;var e3=P(()=>{GK=PA});var mA=function(){return ZB.Date.now()},XK;var JB=P(()=>{yA();XK=mA});function wA(Z){var K=Z.length;while(K--&&fA.test(Z.charAt(K)));return K}var fA,QB;var KB=P(()=>{fA=/\s/;QB=wA});function gA(Z){return Z?Z.slice(0,QB(Z)+1).replace(kA,""):Z}var kA,GB;var XB=P(()=>{KB();kA=/^\s+/;GB=gA});function dA(Z){if(typeof Z=="number")return Z;if(UB(Z))return zB;if(p5(Z)){var K=typeof Z.valueOf=="function"?Z.valueOf():Z;Z=p5(K)?K+"":K}if(typeof Z!="string")return Z===0?Z:+Z;Z=GB(Z);var G=pA.test(Z);return G||cA.test(Z)?lA(Z.slice(2),G?2:8):uA.test(Z)?zB:+Z}var zB=NaN,uA,pA,cA,lA,Yz;var qB=P(()=>{XB();Bz();hA();uA=/^[-+]0x[0-9a-f]+$/i,pA=/^0b[01]+$/i,cA=/^0o[0-7]+$/i,lA=parseInt;Yz=dA});function nA(Z,K,G){var z,q,Y,j,H,D,V=0,A=!1,M=!1,F=!0;if(typeof Z!="function")throw TypeError(aA);if(K=Yz(K)||0,p5(G))A=!!G.leading,M="maxWait"in G,Y=M?iA(Yz(G.maxWait)||0,K):Y,F="trailing"in G?!!G.trailing:F;function _(b){var u=z,f=q;return z=q=void 0,V=b,j=Z.apply(f,u),j}function R(b){return V=b,H=setTimeout(T,K),A?_(b):j}function W(b){var u=b-D,f=b-V,w=K-u;return M?sA(w,Y-f):w}function E(b){var u=b-D,f=b-V;return D===void 0||u>=K||u<0||M&&f>=Y}function T(){var b=XK();if(E(b))return $(b);H=setTimeout(T,W(b))}function $(b){if(H=void 0,F&&z)return _(b);return z=q=void 0,j}function I(){if(H!==void 0)clearTimeout(H);V=0,z=D=q=H=void 0}function y(){return H===void 0?j:$(XK())}function m(){var b=XK(),u=E(b);if(z=arguments,q=this,D=b,u){if(H===void 0)return R(D);if(M)return clearTimeout(H),H=setTimeout(T,K),_(D)}if(H===void 0)H=setTimeout(T,K);return j}return m.cancel=I,m.flush=y,m}var aA="Expected a function",iA,sA,BB;var YB=P(()=>{Bz();JB();qB();iA=Math.max,sA=Math.min;BB=nA});function oA(Z,K,G){var z=!0,q=!0;if(typeof Z!="function")throw TypeError(tA);if(p5(G))z="leading"in G?!!G.leading:z,q="trailing"in G?!!G.trailing:q;return BB(Z,K,{leading:z,maxWait:K,trailing:q})}var tA="Expected a function",jB;var OB=P(()=>{YB();Bz();jB=oA});var zK=8,UK=32,jz=2,qK=0;var BK=()=>{};var V0,YK,H8,r0,HB,TZ,f4,G7,F0,c5,l5,tZ,D8;var DB=P(()=>{V0={Auto:0,FlexStart:1,Center:2,FlexEnd:3,Stretch:4,Baseline:5,SpaceBetween:6,SpaceAround:7,SpaceEvenly:8},YK={Inherit:0,LTR:1,RTL:2},H8={Flex:0,None:1,Contents:2},r0={Left:0,Top:1,Right:2,Bottom:3,Start:4,End:5,Horizontal:6,Vertical:7,All:8},HB={None:0,StretchFlexBasis:1,AbsolutePositionWithoutInsetsExcludesPadding:2,AbsolutePercentAgainstInnerSize:4,All:2147483647,Classic:2147483646},TZ={Column:0,ColumnReverse:1,Row:2,RowReverse:3},f4={Column:0,Row:1,All:2},G7={FlexStart:0,Center:1,FlexEnd:2,SpaceBetween:3,SpaceAround:4,SpaceEvenly:5},F0={Undefined:0,Exactly:1,AtMost:2},c5={Visible:0,Hidden:1,Scroll:2},l5={Static:0,Relative:1,Absolute:2},tZ={Undefined:0,Point:1,Percent:2,Auto:3},D8={NoWrap:0,Wrap:1,WrapReverse:2}});function VK(Z){return{unit:tZ.Point,value:Z}}function X4(Z){return{unit:tZ.Percent,value:Z}}function DZ(Z,K){switch(Z.unit){case tZ.Point:return Z.value;case tZ.Percent:return isNaN(K)?NaN:Z.value*K/100;default:return NaN}}function D0(Z){return!isNaN(Z)}function D7(Z,K){return Z===K||Z!==Z&&K!==K}function VB(){return{direction:YK.Inherit,flexDirection:TZ.Column,justifyContent:G7.FlexStart,alignItems:V0.Stretch,alignSelf:V0.Auto,alignContent:V0.FlexStart,flexWrap:D8.NoWrap,overflow:c5.Visible,display:H8.Flex,positionType:l5.Relative,flexGrow:0,flexShrink:0,flexBasis:V8,margin:[,,,,,,,,,].fill(i7),padding:[,,,,,,,,,].fill(i7),border:[,,,,,,,,,].fill(i7),position:[,,,,,,,,,].fill(i7),gap:[,,,].fill(i7),width:V8,height:V8,minWidth:i7,minHeight:i7,maxWidth:i7,maxHeight:i7}}function J5(Z,K,G,z=!1){let q=Z[K];if(q.unit===tZ.Undefined)if(K===E7||K===z4)q=Z[r0.Horizontal];else q=Z[r0.Vertical];if(q.unit===tZ.Undefined)q=Z[r0.All];if(q.unit===tZ.Undefined){if(K===E7)q=Z[r0.Start];if(K===z4)q=Z[r0.End]}if(q.unit===tZ.Undefined)return 0;if(q.unit===tZ.Auto)return z?NaN:0;return DZ(q,G)}function R4(Z,K){let G=Z[K];if(G.unit===tZ.Undefined)if(K===E7||K===z4)G=Z[r0.Horizontal];else G=Z[r0.Vertical];if(G.unit===tZ.Undefined)G=Z[r0.All];if(G.unit===tZ.Undefined){if(K===E7)G=Z[r0.Start];if(K===z4)G=Z[r0.End]}return G}function w4(Z,K){return R4(Z,K).unit===tZ.Auto}function AB(Z){for(let K=0;K<9;K++)if(Z[K].unit===3)return!0;return!1}function jK(Z){for(let K=0;K<9;K++)if(Z[K].unit!==0)return!0;return!1}function Oz(Z,K,G){let z=Z[6],q=Z[7],Y=Z[8],j=Z[4],H=Z[5],D=isNaN(K)?NaN:K/100,V=Z[0];if(V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=j;if(G[0]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[1],V.unit===0)V=q;if(V.unit===0)V=Y;if(G[1]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[2],V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=H;if(G[2]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[3],V.unit===0)V=q;if(V.unit===0)V=Y;G[3]=V.unit===1?V.value:V.unit===2?V.value*D:0}function M6(Z){return Z===TZ.Row||Z===TZ.RowReverse}function WB(Z){return Z===TZ.RowReverse||Z===TZ.ColumnReverse}function rA(Z){return M6(Z)?TZ.Column:TZ.Row}function Az(Z){switch(Z){case TZ.Row:return E7;case TZ.RowReverse:return z4;case TZ.Column:return $4;case TZ.ColumnReverse:return A8}}function Nz(Z){switch(Z){case TZ.Row:return z4;case TZ.RowReverse:return E7;case TZ.Column:return A8;case TZ.ColumnReverse:return $4}}function LB(){let Z={pointScaleFactor:1,errata:HB.None,useWebDefaults:!1,free(){},isExperimentalFeatureEnabled(){return!1},setExperimentalFeatureEnabled(){},setPointScaleFactor(K){Z.pointScaleFactor=K},getErrata(){return Z.errata},setErrata(K){Z.errata=K},setUseWebDefaults(K){Z.useWebDefaults=K}};return Z}class DK{style;layout;parent;children;measureFunc;config;isDirty_;isReferenceBaseline_;_flexBasis=0;_mainSize=0;_crossSize=0;_lineIndex=0;_hasAutoMargin=!1;_hasPosition=!1;_hasPadding=!1;_hasBorder=!1;_hasMargin=!1;_lW=NaN;_lH=NaN;_lWM=0;_lHM=0;_lOW=NaN;_lOH=NaN;_lFW=!1;_lFH=!1;_lOutW=NaN;_lOutH=NaN;_hasL=!1;_mW=NaN;_mH=NaN;_mWM=0;_mHM=0;_mOW=NaN;_mOH=NaN;_mOutW=NaN;_mOutH=NaN;_hasM=!1;_fbBasis=NaN;_fbOwnerW=NaN;_fbOwnerH=NaN;_fbAvailMain=NaN;_fbAvailCross=NaN;_fbCrossMode=0;_fbGen=-1;_cIn=null;_cOut=null;_cGen=-1;_cN=0;_cWr=0;constructor(Z){this.style=VB(),this.layout={left:0,top:0,width:0,height:0,border:[0,0,0,0],padding:[0,0,0,0],margin:[0,0,0,0]},this.parent=null,this.children=[],this.measureFunc=null,this.config=Z??eA,this.isDirty_=!0,this.isReferenceBaseline_=!1,Mz++}insertChild(Z,K){Z.parent=this,this.children.splice(K,0,Z),this.markDirty()}removeChild(Z){let K=this.children.indexOf(Z);if(K>=0)this.children.splice(K,1),Z.parent=null,this.markDirty()}getChild(Z){return this.children[Z]}getChildCount(){return this.children.length}getParent(){return this.parent}free(){this.parent=null,this.children=[],this.measureFunc=null,this._cIn=null,this._cOut=null,Mz--}freeRecursive(){for(let Z of this.children)Z.freeRecursive();this.free()}reset(){this.style=VB(),this.children=[],this.parent=null,this.measureFunc=null,this.isDirty_=!0,this._hasAutoMargin=!1,this._hasPosition=!1,this._hasPadding=!1,this._hasBorder=!1,this._hasMargin=!1,this._hasL=!1,this._hasM=!1,this._cN=0,this._cWr=0,this._fbBasis=NaN}markDirty(){if(this.isDirty_=!0,this.parent&&!this.parent.isDirty_)this.parent.markDirty()}isDirty(){return this.isDirty_}hasNewLayout(){return!0}markLayoutSeen(){}setMeasureFunc(Z){this.measureFunc=Z,this.markDirty()}unsetMeasureFunc(){this.measureFunc=null,this.markDirty()}getComputedLeft(){return this.layout.left}getComputedTop(){return this.layout.top}getComputedWidth(){return this.layout.width}getComputedHeight(){return this.layout.height}getComputedRight(){let Z=this.parent;return Z?Z.layout.width-this.layout.left-this.layout.width:0}getComputedBottom(){let Z=this.parent;return Z?Z.layout.height-this.layout.top-this.layout.height:0}getComputedLayout(){return{left:this.layout.left,top:this.layout.top,right:this.getComputedRight(),bottom:this.getComputedBottom(),width:this.layout.width,height:this.layout.height}}getComputedBorder(Z){return this.layout.border[Vz(Z)]}getComputedPadding(Z){return this.layout.padding[Vz(Z)]}getComputedMargin(Z){return this.layout.margin[Vz(Z)]}setWidth(Z){this.style.width=W4(Z),this.markDirty()}setWidthPercent(Z){this.style.width=X4(Z),this.markDirty()}setWidthAuto(){this.style.width=V8,this.markDirty()}setHeight(Z){this.style.height=W4(Z),this.markDirty()}setHeightPercent(Z){this.style.height=X4(Z),this.markDirty()}setHeightAuto(){this.style.height=V8,this.markDirty()}setMinWidth(Z){this.style.minWidth=W4(Z),this.markDirty()}setMinWidthPercent(Z){this.style.minWidth=X4(Z),this.markDirty()}setMinHeight(Z){this.style.minHeight=W4(Z),this.markDirty()}setMinHeightPercent(Z){this.style.minHeight=X4(Z),this.markDirty()}setMaxWidth(Z){this.style.maxWidth=W4(Z),this.markDirty()}setMaxWidthPercent(Z){this.style.maxWidth=X4(Z),this.markDirty()}setMaxHeight(Z){this.style.maxHeight=W4(Z),this.markDirty()}setMaxHeightPercent(Z){this.style.maxHeight=X4(Z),this.markDirty()}setFlexDirection(Z){this.style.flexDirection=Z,this.markDirty()}setFlexGrow(Z){this.style.flexGrow=Z??0,this.markDirty()}setFlexShrink(Z){this.style.flexShrink=Z??0,this.markDirty()}setFlex(Z){if(Z===void 0||isNaN(Z))this.style.flexGrow=0,this.style.flexShrink=0;else if(Z>0)this.style.flexGrow=Z,this.style.flexShrink=1,this.style.flexBasis=VK(0);else if(Z<0)this.style.flexGrow=0,this.style.flexShrink=-Z;else this.style.flexGrow=0,this.style.flexShrink=0;this.markDirty()}setFlexBasis(Z){this.style.flexBasis=W4(Z),this.markDirty()}setFlexBasisPercent(Z){this.style.flexBasis=X4(Z),this.markDirty()}setFlexBasisAuto(){this.style.flexBasis=V8,this.markDirty()}setFlexWrap(Z){this.style.flexWrap=Z,this.markDirty()}setAlignItems(Z){this.style.alignItems=Z,this.markDirty()}setAlignSelf(Z){this.style.alignSelf=Z,this.markDirty()}setAlignContent(Z){this.style.alignContent=Z,this.markDirty()}setJustifyContent(Z){this.style.justifyContent=Z,this.markDirty()}setDisplay(Z){this.style.display=Z,this.markDirty()}getDisplay(){return this.style.display}setPositionType(Z){this.style.positionType=Z,this.markDirty()}setPosition(Z,K){this.style.position[Z]=W4(K),this._hasPosition=jK(this.style.position),this.markDirty()}setPositionPercent(Z,K){this.style.position[Z]=X4(K),this._hasPosition=!0,this.markDirty()}setPositionAuto(Z){this.style.position[Z]=V8,this._hasPosition=!0,this.markDirty()}setOverflow(Z){this.style.overflow=Z,this.markDirty()}setDirection(Z){this.style.direction=Z,this.markDirty()}setBoxSizing(Z){}setMargin(Z,K){let G=W4(K);if(this.style.margin[Z]=G,G.unit===tZ.Auto)this._hasAutoMargin=!0;else this._hasAutoMargin=AB(this.style.margin);this._hasMargin=this._hasAutoMargin||jK(this.style.margin),this.markDirty()}setMarginPercent(Z,K){this.style.margin[Z]=X4(K),this._hasAutoMargin=AB(this.style.margin),this._hasMargin=!0,this.markDirty()}setMarginAuto(Z){this.style.margin[Z]=V8,this._hasAutoMargin=!0,this._hasMargin=!0,this.markDirty()}setPadding(Z,K){this.style.padding[Z]=W4(K),this._hasPadding=jK(this.style.padding),this.markDirty()}setPaddingPercent(Z,K){this.style.padding[Z]=X4(K),this._hasPadding=!0,this.markDirty()}setBorder(Z,K){this.style.border[Z]=K===void 0?i7:VK(K),this._hasBorder=jK(this.style.border),this.markDirty()}setGap(Z,K){this.style.gap[Z]=W4(K),this.markDirty()}setGapPercent(Z,K){this.style.gap[Z]=X4(K),this.markDirty()}getFlexDirection(){return this.style.flexDirection}getJustifyContent(){return this.style.justifyContent}getAlignItems(){return this.style.alignItems}getAlignSelf(){return this.style.alignSelf}getAlignContent(){return this.style.alignContent}getFlexGrow(){return this.style.flexGrow}getFlexShrink(){return this.style.flexShrink}getFlexBasis(){return this.style.flexBasis}getFlexWrap(){return this.style.flexWrap}getWidth(){return this.style.width}getHeight(){return this.style.height}getOverflow(){return this.style.overflow}getPositionType(){return this.style.positionType}getDirection(){return this.style.direction}copyStyle(Z){}setDirtiedFunc(Z){}unsetDirtiedFunc(){}setIsReferenceBaseline(Z){this.isReferenceBaseline_=Z,this.markDirty()}isReferenceBaseline(){return this.isReferenceBaseline_}setAspectRatio(Z){}getAspectRatio(){return NaN}setAlwaysFormsContainingBlock(Z){}calculateLayout(Z,K,G){Fz=0,Wz=0,A6=0,Q5++;let z=Z===void 0?NaN:Z,q=K===void 0?NaN:K;N6(this,z,q,D0(z)?F0.Exactly:F0.Undefined,D0(q)?F0.Exactly:F0.Undefined,z,q,!0);let Y=this.layout.margin,j=DZ(R4(this.style.position,E7),D0(z)?z:0),H=DZ(R4(this.style.position,$4),D0(z)?z:0);this.layout.left=Y[E7]+(D0(j)?j:0),this.layout.top=Y[$4]+(D0(H)?H:0),CB(this,this.config.pointScaleFactor,0,0)}}function Hz(Z,K,G,z,q,Y,j,H,D,V){if(!Z._cIn)Z._cIn=new Float64Array(OK*8),Z._cOut=new Float64Array(OK*2);if(V&&Z._cGen!==Q5)Z._cN=0,Z._cWr=0;let A=Z._cWr++%OK;if(Z._cN<OK)Z._cN=Z._cWr;let M=A*8,F=Z._cIn;F[M]=K,F[M+1]=G,F[M+2]=z,F[M+3]=q,F[M+4]=Y,F[M+5]=j,F[M+6]=H?1:0,F[M+7]=D?1:0,Z._cOut[A*2]=Z.layout.width,Z._cOut[A*2+1]=Z.layout.height,Z._cGen=Q5}function Dz(Z,K){if(K)Z._lOutW=Z.layout.width,Z._lOutH=Z.layout.height;else Z._mOutW=Z.layout.width,Z._mOutH=Z.layout.height}function AK(){return{visited:Fz,measured:Wz,cacheHits:A6,live:Mz}}function N6(Z,K,G,z,q,Y,j,H,D=!1,V=!1){Fz++;let{style:A,layout:M}=Z,F=Z._cGen===Q5&&!H;if(!Z.isDirty_||F){if(!Z.isDirty_&&Z._hasL&&Z._lWM===z&&Z._lHM===q&&Z._lFW===D&&Z._lFH===V&&D7(Z._lW,K)&&D7(Z._lH,G)&&D7(Z._lOW,Y)&&D7(Z._lOH,j)){A6++,M.width=Z._lOutW,M.height=Z._lOutH;return}if(Z._cN>0&&(F||!Z.isDirty_)){let a=Z._cIn;for(let W0=0;W0<Z._cN;W0++){let j0=W0*8;if(a[j0+2]===z&&a[j0+3]===q&&a[j0+6]===(D?1:0)&&a[j0+7]===(V?1:0)&&D7(a[j0],K)&&D7(a[j0+1],G)&&D7(a[j0+4],Y)&&D7(a[j0+5],j)){M.width=Z._cOut[W0*2],M.height=Z._cOut[W0*2+1],A6++;return}}}if(!Z.isDirty_&&!H&&Z._hasM&&Z._mWM===z&&Z._mHM===q&&D7(Z._mW,K)&&D7(Z._mH,G)&&D7(Z._mOW,Y)&&D7(Z._mOH,j)){M.width=Z._mOutW,M.height=Z._mOutH,A6++;return}}let _=Z.isDirty_;if(H){if(Z._lW=K,Z._lH=G,Z._lWM=z,Z._lHM=q,Z._lOW=Y,Z._lOH=j,Z._lFW=D,Z._lFH=V,Z._hasL=!0,Z.isDirty_=!1,_)Z._hasM=!1}else if(Z._mW=K,Z._mH=G,Z._mWM=z,Z._mHM=q,Z._mOW=Y,Z._mOH=j,Z._hasM=!0,_)Z._hasL=!1;let{padding:R,border:W,margin:E}=M;if(Z._hasPadding)Oz(A.padding,Y,R);else R[0]=R[1]=R[2]=R[3]=0;if(Z._hasBorder)Oz(A.border,Y,W);else W[0]=W[1]=W[2]=W[3]=0;if(Z._hasMargin)Oz(A.margin,Y,E);else E[0]=E[1]=E[2]=E[3]=0;let T=R[0]+R[2]+W[0]+W[2],$=R[1]+R[3]+W[1]+W[3],I=D?NaN:DZ(A.width,Y),y=V?NaN:DZ(A.height,j),m=K,b=G,u=z,f=q;if(D0(I))m=I,u=F0.Exactly;if(D0(y))b=y,f=F0.Exactly;if(m=L4(A,!0,m,Y,j),b=L4(A,!1,b,Y,j),Z.measureFunc&&Z.children.length===0){let a=u===F0.Undefined?NaN:Math.max(0,m-T),W0=f===F0.Undefined?NaN:Math.max(0,b-$);Wz++;let j0=Z.measureFunc(a,u,W0,f);Z.layout.width=u===F0.Exactly?m:L4(A,!0,(j0.width??0)+T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,(j0.height??0)+$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}if(Z.children.length===0){Z.layout.width=u===F0.Exactly?m:L4(A,!0,T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}let w=A.flexDirection,i=rA(w),h=M6(w),l=h?m:b,s=h?b:m,n=h?u:f,N0=h?f:u,ZZ=h?T:$,u0=h?$:T,d0=D0(l)?Math.max(0,l-ZZ):NaN,p0=D0(s)?Math.max(0,s-u0):NaN,oZ=_B(A,h?f4.Column:f4.Row,d0),AZ=[],N7=[];TB(Z,AZ,N7);let JZ=D0(m)?m:NaN,_Z=D0(b)?b:NaN,NZ=A.flexWrap!==D8.NoWrap,q7=_B(A,h?f4.Row:f4.Column,p0);for(let a of AZ)a._flexBasis=JN(a,w,d0,p0,N0,JZ,_Z);let fZ=[];if(!NZ||!D0(d0)||AZ.length===0){for(let a of AZ)a._lineIndex=0;fZ.push(AZ)}else{let a=0,W0=0;for(let j0=0;j0<AZ.length;j0++){let YZ=AZ[j0],L0=L4(YZ.style,h,YZ._flexBasis,JZ,_Z),O0=Math.max(0,L0)+HK(YZ,w,JZ),_7=j0>a?oZ:0;if(j0>a&&W0+_7+O0>d0)fZ.push(AZ.slice(a,j0)),a=j0,W0=O0;else W0+=_7+O0;YZ._lineIndex=fZ.length}fZ.push(AZ.slice(a))}let x0=fZ.length,rZ=GN(Z,AZ),uZ=Array(x0),M7=Array(x0),g0=rZ?Array(x0).fill(0):[],c0=0,FZ=0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=W0.length>1?oZ*(W0.length-1):0,YZ=j0;for(let $0 of W0)YZ+=$0._flexBasis+HK($0,w,JZ);let L0=d0;if(!D0(L0)){let $0=h?Y:j,I0=DZ(h?A.minWidth:A.minHeight,$0),a0=DZ(h?A.maxWidth:A.maxHeight,$0);if(D0(a0)&&YZ>a0-ZZ)L0=Math.max(0,a0-ZZ);else if(D0(I0)&&YZ<I0-ZZ)L0=Math.max(0,I0-ZZ)}QN(W0,L0,YZ,h,JZ,_Z);let O0=0;for(let $0 of W0){let I0=$0.style,a0=I0.alignSelf===V0.Auto?A.alignItems:I0.alignSelf,LZ=HK($0,i,JZ),q0=NaN,h0=F0.Undefined,zZ=DZ(h?I0.height:I0.width,h?_Z:JZ),O4=h?$4:E7,W7=h?A8:z4,lZ=$0._hasAutoMargin&&(w4(I0.margin,O4)||w4(I0.margin,W7));if(D0(zZ))q0=zZ,h0=F0.Exactly;else if(a0===V0.Stretch&&!lZ&&!NZ&&D0(p0)&&N0===F0.Exactly)q0=Math.max(0,p0-LZ),h0=F0.Exactly;else if(!NZ&&D0(p0))q0=Math.max(0,p0-LZ),h0=F0.AtMost;let xZ=h?$0._mainSize:q0,$Z=h?q0:$0._mainSize;N6($0,xZ,$Z,h?F0.Exactly:h0,h?h0:F0.Exactly,JZ,_Z,H,h,!h),$0._crossSize=h?$0.layout.height:$0.layout.width,O0=Math.max(O0,$0._crossSize+LZ)}if(rZ){let $0=0,I0=0;for(let a0 of W0){if(RB(Z,a0)!==V0.Baseline)continue;let LZ=J5(a0.style.margin,$4,JZ),q0=J5(a0.style.margin,A8,JZ),h0=_z(a0)+LZ,zZ=a0.layout.height+LZ+q0-h0;if(h0>$0)$0=h0;if(zZ>I0)I0=zZ}if(g0[a]=$0,$0+I0>O0)O0=$0+I0}let _7=Az(w),F7=Nz(w),w7=j0;for(let $0 of W0){let I0=$0.layout.margin;w7+=$0._mainSize+I0[_7]+I0[F7]}uZ[a]=w7,M7[a]=O0,c0=Math.max(c0,w7),FZ+=O0}let vZ=x0>1?q7*(x0-1):0;FZ+=vZ;let pZ=A.overflow===c5.Scroll,S4=c0+ZZ,t7=n===F0.Exactly?l:n===F0.AtMost&&pZ?Math.max(Math.min(l,S4),ZZ):NZ&&x0>1&&n===F0.AtMost?l:S4,o=FZ+u0,H0=N0===F0.Exactly?s:N0===F0.AtMost&&pZ?Math.max(Math.min(s,o),u0):o;if(Z.layout.width=L4(A,!0,h?t7:H0,Y,j),Z.layout.height=L4(A,!1,h?H0:t7,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_),!H)return;let z0=(h?Z.layout.width:Z.layout.height)-ZZ,g=(h?Z.layout.height:Z.layout.width)-u0,E0=Az(w),e=Nz(w),Z0=h?$4:E7,J0=h?A8:z4,t0=WB(w),M0=h?Z.layout.width:Z.layout.height,b0=R[Z0]+W[Z0],BZ=q7,cZ=g-FZ;if(x0===1&&!NZ&&!rZ)M7[0]=g;else{let a=Math.max(0,cZ);switch(A.alignContent){case V0.FlexStart:break;case V0.Center:b0+=cZ/2;break;case V0.FlexEnd:b0+=cZ;break;case V0.Stretch:if(x0>0&&a>0){let W0=a/x0;for(let j0=0;j0<x0;j0++)M7[j0]+=W0}break;case V0.SpaceBetween:if(x0>1)BZ+=a/(x0-1);break;case V0.SpaceAround:if(x0>0)BZ+=a/x0,b0+=a/x0/2;break;case V0.SpaceEvenly:if(x0>0)BZ+=a/(x0+1),b0+=a/(x0+1);break;default:break}}let WZ=A.flexWrap===D8.WrapReverse,eZ=h?Z.layout.height:Z.layout.width,T0=b0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=M7[a],YZ=uZ[a],L0=W0.length;if(NZ||N0!==F0.Exactly)for(let q0 of W0){let h0=q0.style,zZ=h0.alignSelf===V0.Auto?A.alignItems:h0.alignSelf,O4=D0(DZ(h?h0.height:h0.width,h?_Z:JZ)),W7=q0._hasAutoMargin&&(w4(h0.margin,Z0)||w4(h0.margin,J0));if(zZ===V0.Stretch&&!O4&&!W7){let lZ=HK(q0,i,JZ),xZ=Math.max(0,j0-lZ);if(q0._crossSize!==xZ){let $Z=h?q0._mainSize:xZ,H4=h?xZ:q0._mainSize;N6(q0,$Z,H4,F0.Exactly,F0.Exactly,JZ,_Z,H,h,!h),q0._crossSize=xZ}}}let O0=R[E0]+W[E0],_7=oZ,F7=0;for(let q0 of W0){if(!q0._hasAutoMargin)continue;if(w4(q0.style.margin,E0))F7++;if(w4(q0.style.margin,e))F7++}let w7=z0-YZ,$0=Math.max(0,w7),I0=F7>0&&$0>0?$0/F7:0;if(F7===0)switch(A.justifyContent){case G7.FlexStart:break;case G7.Center:O0+=w7/2;break;case G7.FlexEnd:O0+=w7;break;case G7.SpaceBetween:if(L0>1)_7+=$0/(L0-1);break;case G7.SpaceAround:if(L0>0)_7+=$0/L0,O0+=$0/L0/2;break;case G7.SpaceEvenly:if(L0>0)_7+=$0/(L0+1),O0+=$0/(L0+1);break}let a0=WZ?eZ-T0-j0:T0,LZ=O0;for(let q0 of W0){let h0=q0.style.margin,zZ=q0.layout.margin,O4=!1,W7=!1,lZ=!1,xZ=!1,$Z,H4,C7,S7;if(q0._hasAutoMargin)O4=w4(h0,E0),W7=w4(h0,e),lZ=w4(h0,Z0),xZ=w4(h0,J0),$Z=O4?I0:zZ[E0],H4=W7?I0:zZ[e],C7=lZ?0:zZ[Z0],S7=xZ?0:zZ[J0];else $Z=zZ[E0],H4=zZ[e],C7=zZ[Z0],S7=zZ[J0];let v4=t0?M0-(LZ+$Z)-q0._mainSize:LZ+$Z,k7=q0.style.alignSelf===V0.Auto?A.alignItems:q0.style.alignSelf,RZ=a0+C7,g7=j0-q0._crossSize-C7-S7;if(lZ&&xZ)RZ+=Math.max(0,g7)/2;else if(lZ)RZ+=Math.max(0,g7);else if(xZ);else switch(k7){case V0.FlexStart:case V0.Stretch:if(WZ)RZ+=g7;break;case V0.Center:RZ+=g7/2;break;case V0.FlexEnd:if(!WZ)RZ+=g7;break;case V0.Baseline:if(rZ)RZ=a0+g0[a]-_z(q0);break;default:break}let x4=0,v7=0;if(q0._hasPosition){let o7=DZ(R4(q0.style.position,E7),JZ),j5=DZ(R4(q0.style.position,z4),JZ),b8=DZ(R4(q0.style.position,$4),JZ),b4=DZ(R4(q0.style.position,A8),JZ);x4=D0(o7)?o7:D0(j5)?-j5:0,v7=D0(b8)?b8:D0(b4)?-b4:0}if(h)q0.layout.left=v4+x4,q0.layout.top=RZ+v7;else q0.layout.left=RZ+x4,q0.layout.top=v4+v7;LZ+=q0._mainSize+$Z+H4+_7}T0+=j0+BZ}for(let a of N7)ZN(Z,a,Z.layout.width,Z.layout.height,R,W)}function ZN(Z,K,G,z,q,Y){let j=K.style,H=R4(j.position,E7),D=R4(j.position,z4),V=R4(j.position,$4),A=R4(j.position,A8),M=DZ(H,G),F=DZ(D,G),_=DZ(V,z),R=DZ(A,z),W=G-Y[0]-Y[2],E=z-Y[1]-Y[3],T=DZ(j.width,W),$=DZ(j.height,E);if(!D0(T)&&D0(M)&&D0(F))T=W-M-F;if(!D0($)&&D0(_)&&D0(R))$=E-_-R;N6(K,T,$,D0(T)?F0.Exactly:F0.Undefined,D0($)?F0.Exactly:F0.Undefined,W,E,!0);let I=J5(j.margin,E7,G),y=J5(j.margin,$4,G),m=J5(j.margin,z4,G),b=J5(j.margin,A8,G),u=Z.style.flexDirection,f=WB(u),w=M6(u),i=Z.style.flexWrap===D8.WrapReverse,h=j.alignSelf===V0.Auto?Z.style.alignItems:j.alignSelf,l;if(D0(M))l=Y[0]+M+I;else if(D0(F))l=G-Y[2]-F-K.layout.width-m;else if(w){let n=q[0]+Y[0],N0=G-q[2]-Y[2];l=f?N0-K.layout.width-m:NB(Z.style.justifyContent,n,N0,K.layout.width)+I}else l=MB(h,q[0]+Y[0],G-q[2]-Y[2],K.layout.width,i)+I;let s;if(D0(_))s=Y[1]+_+y;else if(D0(R))s=z-Y[3]-R-K.layout.height-b;else if(w)s=MB(h,q[1]+Y[1],z-q[3]-Y[3],K.layout.height,i)+y;else{let n=q[1]+Y[1],N0=z-q[3]-Y[3];s=f?N0-K.layout.height-b:NB(Z.style.justifyContent,n,N0,K.layout.height)+y}K.layout.left=l,K.layout.top=s}function NB(Z,K,G,z){switch(Z){case G7.Center:return K+(G-K-z)/2;case G7.FlexEnd:return G-z;default:return K}}function MB(Z,K,G,z,q){switch(Z){case V0.Center:return K+(G-K-z)/2;case V0.FlexEnd:return q?K:G-z;default:return q?G-z:K}}function JN(Z,K,G,z,q,Y,j){if((Z._fbGen===Q5||!Z.isDirty_)&&Z._fbCrossMode===q&&D7(Z._fbOwnerW,Y)&&D7(Z._fbOwnerH,j)&&D7(Z._fbAvailMain,G)&&D7(Z._fbAvailCross,z))return Z._fbBasis;let D=Z.style,V=M6(K),A=DZ(D.flexBasis,G);if(D0(A)){let w=Math.max(0,A);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let M=V?D.width:D.height,_=DZ(M,V?Y:j);if(D0(_)){let w=Math.max(0,_);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let R=V?D.height:D.width,E=DZ(R,V?j:Y),T=D0(E)?F0.Exactly:F0.Undefined;if(!D0(E)&&D0(z))E=z,T=q===F0.Exactly&&KN(Z)?F0.Exactly:F0.AtMost;let $=NaN,I=F0.Undefined;if(V&&D0(G)&&$B(Z))$=G,I=F0.AtMost;N6(Z,V?$:E,V?E:$,V?I:T,V?T:I,Y,j,!1);let f=V?Z.layout.width:Z.layout.height;return Z._fbBasis=f,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,f}function $B(Z){if(Z.measureFunc)return!0;for(let K of Z.children)if($B(K))return!0;return!1}function QN(Z,K,G,z,q,Y){let j=Z.length,H=Array(j).fill(!1),D=D0(K)?K-G:0;for(let A=0;A<j;A++){let M=Z[A],F=L4(M.style,z,M._flexBasis,q,Y);if(!D0(K)||(D>=0?M.style.flexGrow===0:M.style.flexShrink===0))M._mainSize=Math.max(0,F),H[A]=!0;else M._mainSize=M._flexBasis}let V=Array(j);for(let A=0;A<=j;A++){let M=0,F=0,_=0,R=0;for(let $=0;$<j;$++){let I=Z[$];if(H[$])M+=I._mainSize-I._flexBasis;else F+=I.style.flexGrow,_+=I.style.flexShrink*I._flexBasis,R++}if(R===0)break;let W=D-M;if(W>0&&F>0&&F<1){let $=D*F;if($<W)W=$}else if(W<0&&_>0){let $=0;for(let I=0;I<j;I++)if(!H[I])$+=Z[I].style.flexShrink;if($<1){let I=D*$;if(I>W)W=I}}let E=0;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$],y=I._flexBasis;if(W>0&&F>0)y+=W*I.style.flexGrow/F;else if(W<0&&_>0)y+=W*(I.style.flexShrink*I._flexBasis)/_;V[$]=y;let m=Math.max(0,L4(I.style,z,y,q,Y));I._mainSize=m,E+=m-y}if(E===0)break;let T=!1;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$]._mainSize-V[$];if(E>0&&I>0||E<0&&I<0)H[$]=!0,T=!0}if(!T)break}}function KN(Z){let K=Z.parent;if(!K)return!1;return(Z.style.alignSelf===V0.Auto?K.style.alignItems:Z.style.alignSelf)===V0.Stretch}function RB(Z,K){return K.style.alignSelf===V0.Auto?Z.style.alignItems:K.style.alignSelf}function _z(Z){let K=null;for(let G of Z.children){if(G._lineIndex>0)break;if(G.style.positionType===l5.Absolute)continue;if(G.style.display===H8.None)continue;if(RB(Z,G)===V0.Baseline||G.isReferenceBaseline_){K=G;break}if(K===null)K=G}if(K===null)return Z.layout.height;return _z(K)+K.layout.top}function GN(Z,K){if(!M6(Z.style.flexDirection))return!1;if(Z.style.alignItems===V0.Baseline)return!0;for(let G of K)if(G.style.alignSelf===V0.Baseline)return!0;return!1}function HK(Z,K,G){if(!Z._hasMargin)return 0;let z=J5(Z.style.margin,Az(K),G),q=J5(Z.style.margin,Nz(K),G);return z+q}function _B(Z,K,G){let z=Z.gap[K];if(z.unit===tZ.Undefined)z=Z.gap[f4.All];let q=DZ(z,G);return D0(q)?Math.max(0,q):0}function L4(Z,K,G,z,q){let Y=K?Z.minWidth:Z.minHeight,j=K?Z.maxWidth:Z.maxHeight,H=Y.unit,D=j.unit;if(H===0&&D===0)return G;let V=K?z:q,A=G;if(D===1){if(A>j.value)A=j.value}else if(D===2){let M=j.value*V/100;if(M===M&&A>M)A=M}if(H===1){if(A<Y.value)A=Y.value}else if(H===2){let M=Y.value*V/100;if(M===M&&A<M)A=M}return A}function EB(Z){for(let K of Z.children)K.layout.left=0,K.layout.top=0,K.layout.width=0,K.layout.height=0,K.isDirty_=!0,K._hasL=!1,K._hasM=!1,EB(K)}function TB(Z,K,G){for(let z of Z.children){let q=z.style.display;if(q===H8.None)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,EB(z);else if(q===H8.Contents)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,TB(z,K,G);else if(z.style.positionType===l5.Absolute)G.push(z);else K.push(z)}}function CB(Z,K,G,z){if(K===0)return;let q=Z.layout,Y=q.left,j=q.top,H=q.width,D=q.height,V=G+Y,A=z+j,M=Z.measureFunc!==null;q.left=oJ(Y,K,!1,M),q.top=oJ(j,K,!1,M);let F=V+H,_=A+D,R=!FB(H*K),W=!FB(D*K);q.width=oJ(F,K,M&&R,M&&!R)-oJ(V,K,!1,M),q.height=oJ(_,K,M&&W,M&&!W)-oJ(A,K,!1,M);for(let E of Z.children)CB(E,K,V,A)}function FB(Z){let K=Z-Math.floor(Z);return K<0.0001||K>0.9999}function oJ(Z,K,G,z){let q=Z*K,Y=q-Math.floor(q);if(Y<0)Y+=1;if(Y<0.0001)q=Math.floor(q);else if(Y>0.9999)q=Math.ceil(q);else if(G)q=Math.ceil(q);else if(z)q=Math.floor(q);else q=Math.floor(q)+(Y>=0.4999?1:0);return q/K}function W4(Z){if(Z===void 0)return i7;if(Z==="auto")return V8;if(typeof Z==="number")return Number.isFinite(Z)?VK(Z):i7;if(typeof Z==="string"&&Z.endsWith("%"))return X4(parseFloat(Z));let K=parseFloat(Z);return isNaN(K)?i7:VK(K)}function Vz(Z){switch(Z){case r0.Left:case r0.Start:return E7;case r0.Top:return $4;case r0.Right:case r0.End:return z4;case r0.Bottom:return A8;default:return E7}}var i7,V8,E7=0,$4=1,z4=2,A8=3,eA,OK=4,Q5=0,Fz=0,Wz=0,A6=0,Mz=0,XN,SB;var NK=P(()=>{DB();i7={unit:tZ.Undefined,value:NaN},V8={unit:tZ.Auto,value:NaN};eA=LB();XN={Config:{create:LB,destroy(){}},Node:{create:(Z)=>new DK(Z),createDefault:()=>new DK,createWithConfig:(Z)=>new DK(Z),destroy(){}}},SB=XN});function zN(){if(process.env.TERM_PROGRAM==="vscode"&&K0.level===2)return K0.level=3,!0;return!1}function UN(){if(process.env.CLAUDE_CODE_TMUX_TRUECOLOR)return!1;if(process.env.TMUX&&K0.level>2)return K0.level=2,!0;return!1}function rJ(Z,K){let G=Z;if(K.inverse)G=K0.inverse(G);if(K.strikethrough)G=K0.strikethrough(G);if(K.underline)G=K0.underline(G);if(K.italic)G=K0.italic(G);if(K.bold)G=K0.bold(G);if(K.dim)G=K0.dim(G);if(K.color)G=K5(G,K.color,"foreground");if(K.backgroundColor)G=K5(G,K.backgroundColor,"background");return G}function MK(Z,K){if(!K)return Z;return K5(Z,K,"foreground")}var EL,TL,qN,BN,K5=(Z,K,G)=>{if(!K)return Z;if(K.startsWith("ansi:"))switch(K.substring(5)){case"black":return G==="foreground"?K0.black(Z):K0.bgBlack(Z);case"red":return G==="foreground"?K0.red(Z):K0.bgRed(Z);case"green":return G==="foreground"?K0.green(Z):K0.bgGreen(Z);case"yellow":return G==="foreground"?K0.yellow(Z):K0.bgYellow(Z);case"blue":return G==="foreground"?K0.blue(Z):K0.bgBlue(Z);case"magenta":return G==="foreground"?K0.magenta(Z):K0.bgMagenta(Z);case"cyan":return G==="foreground"?K0.cyan(Z):K0.bgCyan(Z);case"white":return G==="foreground"?K0.white(Z):K0.bgWhite(Z);case"blackBright":return G==="foreground"?K0.blackBright(Z):K0.bgBlackBright(Z);case"redBright":return G==="foreground"?K0.redBright(Z):K0.bgRedBright(Z);case"greenBright":return G==="foreground"?K0.greenBright(Z):K0.bgGreenBright(Z);case"yellowBright":return G==="foreground"?K0.yellowBright(Z):K0.bgYellowBright(Z);case"blueBright":return G==="foreground"?K0.blueBright(Z):K0.bgBlueBright(Z);case"magentaBright":return G==="foreground"?K0.magentaBright(Z):K0.bgMagentaBright(Z);case"cyanBright":return G==="foreground"?K0.cyanBright(Z):K0.bgCyanBright(Z);case"whiteBright":return G==="foreground"?K0.whiteBright(Z):K0.bgWhiteBright(Z)}if(K.startsWith("#"))return G==="foreground"?K0.hex(K)(Z):K0.bgHex(K)(Z);if(K.startsWith("ansi256")){let z=BN.exec(K);if(!z)return Z;let q=Number(z[1]);return G==="foreground"?K0.ansi256(q)(Z):K0.bgAnsi256(q)(Z)}if(K.startsWith("rgb")){let z=qN.exec(K);if(!z)return Z;let q=Number(z[1]),Y=Number(z[2]),j=Number(z[3]);return G==="foreground"?K0.rgb(q,Y,j)(Z):K0.bgRgb(q,Y,j)(Z)}return Z};var _6=P(()=>{Lz();EL=zN(),TL=UN(),qN=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,BN=/^ansi256\(\s?(\d+)\s?\)$/});import{spawnSync as YN}from"child_process";function jN(){if(!process.env.TMUX)return!1;if(process.env.TERM_PROGRAM!=="iTerm.app")return!1;let Z=process.env.TERM??"";return!Z.startsWith("screen")&&!Z.startsWith("tmux")}function ON(){if(F6=jN(),F6)return;if(!process.env.TMUX)return;if(process.env.TERM_PROGRAM)return;let Z;try{Z=YN("tmux",["display-message","-p","#{client_control_mode}"],{encoding:"utf8",timeout:2000})}catch{return}if(Z.status!==0)return;F6=Z.stdout.trim()==="1"}function yB(){if(F6===void 0)ON();return F6??!1}function HN(){if(IB(process.env.CLAUDE_CODE_NO_FLICKER))return!1;if(N8(process.env.CLAUDE_CODE_NO_FLICKER))return!0;if(yB()){if(!vB)vB=!0,KZ("fullscreen disabled: tmux -CC (iTerm2 integration mode) detected · set CLAUDE_CODE_NO_FLICKER=1 to override");return!1}let Z=QK().flickerFreeMode;if(Z!==void 0)return Z;return!1}function yL(){return!N8(process.env.CLAUDE_CODE_DISABLE_MOUSE)}function mB(){return N8(process.env.CLAUDE_CODE_DISABLE_MOUSE_CLICKS)}function DN(){return bB()&&HN()}async function mL(){if(!process.env.TMUX)return null;if(!DN()||yB())return null;if(xB)return null;xB=!0;let{stdout:Z,code:K}=await U4("tmux",["show","-Av","mouse"],{useCwd:!1,timeout:2000});if(K!==0||Z.trim()==="on")return null;return"tmux detected · scroll with PgUp/PgDn · or add 'set -g mouse on' to ~/.tmux.conf for wheel scroll"}var vB=!1,xB=!1,F6;var fB=P(()=>{$z();o3();G5();Rz();PB()});function eJ(Z){let K="ground",G="",z=Z?.x10Mouse??!1;return{feed(q){let Y=wB(q,K,G,!1,z);return K=Y.state.state,G=Y.state.buffer,Y.tokens},flush(){let q=wB("",K,G,!0,z);return K=q.state.state,G=q.state.buffer,q.tokens},reset(){K="ground",G=""},buffer(){return G}}}function wB(Z,K,G,z,q){let Y=[],j={state:K,buffer:""},H=G+Z,D=0,V=0,A=0,M=()=>{if(D>V){let _=H.slice(V,D);if(_)Y.push({type:"text",value:_})}V=D},F=(_)=>{if(_)Y.push({type:"sequence",value:_});j.state="ground",V=D};while(D<H.length){let _=H.charCodeAt(D);switch(j.state){case"ground":if(_===k4.ESC)M(),A=D,j.state="escape",D++;else D++;break;case"escape":if(_===M8.CSI)j.state="csi",D++;else if(_===M8.OSC)j.state="osc",D++;else if(_===M8.DCS)j.state="dcs",D++;else if(_===M8.APC)j.state="apc",D++;else if(_===79)j.state="ss3",D++;else if(_K(_))j.state="escapeIntermediate",D++;else if(Ez(_))D++,F(H.slice(A,D));else if(_===k4.ESC)F(H.slice(A,D)),A=D,j.state="escape",D++;else j.state="ground",V=A;break;case"escapeIntermediate":if(_K(_))D++;else if(Ez(_))D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"csi":if(q&&_===77&&D-A===2&&(D+1>=H.length||H.charCodeAt(D+1)>=32)&&(D+2>=H.length||H.charCodeAt(D+2)>=32)&&(D+3>=H.length||H.charCodeAt(D+3)>=32)){if(D+4<=H.length)D+=4,F(H.slice(A,D));else D=H.length;break}if(gB(_))D++,F(H.slice(A,D));else if(kB(_)||_K(_))D++;else j.state="ground",V=A;break;case"ss3":if(_>=64&&_<=126)D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"osc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break;case"dcs":case"apc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break}}if(j.state==="ground")M();else if(z){let _=H.slice(A);if(_)Y.push({type:"sequence",value:_});j.state="ground"}else j.buffer=H.slice(A);return{tokens:Y,state:j}}var FK=P(()=>{W6();_8()});import{Buffer as VN}from"buffer";function hB(Z){return{kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!0}}function CN(Z){if(Z.startsWith("\x1B[")){let K;if(K=FN.exec(Z))return{type:"decrpm",mode:parseInt(K[1],10),status:parseInt(K[2],10)};if(K=WN.exec(Z))return{type:"da1",params:uB(K[1])};if(K=LN.exec(Z))return{type:"da2",params:uB(K[1])};if(K=$N.exec(Z))return{type:"kittyKeyboard",flags:parseInt(K[1],10)};if(K=RN.exec(Z))return{type:"cursorPosition",row:parseInt(K[1],10),col:parseInt(K[2],10)};return null}if(Z.startsWith("\x1B]")){let K=EN.exec(Z);if(K)return{type:"osc",code:parseInt(K[1],10),data:K[2]}}if(Z.startsWith("\x1BP")){let K=TN.exec(Z);if(K)return{type:"xtversion",name:K[1]}}return null}function uB(Z){if(!Z)return[];return Z.split(";").map((K)=>parseInt(K,10))}function SN(Z){if(VN.isBuffer(Z))if(Z[0]>127&&Z[1]===void 0)return Z[0]-=128,"\x1B"+String(Z);else return String(Z);else if(Z!==void 0&&typeof Z!=="string")return String(Z);else if(!Z)return"";else return Z}function nB(Z,K=""){let G=K===null,z=G?"":SN(K),q=Z._tokenizer??eJ({x10Mouse:!0}),Y=G?q.flush():q.feed(z),j=[],H=Z.mode==="IN_PASTE",D=Z.pasteBuffer;for(let A of Y)if(A.type==="sequence")if(A.value===dB)H=!0,D="";else if(A.value===aB)j.push(hB(D)),H=!1,D="";else if(H)D+=A.value;else{let M=CN(A.value);if(M)j.push({kind:"response",sequence:A.value,response:M});else{let F=lB(A.value);if(F)j.push(F);else j.push(Tz(A.value))}}else if(A.type==="text")if(H)D+=A.value;else if(/^\[<\d+;\d+;\d+[Mm]$/.test(A.value)||/^\[M[\x60-\x7f][\x20-\uffff]{2}$/.test(A.value)){let M="\x1B"+A.value,F=lB(M);j.push(F??Tz(M))}else j.push(Tz(A.value));if(G&&H&&D)j.push(hB(D)),H=!1,D="";let V={mode:H?"IN_PASTE":"NORMAL",incomplete:q.buffer(),pasteBuffer:D,_tokenizer:q};return[j,V]}function pB(Z){let K=Math.max(Z,1)-1;return{shift:!!(K&1),meta:!!(K&2),ctrl:!!(K&4),super:!!(K&8)}}function bN(Z){return Z>=57344&&Z<=63743||Z>=983040&&Z<=1048573||Z>=1048576&&Z<=1114109}function cB(Z){switch(Z){case 9:return"tab";case 13:return"return";case 27:return"escape";case 32:return"space";case 127:return"backspace";case 57399:return"0";case 57400:return"1";case 57401:return"2";case 57402:return"3";case 57403:return"4";case 57404:return"5";case 57405:return"6";case 57406:return"7";case 57407:return"8";case 57408:return"9";case 57409:return".";case 57410:return"/";case 57411:return"*";case 57412:return"-";case 57413:return"+";case 57414:return"return";case 57415:return"=";default:if(Z>=32&&Z<=126)return String.fromCharCode(Z).toLowerCase();if(Z>31&&Z!==127&&(Z<128||Z>159)&&Z<=1114111&&(Z<55296||Z>57343)&&!bN(Z))return String.fromCodePoint(Z);return}}function lB(Z){let K=iB.exec(Z);if(!K)return null;let G=parseInt(K[1],10);if((G&64)!==0)return null;return{kind:"mouse",button:G,action:K[4]==="M"?"press":"release",col:parseInt(K[2],10),row:parseInt(K[3],10),sequence:Z}}function Tz(Z=""){let K,G={kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!1};G.sequence=G.sequence||Z||G.name;let z;if(z=MN.exec(Z)){let q=parseInt(z[1],10),Y=z[2]?parseInt(z[2],10):1,j=pB(Y);return{kind:"key",name:cB(q),fn:!1,ctrl:j.ctrl,meta:j.meta,shift:j.shift,option:!1,super:j.super,sequence:Z,raw:Z,isPasted:!1}}if(z=_N.exec(Z)){let q=pB(parseInt(z[1],10));return{kind:"key",name:cB(parseInt(z[2],10)),fn:!1,ctrl:q.ctrl,meta:q.meta,shift:q.shift,option:!1,super:q.super,sequence:Z,raw:Z,isPasted:!1}}if(z=iB.exec(Z)){let q=parseInt(z[1],10);if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z.length===6&&Z.startsWith("\x1B[M")){let q=Z.charCodeAt(3)-32;if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z==="\r")G.raw=void 0,G.name="return";else if(Z===`
|
|
1
|
+
import{hV as mj,mV as __}from"./cli-0.1.15-svhrqvzp.mjs";import{nV as q_,pV as d1,sV as B_}from"./cli-0.1.15-pya8tbx3.mjs";import{EV as Q0,FV as e6,GV as m0}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as n0}from"./cli-0.1.15-tp614m5f.mjs";import{$Y as vU,LY as k4,MY as C4,NY as c4,OY as qQ,PY as M8,QY as Ez,RY as W6,SY as kB,TY as _K,UY as gB,VY as HQ,WY as qZ,XY as OH,YY as HH,ZY as yU,_Y as r2,aZ as UJ,bZ as AQ,cZ as kG,dZ as e2,eZ as cj,fZ as lj,gZ as dj,hZ as aj,iZ as dB,jZ as aB,kZ as Pj,lZ as yj,mZ as Z9,nZ as zJ,oZ as J9,pZ as Q9,qZ as _8,rZ as Zj,tZ as U_}from"./cli-0.1.15-dcabmk2v.mjs";import{T3 as lO,U3 as K0,V3 as Lz}from"./cli-0.1.15-fmnyh9j9.mjs";import{f5 as IF,g5 as PF}from"./cli-0.1.15-w8q8f37x.mjs";import{T8 as DQ,U$ as t3,V8 as c1,X$ as QK,_5 as L8,d6 as M1,g6 as gO,h6 as XF,l6 as U4,n6 as PB,oaa as o3}from"./cli-0.1.15-4892kydg.mjs";import{Jda as eN,Kda as mY,Lda as fY,Mda as pY,Nda as wY,Oda as UQ,Pda as U1,Qda as X7,Rda as KQ}from"./cli-0.1.15-11sdbfxy.mjs";import{rea as bG,xea as GO}from"./cli-0.1.15-gqf82qvm.mjs";import{wfa as KZ,zfa as G5}from"./cli-0.1.15-nk50qhet.mjs";import{Dfa as N8,Efa as IB,Nfa as Rz}from"./cli-0.1.15-9pe3dbgs.mjs";import{Wga as UB,Xga as hA,dia as Ij,eia as kO,jja as bB,mla as $z}from"./cli-0.1.15-12azgmva.mjs";import{pla as ZB,qla as yA,vla as p5,wla as Bz}from"./cli-0.1.15-p5ty029c.mjs";import{$la as g5,Zla as U0,bma as P}from"./cli-0.1.15-mhbfhhf6.mjs";var R7=g5((fW,l3)=>{var RA=U0(n0()),XA=Object.create,r9=Object.defineProperty,zA=Object.getOwnPropertyDescriptor,UA=Object.getOwnPropertyNames,qA=Object.getPrototypeOf,BA=Object.prototype.hasOwnProperty,YA=(Z,K)=>{for(var G in K)r9(Z,G,{get:K[G],enumerable:!0})},p3=(Z,K,G,z)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let q of UA(K))if(!BA.call(Z,q)&&q!==G)r9(Z,q,{get:()=>K[q],enumerable:!(z=zA(K,q))||z.enumerable})}return Z},jA=(Z,K,G)=>(G=Z!=null?XA(qA(Z)):{},p3(K||!Z||!Z.__esModule?r9(G,"default",{value:Z,enumerable:!0}):G,Z)),OA=(Z)=>p3(r9({},"__esModule",{value:!0}),Z),c3={};YA(c3,{$dispatcherGuard:()=>AA,$makeReadOnly:()=>MA,$reset:()=>NA,$structuralCheck:()=>$A,c:()=>VA,clearRenderCounterRegistry:()=>_A,renderCounterRegistry:()=>j6,useRenderCounter:()=>LA});l3.exports=OA(c3);var nJ=jA(RA),{useRef:HA,useEffect:DA,isValidElement:iJ}=nJ,g3,Kz=(g3=nJ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)!=null?g3:nJ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gz=Symbol.for("react.memo_cache_sentinel"),h3,VA=typeof((h3=nJ.__COMPILER_RUNTIME)==null?void 0:h3.c)==="function"?nJ.__COMPILER_RUNTIME.c:function(K){return nJ.useMemo(()=>{let G=Array(K);for(let z=0;z<K;z++)G[z]=Gz;return G[Gz]=!0,G},[])},o9={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach((Z)=>{o9[Z]=()=>{throw Error(`[React] Unexpected React hook call (${Z}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var Y6=null;o9.useMemoCache=(Z)=>{if(Y6==null)throw Error("React Compiler internal invariant violation: unexpected null dispatcher");else return Y6.useMemoCache(Z)};function t9(Z){return Kz.ReactCurrentDispatcher.current=Z,Kz.ReactCurrentDispatcher.current}var sJ=[];function AA(Z){let K=Kz.ReactCurrentDispatcher.current;if(Z===0){if(sJ.push(K),sJ.length===1)Y6=K;if(K===o9)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");t9(o9)}else if(Z===1){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");if(sJ.length===0)Y6=null;t9(G)}else if(Z===2)sJ.push(K),t9(Y6);else if(Z===3){let G=sJ.pop();if(G==null)throw Error("React Compiler internal error: unexpected null in guard stack");t9(G)}else throw Error("React Compiler internal error: unreachable block"+Z)}function NA(Z){for(let K=0;K<Z.length;K++)Z[K]=Gz}function MA(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var j6=new Map;function _A(){for(let Z of j6.values())Z.forEach((K)=>{K.count=0})}function FA(Z,K){let G=j6.get(Z);if(G==null)G=new Set,j6.set(Z,G);G.add(K)}function WA(Z,K){let G=j6.get(Z);if(G==null)return;G.delete(K)}function LA(Z){let K=HA(null);if(K.current!=null)K.current.count+=1;DA(()=>{if(K.current==null){let G={count:0};FA(Z,G),K.current=G}return()=>{if(K.current!==null)WA(Z,K.current)}})}var u3=new Set;function $A(Z,K,G,z,q,Y){function j(V,A,M,F){let _=`${z}:${Y} [${q}] ${G}${M} changed from ${V} to ${A} at depth ${F}`;if(u3.has(_))return;u3.add(_),console.error(_)}let H=2;function D(V,A,M,F){if(F>H)return;else if(V===A)return;else if(typeof V!==typeof A)j(`type ${typeof V}`,`type ${typeof A}`,M,F);else if(typeof V==="object"){let _=Array.isArray(V),R=Array.isArray(A);if(V===null&&A!==null)j("null",`type ${typeof A}`,M,F);else if(A===null)j(`type ${typeof V}`,"null",M,F);else if(V instanceof Map)if(!(A instanceof Map))j("Map instance","other value",M,F);else if(V.size!==A.size)j(`Map instance with size ${V.size}`,`Map instance with size ${A.size}`,M,F);else for(let[W,E]of V)if(!A.has(W))j(`Map instance with key ${W}`,`Map instance without key ${W}`,M,F);else D(E,A.get(W),`${M}.get(${W})`,F+1);else if(A instanceof Map)j("other value","Map instance",M,F);else if(V instanceof Set){if(!(A instanceof Set))j("Set instance","other value",M,F);else if(V.size!==A.size)j(`Set instance with size ${V.size}`,`Set instance with size ${A.size}`,M,F);else for(let W of A)if(!V.has(W))j(`Set instance without element ${W}`,`Set instance with element ${W}`,M,F)}else if(A instanceof Set)j("other value","Set instance",M,F);else if(_||R)if(_!==R)j(`type ${_?"array":"object"}`,`type ${R?"array":"object"}`,M,F);else if(V.length!==A.length)j(`array with length ${V.length}`,`array with length ${A.length}`,M,F);else for(let W=0;W<V.length;W++)D(V[W],A[W],`${M}[${W}]`,F+1);else if(iJ(V)||iJ(A))if(iJ(V)!==iJ(A))j(`type ${iJ(V)?"React element":"object"}`,`type ${iJ(A)?"React element":"object"}`,M,F);else if(V.type!==A.type)j(`React element of type ${V.type}`,`React element of type ${A.type}`,M,F);else D(V.props,A.props,`[props of ${M}]`,F+1);else{for(let W in A)if(!(W in V))j(`object without key ${W}`,`object with key ${W}`,M,F);for(let W in V)if(!(W in A))j(`object with key ${W}`,`object without key ${W}`,M,F);else D(V[W],A[W],`${M}.${W}`,F+1)}}else if(typeof V==="function")return;else if(isNaN(V)||isNaN(A)){if(isNaN(V)!==isNaN(A))j(`${isNaN(V)?"NaN":"non-NaN value"}`,`${isNaN(A)?"NaN":"non-NaN value"}`,M,F)}else if(V!==A)j(V,A,M,F)}D(Z,K,"",0)}});class G4{_didStopImmediatePropagation=!1;didStopImmediatePropagation(){return this._didStopImmediatePropagation}stopImmediatePropagation(){this._didStopImmediatePropagation=!0}}var h5=()=>{};import{EventEmitter as EA}from"events";var tJ;var e9=P(()=>{h5();tJ=class tJ extends EA{constructor(){super();this.setMaxListeners(0)}emit(Z,...K){if(Z==="error")return super.emit(Z,...K);let G=this.rawListeners(Z);if(G.length===0)return!1;let z=K[0]instanceof G4?K[0]:null;for(let q of G)if(q.apply(this,K),z?.didStopImmediatePropagation())break;return!0}}});var d3,a3,u5;var ZK=P(()=>{e9();d3=U0(n0(),1),a3=d3.createContext({stdin:process.stdin,internal_eventEmitter:new tJ,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0,internal_querier:null});a3.displayName="InternalStdinContext";u5=a3});var i3,TA=()=>i3.useContext(u5),O6;var JK=P(()=>{ZK();i3=U0(n0(),1),O6=TA});function H6(){if(Xz===void 0)Xz=CA()??"dark";return Xz}function dW(Z){if(Z==="auto")return H6();return Z}function CA(){let Z=process.env.COLORFGBG;if(!Z)return;let K=Z.split(";"),G=K[K.length-1];if(G===void 0||G==="")return;let z=Number(G);if(!Number.isInteger(z)||z<0||z>15)return;return z<=6||z===8?"dark":"light"}var Xz;var s3=()=>{};function SA(){return QK().theme}function vA(Z){t3((K)=>({...K,theme:Z}))}function Uz({children:Z,initialState:K,onThemeSave:G=vA}){let[z,q]=f7.useState(K??SA),[Y,j]=f7.useState(null),[H,D]=f7.useState(()=>(K??z)==="auto"?H6():"dark"),V=Y??z,{internal_querier:A}=O6();f7.useEffect(()=>{},[V,A]);let M=V==="auto"?H:V,F=f7.useMemo(()=>({themeSetting:z,setThemeSetting:(_)=>{if(q(_),j(null),_==="auto")D(H6());G?.(_)},setPreviewTheme:(_)=>{if(j(_),_==="auto")D(H6())},savePreview:()=>{if(Y!==null)q(Y),j(null),G?.(Y)},cancelPreview:()=>{if(Y!==null)j(null)},currentTheme:M}),[z,Y,M,G]);return Q0(KK.Provider,{value:F,children:Z})}function D6(){let Z=zz.c(3),{currentTheme:K,setThemeSetting:G}=f7.useContext(KK),z;if(Z[0]!==K||Z[1]!==G)z=[K,G],Z[0]=K,Z[1]=G,Z[2]=z;else z=Z[2];return z}function xA(){return f7.useContext(KK).themeSetting}function bA(){let Z=zz.c(4),{setPreviewTheme:K,savePreview:G,cancelPreview:z}=f7.useContext(KK),q;if(Z[0]!==z||Z[1]!==G||Z[2]!==K)q={setPreviewTheme:K,savePreview:G,cancelPreview:z},Z[0]=z,Z[1]=G,Z[2]=K,Z[3]=q;else q=Z[3];return q}var zz,f7,n3="dark",KK;var V6=P(()=>{JK();o3();s3();m0();zz=U0(R7(),1),f7=U0(n0(),1),KK=f7.createContext({themeSetting:n3,setThemeSetting:()=>{},setPreviewTheme:()=>{},savePreview:()=>{},cancelPreview:()=>{},currentTheme:n3})});function qz(Z,{include:K,exclude:G}={}){let z=(q)=>{let Y=(j)=>typeof j==="string"?q===j:j.test(q);if(K)return K.some(Y);if(G)return!G.some(Y);return!0};for(let[q,Y]of IA(Z.constructor.prototype)){if(Y==="constructor"||!z(Y))continue;let j=Reflect.getOwnPropertyDescriptor(q,Y);if(j&&typeof j.value==="function")Z[Y]=Z[Y].bind(Z)}return Z}var IA=(Z)=>{let K=new Set;do for(let G of Reflect.ownKeys(Z))K.add([Z,G]);while((Z=Reflect.getPrototypeOf(Z))&&Z!==Object.prototype);return K};var r3=()=>{};function PA(){}var GK;var e3=P(()=>{GK=PA});var mA=function(){return ZB.Date.now()},XK;var JB=P(()=>{yA();XK=mA});function wA(Z){var K=Z.length;while(K--&&fA.test(Z.charAt(K)));return K}var fA,QB;var KB=P(()=>{fA=/\s/;QB=wA});function gA(Z){return Z?Z.slice(0,QB(Z)+1).replace(kA,""):Z}var kA,GB;var XB=P(()=>{KB();kA=/^\s+/;GB=gA});function dA(Z){if(typeof Z=="number")return Z;if(UB(Z))return zB;if(p5(Z)){var K=typeof Z.valueOf=="function"?Z.valueOf():Z;Z=p5(K)?K+"":K}if(typeof Z!="string")return Z===0?Z:+Z;Z=GB(Z);var G=pA.test(Z);return G||cA.test(Z)?lA(Z.slice(2),G?2:8):uA.test(Z)?zB:+Z}var zB=NaN,uA,pA,cA,lA,Yz;var qB=P(()=>{XB();Bz();hA();uA=/^[-+]0x[0-9a-f]+$/i,pA=/^0b[01]+$/i,cA=/^0o[0-7]+$/i,lA=parseInt;Yz=dA});function nA(Z,K,G){var z,q,Y,j,H,D,V=0,A=!1,M=!1,F=!0;if(typeof Z!="function")throw TypeError(aA);if(K=Yz(K)||0,p5(G))A=!!G.leading,M="maxWait"in G,Y=M?iA(Yz(G.maxWait)||0,K):Y,F="trailing"in G?!!G.trailing:F;function _(b){var u=z,f=q;return z=q=void 0,V=b,j=Z.apply(f,u),j}function R(b){return V=b,H=setTimeout(T,K),A?_(b):j}function W(b){var u=b-D,f=b-V,w=K-u;return M?sA(w,Y-f):w}function E(b){var u=b-D,f=b-V;return D===void 0||u>=K||u<0||M&&f>=Y}function T(){var b=XK();if(E(b))return $(b);H=setTimeout(T,W(b))}function $(b){if(H=void 0,F&&z)return _(b);return z=q=void 0,j}function I(){if(H!==void 0)clearTimeout(H);V=0,z=D=q=H=void 0}function y(){return H===void 0?j:$(XK())}function m(){var b=XK(),u=E(b);if(z=arguments,q=this,D=b,u){if(H===void 0)return R(D);if(M)return clearTimeout(H),H=setTimeout(T,K),_(D)}if(H===void 0)H=setTimeout(T,K);return j}return m.cancel=I,m.flush=y,m}var aA="Expected a function",iA,sA,BB;var YB=P(()=>{Bz();JB();qB();iA=Math.max,sA=Math.min;BB=nA});function oA(Z,K,G){var z=!0,q=!0;if(typeof Z!="function")throw TypeError(tA);if(p5(G))z="leading"in G?!!G.leading:z,q="trailing"in G?!!G.trailing:q;return BB(Z,K,{leading:z,maxWait:K,trailing:q})}var tA="Expected a function",jB;var OB=P(()=>{YB();Bz();jB=oA});var zK=8,UK=32,jz=2,qK=0;var BK=()=>{};var V0,YK,H8,r0,HB,TZ,f4,G7,F0,c5,l5,tZ,D8;var DB=P(()=>{V0={Auto:0,FlexStart:1,Center:2,FlexEnd:3,Stretch:4,Baseline:5,SpaceBetween:6,SpaceAround:7,SpaceEvenly:8},YK={Inherit:0,LTR:1,RTL:2},H8={Flex:0,None:1,Contents:2},r0={Left:0,Top:1,Right:2,Bottom:3,Start:4,End:5,Horizontal:6,Vertical:7,All:8},HB={None:0,StretchFlexBasis:1,AbsolutePositionWithoutInsetsExcludesPadding:2,AbsolutePercentAgainstInnerSize:4,All:2147483647,Classic:2147483646},TZ={Column:0,ColumnReverse:1,Row:2,RowReverse:3},f4={Column:0,Row:1,All:2},G7={FlexStart:0,Center:1,FlexEnd:2,SpaceBetween:3,SpaceAround:4,SpaceEvenly:5},F0={Undefined:0,Exactly:1,AtMost:2},c5={Visible:0,Hidden:1,Scroll:2},l5={Static:0,Relative:1,Absolute:2},tZ={Undefined:0,Point:1,Percent:2,Auto:3},D8={NoWrap:0,Wrap:1,WrapReverse:2}});function VK(Z){return{unit:tZ.Point,value:Z}}function X4(Z){return{unit:tZ.Percent,value:Z}}function DZ(Z,K){switch(Z.unit){case tZ.Point:return Z.value;case tZ.Percent:return isNaN(K)?NaN:Z.value*K/100;default:return NaN}}function D0(Z){return!isNaN(Z)}function D7(Z,K){return Z===K||Z!==Z&&K!==K}function VB(){return{direction:YK.Inherit,flexDirection:TZ.Column,justifyContent:G7.FlexStart,alignItems:V0.Stretch,alignSelf:V0.Auto,alignContent:V0.FlexStart,flexWrap:D8.NoWrap,overflow:c5.Visible,display:H8.Flex,positionType:l5.Relative,flexGrow:0,flexShrink:0,flexBasis:V8,margin:[,,,,,,,,,].fill(i7),padding:[,,,,,,,,,].fill(i7),border:[,,,,,,,,,].fill(i7),position:[,,,,,,,,,].fill(i7),gap:[,,,].fill(i7),width:V8,height:V8,minWidth:i7,minHeight:i7,maxWidth:i7,maxHeight:i7}}function J5(Z,K,G,z=!1){let q=Z[K];if(q.unit===tZ.Undefined)if(K===E7||K===z4)q=Z[r0.Horizontal];else q=Z[r0.Vertical];if(q.unit===tZ.Undefined)q=Z[r0.All];if(q.unit===tZ.Undefined){if(K===E7)q=Z[r0.Start];if(K===z4)q=Z[r0.End]}if(q.unit===tZ.Undefined)return 0;if(q.unit===tZ.Auto)return z?NaN:0;return DZ(q,G)}function R4(Z,K){let G=Z[K];if(G.unit===tZ.Undefined)if(K===E7||K===z4)G=Z[r0.Horizontal];else G=Z[r0.Vertical];if(G.unit===tZ.Undefined)G=Z[r0.All];if(G.unit===tZ.Undefined){if(K===E7)G=Z[r0.Start];if(K===z4)G=Z[r0.End]}return G}function w4(Z,K){return R4(Z,K).unit===tZ.Auto}function AB(Z){for(let K=0;K<9;K++)if(Z[K].unit===3)return!0;return!1}function jK(Z){for(let K=0;K<9;K++)if(Z[K].unit!==0)return!0;return!1}function Oz(Z,K,G){let z=Z[6],q=Z[7],Y=Z[8],j=Z[4],H=Z[5],D=isNaN(K)?NaN:K/100,V=Z[0];if(V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=j;if(G[0]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[1],V.unit===0)V=q;if(V.unit===0)V=Y;if(G[1]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[2],V.unit===0)V=z;if(V.unit===0)V=Y;if(V.unit===0)V=H;if(G[2]=V.unit===1?V.value:V.unit===2?V.value*D:0,V=Z[3],V.unit===0)V=q;if(V.unit===0)V=Y;G[3]=V.unit===1?V.value:V.unit===2?V.value*D:0}function M6(Z){return Z===TZ.Row||Z===TZ.RowReverse}function WB(Z){return Z===TZ.RowReverse||Z===TZ.ColumnReverse}function rA(Z){return M6(Z)?TZ.Column:TZ.Row}function Az(Z){switch(Z){case TZ.Row:return E7;case TZ.RowReverse:return z4;case TZ.Column:return $4;case TZ.ColumnReverse:return A8}}function Nz(Z){switch(Z){case TZ.Row:return z4;case TZ.RowReverse:return E7;case TZ.Column:return A8;case TZ.ColumnReverse:return $4}}function LB(){let Z={pointScaleFactor:1,errata:HB.None,useWebDefaults:!1,free(){},isExperimentalFeatureEnabled(){return!1},setExperimentalFeatureEnabled(){},setPointScaleFactor(K){Z.pointScaleFactor=K},getErrata(){return Z.errata},setErrata(K){Z.errata=K},setUseWebDefaults(K){Z.useWebDefaults=K}};return Z}class DK{style;layout;parent;children;measureFunc;config;isDirty_;isReferenceBaseline_;_flexBasis=0;_mainSize=0;_crossSize=0;_lineIndex=0;_hasAutoMargin=!1;_hasPosition=!1;_hasPadding=!1;_hasBorder=!1;_hasMargin=!1;_lW=NaN;_lH=NaN;_lWM=0;_lHM=0;_lOW=NaN;_lOH=NaN;_lFW=!1;_lFH=!1;_lOutW=NaN;_lOutH=NaN;_hasL=!1;_mW=NaN;_mH=NaN;_mWM=0;_mHM=0;_mOW=NaN;_mOH=NaN;_mOutW=NaN;_mOutH=NaN;_hasM=!1;_fbBasis=NaN;_fbOwnerW=NaN;_fbOwnerH=NaN;_fbAvailMain=NaN;_fbAvailCross=NaN;_fbCrossMode=0;_fbGen=-1;_cIn=null;_cOut=null;_cGen=-1;_cN=0;_cWr=0;constructor(Z){this.style=VB(),this.layout={left:0,top:0,width:0,height:0,border:[0,0,0,0],padding:[0,0,0,0],margin:[0,0,0,0]},this.parent=null,this.children=[],this.measureFunc=null,this.config=Z??eA,this.isDirty_=!0,this.isReferenceBaseline_=!1,Mz++}insertChild(Z,K){Z.parent=this,this.children.splice(K,0,Z),this.markDirty()}removeChild(Z){let K=this.children.indexOf(Z);if(K>=0)this.children.splice(K,1),Z.parent=null,this.markDirty()}getChild(Z){return this.children[Z]}getChildCount(){return this.children.length}getParent(){return this.parent}free(){this.parent=null,this.children=[],this.measureFunc=null,this._cIn=null,this._cOut=null,Mz--}freeRecursive(){for(let Z of this.children)Z.freeRecursive();this.free()}reset(){this.style=VB(),this.children=[],this.parent=null,this.measureFunc=null,this.isDirty_=!0,this._hasAutoMargin=!1,this._hasPosition=!1,this._hasPadding=!1,this._hasBorder=!1,this._hasMargin=!1,this._hasL=!1,this._hasM=!1,this._cN=0,this._cWr=0,this._fbBasis=NaN}markDirty(){if(this.isDirty_=!0,this.parent&&!this.parent.isDirty_)this.parent.markDirty()}isDirty(){return this.isDirty_}hasNewLayout(){return!0}markLayoutSeen(){}setMeasureFunc(Z){this.measureFunc=Z,this.markDirty()}unsetMeasureFunc(){this.measureFunc=null,this.markDirty()}getComputedLeft(){return this.layout.left}getComputedTop(){return this.layout.top}getComputedWidth(){return this.layout.width}getComputedHeight(){return this.layout.height}getComputedRight(){let Z=this.parent;return Z?Z.layout.width-this.layout.left-this.layout.width:0}getComputedBottom(){let Z=this.parent;return Z?Z.layout.height-this.layout.top-this.layout.height:0}getComputedLayout(){return{left:this.layout.left,top:this.layout.top,right:this.getComputedRight(),bottom:this.getComputedBottom(),width:this.layout.width,height:this.layout.height}}getComputedBorder(Z){return this.layout.border[Vz(Z)]}getComputedPadding(Z){return this.layout.padding[Vz(Z)]}getComputedMargin(Z){return this.layout.margin[Vz(Z)]}setWidth(Z){this.style.width=W4(Z),this.markDirty()}setWidthPercent(Z){this.style.width=X4(Z),this.markDirty()}setWidthAuto(){this.style.width=V8,this.markDirty()}setHeight(Z){this.style.height=W4(Z),this.markDirty()}setHeightPercent(Z){this.style.height=X4(Z),this.markDirty()}setHeightAuto(){this.style.height=V8,this.markDirty()}setMinWidth(Z){this.style.minWidth=W4(Z),this.markDirty()}setMinWidthPercent(Z){this.style.minWidth=X4(Z),this.markDirty()}setMinHeight(Z){this.style.minHeight=W4(Z),this.markDirty()}setMinHeightPercent(Z){this.style.minHeight=X4(Z),this.markDirty()}setMaxWidth(Z){this.style.maxWidth=W4(Z),this.markDirty()}setMaxWidthPercent(Z){this.style.maxWidth=X4(Z),this.markDirty()}setMaxHeight(Z){this.style.maxHeight=W4(Z),this.markDirty()}setMaxHeightPercent(Z){this.style.maxHeight=X4(Z),this.markDirty()}setFlexDirection(Z){this.style.flexDirection=Z,this.markDirty()}setFlexGrow(Z){this.style.flexGrow=Z??0,this.markDirty()}setFlexShrink(Z){this.style.flexShrink=Z??0,this.markDirty()}setFlex(Z){if(Z===void 0||isNaN(Z))this.style.flexGrow=0,this.style.flexShrink=0;else if(Z>0)this.style.flexGrow=Z,this.style.flexShrink=1,this.style.flexBasis=VK(0);else if(Z<0)this.style.flexGrow=0,this.style.flexShrink=-Z;else this.style.flexGrow=0,this.style.flexShrink=0;this.markDirty()}setFlexBasis(Z){this.style.flexBasis=W4(Z),this.markDirty()}setFlexBasisPercent(Z){this.style.flexBasis=X4(Z),this.markDirty()}setFlexBasisAuto(){this.style.flexBasis=V8,this.markDirty()}setFlexWrap(Z){this.style.flexWrap=Z,this.markDirty()}setAlignItems(Z){this.style.alignItems=Z,this.markDirty()}setAlignSelf(Z){this.style.alignSelf=Z,this.markDirty()}setAlignContent(Z){this.style.alignContent=Z,this.markDirty()}setJustifyContent(Z){this.style.justifyContent=Z,this.markDirty()}setDisplay(Z){this.style.display=Z,this.markDirty()}getDisplay(){return this.style.display}setPositionType(Z){this.style.positionType=Z,this.markDirty()}setPosition(Z,K){this.style.position[Z]=W4(K),this._hasPosition=jK(this.style.position),this.markDirty()}setPositionPercent(Z,K){this.style.position[Z]=X4(K),this._hasPosition=!0,this.markDirty()}setPositionAuto(Z){this.style.position[Z]=V8,this._hasPosition=!0,this.markDirty()}setOverflow(Z){this.style.overflow=Z,this.markDirty()}setDirection(Z){this.style.direction=Z,this.markDirty()}setBoxSizing(Z){}setMargin(Z,K){let G=W4(K);if(this.style.margin[Z]=G,G.unit===tZ.Auto)this._hasAutoMargin=!0;else this._hasAutoMargin=AB(this.style.margin);this._hasMargin=this._hasAutoMargin||jK(this.style.margin),this.markDirty()}setMarginPercent(Z,K){this.style.margin[Z]=X4(K),this._hasAutoMargin=AB(this.style.margin),this._hasMargin=!0,this.markDirty()}setMarginAuto(Z){this.style.margin[Z]=V8,this._hasAutoMargin=!0,this._hasMargin=!0,this.markDirty()}setPadding(Z,K){this.style.padding[Z]=W4(K),this._hasPadding=jK(this.style.padding),this.markDirty()}setPaddingPercent(Z,K){this.style.padding[Z]=X4(K),this._hasPadding=!0,this.markDirty()}setBorder(Z,K){this.style.border[Z]=K===void 0?i7:VK(K),this._hasBorder=jK(this.style.border),this.markDirty()}setGap(Z,K){this.style.gap[Z]=W4(K),this.markDirty()}setGapPercent(Z,K){this.style.gap[Z]=X4(K),this.markDirty()}getFlexDirection(){return this.style.flexDirection}getJustifyContent(){return this.style.justifyContent}getAlignItems(){return this.style.alignItems}getAlignSelf(){return this.style.alignSelf}getAlignContent(){return this.style.alignContent}getFlexGrow(){return this.style.flexGrow}getFlexShrink(){return this.style.flexShrink}getFlexBasis(){return this.style.flexBasis}getFlexWrap(){return this.style.flexWrap}getWidth(){return this.style.width}getHeight(){return this.style.height}getOverflow(){return this.style.overflow}getPositionType(){return this.style.positionType}getDirection(){return this.style.direction}copyStyle(Z){}setDirtiedFunc(Z){}unsetDirtiedFunc(){}setIsReferenceBaseline(Z){this.isReferenceBaseline_=Z,this.markDirty()}isReferenceBaseline(){return this.isReferenceBaseline_}setAspectRatio(Z){}getAspectRatio(){return NaN}setAlwaysFormsContainingBlock(Z){}calculateLayout(Z,K,G){Fz=0,Wz=0,A6=0,Q5++;let z=Z===void 0?NaN:Z,q=K===void 0?NaN:K;N6(this,z,q,D0(z)?F0.Exactly:F0.Undefined,D0(q)?F0.Exactly:F0.Undefined,z,q,!0);let Y=this.layout.margin,j=DZ(R4(this.style.position,E7),D0(z)?z:0),H=DZ(R4(this.style.position,$4),D0(z)?z:0);this.layout.left=Y[E7]+(D0(j)?j:0),this.layout.top=Y[$4]+(D0(H)?H:0),CB(this,this.config.pointScaleFactor,0,0)}}function Hz(Z,K,G,z,q,Y,j,H,D,V){if(!Z._cIn)Z._cIn=new Float64Array(OK*8),Z._cOut=new Float64Array(OK*2);if(V&&Z._cGen!==Q5)Z._cN=0,Z._cWr=0;let A=Z._cWr++%OK;if(Z._cN<OK)Z._cN=Z._cWr;let M=A*8,F=Z._cIn;F[M]=K,F[M+1]=G,F[M+2]=z,F[M+3]=q,F[M+4]=Y,F[M+5]=j,F[M+6]=H?1:0,F[M+7]=D?1:0,Z._cOut[A*2]=Z.layout.width,Z._cOut[A*2+1]=Z.layout.height,Z._cGen=Q5}function Dz(Z,K){if(K)Z._lOutW=Z.layout.width,Z._lOutH=Z.layout.height;else Z._mOutW=Z.layout.width,Z._mOutH=Z.layout.height}function AK(){return{visited:Fz,measured:Wz,cacheHits:A6,live:Mz}}function N6(Z,K,G,z,q,Y,j,H,D=!1,V=!1){Fz++;let{style:A,layout:M}=Z,F=Z._cGen===Q5&&!H;if(!Z.isDirty_||F){if(!Z.isDirty_&&Z._hasL&&Z._lWM===z&&Z._lHM===q&&Z._lFW===D&&Z._lFH===V&&D7(Z._lW,K)&&D7(Z._lH,G)&&D7(Z._lOW,Y)&&D7(Z._lOH,j)){A6++,M.width=Z._lOutW,M.height=Z._lOutH;return}if(Z._cN>0&&(F||!Z.isDirty_)){let a=Z._cIn;for(let W0=0;W0<Z._cN;W0++){let j0=W0*8;if(a[j0+2]===z&&a[j0+3]===q&&a[j0+6]===(D?1:0)&&a[j0+7]===(V?1:0)&&D7(a[j0],K)&&D7(a[j0+1],G)&&D7(a[j0+4],Y)&&D7(a[j0+5],j)){M.width=Z._cOut[W0*2],M.height=Z._cOut[W0*2+1],A6++;return}}}if(!Z.isDirty_&&!H&&Z._hasM&&Z._mWM===z&&Z._mHM===q&&D7(Z._mW,K)&&D7(Z._mH,G)&&D7(Z._mOW,Y)&&D7(Z._mOH,j)){M.width=Z._mOutW,M.height=Z._mOutH,A6++;return}}let _=Z.isDirty_;if(H){if(Z._lW=K,Z._lH=G,Z._lWM=z,Z._lHM=q,Z._lOW=Y,Z._lOH=j,Z._lFW=D,Z._lFH=V,Z._hasL=!0,Z.isDirty_=!1,_)Z._hasM=!1}else if(Z._mW=K,Z._mH=G,Z._mWM=z,Z._mHM=q,Z._mOW=Y,Z._mOH=j,Z._hasM=!0,_)Z._hasL=!1;let{padding:R,border:W,margin:E}=M;if(Z._hasPadding)Oz(A.padding,Y,R);else R[0]=R[1]=R[2]=R[3]=0;if(Z._hasBorder)Oz(A.border,Y,W);else W[0]=W[1]=W[2]=W[3]=0;if(Z._hasMargin)Oz(A.margin,Y,E);else E[0]=E[1]=E[2]=E[3]=0;let T=R[0]+R[2]+W[0]+W[2],$=R[1]+R[3]+W[1]+W[3],I=D?NaN:DZ(A.width,Y),y=V?NaN:DZ(A.height,j),m=K,b=G,u=z,f=q;if(D0(I))m=I,u=F0.Exactly;if(D0(y))b=y,f=F0.Exactly;if(m=L4(A,!0,m,Y,j),b=L4(A,!1,b,Y,j),Z.measureFunc&&Z.children.length===0){let a=u===F0.Undefined?NaN:Math.max(0,m-T),W0=f===F0.Undefined?NaN:Math.max(0,b-$);Wz++;let j0=Z.measureFunc(a,u,W0,f);Z.layout.width=u===F0.Exactly?m:L4(A,!0,(j0.width??0)+T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,(j0.height??0)+$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}if(Z.children.length===0){Z.layout.width=u===F0.Exactly?m:L4(A,!0,T,Y,j),Z.layout.height=f===F0.Exactly?b:L4(A,!1,$,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_);return}let w=A.flexDirection,i=rA(w),h=M6(w),l=h?m:b,s=h?b:m,n=h?u:f,N0=h?f:u,ZZ=h?T:$,u0=h?$:T,d0=D0(l)?Math.max(0,l-ZZ):NaN,p0=D0(s)?Math.max(0,s-u0):NaN,oZ=_B(A,h?f4.Column:f4.Row,d0),AZ=[],N7=[];TB(Z,AZ,N7);let JZ=D0(m)?m:NaN,_Z=D0(b)?b:NaN,NZ=A.flexWrap!==D8.NoWrap,q7=_B(A,h?f4.Row:f4.Column,p0);for(let a of AZ)a._flexBasis=JN(a,w,d0,p0,N0,JZ,_Z);let fZ=[];if(!NZ||!D0(d0)||AZ.length===0){for(let a of AZ)a._lineIndex=0;fZ.push(AZ)}else{let a=0,W0=0;for(let j0=0;j0<AZ.length;j0++){let YZ=AZ[j0],L0=L4(YZ.style,h,YZ._flexBasis,JZ,_Z),O0=Math.max(0,L0)+HK(YZ,w,JZ),_7=j0>a?oZ:0;if(j0>a&&W0+_7+O0>d0)fZ.push(AZ.slice(a,j0)),a=j0,W0=O0;else W0+=_7+O0;YZ._lineIndex=fZ.length}fZ.push(AZ.slice(a))}let x0=fZ.length,rZ=GN(Z,AZ),uZ=Array(x0),M7=Array(x0),g0=rZ?Array(x0).fill(0):[],c0=0,FZ=0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=W0.length>1?oZ*(W0.length-1):0,YZ=j0;for(let $0 of W0)YZ+=$0._flexBasis+HK($0,w,JZ);let L0=d0;if(!D0(L0)){let $0=h?Y:j,I0=DZ(h?A.minWidth:A.minHeight,$0),a0=DZ(h?A.maxWidth:A.maxHeight,$0);if(D0(a0)&&YZ>a0-ZZ)L0=Math.max(0,a0-ZZ);else if(D0(I0)&&YZ<I0-ZZ)L0=Math.max(0,I0-ZZ)}QN(W0,L0,YZ,h,JZ,_Z);let O0=0;for(let $0 of W0){let I0=$0.style,a0=I0.alignSelf===V0.Auto?A.alignItems:I0.alignSelf,LZ=HK($0,i,JZ),q0=NaN,h0=F0.Undefined,zZ=DZ(h?I0.height:I0.width,h?_Z:JZ),O4=h?$4:E7,W7=h?A8:z4,lZ=$0._hasAutoMargin&&(w4(I0.margin,O4)||w4(I0.margin,W7));if(D0(zZ))q0=zZ,h0=F0.Exactly;else if(a0===V0.Stretch&&!lZ&&!NZ&&D0(p0)&&N0===F0.Exactly)q0=Math.max(0,p0-LZ),h0=F0.Exactly;else if(!NZ&&D0(p0))q0=Math.max(0,p0-LZ),h0=F0.AtMost;let xZ=h?$0._mainSize:q0,$Z=h?q0:$0._mainSize;N6($0,xZ,$Z,h?F0.Exactly:h0,h?h0:F0.Exactly,JZ,_Z,H,h,!h),$0._crossSize=h?$0.layout.height:$0.layout.width,O0=Math.max(O0,$0._crossSize+LZ)}if(rZ){let $0=0,I0=0;for(let a0 of W0){if(RB(Z,a0)!==V0.Baseline)continue;let LZ=J5(a0.style.margin,$4,JZ),q0=J5(a0.style.margin,A8,JZ),h0=_z(a0)+LZ,zZ=a0.layout.height+LZ+q0-h0;if(h0>$0)$0=h0;if(zZ>I0)I0=zZ}if(g0[a]=$0,$0+I0>O0)O0=$0+I0}let _7=Az(w),F7=Nz(w),w7=j0;for(let $0 of W0){let I0=$0.layout.margin;w7+=$0._mainSize+I0[_7]+I0[F7]}uZ[a]=w7,M7[a]=O0,c0=Math.max(c0,w7),FZ+=O0}let vZ=x0>1?q7*(x0-1):0;FZ+=vZ;let pZ=A.overflow===c5.Scroll,S4=c0+ZZ,t7=n===F0.Exactly?l:n===F0.AtMost&&pZ?Math.max(Math.min(l,S4),ZZ):NZ&&x0>1&&n===F0.AtMost?l:S4,o=FZ+u0,H0=N0===F0.Exactly?s:N0===F0.AtMost&&pZ?Math.max(Math.min(s,o),u0):o;if(Z.layout.width=L4(A,!0,h?t7:H0,Y,j),Z.layout.height=L4(A,!1,h?H0:t7,Y,j),Dz(Z,H),Hz(Z,K,G,z,q,Y,j,D,V,_),!H)return;let z0=(h?Z.layout.width:Z.layout.height)-ZZ,g=(h?Z.layout.height:Z.layout.width)-u0,E0=Az(w),e=Nz(w),Z0=h?$4:E7,J0=h?A8:z4,t0=WB(w),M0=h?Z.layout.width:Z.layout.height,b0=R[Z0]+W[Z0],BZ=q7,cZ=g-FZ;if(x0===1&&!NZ&&!rZ)M7[0]=g;else{let a=Math.max(0,cZ);switch(A.alignContent){case V0.FlexStart:break;case V0.Center:b0+=cZ/2;break;case V0.FlexEnd:b0+=cZ;break;case V0.Stretch:if(x0>0&&a>0){let W0=a/x0;for(let j0=0;j0<x0;j0++)M7[j0]+=W0}break;case V0.SpaceBetween:if(x0>1)BZ+=a/(x0-1);break;case V0.SpaceAround:if(x0>0)BZ+=a/x0,b0+=a/x0/2;break;case V0.SpaceEvenly:if(x0>0)BZ+=a/(x0+1),b0+=a/(x0+1);break;default:break}}let WZ=A.flexWrap===D8.WrapReverse,eZ=h?Z.layout.height:Z.layout.width,T0=b0;for(let a=0;a<x0;a++){let W0=fZ[a],j0=M7[a],YZ=uZ[a],L0=W0.length;if(NZ||N0!==F0.Exactly)for(let q0 of W0){let h0=q0.style,zZ=h0.alignSelf===V0.Auto?A.alignItems:h0.alignSelf,O4=D0(DZ(h?h0.height:h0.width,h?_Z:JZ)),W7=q0._hasAutoMargin&&(w4(h0.margin,Z0)||w4(h0.margin,J0));if(zZ===V0.Stretch&&!O4&&!W7){let lZ=HK(q0,i,JZ),xZ=Math.max(0,j0-lZ);if(q0._crossSize!==xZ){let $Z=h?q0._mainSize:xZ,H4=h?xZ:q0._mainSize;N6(q0,$Z,H4,F0.Exactly,F0.Exactly,JZ,_Z,H,h,!h),q0._crossSize=xZ}}}let O0=R[E0]+W[E0],_7=oZ,F7=0;for(let q0 of W0){if(!q0._hasAutoMargin)continue;if(w4(q0.style.margin,E0))F7++;if(w4(q0.style.margin,e))F7++}let w7=z0-YZ,$0=Math.max(0,w7),I0=F7>0&&$0>0?$0/F7:0;if(F7===0)switch(A.justifyContent){case G7.FlexStart:break;case G7.Center:O0+=w7/2;break;case G7.FlexEnd:O0+=w7;break;case G7.SpaceBetween:if(L0>1)_7+=$0/(L0-1);break;case G7.SpaceAround:if(L0>0)_7+=$0/L0,O0+=$0/L0/2;break;case G7.SpaceEvenly:if(L0>0)_7+=$0/(L0+1),O0+=$0/(L0+1);break}let a0=WZ?eZ-T0-j0:T0,LZ=O0;for(let q0 of W0){let h0=q0.style.margin,zZ=q0.layout.margin,O4=!1,W7=!1,lZ=!1,xZ=!1,$Z,H4,C7,S7;if(q0._hasAutoMargin)O4=w4(h0,E0),W7=w4(h0,e),lZ=w4(h0,Z0),xZ=w4(h0,J0),$Z=O4?I0:zZ[E0],H4=W7?I0:zZ[e],C7=lZ?0:zZ[Z0],S7=xZ?0:zZ[J0];else $Z=zZ[E0],H4=zZ[e],C7=zZ[Z0],S7=zZ[J0];let v4=t0?M0-(LZ+$Z)-q0._mainSize:LZ+$Z,k7=q0.style.alignSelf===V0.Auto?A.alignItems:q0.style.alignSelf,RZ=a0+C7,g7=j0-q0._crossSize-C7-S7;if(lZ&&xZ)RZ+=Math.max(0,g7)/2;else if(lZ)RZ+=Math.max(0,g7);else if(xZ);else switch(k7){case V0.FlexStart:case V0.Stretch:if(WZ)RZ+=g7;break;case V0.Center:RZ+=g7/2;break;case V0.FlexEnd:if(!WZ)RZ+=g7;break;case V0.Baseline:if(rZ)RZ=a0+g0[a]-_z(q0);break;default:break}let x4=0,v7=0;if(q0._hasPosition){let o7=DZ(R4(q0.style.position,E7),JZ),j5=DZ(R4(q0.style.position,z4),JZ),b8=DZ(R4(q0.style.position,$4),JZ),b4=DZ(R4(q0.style.position,A8),JZ);x4=D0(o7)?o7:D0(j5)?-j5:0,v7=D0(b8)?b8:D0(b4)?-b4:0}if(h)q0.layout.left=v4+x4,q0.layout.top=RZ+v7;else q0.layout.left=RZ+x4,q0.layout.top=v4+v7;LZ+=q0._mainSize+$Z+H4+_7}T0+=j0+BZ}for(let a of N7)ZN(Z,a,Z.layout.width,Z.layout.height,R,W)}function ZN(Z,K,G,z,q,Y){let j=K.style,H=R4(j.position,E7),D=R4(j.position,z4),V=R4(j.position,$4),A=R4(j.position,A8),M=DZ(H,G),F=DZ(D,G),_=DZ(V,z),R=DZ(A,z),W=G-Y[0]-Y[2],E=z-Y[1]-Y[3],T=DZ(j.width,W),$=DZ(j.height,E);if(!D0(T)&&D0(M)&&D0(F))T=W-M-F;if(!D0($)&&D0(_)&&D0(R))$=E-_-R;N6(K,T,$,D0(T)?F0.Exactly:F0.Undefined,D0($)?F0.Exactly:F0.Undefined,W,E,!0);let I=J5(j.margin,E7,G),y=J5(j.margin,$4,G),m=J5(j.margin,z4,G),b=J5(j.margin,A8,G),u=Z.style.flexDirection,f=WB(u),w=M6(u),i=Z.style.flexWrap===D8.WrapReverse,h=j.alignSelf===V0.Auto?Z.style.alignItems:j.alignSelf,l;if(D0(M))l=Y[0]+M+I;else if(D0(F))l=G-Y[2]-F-K.layout.width-m;else if(w){let n=q[0]+Y[0],N0=G-q[2]-Y[2];l=f?N0-K.layout.width-m:NB(Z.style.justifyContent,n,N0,K.layout.width)+I}else l=MB(h,q[0]+Y[0],G-q[2]-Y[2],K.layout.width,i)+I;let s;if(D0(_))s=Y[1]+_+y;else if(D0(R))s=z-Y[3]-R-K.layout.height-b;else if(w)s=MB(h,q[1]+Y[1],z-q[3]-Y[3],K.layout.height,i)+y;else{let n=q[1]+Y[1],N0=z-q[3]-Y[3];s=f?N0-K.layout.height-b:NB(Z.style.justifyContent,n,N0,K.layout.height)+y}K.layout.left=l,K.layout.top=s}function NB(Z,K,G,z){switch(Z){case G7.Center:return K+(G-K-z)/2;case G7.FlexEnd:return G-z;default:return K}}function MB(Z,K,G,z,q){switch(Z){case V0.Center:return K+(G-K-z)/2;case V0.FlexEnd:return q?K:G-z;default:return q?G-z:K}}function JN(Z,K,G,z,q,Y,j){if((Z._fbGen===Q5||!Z.isDirty_)&&Z._fbCrossMode===q&&D7(Z._fbOwnerW,Y)&&D7(Z._fbOwnerH,j)&&D7(Z._fbAvailMain,G)&&D7(Z._fbAvailCross,z))return Z._fbBasis;let D=Z.style,V=M6(K),A=DZ(D.flexBasis,G);if(D0(A)){let w=Math.max(0,A);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let M=V?D.width:D.height,_=DZ(M,V?Y:j);if(D0(_)){let w=Math.max(0,_);return Z._fbBasis=w,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,w}let R=V?D.height:D.width,E=DZ(R,V?j:Y),T=D0(E)?F0.Exactly:F0.Undefined;if(!D0(E)&&D0(z))E=z,T=q===F0.Exactly&&KN(Z)?F0.Exactly:F0.AtMost;let $=NaN,I=F0.Undefined;if(V&&D0(G)&&$B(Z))$=G,I=F0.AtMost;N6(Z,V?$:E,V?E:$,V?I:T,V?T:I,Y,j,!1);let f=V?Z.layout.width:Z.layout.height;return Z._fbBasis=f,Z._fbOwnerW=Y,Z._fbOwnerH=j,Z._fbAvailMain=G,Z._fbAvailCross=z,Z._fbCrossMode=q,Z._fbGen=Q5,f}function $B(Z){if(Z.measureFunc)return!0;for(let K of Z.children)if($B(K))return!0;return!1}function QN(Z,K,G,z,q,Y){let j=Z.length,H=Array(j).fill(!1),D=D0(K)?K-G:0;for(let A=0;A<j;A++){let M=Z[A],F=L4(M.style,z,M._flexBasis,q,Y);if(!D0(K)||(D>=0?M.style.flexGrow===0:M.style.flexShrink===0))M._mainSize=Math.max(0,F),H[A]=!0;else M._mainSize=M._flexBasis}let V=Array(j);for(let A=0;A<=j;A++){let M=0,F=0,_=0,R=0;for(let $=0;$<j;$++){let I=Z[$];if(H[$])M+=I._mainSize-I._flexBasis;else F+=I.style.flexGrow,_+=I.style.flexShrink*I._flexBasis,R++}if(R===0)break;let W=D-M;if(W>0&&F>0&&F<1){let $=D*F;if($<W)W=$}else if(W<0&&_>0){let $=0;for(let I=0;I<j;I++)if(!H[I])$+=Z[I].style.flexShrink;if($<1){let I=D*$;if(I>W)W=I}}let E=0;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$],y=I._flexBasis;if(W>0&&F>0)y+=W*I.style.flexGrow/F;else if(W<0&&_>0)y+=W*(I.style.flexShrink*I._flexBasis)/_;V[$]=y;let m=Math.max(0,L4(I.style,z,y,q,Y));I._mainSize=m,E+=m-y}if(E===0)break;let T=!1;for(let $=0;$<j;$++){if(H[$])continue;let I=Z[$]._mainSize-V[$];if(E>0&&I>0||E<0&&I<0)H[$]=!0,T=!0}if(!T)break}}function KN(Z){let K=Z.parent;if(!K)return!1;return(Z.style.alignSelf===V0.Auto?K.style.alignItems:Z.style.alignSelf)===V0.Stretch}function RB(Z,K){return K.style.alignSelf===V0.Auto?Z.style.alignItems:K.style.alignSelf}function _z(Z){let K=null;for(let G of Z.children){if(G._lineIndex>0)break;if(G.style.positionType===l5.Absolute)continue;if(G.style.display===H8.None)continue;if(RB(Z,G)===V0.Baseline||G.isReferenceBaseline_){K=G;break}if(K===null)K=G}if(K===null)return Z.layout.height;return _z(K)+K.layout.top}function GN(Z,K){if(!M6(Z.style.flexDirection))return!1;if(Z.style.alignItems===V0.Baseline)return!0;for(let G of K)if(G.style.alignSelf===V0.Baseline)return!0;return!1}function HK(Z,K,G){if(!Z._hasMargin)return 0;let z=J5(Z.style.margin,Az(K),G),q=J5(Z.style.margin,Nz(K),G);return z+q}function _B(Z,K,G){let z=Z.gap[K];if(z.unit===tZ.Undefined)z=Z.gap[f4.All];let q=DZ(z,G);return D0(q)?Math.max(0,q):0}function L4(Z,K,G,z,q){let Y=K?Z.minWidth:Z.minHeight,j=K?Z.maxWidth:Z.maxHeight,H=Y.unit,D=j.unit;if(H===0&&D===0)return G;let V=K?z:q,A=G;if(D===1){if(A>j.value)A=j.value}else if(D===2){let M=j.value*V/100;if(M===M&&A>M)A=M}if(H===1){if(A<Y.value)A=Y.value}else if(H===2){let M=Y.value*V/100;if(M===M&&A<M)A=M}return A}function EB(Z){for(let K of Z.children)K.layout.left=0,K.layout.top=0,K.layout.width=0,K.layout.height=0,K.isDirty_=!0,K._hasL=!1,K._hasM=!1,EB(K)}function TB(Z,K,G){for(let z of Z.children){let q=z.style.display;if(q===H8.None)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,EB(z);else if(q===H8.Contents)z.layout.left=0,z.layout.top=0,z.layout.width=0,z.layout.height=0,TB(z,K,G);else if(z.style.positionType===l5.Absolute)G.push(z);else K.push(z)}}function CB(Z,K,G,z){if(K===0)return;let q=Z.layout,Y=q.left,j=q.top,H=q.width,D=q.height,V=G+Y,A=z+j,M=Z.measureFunc!==null;q.left=oJ(Y,K,!1,M),q.top=oJ(j,K,!1,M);let F=V+H,_=A+D,R=!FB(H*K),W=!FB(D*K);q.width=oJ(F,K,M&&R,M&&!R)-oJ(V,K,!1,M),q.height=oJ(_,K,M&&W,M&&!W)-oJ(A,K,!1,M);for(let E of Z.children)CB(E,K,V,A)}function FB(Z){let K=Z-Math.floor(Z);return K<0.0001||K>0.9999}function oJ(Z,K,G,z){let q=Z*K,Y=q-Math.floor(q);if(Y<0)Y+=1;if(Y<0.0001)q=Math.floor(q);else if(Y>0.9999)q=Math.ceil(q);else if(G)q=Math.ceil(q);else if(z)q=Math.floor(q);else q=Math.floor(q)+(Y>=0.4999?1:0);return q/K}function W4(Z){if(Z===void 0)return i7;if(Z==="auto")return V8;if(typeof Z==="number")return Number.isFinite(Z)?VK(Z):i7;if(typeof Z==="string"&&Z.endsWith("%"))return X4(parseFloat(Z));let K=parseFloat(Z);return isNaN(K)?i7:VK(K)}function Vz(Z){switch(Z){case r0.Left:case r0.Start:return E7;case r0.Top:return $4;case r0.Right:case r0.End:return z4;case r0.Bottom:return A8;default:return E7}}var i7,V8,E7=0,$4=1,z4=2,A8=3,eA,OK=4,Q5=0,Fz=0,Wz=0,A6=0,Mz=0,XN,SB;var NK=P(()=>{DB();i7={unit:tZ.Undefined,value:NaN},V8={unit:tZ.Auto,value:NaN};eA=LB();XN={Config:{create:LB,destroy(){}},Node:{create:(Z)=>new DK(Z),createDefault:()=>new DK,createWithConfig:(Z)=>new DK(Z),destroy(){}}},SB=XN});function zN(){if(process.env.TERM_PROGRAM==="vscode"&&K0.level===2)return K0.level=3,!0;return!1}function UN(){if(process.env.CLAUDE_CODE_TMUX_TRUECOLOR)return!1;if(process.env.TMUX&&K0.level>2)return K0.level=2,!0;return!1}function rJ(Z,K){let G=Z;if(K.inverse)G=K0.inverse(G);if(K.strikethrough)G=K0.strikethrough(G);if(K.underline)G=K0.underline(G);if(K.italic)G=K0.italic(G);if(K.bold)G=K0.bold(G);if(K.dim)G=K0.dim(G);if(K.color)G=K5(G,K.color,"foreground");if(K.backgroundColor)G=K5(G,K.backgroundColor,"background");return G}function MK(Z,K){if(!K)return Z;return K5(Z,K,"foreground")}var EL,TL,qN,BN,K5=(Z,K,G)=>{if(!K)return Z;if(K.startsWith("ansi:"))switch(K.substring(5)){case"black":return G==="foreground"?K0.black(Z):K0.bgBlack(Z);case"red":return G==="foreground"?K0.red(Z):K0.bgRed(Z);case"green":return G==="foreground"?K0.green(Z):K0.bgGreen(Z);case"yellow":return G==="foreground"?K0.yellow(Z):K0.bgYellow(Z);case"blue":return G==="foreground"?K0.blue(Z):K0.bgBlue(Z);case"magenta":return G==="foreground"?K0.magenta(Z):K0.bgMagenta(Z);case"cyan":return G==="foreground"?K0.cyan(Z):K0.bgCyan(Z);case"white":return G==="foreground"?K0.white(Z):K0.bgWhite(Z);case"blackBright":return G==="foreground"?K0.blackBright(Z):K0.bgBlackBright(Z);case"redBright":return G==="foreground"?K0.redBright(Z):K0.bgRedBright(Z);case"greenBright":return G==="foreground"?K0.greenBright(Z):K0.bgGreenBright(Z);case"yellowBright":return G==="foreground"?K0.yellowBright(Z):K0.bgYellowBright(Z);case"blueBright":return G==="foreground"?K0.blueBright(Z):K0.bgBlueBright(Z);case"magentaBright":return G==="foreground"?K0.magentaBright(Z):K0.bgMagentaBright(Z);case"cyanBright":return G==="foreground"?K0.cyanBright(Z):K0.bgCyanBright(Z);case"whiteBright":return G==="foreground"?K0.whiteBright(Z):K0.bgWhiteBright(Z)}if(K.startsWith("#"))return G==="foreground"?K0.hex(K)(Z):K0.bgHex(K)(Z);if(K.startsWith("ansi256")){let z=BN.exec(K);if(!z)return Z;let q=Number(z[1]);return G==="foreground"?K0.ansi256(q)(Z):K0.bgAnsi256(q)(Z)}if(K.startsWith("rgb")){let z=qN.exec(K);if(!z)return Z;let q=Number(z[1]),Y=Number(z[2]),j=Number(z[3]);return G==="foreground"?K0.rgb(q,Y,j)(Z):K0.bgRgb(q,Y,j)(Z)}return Z};var _6=P(()=>{Lz();EL=zN(),TL=UN(),qN=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,BN=/^ansi256\(\s?(\d+)\s?\)$/});import{spawnSync as YN}from"child_process";function jN(){if(!process.env.TMUX)return!1;if(process.env.TERM_PROGRAM!=="iTerm.app")return!1;let Z=process.env.TERM??"";return!Z.startsWith("screen")&&!Z.startsWith("tmux")}function ON(){if(F6=jN(),F6)return;if(!process.env.TMUX)return;if(process.env.TERM_PROGRAM)return;let Z;try{Z=YN("tmux",["display-message","-p","#{client_control_mode}"],{encoding:"utf8",timeout:2000})}catch{return}if(Z.status!==0)return;F6=Z.stdout.trim()==="1"}function yB(){if(F6===void 0)ON();return F6??!1}function HN(){if(IB(process.env.CLAUDE_CODE_NO_FLICKER))return!1;if(N8(process.env.CLAUDE_CODE_NO_FLICKER))return!0;if(yB()){if(!vB)vB=!0,KZ("fullscreen disabled: tmux -CC (iTerm2 integration mode) detected · set CLAUDE_CODE_NO_FLICKER=1 to override");return!1}let Z=QK().flickerFreeMode;if(Z!==void 0)return Z;return!1}function yL(){return!N8(process.env.CLAUDE_CODE_DISABLE_MOUSE)}function mB(){return N8(process.env.CLAUDE_CODE_DISABLE_MOUSE_CLICKS)}function DN(){return bB()&&HN()}async function mL(){if(!process.env.TMUX)return null;if(!DN()||yB())return null;if(xB)return null;xB=!0;let{stdout:Z,code:K}=await U4("tmux",["show","-Av","mouse"],{useCwd:!1,timeout:2000});if(K!==0||Z.trim()==="on")return null;return"tmux detected · scroll with PgUp/PgDn · or add 'set -g mouse on' to ~/.tmux.conf for wheel scroll"}var vB=!1,xB=!1,F6;var fB=P(()=>{$z();o3();G5();Rz();PB()});function eJ(Z){let K="ground",G="",z=Z?.x10Mouse??!1;return{feed(q){let Y=wB(q,K,G,!1,z);return K=Y.state.state,G=Y.state.buffer,Y.tokens},flush(){let q=wB("",K,G,!0,z);return K=q.state.state,G=q.state.buffer,q.tokens},reset(){K="ground",G=""},buffer(){return G}}}function wB(Z,K,G,z,q){let Y=[],j={state:K,buffer:""},H=G+Z,D=0,V=0,A=0,M=()=>{if(D>V){let _=H.slice(V,D);if(_)Y.push({type:"text",value:_})}V=D},F=(_)=>{if(_)Y.push({type:"sequence",value:_});j.state="ground",V=D};while(D<H.length){let _=H.charCodeAt(D);switch(j.state){case"ground":if(_===k4.ESC)M(),A=D,j.state="escape",D++;else D++;break;case"escape":if(_===M8.CSI)j.state="csi",D++;else if(_===M8.OSC)j.state="osc",D++;else if(_===M8.DCS)j.state="dcs",D++;else if(_===M8.APC)j.state="apc",D++;else if(_===79)j.state="ss3",D++;else if(_K(_))j.state="escapeIntermediate",D++;else if(Ez(_))D++,F(H.slice(A,D));else if(_===k4.ESC)F(H.slice(A,D)),A=D,j.state="escape",D++;else j.state="ground",V=A;break;case"escapeIntermediate":if(_K(_))D++;else if(Ez(_))D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"csi":if(q&&_===77&&D-A===2&&(D+1>=H.length||H.charCodeAt(D+1)>=32)&&(D+2>=H.length||H.charCodeAt(D+2)>=32)&&(D+3>=H.length||H.charCodeAt(D+3)>=32)){if(D+4<=H.length)D+=4,F(H.slice(A,D));else D=H.length;break}if(gB(_))D++,F(H.slice(A,D));else if(kB(_)||_K(_))D++;else j.state="ground",V=A;break;case"ss3":if(_>=64&&_<=126)D++,F(H.slice(A,D));else j.state="ground",V=A;break;case"osc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break;case"dcs":case"apc":if(_===k4.BEL)D++,F(H.slice(A,D));else if(_===k4.ESC&&D+1<H.length&&H.charCodeAt(D+1)===M8.ST)D+=2,F(H.slice(A,D));else D++;break}}if(j.state==="ground")M();else if(z){let _=H.slice(A);if(_)Y.push({type:"sequence",value:_});j.state="ground"}else j.buffer=H.slice(A);return{tokens:Y,state:j}}var FK=P(()=>{W6();_8()});import{Buffer as VN}from"buffer";function hB(Z){return{kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!0}}function CN(Z){if(Z.startsWith("\x1B[")){let K;if(K=FN.exec(Z))return{type:"decrpm",mode:parseInt(K[1],10),status:parseInt(K[2],10)};if(K=WN.exec(Z))return{type:"da1",params:uB(K[1])};if(K=LN.exec(Z))return{type:"da2",params:uB(K[1])};if(K=$N.exec(Z))return{type:"kittyKeyboard",flags:parseInt(K[1],10)};if(K=RN.exec(Z))return{type:"cursorPosition",row:parseInt(K[1],10),col:parseInt(K[2],10)};return null}if(Z.startsWith("\x1B]")){let K=EN.exec(Z);if(K)return{type:"osc",code:parseInt(K[1],10),data:K[2]}}if(Z.startsWith("\x1BP")){let K=TN.exec(Z);if(K)return{type:"xtversion",name:K[1]}}return null}function uB(Z){if(!Z)return[];return Z.split(";").map((K)=>parseInt(K,10))}function SN(Z){if(VN.isBuffer(Z))if(Z[0]>127&&Z[1]===void 0)return Z[0]-=128,"\x1B"+String(Z);else return String(Z);else if(Z!==void 0&&typeof Z!=="string")return String(Z);else if(!Z)return"";else return Z}function nB(Z,K=""){let G=K===null,z=G?"":SN(K),q=Z._tokenizer??eJ({x10Mouse:!0}),Y=G?q.flush():q.feed(z),j=[],H=Z.mode==="IN_PASTE",D=Z.pasteBuffer;for(let A of Y)if(A.type==="sequence")if(A.value===dB)H=!0,D="";else if(A.value===aB)j.push(hB(D)),H=!1,D="";else if(H)D+=A.value;else{let M=CN(A.value);if(M)j.push({kind:"response",sequence:A.value,response:M});else{let F=lB(A.value);if(F)j.push(F);else j.push(Tz(A.value))}}else if(A.type==="text")if(H)D+=A.value;else if(/^\[<\d+;\d+;\d+[Mm]$/.test(A.value)||/^\[M[\x60-\x7f][\x20-\uffff]{2}$/.test(A.value)){let M="\x1B"+A.value,F=lB(M);j.push(F??Tz(M))}else j.push(Tz(A.value));if(G&&H&&D)j.push(hB(D)),H=!1,D="";let V={mode:H?"IN_PASTE":"NORMAL",incomplete:q.buffer(),pasteBuffer:D,_tokenizer:q};return[j,V]}function pB(Z){let K=Math.max(Z,1)-1;return{shift:!!(K&1),meta:!!(K&2),ctrl:!!(K&4),super:!!(K&8)}}function bN(Z){return Z>=57344&&Z<=63743||Z>=983040&&Z<=1048573||Z>=1048576&&Z<=1114109}function cB(Z){switch(Z){case 9:return"tab";case 13:return"return";case 27:return"escape";case 32:return"space";case 127:return"backspace";case 57399:return"0";case 57400:return"1";case 57401:return"2";case 57402:return"3";case 57403:return"4";case 57404:return"5";case 57405:return"6";case 57406:return"7";case 57407:return"8";case 57408:return"9";case 57409:return".";case 57410:return"/";case 57411:return"*";case 57412:return"-";case 57413:return"+";case 57414:return"return";case 57415:return"=";default:if(Z>=32&&Z<=126)return String.fromCharCode(Z).toLowerCase();if(Z>31&&Z!==127&&(Z<128||Z>159)&&Z<=1114111&&(Z<55296||Z>57343)&&!bN(Z))return String.fromCodePoint(Z);return}}function lB(Z){let K=iB.exec(Z);if(!K)return null;let G=parseInt(K[1],10);if((G&64)!==0)return null;return{kind:"mouse",button:G,action:K[4]==="M"?"press":"release",col:parseInt(K[2],10),row:parseInt(K[3],10),sequence:Z}}function Tz(Z=""){let K,G={kind:"key",name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,super:!1,sequence:Z,raw:Z,isPasted:!1};G.sequence=G.sequence||Z||G.name;let z;if(z=MN.exec(Z)){let q=parseInt(z[1],10),Y=z[2]?parseInt(z[2],10):1,j=pB(Y);return{kind:"key",name:cB(q),fn:!1,ctrl:j.ctrl,meta:j.meta,shift:j.shift,option:!1,super:j.super,sequence:Z,raw:Z,isPasted:!1}}if(z=_N.exec(Z)){let q=pB(parseInt(z[1],10));return{kind:"key",name:cB(parseInt(z[2],10)),fn:!1,ctrl:q.ctrl,meta:q.meta,shift:q.shift,option:!1,super:q.super,sequence:Z,raw:Z,isPasted:!1}}if(z=iB.exec(Z)){let q=parseInt(z[1],10);if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z.length===6&&Z.startsWith("\x1B[M")){let q=Z.charCodeAt(3)-32;if((q&67)===64)return q4(Z,"wheelup",!1);if((q&67)===65)return q4(Z,"wheeldown",!1);return q4(Z,"mouse",!1)}if(Z==="\r")G.raw=void 0,G.name="return";else if(Z===`
|
|
2
2
|
`)G.name="enter";else if(Z==="\t")G.name="tab";else if(Z==="\b"||Z==="\x1B\b")G.name="backspace",G.meta=Z.charAt(0)==="\x1B";else if(Z===""||Z==="\x1B")G.name="backspace",G.meta=Z.charAt(0)==="\x1B";else if(Z==="\x1B"||Z==="\x1B\x1B")G.name="escape",G.meta=Z.length===2;else if(Z===" "||Z==="\x1B ")G.name="space",G.meta=Z.length===2;else if(Z==="\x1F")G.name="_",G.ctrl=!0;else if(Z<="\x1A"&&Z.length===1)G.name=String.fromCharCode(Z.charCodeAt(0)+97-1),G.ctrl=!0;else if(Z.length===1&&Z>="0"&&Z<="9")G.name="number";else if(Z.length===1&&Z>="a"&&Z<="z")G.name=Z;else if(Z.length===1&&Z>="A"&&Z<="Z")G.name=Z.toLowerCase(),G.shift=!0;else if(K=AN.exec(Z))G.meta=!0,G.shift=/^[A-Z]$/.test(K[1]);else if(K=NN.exec(Z)){let q=[...Z];if(q[0]==="\x1B"&&q[1]==="\x1B")G.option=!0;let Y=[K[1],K[2],K[4],K[6]].filter(Boolean).join(""),j=(K[3]||K[5]||1)-1;G.ctrl=!!(j&4),G.meta=!!(j&2),G.super=!!(j&8),G.shift=!!(j&1),G.code=Y,G.name=tB[Y],G.shift=vN(Y)||G.shift,G.ctrl=xN(Y)||G.ctrl}if(G.raw==="\x1Bb")G.meta=!0,G.name="left";else if(G.raw==="\x1Bf")G.meta=!0,G.name="right";switch(Z){case"\x1B[1~":return q4(Z,"home",!1);case"\x1B[4~":return q4(Z,"end",!1);case"\x1B[5~":return q4(Z,"pageup",!1);case"\x1B[6~":return q4(Z,"pagedown",!1);case"\x1B[1;5D":return q4(Z,"left",!0);case"\x1B[1;5C":return q4(Z,"right",!0)}return G}function q4(Z,K,G){return{kind:"key",name:K,ctrl:G,meta:!1,shift:!1,option:!1,super:!1,fn:!1,sequence:Z,raw:Z,isPasted:!1}}var AN,NN,MN,_N,FN,WN,LN,$N,RN,EN,TN,iB,sB,tB,oB,vN=(Z)=>{return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(Z)},xN=(Z)=>{return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(Z)};var Cz=P(()=>{_8();FK();AN=/^(?:\x1b)([a-zA-Z0-9])$/,NN=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,MN=/^\x1b\[(\d+)(?:;(\d+))?u/,_N=/^\x1b\[27;(\d+);(\d+)~/,FN=/^\x1b\[\?(\d+);(\d+)\$y$/,WN=/^\x1b\[\?([\d;]*)c$/,LN=/^\x1b\[>([\d;]*)c$/,$N=/^\x1b\[\?(\d+)u$/,RN=/^\x1b\[\?(\d+);(\d+)R$/,EN=/^\x1b\](\d+);(.*?)(?:\x07|\x1b\\)$/s,TN=/^\x1bP>\|(.*?)(?:\x07|\x1b\\)$/s,iB=/^\x1b\[<(\d+);(\d+);(\d+)([Mm])$/;sB={mode:"NORMAL",incomplete:"",pasteBuffer:""};tB={OP:"f1",OQ:"f2",OR:"f3",OS:"f4",Op:"0",Oq:"1",Or:"2",Os:"3",Ot:"4",Ou:"5",Ov:"6",Ow:"7",Ox:"8",Oy:"9",Oj:"*",Ok:"+",Ol:",",Om:"-",On:".",Oo:"/",OM:"return","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"},oB=[...Object.values(tB).filter((Z)=>Z.length>1),"escape","backspace","wheelup","wheeldown","mouse"]});function IN(Z){let K={upArrow:Z.name==="up",downArrow:Z.name==="down",leftArrow:Z.name==="left",rightArrow:Z.name==="right",pageDown:Z.name==="pagedown",pageUp:Z.name==="pageup",wheelUp:Z.name==="wheelup",wheelDown:Z.name==="wheeldown",home:Z.name==="home",end:Z.name==="end",return:Z.name==="return",escape:Z.name==="escape",fn:Z.fn,ctrl:Z.ctrl,shift:Z.shift,tab:Z.name==="tab",backspace:Z.name==="backspace",delete:Z.name==="delete",meta:Z.meta||Z.name==="escape"||Z.option,super:Z.super},G=Z.ctrl?Z.name:Z.sequence;if(G===void 0)G="";if(Z.ctrl&&G==="space")G=" ";if(Z.code&&!Z.name)G="";if(!Z.name&&/^\[<\d+;\d+;\d+[Mm]/.test(G))G="";if(G.startsWith("\x1B"))G=G.slice(1);let z=!1;if(/^\[\d/.test(G)&&G.endsWith("u")){if(!Z.name)G="";else G=Z.name==="space"?" ":Z.name==="escape"?"":Z.name;z=!0}if(G.startsWith("[27;")&&G.endsWith("~")){if(!Z.name)G="";else G=Z.name==="space"?" ":Z.name==="escape"?"":Z.name;z=!0}if(G.startsWith("O")&&G.length===2&&Z.name&&Z.name.length===1)G=Z.name,z=!0;if(!z&&Z.name&&oB.includes(Z.name))G="";if(G.length===1&&typeof G[0]==="string"&&G[0]>="A"&&G[0]<="Z")K.shift=!0;return[K,G]}var WK;var Sz=P(()=>{Cz();h5();WK=class WK extends G4{keypress;key;input;constructor(Z){super();let[K,G]=IN(Z);this.keypress=Z,this.key=K,this.input=G}}});var L6;var vz=P(()=>{h5();L6=class L6 extends G4{type;constructor(Z){super();this.type=Z}}});function Iz(Z,K){var G=Z.length;Z.push(K);Z:for(;0<G;){var z=G-1>>>1,q=Z[z];if(0<LK(q,K))Z[z]=K,Z[G]=q,G=z;else break Z}}function g4(Z){return Z.length===0?null:Z[0]}function TK(Z){if(Z.length===0)return null;var K=Z[0],G=Z.pop();if(G!==K){Z[0]=G;Z:for(var z=0,q=Z.length,Y=q>>>1;z<Y;){var j=2*(z+1)-1,H=Z[j],D=j+1,V=Z[D];if(0>LK(H,G))D<q&&0>LK(V,H)?(Z[z]=V,Z[D]=G,z=D):(Z[z]=H,Z[j]=G,z=j);else if(D<q&&0>LK(V,G))Z[z]=V,Z[D]=G,z=D;else break Z}}return K}function LK(Z,K){var G=Z.sortIndex-K.sortIndex;return G!==0?G:Z.id-K.id}function RK(Z){for(var K=g4(X5);K!==null;){if(K.callback===null)TK(X5);else if(K.startTime<=Z)TK(X5),K.sortIndex=K.expirationTime,Iz(F8,K);else break;K=g4(X5)}}function kz(Z){if(R6=!1,RK(Z),!$6)if(g4(F8)!==null)$6=!0,JQ||(JQ=!0,ZQ());else{var K=g4(X5);K!==null&&gz(kz,K.startTime-Z)}}function QY(){return wz?!0:h4()-JY<yN?!1:!0}function bz(){if(wz=!1,JQ){var Z=h4();JY=Z;var K=!0;try{Z:{$6=!1,R6&&(R6=!1,ZY(E6),E6=-1),mz=!0;var G=xz;try{J:{RK(Z);for(B4=g4(F8);B4!==null&&!(B4.expirationTime>Z&&QY());){var z=B4.callback;if(typeof z==="function"){B4.callback=null,xz=B4.priorityLevel;var q=z(B4.expirationTime<=Z);if(Z=h4(),typeof q==="function"){B4.callback=q,RK(Z),K=!0;break J}B4===g4(F8)&&TK(F8),RK(Z)}else TK(F8);B4=g4(F8)}if(B4!==null)K=!0;else{var Y=g4(X5);Y!==null&&gz(kz,Y.startTime-Z),K=!1}}break Z}finally{B4=null,xz=G,mz=!1}K=void 0}}finally{K?ZQ():JQ=!1}}}function gz(Z,K){E6=eB(function(){Z(h4())},K)}var h4=void 0,Pz,$K,yz,F8,X5,PN=1,B4=null,xz=3,mz=!1,$6=!1,R6=!1,wz=!1,eB,ZY,rB,JQ=!1,E6=-1,yN=5,JY=-1,ZQ,EK,fz,hz=5,uz=1,CK=3,pz=2,cz=function(Z){Z.callback=null},lz=function(){wz=!0},SK=function(Z,K,G){var z=h4();switch(typeof G==="object"&&G!==null?(G=G.delay,G=typeof G==="number"&&0<G?z+G:z):G=z,Z){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5000}return q=G+q,Z={id:PN++,callback:K,priorityLevel:Z,startTime:G,expirationTime:q,sortIndex:-1},G>z?(Z.sortIndex=G,Iz(X5,Z),g4(F8)===null&&Z===g4(X5)&&(R6?(ZY(E6),E6=-1):R6=!0,gz(kz,G-z))):(Z.sortIndex=q,Iz(F8,Z),$6||mz||($6=!0,JQ||(JQ=!0,ZQ()))),Z},dz;var GY=P(()=>{if(typeof performance==="object"&&typeof performance.now==="function")Pz=performance,h4=function(){return Pz.now()};else $K=Date,yz=$K.now(),h4=function(){return $K.now()-yz};F8=[],X5=[],eB=typeof setTimeout==="function"?setTimeout:null,ZY=typeof clearTimeout==="function"?clearTimeout:null,rB=typeof setImmediate<"u"?setImmediate:null;if(typeof rB==="function")ZQ=function(){rB(bz)};else if(typeof MessageChannel<"u")EK=new MessageChannel,fz=EK.port2,EK.port1.onmessage=bz,ZQ=function(){fz.postMessage(null)};else ZQ=function(){eB(bz,0)};dz=QY});var XY=g5((nL,T6)=>{GY();var az=U0(n0());T6.exports=function(Z){function K(J,Q,X,U){return new jD(J,Q,X,U)}function G(){}function z(J){var Q="https://react.dev/errors/"+J;if(1<arguments.length){Q+="?args[]="+encodeURIComponent(arguments[1]);for(var X=2;X<arguments.length;X++)Q+="&args[]="+encodeURIComponent(arguments[X])}return"Minified React error #"+J+"; visit "+Q+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function q(J){var Q=J,X=J;if(J.alternate)for(;Q.return;)Q=Q.return;else{J=Q;do Q=J,(Q.flags&4098)!==0&&(X=Q.return),J=Q.return;while(J)}return Q.tag===3?X:null}function Y(J){if(q(J)!==J)throw Error(z(188))}function j(J){var Q=J.alternate;if(!Q){if(Q=q(J),Q===null)throw Error(z(188));return Q!==J?null:J}for(var X=J,U=Q;;){var B=X.return;if(B===null)break;var O=B.alternate;if(O===null){if(U=B.return,U!==null){X=U;continue}break}if(B.child===O.child){for(O=B.child;O;){if(O===X)return Y(B),J;if(O===U)return Y(B),Q;O=O.sibling}throw Error(z(188))}if(X.return!==U.return)X=B,U=O;else{for(var N=!1,L=B.child;L;){if(L===X){N=!0,X=B,U=O;break}if(L===U){N=!0,U=B,X=O;break}L=L.sibling}if(!N){for(L=O.child;L;){if(L===X){N=!0,X=O,U=B;break}if(L===U){N=!0,U=O,X=B;break}L=L.sibling}if(!N)throw Error(z(189))}}if(X.alternate!==U)throw Error(z(190))}if(X.tag!==3)throw Error(z(188));return X.stateNode.current===X?J:Q}function H(J){var Q=J.tag;if(Q===5||Q===26||Q===27||Q===6)return J;for(J=J.child;J!==null;){if(Q=H(J),Q!==null)return Q;J=J.sibling}return null}function D(J){var Q=J.tag;if(Q===5||Q===26||Q===27||Q===6)return J;for(J=J.child;J!==null;){if(J.tag!==4&&(Q=D(J),Q!==null))return Q;J=J.sibling}return null}function V(J){if(J===null||typeof J!=="object")return null;return J=G3&&J[G3]||J["@@iterator"],typeof J==="function"?J:null}function A(J){if(J==null)return null;if(typeof J==="function")return J.$$typeof===VD?null:J.displayName||J.name||null;if(typeof J==="string")return J;switch(J){case CJ:return"Fragment";case $X:return"Profiler";case Q3:return"StrictMode";case EX:return"Suspense";case TX:return"SuspenseList";case SX:return"Activity"}if(typeof J==="object")switch(J.$$typeof){case TJ:return"Portal";case l8:return J.displayName||"Context";case K3:return(J._context.displayName||"Context")+".Consumer";case RX:var Q=J.render;return J=J.displayName,J||(J=Q.displayName||Q.name||"",J=J!==""?"ForwardRef("+J+")":"ForwardRef"),J;case CX:return Q=J.displayName||null,Q!==null?Q:A(J.type)||"Memo";case d8:Q=J._payload,J=J._init;try{return A(J(Q))}catch(X){}}return null}function M(J){return{current:J}}function F(J){0>xJ||(J.current=yX[xJ],yX[xJ]=null,xJ--)}function _(J,Q){xJ++,yX[xJ]=J.current,J.current=Q}function R(J){return J>>>=0,J===0?32:31-(cV(J)/lV|0)|0}function W(J){var Q=J&42;if(Q!==0)return Q;switch(J&-J){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return J&261888;case 262144:case 524288:case 1048576:case 2097152:return J&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return J&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return J}}function E(J,Q,X){var U=J.pendingLanes;if(U===0)return 0;var B=0,O=J.suspendedLanes,N=J.pingedLanes;J=J.warmLanes;var L=U&134217727;return L!==0?(U=L&~O,U!==0?B=W(U):(N&=L,N!==0?B=W(N):X||(X=L&~J,X!==0&&(B=W(X))))):(L=U&~O,L!==0?B=W(L):N!==0?B=W(N):X||(X=U&~J,X!==0&&(B=W(X)))),B===0?0:Q!==0&&Q!==B&&(Q&O)===0&&(O=B&-B,X=Q&-Q,O>=X||O===32&&(X&4194048)!==0)?Q:B}function T(J,Q){return(J.pendingLanes&~(J.suspendedLanes&~J.pingedLanes)&Q)===0}function $(J,Q){switch(J){case 1:case 2:case 4:case 8:case 64:return Q+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return Q+5000;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function I(){var J=b9;return b9<<=1,(b9&62914560)===0&&(b9=4194304),J}function y(J){for(var Q=[],X=0;31>X;X++)Q.push(J);return Q}function m(J,Q){J.pendingLanes|=Q,Q!==268435456&&(J.suspendedLanes=0,J.pingedLanes=0,J.warmLanes=0)}function b(J,Q,X,U,B,O){var N=J.pendingLanes;J.pendingLanes=X,J.suspendedLanes=0,J.pingedLanes=0,J.warmLanes=0,J.expiredLanes&=X,J.entangledLanes&=X,J.errorRecoveryDisabledLanes&=X,J.shellSuspendCounter=0;var{entanglements:L,expirationTimes:x,hiddenUpdates:k}=J;for(X=N&~X;0<X;){var d=31-u7(X),p=1<<d;L[d]=0,x[d]=-1;var t=k[d];if(t!==null)for(k[d]=null,d=0;d<t.length;d++){var A0=t[d];A0!==null&&(A0.lane&=-536870913)}X&=~p}U!==0&&u(J,U,0),O!==0&&B===0&&J.tag!==0&&(J.suspendedLanes|=O&~(N&~Q))}function u(J,Q,X){J.pendingLanes|=Q,J.suspendedLanes&=~Q;var U=31-u7(Q);J.entangledLanes|=Q,J.entanglements[U]=J.entanglements[U]|1073741824|X&261930}function f(J,Q){var X=J.entangledLanes|=Q;for(J=J.entanglements;X;){var U=31-u7(X),B=1<<U;B&Q|J[U]&Q&&(J[U]|=Q),X&=~B}}function w(J,Q){var X=Q&-Q;return X=(X&42)!==0?1:i(X),(X&(J.suspendedLanes|Q))!==0?0:X}function i(J){switch(J){case 2:J=1;break;case 8:J=4;break;case 32:J=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:J=128;break;case 268435456:J=134217728;break;default:J=0}return J}function h(J){return J&=-J,2<J?8<J?(J&134217727)!==0?32:268435456:8:2}function l(J){if(typeof nV==="function"&&tV(J),p7&&typeof p7.setStrictMode==="function")try{p7.setStrictMode(rQ,J)}catch(Q){}}function s(J,Q){return J===Q&&(J!==0||1/J===1/Q)||J!==J&&Q!==Q}function n(J){if(wX===void 0)try{throw Error()}catch(X){var Q=X.stack.trim().match(/\n( *(at )?)/);wX=Q&&Q[1]||"",x3=-1<X.stack.indexOf(`
|
|
3
3
|
at`)?" (<anonymous>)":-1<X.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
4
4
|
`+wX+J+x3}function N0(J,Q){if(!J||kX)return"";kX=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var U={DetermineComponentFrameRoot:function(){try{if(Q){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(A0){var t=A0}Reflect.construct(J,[],p)}else{try{p.call()}catch(A0){t=A0}J.call(p.prototype)}}else{try{throw Error()}catch(A0){t=A0}(p=J())&&typeof p.catch==="function"&&p.catch(function(){})}}catch(A0){if(A0&&t&&typeof A0.stack==="string")return[A0.stack,t.stack]}return[null,null]}};U.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var B=Object.getOwnPropertyDescriptor(U.DetermineComponentFrameRoot,"name");B&&B.configurable&&Object.defineProperty(U.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var O=U.DetermineComponentFrameRoot(),N=O[0],L=O[1];if(N&&L){var x=N.split(`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{j0 as H,k0 as _,l0 as Y,m0 as y}from"./cli-0.1.
|
|
1
|
+
import{j0 as H,k0 as _,l0 as Y,m0 as y}from"./cli-0.1.15-q35rzjnz.mjs";import{J5 as M,L5 as v}from"./cli-0.1.15-4892kydg.mjs";import{Cea as F,Eea as f,Yea as V,cfa as R,mfa as P,qfa as p,wfa as x,zfa as S}from"./cli-0.1.15-nk50qhet.mjs";import{Dfa as U,Nfa as g}from"./cli-0.1.15-9pe3dbgs.mjs";import{Eja as D,Fja as W,mla as A}from"./cli-0.1.15-12azgmva.mjs";import{bma as L}from"./cli-0.1.15-mhbfhhf6.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function s(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function o(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});var r;var b=L(()=>{r={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function h(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function Gq(q){if($=q,J>0&&K===null)E()}function Jq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Kq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Qq(){return $!==null}function Xq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function $q(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,h()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var m=L(()=>{f();v();g();Z=new Map});
|
|
2
2
|
export{k as WO,s as XO,o as YO,u as ZO,Gq as _O,Jq as $O,Kq as aP,Qq as bP,Xq as cP,$q as dP,m as eP,r as fP,b as gP};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{bma as M}from"./cli-0.1.
|
|
1
|
+
import{bma as M}from"./cli-0.1.15-mhbfhhf6.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
|
|
2
2
|
export{W as $ca,Q as ada,K as bda,X as cda,Y as dda,Z as eda,y as fda,G as gda,h as hda,w as ida};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{k6 as M,m6 as K,n6 as Q}from"./cli-0.1.
|
|
1
|
+
import{k6 as M,m6 as K,n6 as Q}from"./cli-0.1.15-4892kydg.mjs";import{bma as O}from"./cli-0.1.15-mhbfhhf6.mjs";function X(k){if(k<=1)return!1;try{return process.kill(k,0),!0}catch{return!1}}async function Y(k,z=10){if(process.platform==="win32"){let B=`
|
|
2
2
|
$pid = ${String(k)}
|
|
3
3
|
$ancestors = @()
|
|
4
4
|
for ($i = 0; $i -lt ${z}; $i++) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{wg as Vq,xg as fq}from"./cli-0.1.
|
|
1
|
+
import{wg as Vq,xg as fq}from"./cli-0.1.15-gn4wnxx3.mjs";import{FS as o,GS as pq,IS as Qq,KS as Uq,LS as Hq,qS as Pq,rS as mq}from"./cli-0.1.15-8v8bskr0.mjs";import{AU as M,CU as g,QS as Sq,fV as Wq}from"./cli-0.1.15-68f0jtkh.mjs";import{EV as Z,FV as F,GV as Jq}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as _q}from"./cli-0.1.15-tp614m5f.mjs";import{Qda as s,Rda as jq}from"./cli-0.1.15-11sdbfxy.mjs";import{Zla as Lq,bma as wq}from"./cli-0.1.15-mhbfhhf6.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
2
|
export{lq as Lf,oq as Mf,sq as Nf,aq as Of,Tq as Pf};
|