claude-code-best 1.1.0 → 1.2.0
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/README.md +66 -75
- package/dist/{chunk-q5b91nhh.js → chunk-01qzvbp3.js} +8 -2
- package/dist/{chunk-f9b4wb89.js → chunk-053bj0m0.js} +79 -73
- package/dist/chunk-05tt9tt1.js +653 -0
- package/dist/chunk-06sq1vz3.js +403 -0
- package/dist/chunk-07069jq1.js +30 -0
- package/dist/chunk-0dac8msw.js +135 -0
- package/dist/{chunk-m5eb5pt2.js → chunk-0ja0y3at.js} +6 -6
- package/dist/chunk-0jzdwbdc.js +14 -0
- package/dist/chunk-0nrq46nf.js +313 -0
- package/dist/chunk-0qz705wz.js +192 -0
- package/dist/{chunk-m94pnhfa.js → chunk-0rn4v8sg.js} +38 -28
- package/dist/{chunk-1cbn5kxf.js → chunk-0rpb2bdp.js} +3 -2
- package/dist/{chunk-zz21rvr7.js → chunk-127cmycn.js} +8 -5
- package/dist/chunk-12vk6z7z.js +109 -0
- package/dist/{chunk-vybkxr18.js → chunk-15y014gg.js} +41 -31
- package/dist/{chunk-44fpr6jq.js → chunk-168xb8v1.js} +4 -2
- package/dist/{chunk-8hsyagr8.js → chunk-16bnxyz0.js} +1 -1
- package/dist/{chunk-wsqhnjj3.js → chunk-1atfzck5.js} +24 -24
- package/dist/chunk-1cbhkqxg.js +310 -0
- package/dist/chunk-1csq8bf1.js +295 -0
- package/dist/{chunk-0e1xsncc.js → chunk-1cwdhk7a.js} +1 -1
- package/dist/{chunk-c8jv6rtj.js → chunk-1ebqpwhn.js} +74 -68
- package/dist/{chunk-vyd8jzde.js → chunk-1mh5vt6v.js} +91 -83
- package/dist/chunk-1qf125vg.js +123 -0
- package/dist/{chunk-ryj80g9p.js → chunk-1sp6713v.js} +131 -176
- package/dist/{chunk-d18z9pna.js → chunk-1thgdca1.js} +2 -2
- package/dist/chunk-1z1gfx2c.js +443 -0
- package/dist/{chunk-wc6wwwyb.js → chunk-21z7acxh.js} +3 -3
- package/dist/chunk-229pcf6p.js +509 -0
- package/dist/chunk-238g70xa.js +1 -1
- package/dist/{chunk-vpb723tx.js → chunk-23ad5t92.js} +5 -5
- package/dist/chunk-28043j1k.js +68 -0
- package/dist/chunk-299r6d9v.js +141 -0
- package/dist/{chunk-a6s8wnhe.js → chunk-2bw5nqsw.js} +4 -4
- package/dist/chunk-2mxstrx5.js +445 -0
- package/dist/{chunk-9g827w4j.js → chunk-2q39ej51.js} +6 -6
- package/dist/chunk-2qwgfjcj.js +5370 -0
- package/dist/chunk-2ss23j0q.js +3587 -0
- package/dist/{chunk-hy3g1nv8.js → chunk-2wvxddsg.js} +9 -7
- package/dist/chunk-2x2aznpc.js +134 -0
- package/dist/{chunk-bqq4zamw.js → chunk-2ys5wcxk.js} +3 -3
- package/dist/{chunk-x51h62jq.js → chunk-3cvcwgsr.js} +74 -68
- package/dist/{chunk-mecs0gpc.js → chunk-3xv7rjsy.js} +14 -11
- package/dist/chunk-42x5tjk2.js +42 -0
- package/dist/{chunk-q6rax9kh.js → chunk-436r0x2n.js} +5 -5
- package/dist/{chunk-zgrg0wk3.js → chunk-44q4jkwa.js} +27 -67
- package/dist/{chunk-zq9xa1xe.js → chunk-44w22kyx.js} +104 -139
- package/dist/{chunk-yhd82045.js → chunk-46fcr28b.js} +30 -9
- package/dist/{chunk-wm2f2f1z.js → chunk-474y75ga.js} +2 -2
- package/dist/{chunk-6fkwz9yk.js → chunk-478rpnqm.js} +8 -8
- package/dist/{chunk-rj86xm6z.js → chunk-48w0df8a.js} +1 -1
- package/dist/{chunk-v4t6dyyh.js → chunk-4cp6193g.js} +2 -2
- package/dist/chunk-4d0de73v.js +436 -0
- package/dist/chunk-4eecm90d.js +1030 -0
- package/dist/{chunk-q7tvkc86.js → chunk-4f4ccg1h.js} +10 -115
- package/dist/chunk-4h102wt5.js +65 -0
- package/dist/{chunk-3mgywd32.js → chunk-4hv90qcz.js} +1 -1
- package/dist/{chunk-bcrxtdcy.js → chunk-4jcqmf9w.js} +39 -29
- package/dist/{chunk-v8xem37v.js → chunk-4kk7vxed.js} +8 -6
- package/dist/chunk-4nspekjp.js +69 -0
- package/dist/chunk-4xmb7bvy.js +125 -0
- package/dist/{chunk-427m88ms.js → chunk-4xy0c1dz.js} +8 -8
- package/dist/{chunk-41mpwc8h.js → chunk-53c9gb9c.js} +19 -15
- package/dist/{chunk-bpts9jbq.js → chunk-53zsn91p.js} +39 -31
- package/dist/{chunk-t7cbhqd2.js → chunk-548g1d6z.js} +104 -119
- package/dist/chunk-559yvwh1.js +63 -0
- package/dist/chunk-5a6ahhvy.js +594 -0
- package/dist/{chunk-5tx8dsy0.js → chunk-5c6man70.js} +9531 -18004
- package/dist/chunk-5hb5ev7b.js +74 -0
- package/dist/{chunk-ggqx30m9.js → chunk-5z28bqne.js} +23 -311
- package/dist/{chunk-p7g7pf3f.js → chunk-61ahbn23.js} +8 -6
- package/dist/{chunk-0sb5scxx.js → chunk-652wnf1z.js} +5 -5
- package/dist/{chunk-7tqhx6dr.js → chunk-66jkaz3q.js} +109 -213
- package/dist/{chunk-q25bjaev.js → chunk-677as3nh.js} +2 -2
- package/dist/chunk-68ksfahx.js +386 -0
- package/dist/{chunk-xs0hwvpa.js → chunk-68pfxvxt.js} +14 -9
- package/dist/{chunk-epmheefa.js → chunk-69hys77v.js} +8 -8
- package/dist/{chunk-9g2ncq68.js → chunk-6ayqcq3h.js} +120 -127
- package/dist/chunk-6kpbgc5w.js +23 -0
- package/dist/chunk-6mpsxxsf.js +362 -0
- package/dist/chunk-6nze0g86.js +119 -0
- package/dist/{chunk-v1mgv1et.js → chunk-6p4cyhb3.js} +4 -3
- package/dist/{chunk-2w8633e3.js → chunk-6t62dbnb.js} +61 -100
- package/dist/chunk-6t87a3q6.js +2842 -0
- package/dist/{chunk-6mz58s8p.js → chunk-6xana182.js} +18 -14
- package/dist/{chunk-fpf4cgbt.js → chunk-7bfach0x.js} +9 -9
- package/dist/{chunk-n7158r58.js → chunk-7f1ggjr2.js} +75 -69
- package/dist/chunk-7fxjmmfw.js +1172 -0
- package/dist/{chunk-ckcagq32.js → chunk-7gqf9wej.js} +5 -5
- package/dist/{chunk-b1xt9jqg.js → chunk-7j3dkjqq.js} +15 -5
- package/dist/chunk-7ns74x0q.js +475 -0
- package/dist/{chunk-ghr4s9g6.js → chunk-7qmknpkq.js} +75 -69
- package/dist/chunk-7rzepn9c.js +83 -0
- package/dist/chunk-7tdcwje9.js +68 -0
- package/dist/{chunk-b4mnbry0.js → chunk-8201tnhf.js} +4 -4
- package/dist/{chunk-dv1wfr85.js → chunk-8225arm6.js} +5 -4
- package/dist/chunk-822wfv88.js +70 -0
- package/dist/chunk-837tm8ht.js +183 -0
- package/dist/chunk-8a2ajt5d.js +878 -0
- package/dist/{chunk-bj0rvnjw.js → chunk-8bymxfn4.js} +39 -29
- package/dist/chunk-8cwbzk7h.js +118 -0
- package/dist/chunk-8d0ev0m2.js +111 -0
- package/dist/{chunk-4pbx3g7s.js → chunk-8g747a8x.js} +1 -1
- package/dist/chunk-8kfwb79z.js +436 -0
- package/dist/{chunk-xyqr1cww.js → chunk-8me0yq6v.js} +12 -12
- package/dist/{chunk-k5gdea6r.js → chunk-8n8285ax.js} +78 -72
- package/dist/{chunk-sdj9b9wh.js → chunk-8pn8tvgg.js} +9 -154
- package/dist/{chunk-d7mx1phm.js → chunk-8qhr4n77.js} +61 -103
- package/dist/{chunk-7ejt5gqq.js → chunk-8s9bbk3r.js} +58 -45
- package/dist/{chunk-bmvb57qb.js → chunk-905d2hee.js} +5 -5
- package/dist/{chunk-fk06pejm.js → chunk-91xq5y4a.js} +9 -9
- package/dist/{chunk-ahjgghpe.js → chunk-93xsyzsp.js} +1 -1
- package/dist/chunk-99pmbfqp.js +230 -0
- package/dist/{chunk-cgn27dqf.js → chunk-9f14bkn9.js} +3 -3
- package/dist/{chunk-sa7nc0vv.js → chunk-9m78gjpd.js} +1 -1
- package/dist/{chunk-kq098bkj.js → chunk-9pm2d2gv.js} +245 -316
- package/dist/chunk-a136cvvz.js +27 -0
- package/dist/{chunk-n5t9m8h9.js → chunk-a1bjde7d.js} +7 -7
- package/dist/chunk-a2evk7n1.js +168 -0
- package/dist/{chunk-khdjg2v9.js → chunk-a3k4w4cm.js} +38 -28
- package/dist/chunk-a3mcc1sb.js +1403 -0
- package/dist/{chunk-8hq5kk3y.js → chunk-a4twdmhf.js} +3 -2
- package/dist/chunk-a8eaey19.js +66 -0
- package/dist/chunk-abkb5pw6.js +426 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/{chunk-660kcy7p.js → chunk-agx5w9ce.js} +14 -8
- package/dist/chunk-ah46h8rp.js +70 -0
- package/dist/chunk-aj3azy6z.js +409 -0
- package/dist/chunk-an6z4rzv.js +158 -0
- package/dist/{chunk-r6b58y3x.js → chunk-ase86y73.js} +1 -3
- package/dist/{chunk-v0wa5ref.js → chunk-avfjb6pd.js} +13 -555
- package/dist/{chunk-5mrhhmas.js → chunk-az5x70pn.js} +8 -5
- package/dist/{chunk-49k5ktrj.js → chunk-b6rg3egp.js} +30 -15
- package/dist/chunk-b73r6ngr.js +125 -0
- package/dist/{chunk-8bedvdm1.js → chunk-b81hd3m6.js} +1 -1
- package/dist/{chunk-z7pr85qw.js → chunk-b9mhpc0v.js} +3 -3
- package/dist/chunk-b9ndqcdv.js +139 -0
- package/dist/{chunk-n5516f5q.js → chunk-bd8zk9tn.js} +4 -4
- package/dist/chunk-bdy6n17s.js +343 -0
- package/dist/{chunk-r55r29js.js → chunk-bf1j3azq.js} +131 -111
- package/dist/{chunk-83z0wrnz.js → chunk-bfcet2mw.js} +2 -2
- package/dist/{chunk-jy35mvy3.js → chunk-bmjmrk76.js} +7 -7
- package/dist/{chunk-2j0j79p0.js → chunk-bsj8e2mb.js} +8 -8
- package/dist/{chunk-snvypj85.js → chunk-bt64sq5y.js} +3 -2
- package/dist/{chunk-vyc0rjyx.js → chunk-bwg7582d.js} +1 -1
- package/dist/{chunk-3be7ka25.js → chunk-bxcfz5gy.js} +1 -1
- package/dist/{chunk-mvss16tj.js → chunk-c1k9tg7h.js} +289 -624
- package/dist/{chunk-crr52hf4.js → chunk-c5pxerks.js} +13 -11
- package/dist/chunk-c6sjhj89.js +1284 -0
- package/dist/{chunk-q6dpqj3z.js → chunk-c9q0phsg.js} +9 -6
- package/dist/chunk-caj0ab74.js +129 -0
- package/dist/{chunk-f64npa3b.js → chunk-chsyvavm.js} +704 -4
- package/dist/{chunk-dqh7e4mt.js → chunk-cjpt035a.js} +51 -41
- package/dist/{chunk-z8nbjar4.js → chunk-cmcbatgz.js} +7 -5
- package/dist/chunk-cnsj3vq2.js +35 -0
- package/dist/chunk-cqjmxeqv.js +269 -0
- package/dist/{chunk-bt9krt49.js → chunk-cvb1v08x.js} +38 -32
- package/dist/{chunk-j3215c49.js → chunk-cxhvyf7c.js} +227 -370
- package/dist/{chunk-24x87knx.js → chunk-cxx0e4nv.js} +1326 -2881
- package/dist/chunk-cy2hswr1.js +15 -0
- package/dist/{chunk-mwp7sj0q.js → chunk-cy6ezb6j.js} +115140 -121540
- package/dist/{chunk-ks0m9njy.js → chunk-d2jekryq.js} +8 -8
- package/dist/chunk-d4mdda98.js +94 -0
- package/dist/{chunk-33khw5gy.js → chunk-d6ve5pze.js} +7 -7
- package/dist/{chunk-26wtxbdc.js → chunk-d7886r6a.js} +6928 -6928
- package/dist/{chunk-9t1x831d.js → chunk-d83tmb5h.js} +82 -73
- package/dist/{chunk-g5sg6y9q.js → chunk-d8meetqc.js} +78 -71
- package/dist/{chunk-ra8fbt9p.js → chunk-d8r0q4ps.js} +537 -871
- package/dist/chunk-d95k8xkm.js +84 -0
- package/dist/chunk-dd4m7t1v.js +112 -0
- package/dist/{chunk-er9vzjac.js → chunk-dekbr08w.js} +16 -14
- package/dist/{chunk-cvge4pvp.js → chunk-dk8287aa.js} +1 -1
- package/dist/{chunk-9mfbqw9k.js → chunk-dm3n2qgd.js} +4 -4
- package/dist/{chunk-n6fbyke9.js → chunk-dmxte86x.js} +3 -3
- package/dist/{chunk-t24ytdcw.js → chunk-dqvwn28p.js} +12 -10
- package/dist/chunk-drkm8yx2.js +34 -0
- package/dist/{chunk-ptwn7qw7.js → chunk-dsbewdgm.js} +38 -10
- package/dist/{chunk-w7h2yphx.js → chunk-dwekpr47.js} +2 -2
- package/dist/{chunk-ks0dm6t3.js → chunk-e3299veq.js} +16 -70
- package/dist/{chunk-4x5ym4h2.js → chunk-e5hcyxae.js} +129 -15
- package/dist/chunk-e7h0nd5w.js +106 -0
- package/dist/{chunk-s2dmn3yg.js → chunk-eaemyebz.js} +5 -5
- package/dist/{chunk-cmdsbsb6.js → chunk-edzkkadh.js} +2 -2
- package/dist/chunk-em99fnet.js +128 -0
- package/dist/{chunk-hfzj1m07.js → chunk-epyaq1z0.js} +13 -4
- package/dist/{chunk-v9y80148.js → chunk-eqmkajs4.js} +96 -189
- package/dist/{chunk-cs6y2pc9.js → chunk-ergam9ft.js} +5 -5
- package/dist/chunk-es2fdse0.js +63 -0
- package/dist/{chunk-cenpqc2t.js → chunk-esn3tgm2.js} +8 -6
- package/dist/{chunk-qf2v384j.js → chunk-et8ybmt2.js} +9 -7
- package/dist/{chunk-aqa7w38f.js → chunk-ew9rp41b.js} +5 -5
- package/dist/{chunk-1yabrspp.js → chunk-ewx6xfzb.js} +2 -2
- package/dist/chunk-eyjtbtt0.js +137 -0
- package/dist/{chunk-rmbp2das.js → chunk-f0jd2p9n.js} +20 -18
- package/dist/{chunk-vzqrbsd1.js → chunk-f69rgsm2.js} +5 -5
- package/dist/{chunk-f3bapa1x.js → chunk-f6rbj3gz.js} +12 -7
- package/dist/chunk-fbhyqxdg.js +1182 -0
- package/dist/chunk-feyzykye.js +10 -0
- package/dist/chunk-ffhejx56.js +107 -0
- package/dist/{chunk-vbbf707n.js → chunk-fhx6nt2a.js} +38 -28
- package/dist/chunk-fkkysfev.js +158 -0
- package/dist/chunk-fn510gqw.js +216 -0
- package/dist/chunk-ftsg8bjm.js +117 -0
- package/dist/{chunk-t3bf8hcf.js → chunk-fyts9grb.js} +2 -2
- package/dist/{chunk-kd97kxjn.js → chunk-fz0ch109.js} +3 -2
- package/dist/{chunk-ye18m1zb.js → chunk-g1jarkx9.js} +38 -8
- package/dist/chunk-g9f19ttm.js +15 -0
- package/dist/chunk-g9qte35t.js +341 -0
- package/dist/chunk-gaav53dc.js +105 -0
- package/dist/chunk-gfx3cwrk.js +75 -0
- package/dist/{chunk-z9tgzh90.js → chunk-gk2d1x2a.js} +44 -33
- package/dist/chunk-gkbat1p9.js +121 -0
- package/dist/{chunk-5b7119h5.js → chunk-gmnyk2t8.js} +8 -6
- package/dist/{chunk-qvd0k5dn.js → chunk-gnmdprq3.js} +184 -345
- package/dist/{chunk-bq6x1ehp.js → chunk-gpz0ddyz.js} +8 -8
- package/dist/{chunk-684kdqez.js → chunk-gv1csnc3.js} +198 -302
- package/dist/{chunk-x51mdzqq.js → chunk-gv37c8ax.js} +3 -3
- package/dist/{chunk-t6h4wf3k.js → chunk-gzr2601k.js} +9 -9
- package/dist/{chunk-45e9mkyr.js → chunk-h3pda469.js} +37 -82
- package/dist/{chunk-qqfa0dqg.js → chunk-h4b85amj.js} +20 -32
- package/dist/{chunk-j4c8s7tn.js → chunk-h5zv78zq.js} +9 -6
- package/dist/{chunk-2wcbcdky.js → chunk-h7edytkc.js} +5 -5
- package/dist/{chunk-402jrnj6.js → chunk-ha0wbzc3.js} +8 -8
- package/dist/{chunk-nxsh6de2.js → chunk-hcgkak1j.js} +20 -125
- package/dist/{chunk-tjaqa99q.js → chunk-hezj20qy.js} +3 -3
- package/dist/{chunk-kyer92r4.js → chunk-hf85ht0m.js} +2 -2
- package/dist/{chunk-m17y8b22.js → chunk-ht1nfygk.js} +38 -28
- package/dist/chunk-j316jjby.js +108 -0
- package/dist/chunk-j3fge71v.js +115 -0
- package/dist/{chunk-b51jjfh5.js → chunk-j4x0t6k2.js} +42 -31
- package/dist/{chunk-9gbamk79.js → chunk-j5bth84e.js} +5 -1
- package/dist/chunk-j783d5af.js +134 -0
- package/dist/chunk-j7pbwf9x.js +108 -0
- package/dist/{chunk-0cpnzx7t.js → chunk-j8rnrm5n.js} +114 -150
- package/dist/{chunk-vratq94g.js → chunk-j9gxwbe3.js} +1 -1
- package/dist/{chunk-3r24h7t6.js → chunk-jaaxk89e.js} +1 -1
- package/dist/{chunk-f4jcw0ea.js → chunk-jaew3662.js} +18 -14
- package/dist/{chunk-qpm1tmzz.js → chunk-jbbj16w2.js} +120 -191
- package/dist/chunk-jerew25v.js +148 -0
- package/dist/{chunk-v399mzxk.js → chunk-jf0p00fz.js} +2 -2
- package/dist/{chunk-91r0z5qq.js → chunk-jfsah2w3.js} +1059 -1756
- package/dist/{chunk-av73dywf.js → chunk-jna2tcvj.js} +8 -8
- package/dist/{chunk-jy35z4n0.js → chunk-jng0mb4r.js} +8 -8
- package/dist/chunk-jrrmwfp4.js +66 -0
- package/dist/{chunk-3m7ge6tj.js → chunk-jt6fa514.js} +14 -12
- package/dist/chunk-jvkyx1b7.js +911 -0
- package/dist/{chunk-41xeh3t9.js → chunk-jy6c07wa.js} +4 -4
- package/dist/chunk-k1fvb16y.js +269 -0
- package/dist/{chunk-bqfnp99q.js → chunk-k3s4yk22.js} +1 -1
- package/dist/{chunk-4ycz58wj.js → chunk-k46gxg21.js} +68 -8
- package/dist/chunk-k8wwyz2t.js +110 -0
- package/dist/{chunk-68qevppc.js → chunk-ka3fdfyb.js} +78 -71
- package/dist/{chunk-vaebptnz.js → chunk-ka4x7mhn.js} +38 -28
- package/dist/chunk-kb99zpps.js +216 -0
- package/dist/{chunk-1dyeexvn.js → chunk-kd3mmsd2.js} +4 -4
- package/dist/{chunk-1xkekb9y.js → chunk-kfd89dsd.js} +5 -3
- package/dist/{chunk-ecsw41df.js → chunk-km1wcchx.js} +81 -76
- package/dist/{chunk-dh6c8y1j.js → chunk-kmhwx18d.js} +3 -3
- package/dist/{chunk-224x480q.js → chunk-kq91dwkq.js} +8 -6
- package/dist/chunk-m17m84b7.js +111 -0
- package/dist/chunk-m1a0s9fd.js +1070 -0
- package/dist/{chunk-jafes477.js → chunk-m2bcpk8j.js} +4 -3
- package/dist/{chunk-veb0gkcf.js → chunk-m7jtn7dk.js} +74 -68
- package/dist/chunk-mq2mgyt9.js +103 -0
- package/dist/chunk-msv3w4qp.js +1811 -0
- package/dist/{chunk-ch53fgm5.js → chunk-mxe1f4jg.js} +13 -11
- package/dist/{chunk-hzttn8j7.js → chunk-mzwjvfr2.js} +124 -126
- package/dist/{chunk-2de1vaxf.js → chunk-n2n0sq7r.js} +67 -77
- package/dist/{chunk-me2ef6g4.js → chunk-n8mpqdje.js} +1 -1
- package/dist/chunk-n9e984ba.js +132 -0
- package/dist/chunk-netzwgv1.js +154 -0
- package/dist/{chunk-xszk7n10.js → chunk-nh3cd07f.js} +1 -1
- package/dist/chunk-njrz6mbe.js +66 -0
- package/dist/{chunk-e1ge9n4d.js → chunk-nv7pfr7k.js} +2 -2
- package/dist/{chunk-vygf94dw.js → chunk-nwd8pb55.js} +74 -68
- package/dist/{chunk-5hva0tsg.js → chunk-p2yv7m0g.js} +6 -6
- package/dist/chunk-p5t2vy90.js +259 -0
- package/dist/{chunk-zk2wsm7d.js → chunk-p7vkh4wx.js} +2 -2
- package/dist/{chunk-da4ve9t5.js → chunk-p8crqj70.js} +10 -10
- package/dist/{chunk-n2874aq5.js → chunk-pcngtzr8.js} +12 -6
- package/dist/{chunk-6td4c2eq.js → chunk-pdjem6h1.js} +53 -71
- package/dist/{chunk-zpc0kwkb.js → chunk-pmxdzjq0.js} +6 -6
- package/dist/{chunk-pa7saazk.js → chunk-pnkcecq2.js} +27 -55
- package/dist/{chunk-zsfxha74.js → chunk-pshjyzq4.js} +8 -7
- package/dist/chunk-pt1yj9zf.js +107 -0
- package/dist/{chunk-n9x557ea.js → chunk-py6b9d5b.js} +2312 -4200
- package/dist/chunk-q7n8d91g.js +67 -0
- package/dist/{chunk-e5pntxye.js → chunk-q7tpyeb3.js} +6 -4
- package/dist/{chunk-7ymfj7m3.js → chunk-q82r31er.js} +1 -1
- package/dist/chunk-qajrkk97.js +298 -0
- package/dist/chunk-qbrh24cn.js +119 -0
- package/dist/chunk-qd9ntz7c.js +230 -0
- package/dist/chunk-qfr5tcd5.js +2537 -0
- package/dist/chunk-qpzfmkct.js +456 -0
- package/dist/{chunk-35y0r56v.js → chunk-qtfc6wdh.js} +1 -4
- package/dist/chunk-r032587e.js +83 -0
- package/dist/{chunk-rryx19hp.js → chunk-r2k2jy0y.js} +2 -2
- package/dist/{chunk-pgnnrm2v.js → chunk-r4dnnggx.js} +21 -17
- package/dist/{chunk-k9a8jemz.js → chunk-r5n8fvw0.js} +7 -7
- package/dist/{chunk-jt0pha6y.js → chunk-r7kh03er.js} +222 -196
- package/dist/{chunk-n0k8xrey.js → chunk-rfs0mfg8.js} +140 -158
- package/dist/{chunk-dr4qq42x.js → chunk-rgbbtszq.js} +9 -9
- package/dist/{chunk-fdwa7gem.js → chunk-rkak3kjw.js} +7 -7
- package/dist/chunk-rp568bfw.js +111 -0
- package/dist/chunk-rtv718sv.js +146 -0
- package/dist/{chunk-rw466wqn.js → chunk-rvkvehat.js} +5284 -3093
- package/dist/chunk-s1baskk7.js +14 -0
- package/dist/{chunk-2cgdr2n7.js → chunk-s1eb67v3.js} +74 -68
- package/dist/{chunk-1szr63w0.js → chunk-s59kx26r.js} +81 -72
- package/dist/chunk-s6yk6m3b.js +109 -0
- package/dist/{chunk-80qg1pzv.js → chunk-sca71yv8.js} +11 -9
- package/dist/chunk-sfrwm87k.js +151 -0
- package/dist/chunk-sgaknx21.js +123 -0
- package/dist/{chunk-myzwt5yw.js → chunk-snyaz093.js} +9 -15
- package/dist/{chunk-rwexx5ns.js → chunk-sq8wkk3z.js} +1 -3
- package/dist/{chunk-faycqscv.js → chunk-sxqj7s2h.js} +2 -2
- package/dist/chunk-t2m6cjp1.js +264 -0
- package/dist/chunk-t6hmvb6k.js +1021 -0
- package/dist/chunk-t72x960a.js +125 -0
- package/dist/chunk-t9kashay.js +440 -0
- package/dist/chunk-t9wzf009.js +151 -0
- package/dist/chunk-ta1dgyj1.js +154 -0
- package/dist/{chunk-5deqy8r0.js → chunk-tavxhayf.js} +77 -71
- package/dist/{chunk-35b0ek0j.js → chunk-tcdv4gp8.js} +13 -9
- package/dist/chunk-td3b74vm.js +362 -0
- package/dist/{chunk-mt25echc.js → chunk-tezak8rx.js} +1 -1
- package/dist/chunk-tgcw0rzx.js +262 -0
- package/dist/{chunk-9rcbyag3.js → chunk-tmdbrszg.js} +2 -2
- package/dist/{chunk-jknt3rxg.js → chunk-v17qee2y.js} +7 -9
- package/dist/{chunk-frbv3xqa.js → chunk-v1jd31dw.js} +2 -2
- package/dist/chunk-var1et7e.js +66 -0
- package/dist/{chunk-cettj572.js → chunk-ve9wswz4.js} +7 -131
- package/dist/{chunk-hqmz36b3.js → chunk-vf612n57.js} +21 -101
- package/dist/chunk-vfhabc5j.js +109 -0
- package/dist/{chunk-s7qj2hg5.js → chunk-vgy0w6tt.js} +2 -2
- package/dist/chunk-vh02fvz1.js +375 -0
- package/dist/{chunk-ctmt7xh1.js → chunk-vm935era.js} +619 -887
- package/dist/{chunk-dxc7begm.js → chunk-vtb8z6as.js} +14 -10
- package/dist/chunk-w2kf9sxn.js +115 -0
- package/dist/chunk-w7trx259.js +132 -0
- package/dist/{chunk-8z039kef.js → chunk-w92b262y.js} +53 -54
- package/dist/chunk-w9zqjhvm.js +103 -0
- package/dist/{chunk-9cc60ae5.js → chunk-wb2fvy1k.js} +74 -68
- package/dist/chunk-ws2d81aj.js +123 -0
- package/dist/{chunk-5zh1fbrj.js → chunk-wssgdcck.js} +2 -2
- package/dist/{chunk-t9z6njcr.js → chunk-wtycm8km.js} +9 -9
- package/dist/chunk-wz0d8mna.js +108 -0
- package/dist/chunk-x01wtn3p.js +144 -0
- package/dist/{chunk-dnyeb288.js → chunk-x2sp7rcv.js} +73 -105
- package/dist/{chunk-zrse3zpz.js → chunk-xbprynsc.js} +18 -46
- package/dist/{chunk-yxnwsp4f.js → chunk-xext3y2y.js} +8 -6
- package/dist/{chunk-fzxg8v1y.js → chunk-xycy3c8q.js} +15 -12
- package/dist/{chunk-cpma9zs5.js → chunk-y01ys1vm.js} +20 -71
- package/dist/{chunk-d7vv2ydf.js → chunk-y78t50v0.js} +2 -2
- package/dist/{chunk-xkr7as9h.js → chunk-y9bgt2k1.js} +13 -9
- package/dist/{chunk-s2gm9vfk.js → chunk-ydm0nfsv.js} +5 -5
- package/dist/{chunk-gjyc3293.js → chunk-yetebjek.js} +282 -495
- package/dist/{chunk-hkn7tzgv.js → chunk-ym5r3jnk.js} +1 -1
- package/dist/chunk-ysks0ewj.js +237 -0
- package/dist/chunk-yv3evkgg.js +68 -0
- package/dist/{chunk-athjeyrt.js → chunk-yw79dz62.js} +4 -4
- package/dist/{chunk-s84smrx4.js → chunk-yy59gvs4.js} +151 -189
- package/dist/{chunk-12pv5fez.js → chunk-yyax4hdg.js} +10 -8
- package/dist/chunk-z0q85m5f.js +108 -0
- package/dist/chunk-z1bs6d7k.js +24 -0
- package/dist/chunk-z6e5jp2w.js +119 -0
- package/dist/{chunk-rjz6btwk.js → chunk-z7ssqvt6.js} +4972 -4638
- package/dist/chunk-z95yxwyb.js +61 -0
- package/dist/{chunk-0nqrscrr.js → chunk-z9aqj026.js} +5 -5
- package/dist/chunk-zc6dxhk9.js +169 -0
- package/dist/{chunk-ve60fbtd.js → chunk-ze6zvkg6.js} +2 -2
- package/dist/{chunk-t0rgmccj.js → chunk-zejm280k.js} +1 -1
- package/dist/{chunk-krstc7m7.js → chunk-zfapazzd.js} +15 -11
- package/dist/chunk-zj4fqmnc.js +219 -0
- package/dist/chunk-zkrpbswn.js +1608 -0
- package/dist/chunk-zktbb38m.js +112 -0
- package/dist/{chunk-vjc1svpc.js → chunk-zptcqa7t.js} +82 -75
- package/dist/{chunk-gbcqdr0x.js → chunk-zvnsjbt8.js} +1 -1
- package/dist/chunk-zwaanw8y.js +110 -0
- package/dist/{chunk-g3t0act8.js → chunk-zzm33q8x.js} +1 -1
- package/dist/{chunk-s8fzxy94.js → chunk-zzzc1ead.js} +17 -13
- package/dist/cli.js +34 -10
- package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
- package/package.json +8 -5
- package/scripts/postinstall.cjs +319 -0
- package/dist/chunk-0291smg3.js +0 -42
- package/dist/chunk-04g2ty3v.js +0 -104
- package/dist/chunk-069x95ne.js +0 -764
- package/dist/chunk-06x02eab.js +0 -655
- package/dist/chunk-09pjmga5.js +0 -713
- package/dist/chunk-0g90je6r.js +0 -145
- package/dist/chunk-0rddv9vb.js +0 -328
- package/dist/chunk-162w6yv3.js +0 -756
- package/dist/chunk-1gjbaa3n.js +0 -128
- package/dist/chunk-23wg4mnt.js +0 -404
- package/dist/chunk-2gbjtg7c.js +0 -102
- package/dist/chunk-2v1q0ezq.js +0 -102
- package/dist/chunk-37n7jkxe.js +0 -436
- package/dist/chunk-38svjnh4.js +0 -158
- package/dist/chunk-3bg1089y.js +0 -616
- package/dist/chunk-3d8ck5ne.js +0 -112
- package/dist/chunk-3g6rf9sz.js +0 -106
- package/dist/chunk-3x3rr2n5.js +0 -57
- package/dist/chunk-4f6q3d38.js +0 -117
- package/dist/chunk-4h57km3m.js +0 -74
- package/dist/chunk-4kyh2618.js +0 -99
- package/dist/chunk-4w9vc9vc.js +0 -119
- package/dist/chunk-53hqpp5z.js +0 -208
- package/dist/chunk-5m2rmc2k.js +0 -128
- package/dist/chunk-5wp9pkpt.js +0 -539
- package/dist/chunk-5ym9f6w3.js +0 -263
- package/dist/chunk-6f938733.js +0 -1027
- package/dist/chunk-6nenxecd.js +0 -115
- package/dist/chunk-6rja0h86.js +0 -1593
- package/dist/chunk-70q6dp4d.js +0 -96
- package/dist/chunk-7bn0wzs3.js +0 -1493
- package/dist/chunk-7e2e0bfm.js +0 -65
- package/dist/chunk-7ywadnax.js +0 -490
- package/dist/chunk-7z33j54s.js +0 -142
- package/dist/chunk-8yvfkzyh.js +0 -58
- package/dist/chunk-9abpx1kv.js +0 -2833
- package/dist/chunk-9ks2nswb.js +0 -114
- package/dist/chunk-9wrds5tr.js +0 -109
- package/dist/chunk-ab2twken.js +0 -102
- package/dist/chunk-abncjeag.js +0 -97
- package/dist/chunk-am6w4x6y.js +0 -103
- package/dist/chunk-b73bd7db.js +0 -496
- package/dist/chunk-bc7nvynh.js +0 -195
- package/dist/chunk-br17dhef.js +0 -103
- package/dist/chunk-c3k0sdey.js +0 -281
- package/dist/chunk-c909bmyv.js +0 -103
- package/dist/chunk-cftsv9w4.js +0 -129
- package/dist/chunk-cj1a7npk.js +0 -99
- package/dist/chunk-cyscs4k5.js +0 -1330
- package/dist/chunk-czr7y063.js +0 -348
- package/dist/chunk-d93sndem.js +0 -372
- package/dist/chunk-ddz8xbpd.js +0 -481
- package/dist/chunk-dkhqx4hk.js +0 -84
- package/dist/chunk-dsrharmv.js +0 -359
- package/dist/chunk-eqmy5d05.js +0 -56
- package/dist/chunk-f2crxw2c.js +0 -5400
- package/dist/chunk-f8zga40p.js +0 -234
- package/dist/chunk-fbgm2ym6.js +0 -990
- package/dist/chunk-fcbbsswe.js +0 -119
- package/dist/chunk-fda654nt.js +0 -6121
- package/dist/chunk-ffmv9ezj.js +0 -104
- package/dist/chunk-fmjte7md.js +0 -38
- package/dist/chunk-fqtwqxxc.js +0 -293
- package/dist/chunk-g8k85nkd.js +0 -802
- package/dist/chunk-ge4ak7dj.js +0 -127
- package/dist/chunk-gpqemecy.js +0 -126
- package/dist/chunk-h19p6s3b.js +0 -131
- package/dist/chunk-j0sk1rct.js +0 -998
- package/dist/chunk-j1wfpa1a.js +0 -70
- package/dist/chunk-j829fx31.js +0 -3458
- package/dist/chunk-jqctzrvd.js +0 -722
- package/dist/chunk-jx817w05.js +0 -11
- package/dist/chunk-ka6sab33.js +0 -174
- package/dist/chunk-krjsvmwp.js +0 -101
- package/dist/chunk-kvpe50pm.js +0 -311
- package/dist/chunk-mez504fj.js +0 -113
- package/dist/chunk-mj6wbrae.js +0 -105
- package/dist/chunk-n0pg2kpe.js +0 -122
- package/dist/chunk-n4qtqkp0.js +0 -295
- package/dist/chunk-n9meha2m.js +0 -73
- package/dist/chunk-ndk7q5n3.js +0 -169
- package/dist/chunk-ng6n9t4h.js +0 -56
- package/dist/chunk-p3pz13x2.js +0 -1933
- package/dist/chunk-p9ez6zgq.js +0 -2656
- package/dist/chunk-ph750kx1.js +0 -550
- package/dist/chunk-pxb99zqs.js +0 -117
- package/dist/chunk-q1yqc5n3.js +0 -100
- package/dist/chunk-qtfqk0jr.js +0 -131
- package/dist/chunk-qzfmdh1t.js +0 -388
- package/dist/chunk-r3cv0j9n.js +0 -456
- package/dist/chunk-rx0pbgym.js +0 -97
- package/dist/chunk-s624rd5j.js +0 -531
- package/dist/chunk-satndwqj.js +0 -285
- package/dist/chunk-ssrxnkd1.js +0 -109
- package/dist/chunk-t2pgctqx.js +0 -106
- package/dist/chunk-t7sgwf31.js +0 -644
- package/dist/chunk-tth904tj.js +0 -53
- package/dist/chunk-typpbjhy.js +0 -128
- package/dist/chunk-vp6nrhdq.js +0 -102
- package/dist/chunk-vtjm53nt.js +0 -432
- package/dist/chunk-w412n7tq.js +0 -469
- package/dist/chunk-w4153rky.js +0 -1885
- package/dist/chunk-wdgv15as.js +0 -212
- package/dist/chunk-wgn9kydv.js +0 -58
- package/dist/chunk-whknbrk0.js +0 -184
- package/dist/chunk-x1k8e1xc.js +0 -56
- package/dist/chunk-x45xx6sc.js +0 -105
- package/dist/chunk-x4xvqbe5.js +0 -1166
- package/dist/chunk-x8b7vft8.js +0 -132
- package/dist/chunk-xaycc8qe.js +0 -44
- package/dist/chunk-xd4785ks.js +0 -73
- package/dist/chunk-xjxgmxhq.js +0 -463
- package/dist/chunk-xx2x3tz9.js +0 -166
- package/dist/chunk-y2j23eem.js +0 -101
- package/dist/chunk-y83j09wv.js +0 -123
- package/dist/chunk-yh8460pb.js +0 -119
- package/dist/chunk-z6nhchdb.js +0 -60
- package/dist/chunk-zbt73sj7.js +0 -192
- package/dist/chunk-zmwaatmq.js +0 -118
- package/dist/chunk-zvdg9tex.js +0 -135
- package/dist/chunk-zwa780cx.js +0 -584
- package/dist/{chunk-whvdag1y.js → chunk-3bfs3x0h.js} +9 -9
- package/dist/{chunk-27xc1csx.js → chunk-dggvswz1.js} +3 -3
package/dist/chunk-cyscs4k5.js
DELETED
|
@@ -1,1330 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
Tab,
|
|
4
|
-
Tabs,
|
|
5
|
-
init_Tabs,
|
|
6
|
-
useTabHeaderFocus
|
|
7
|
-
} from "./chunk-d93sndem.js";
|
|
8
|
-
import"./chunk-ndk7q5n3.js";
|
|
9
|
-
import {
|
|
10
|
-
SandboxManager,
|
|
11
|
-
Select,
|
|
12
|
-
addToExcludedCommands,
|
|
13
|
-
init_sandbox_adapter,
|
|
14
|
-
init_select,
|
|
15
|
-
shouldAllowManagedSandboxDomainsOnly
|
|
16
|
-
} from "./chunk-mwp7sj0q.js";
|
|
17
|
-
import"./chunk-t0rgmccj.js";
|
|
18
|
-
import"./chunk-ye18m1zb.js";
|
|
19
|
-
import"./chunk-12pv5fez.js";
|
|
20
|
-
import"./chunk-cgn27dqf.js";
|
|
21
|
-
import"./chunk-dh6c8y1j.js";
|
|
22
|
-
import"./chunk-xjxgmxhq.js";
|
|
23
|
-
import"./chunk-2gzv8nrw.js";
|
|
24
|
-
import"./chunk-ehtwnxpg.js";
|
|
25
|
-
import"./chunk-n6fbyke9.js";
|
|
26
|
-
import"./chunk-33khw5gy.js";
|
|
27
|
-
import"./chunk-3be7ka25.js";
|
|
28
|
-
import"./chunk-er9vzjac.js";
|
|
29
|
-
import"./chunk-f3bapa1x.js";
|
|
30
|
-
import"./chunk-cgfdkzhb.js";
|
|
31
|
-
import"./chunk-4ycz58wj.js";
|
|
32
|
-
import"./chunk-4kyh2618.js";
|
|
33
|
-
import"./chunk-9gbamk79.js";
|
|
34
|
-
import"./chunk-d7mx1phm.js";
|
|
35
|
-
import"./chunk-hfzj1m07.js";
|
|
36
|
-
import {
|
|
37
|
-
Pane,
|
|
38
|
-
init_Pane,
|
|
39
|
-
init_useKeybinding,
|
|
40
|
-
useKeybindings
|
|
41
|
-
} from "./chunk-g8k85nkd.js";
|
|
42
|
-
import {
|
|
43
|
-
Link,
|
|
44
|
-
ThemedBox_default,
|
|
45
|
-
ThemedText,
|
|
46
|
-
color,
|
|
47
|
-
init_ink,
|
|
48
|
-
require_compiler_runtime,
|
|
49
|
-
useTheme
|
|
50
|
-
} from "./chunk-rw466wqn.js";
|
|
51
|
-
import"./chunk-yhd82045.js";
|
|
52
|
-
import"./chunk-ps49ymvj.js";
|
|
53
|
-
import {
|
|
54
|
-
require_jsx_dev_runtime
|
|
55
|
-
} from "./chunk-g338npwr.js";
|
|
56
|
-
import"./chunk-zk2wsm7d.js";
|
|
57
|
-
import"./chunk-z8nbjar4.js";
|
|
58
|
-
import"./chunk-660kcy7p.js";
|
|
59
|
-
import"./chunk-rj86xm6z.js";
|
|
60
|
-
import"./chunk-d7vv2ydf.js";
|
|
61
|
-
import"./chunk-4jm600zv.js";
|
|
62
|
-
import"./chunk-me2ef6g4.js";
|
|
63
|
-
import"./chunk-t24ytdcw.js";
|
|
64
|
-
import"./chunk-cenpqc2t.js";
|
|
65
|
-
import"./chunk-mx28h61f.js";
|
|
66
|
-
import"./chunk-ptwn7qw7.js";
|
|
67
|
-
import"./chunk-b4mnbry0.js";
|
|
68
|
-
import"./chunk-faycqscv.js";
|
|
69
|
-
import"./chunk-fbgm2ym6.js";
|
|
70
|
-
import"./chunk-f64npa3b.js";
|
|
71
|
-
import"./chunk-8z039kef.js";
|
|
72
|
-
import {
|
|
73
|
-
getSettingsFilePathForSource,
|
|
74
|
-
getSettings_DEPRECATED,
|
|
75
|
-
init_settings1 as init_settings
|
|
76
|
-
} from "./chunk-mvss16tj.js";
|
|
77
|
-
import"./chunk-bmvb57qb.js";
|
|
78
|
-
import"./chunk-fdwa7gem.js";
|
|
79
|
-
import"./chunk-vratq94g.js";
|
|
80
|
-
import"./chunk-5hva0tsg.js";
|
|
81
|
-
import"./chunk-0e1xsncc.js";
|
|
82
|
-
import"./chunk-64c1avct.js";
|
|
83
|
-
import"./chunk-8g5pe1gr.js";
|
|
84
|
-
import {
|
|
85
|
-
getPlatform,
|
|
86
|
-
init_platform
|
|
87
|
-
} from "./chunk-tjaqa99q.js";
|
|
88
|
-
import"./chunk-v4t6dyyh.js";
|
|
89
|
-
import"./chunk-4pbx3g7s.js";
|
|
90
|
-
import"./chunk-26wtxbdc.js";
|
|
91
|
-
import"./chunk-f5ma3nh5.js";
|
|
92
|
-
import"./chunk-qz2x630m.js";
|
|
93
|
-
import"./chunk-cvge4pvp.js";
|
|
94
|
-
import"./chunk-rryx19hp.js";
|
|
95
|
-
import"./chunk-3c25bcsw.js";
|
|
96
|
-
import"./chunk-9g827w4j.js";
|
|
97
|
-
import"./chunk-7ymfj7m3.js";
|
|
98
|
-
import"./chunk-p2816w9z.js";
|
|
99
|
-
import"./chunk-v9smspw2.js";
|
|
100
|
-
import"./chunk-v1kzp02e.js";
|
|
101
|
-
import"./chunk-0vkfrmqm.js";
|
|
102
|
-
import"./chunk-0xjaqda8.js";
|
|
103
|
-
import"./chunk-jqctzrvd.js";
|
|
104
|
-
import"./chunk-crmjpsqe.js";
|
|
105
|
-
import"./chunk-h0rbjg6x.js";
|
|
106
|
-
import"./chunk-wc6wwwyb.js";
|
|
107
|
-
import"./chunk-dr4qq42x.js";
|
|
108
|
-
import"./chunk-d18z9pna.js";
|
|
109
|
-
import"./chunk-qnfx3qtx.js";
|
|
110
|
-
import"./chunk-athjeyrt.js";
|
|
111
|
-
import"./chunk-8bedvdm1.js";
|
|
112
|
-
import"./chunk-p7g7pf3f.js";
|
|
113
|
-
import"./chunk-8tnsngw2.js";
|
|
114
|
-
import"./chunk-cmdsbsb6.js";
|
|
115
|
-
import"./chunk-vyc0rjyx.js";
|
|
116
|
-
import"./chunk-ggqx30m9.js";
|
|
117
|
-
import"./chunk-7wm5s02e.js";
|
|
118
|
-
import"./chunk-nxsh6de2.js";
|
|
119
|
-
import"./chunk-fbv4apne.js";
|
|
120
|
-
import"./chunk-3r24h7t6.js";
|
|
121
|
-
import {
|
|
122
|
-
getCwdState,
|
|
123
|
-
init_state
|
|
124
|
-
} from "./chunk-qqfa0dqg.js";
|
|
125
|
-
import"./chunk-hqmz36b3.js";
|
|
126
|
-
import"./chunk-4g3v8y12.js";
|
|
127
|
-
import"./chunk-7739pg2c.js";
|
|
128
|
-
import"./chunk-xszk7n10.js";
|
|
129
|
-
import"./chunk-sdj9b9wh.js";
|
|
130
|
-
import {
|
|
131
|
-
__esm,
|
|
132
|
-
__toESM
|
|
133
|
-
} from "./chunk-qp2qdcda.js";
|
|
134
|
-
|
|
135
|
-
// src/components/sandbox/SandboxConfigTab.tsx
|
|
136
|
-
function SandboxConfigTab() {
|
|
137
|
-
const $ = import_compiler_runtime.c(3);
|
|
138
|
-
const isEnabled = SandboxManager.isSandboxingEnabled();
|
|
139
|
-
let t0;
|
|
140
|
-
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
141
|
-
const depCheck = SandboxManager.checkDependencies();
|
|
142
|
-
t0 = depCheck.warnings.length > 0 ? /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
143
|
-
marginTop: 1,
|
|
144
|
-
flexDirection: "column",
|
|
145
|
-
children: depCheck.warnings.map(_temp)
|
|
146
|
-
}, undefined, false, undefined, this) : null;
|
|
147
|
-
$[0] = t0;
|
|
148
|
-
} else {
|
|
149
|
-
t0 = $[0];
|
|
150
|
-
}
|
|
151
|
-
const warningsNote = t0;
|
|
152
|
-
if (!isEnabled) {
|
|
153
|
-
let t12;
|
|
154
|
-
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
155
|
-
t12 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
156
|
-
flexDirection: "column",
|
|
157
|
-
paddingY: 1,
|
|
158
|
-
children: [
|
|
159
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
160
|
-
color: "subtle",
|
|
161
|
-
children: "Sandbox is not enabled"
|
|
162
|
-
}, undefined, false, undefined, this),
|
|
163
|
-
warningsNote
|
|
164
|
-
]
|
|
165
|
-
}, undefined, true, undefined, this);
|
|
166
|
-
$[1] = t12;
|
|
167
|
-
} else {
|
|
168
|
-
t12 = $[1];
|
|
169
|
-
}
|
|
170
|
-
return t12;
|
|
171
|
-
}
|
|
172
|
-
let t1;
|
|
173
|
-
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
174
|
-
const fsReadConfig = SandboxManager.getFsReadConfig();
|
|
175
|
-
const fsWriteConfig = SandboxManager.getFsWriteConfig();
|
|
176
|
-
const networkConfig = SandboxManager.getNetworkRestrictionConfig();
|
|
177
|
-
const allowUnixSockets = SandboxManager.getAllowUnixSockets();
|
|
178
|
-
const excludedCommands = SandboxManager.getExcludedCommands();
|
|
179
|
-
const globPatternWarnings = SandboxManager.getLinuxGlobPatternWarnings();
|
|
180
|
-
t1 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
181
|
-
flexDirection: "column",
|
|
182
|
-
paddingY: 1,
|
|
183
|
-
children: [
|
|
184
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
185
|
-
flexDirection: "column",
|
|
186
|
-
children: [
|
|
187
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
188
|
-
bold: true,
|
|
189
|
-
color: "permission",
|
|
190
|
-
children: "Excluded Commands:"
|
|
191
|
-
}, undefined, false, undefined, this),
|
|
192
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
193
|
-
dimColor: true,
|
|
194
|
-
children: excludedCommands.length > 0 ? excludedCommands.join(", ") : "None"
|
|
195
|
-
}, undefined, false, undefined, this)
|
|
196
|
-
]
|
|
197
|
-
}, undefined, true, undefined, this),
|
|
198
|
-
fsReadConfig.denyOnly.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
199
|
-
marginTop: 1,
|
|
200
|
-
flexDirection: "column",
|
|
201
|
-
children: [
|
|
202
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
203
|
-
bold: true,
|
|
204
|
-
color: "permission",
|
|
205
|
-
children: "Filesystem Read Restrictions:"
|
|
206
|
-
}, undefined, false, undefined, this),
|
|
207
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
208
|
-
dimColor: true,
|
|
209
|
-
children: [
|
|
210
|
-
"Denied: ",
|
|
211
|
-
fsReadConfig.denyOnly.join(", ")
|
|
212
|
-
]
|
|
213
|
-
}, undefined, true, undefined, this),
|
|
214
|
-
fsReadConfig.allowWithinDeny && fsReadConfig.allowWithinDeny.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
215
|
-
dimColor: true,
|
|
216
|
-
children: [
|
|
217
|
-
"Allowed within denied: ",
|
|
218
|
-
fsReadConfig.allowWithinDeny.join(", ")
|
|
219
|
-
]
|
|
220
|
-
}, undefined, true, undefined, this)
|
|
221
|
-
]
|
|
222
|
-
}, undefined, true, undefined, this),
|
|
223
|
-
fsWriteConfig.allowOnly.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
224
|
-
marginTop: 1,
|
|
225
|
-
flexDirection: "column",
|
|
226
|
-
children: [
|
|
227
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
228
|
-
bold: true,
|
|
229
|
-
color: "permission",
|
|
230
|
-
children: "Filesystem Write Restrictions:"
|
|
231
|
-
}, undefined, false, undefined, this),
|
|
232
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
233
|
-
dimColor: true,
|
|
234
|
-
children: [
|
|
235
|
-
"Allowed: ",
|
|
236
|
-
fsWriteConfig.allowOnly.join(", ")
|
|
237
|
-
]
|
|
238
|
-
}, undefined, true, undefined, this),
|
|
239
|
-
fsWriteConfig.denyWithinAllow.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
240
|
-
dimColor: true,
|
|
241
|
-
children: [
|
|
242
|
-
"Denied within allowed: ",
|
|
243
|
-
fsWriteConfig.denyWithinAllow.join(", ")
|
|
244
|
-
]
|
|
245
|
-
}, undefined, true, undefined, this)
|
|
246
|
-
]
|
|
247
|
-
}, undefined, true, undefined, this),
|
|
248
|
-
(networkConfig.allowedHosts && networkConfig.allowedHosts.length > 0 || networkConfig.deniedHosts && networkConfig.deniedHosts.length > 0) && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
249
|
-
marginTop: 1,
|
|
250
|
-
flexDirection: "column",
|
|
251
|
-
children: [
|
|
252
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
253
|
-
bold: true,
|
|
254
|
-
color: "permission",
|
|
255
|
-
children: [
|
|
256
|
-
"Network Restrictions",
|
|
257
|
-
shouldAllowManagedSandboxDomainsOnly() ? " (Managed)" : "",
|
|
258
|
-
":"
|
|
259
|
-
]
|
|
260
|
-
}, undefined, true, undefined, this),
|
|
261
|
-
networkConfig.allowedHosts && networkConfig.allowedHosts.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
262
|
-
dimColor: true,
|
|
263
|
-
children: [
|
|
264
|
-
"Allowed: ",
|
|
265
|
-
networkConfig.allowedHosts.join(", ")
|
|
266
|
-
]
|
|
267
|
-
}, undefined, true, undefined, this),
|
|
268
|
-
networkConfig.deniedHosts && networkConfig.deniedHosts.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
269
|
-
dimColor: true,
|
|
270
|
-
children: [
|
|
271
|
-
"Denied: ",
|
|
272
|
-
networkConfig.deniedHosts.join(", ")
|
|
273
|
-
]
|
|
274
|
-
}, undefined, true, undefined, this)
|
|
275
|
-
]
|
|
276
|
-
}, undefined, true, undefined, this),
|
|
277
|
-
allowUnixSockets && allowUnixSockets.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
278
|
-
marginTop: 1,
|
|
279
|
-
flexDirection: "column",
|
|
280
|
-
children: [
|
|
281
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
282
|
-
bold: true,
|
|
283
|
-
color: "permission",
|
|
284
|
-
children: "Allowed Unix Sockets:"
|
|
285
|
-
}, undefined, false, undefined, this),
|
|
286
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
287
|
-
dimColor: true,
|
|
288
|
-
children: allowUnixSockets.join(", ")
|
|
289
|
-
}, undefined, false, undefined, this)
|
|
290
|
-
]
|
|
291
|
-
}, undefined, true, undefined, this),
|
|
292
|
-
globPatternWarnings.length > 0 && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
293
|
-
marginTop: 1,
|
|
294
|
-
flexDirection: "column",
|
|
295
|
-
children: [
|
|
296
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
297
|
-
bold: true,
|
|
298
|
-
color: "warning",
|
|
299
|
-
children: "\u26A0 Warning: Glob patterns not fully supported on Linux"
|
|
300
|
-
}, undefined, false, undefined, this),
|
|
301
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
302
|
-
dimColor: true,
|
|
303
|
-
children: [
|
|
304
|
-
"The following patterns will be ignored:",
|
|
305
|
-
" ",
|
|
306
|
-
globPatternWarnings.slice(0, 3).join(", "),
|
|
307
|
-
globPatternWarnings.length > 3 && ` (${globPatternWarnings.length - 3} more)`
|
|
308
|
-
]
|
|
309
|
-
}, undefined, true, undefined, this)
|
|
310
|
-
]
|
|
311
|
-
}, undefined, true, undefined, this),
|
|
312
|
-
warningsNote
|
|
313
|
-
]
|
|
314
|
-
}, undefined, true, undefined, this);
|
|
315
|
-
$[2] = t1;
|
|
316
|
-
} else {
|
|
317
|
-
t1 = $[2];
|
|
318
|
-
}
|
|
319
|
-
return t1;
|
|
320
|
-
}
|
|
321
|
-
function _temp(w, i) {
|
|
322
|
-
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
323
|
-
dimColor: true,
|
|
324
|
-
children: w
|
|
325
|
-
}, i, false, undefined, this);
|
|
326
|
-
}
|
|
327
|
-
var import_compiler_runtime, jsx_dev_runtime;
|
|
328
|
-
var init_SandboxConfigTab = __esm(() => {
|
|
329
|
-
init_ink();
|
|
330
|
-
init_sandbox_adapter();
|
|
331
|
-
import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
|
|
332
|
-
jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
333
|
-
});
|
|
334
|
-
|
|
335
|
-
// src/components/sandbox/SandboxDependenciesTab.tsx
|
|
336
|
-
function SandboxDependenciesTab(t0) {
|
|
337
|
-
const $ = import_compiler_runtime2.c(24);
|
|
338
|
-
const {
|
|
339
|
-
depCheck
|
|
340
|
-
} = t0;
|
|
341
|
-
let t1;
|
|
342
|
-
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
343
|
-
t1 = getPlatform();
|
|
344
|
-
$[0] = t1;
|
|
345
|
-
} else {
|
|
346
|
-
t1 = $[0];
|
|
347
|
-
}
|
|
348
|
-
const platform = t1;
|
|
349
|
-
const isMac = platform === "macos";
|
|
350
|
-
let t2;
|
|
351
|
-
if ($[1] !== depCheck.errors) {
|
|
352
|
-
t2 = depCheck.errors.some(_temp6);
|
|
353
|
-
$[1] = depCheck.errors;
|
|
354
|
-
$[2] = t2;
|
|
355
|
-
} else {
|
|
356
|
-
t2 = $[2];
|
|
357
|
-
}
|
|
358
|
-
const rgMissing = t2;
|
|
359
|
-
let t3;
|
|
360
|
-
if ($[3] !== depCheck.errors) {
|
|
361
|
-
t3 = depCheck.errors.some(_temp2);
|
|
362
|
-
$[3] = depCheck.errors;
|
|
363
|
-
$[4] = t3;
|
|
364
|
-
} else {
|
|
365
|
-
t3 = $[4];
|
|
366
|
-
}
|
|
367
|
-
const bwrapMissing = t3;
|
|
368
|
-
let t4;
|
|
369
|
-
if ($[5] !== depCheck.errors) {
|
|
370
|
-
t4 = depCheck.errors.some(_temp3);
|
|
371
|
-
$[5] = depCheck.errors;
|
|
372
|
-
$[6] = t4;
|
|
373
|
-
} else {
|
|
374
|
-
t4 = $[6];
|
|
375
|
-
}
|
|
376
|
-
const socatMissing = t4;
|
|
377
|
-
const seccompMissing = depCheck.warnings.length > 0;
|
|
378
|
-
let t5;
|
|
379
|
-
if ($[7] !== bwrapMissing || $[8] !== depCheck.errors || $[9] !== rgMissing || $[10] !== seccompMissing || $[11] !== socatMissing) {
|
|
380
|
-
const otherErrors = depCheck.errors.filter(_temp4);
|
|
381
|
-
const rgInstallHint = isMac ? "brew install ripgrep" : "apt install ripgrep";
|
|
382
|
-
let t6;
|
|
383
|
-
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
384
|
-
t6 = isMac && /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
385
|
-
flexDirection: "column",
|
|
386
|
-
children: /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
387
|
-
children: [
|
|
388
|
-
"seatbelt: ",
|
|
389
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
390
|
-
color: "success",
|
|
391
|
-
children: "built-in (macOS)"
|
|
392
|
-
}, undefined, false, undefined, this)
|
|
393
|
-
]
|
|
394
|
-
}, undefined, true, undefined, this)
|
|
395
|
-
}, undefined, false, undefined, this);
|
|
396
|
-
$[13] = t6;
|
|
397
|
-
} else {
|
|
398
|
-
t6 = $[13];
|
|
399
|
-
}
|
|
400
|
-
let t7;
|
|
401
|
-
let t8;
|
|
402
|
-
if ($[14] !== rgMissing) {
|
|
403
|
-
t7 = /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
404
|
-
children: [
|
|
405
|
-
"ripgrep (rg):",
|
|
406
|
-
" ",
|
|
407
|
-
rgMissing ? /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
408
|
-
color: "error",
|
|
409
|
-
children: "not found"
|
|
410
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
411
|
-
color: "success",
|
|
412
|
-
children: "found"
|
|
413
|
-
}, undefined, false, undefined, this)
|
|
414
|
-
]
|
|
415
|
-
}, undefined, true, undefined, this);
|
|
416
|
-
t8 = rgMissing && /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
417
|
-
dimColor: true,
|
|
418
|
-
children: [
|
|
419
|
-
" ",
|
|
420
|
-
"\xB7 ",
|
|
421
|
-
rgInstallHint
|
|
422
|
-
]
|
|
423
|
-
}, undefined, true, undefined, this);
|
|
424
|
-
$[14] = rgMissing;
|
|
425
|
-
$[15] = t7;
|
|
426
|
-
$[16] = t8;
|
|
427
|
-
} else {
|
|
428
|
-
t7 = $[15];
|
|
429
|
-
t8 = $[16];
|
|
430
|
-
}
|
|
431
|
-
let t9;
|
|
432
|
-
if ($[17] !== t7 || $[18] !== t8) {
|
|
433
|
-
t9 = /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
434
|
-
flexDirection: "column",
|
|
435
|
-
children: [
|
|
436
|
-
t7,
|
|
437
|
-
t8
|
|
438
|
-
]
|
|
439
|
-
}, undefined, true, undefined, this);
|
|
440
|
-
$[17] = t7;
|
|
441
|
-
$[18] = t8;
|
|
442
|
-
$[19] = t9;
|
|
443
|
-
} else {
|
|
444
|
-
t9 = $[19];
|
|
445
|
-
}
|
|
446
|
-
let t10;
|
|
447
|
-
if ($[20] !== bwrapMissing || $[21] !== seccompMissing || $[22] !== socatMissing) {
|
|
448
|
-
t10 = !isMac && /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(jsx_dev_runtime2.Fragment, {
|
|
449
|
-
children: [
|
|
450
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
451
|
-
flexDirection: "column",
|
|
452
|
-
children: [
|
|
453
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
454
|
-
children: [
|
|
455
|
-
"bubblewrap (bwrap):",
|
|
456
|
-
" ",
|
|
457
|
-
bwrapMissing ? /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
458
|
-
color: "error",
|
|
459
|
-
children: "not installed"
|
|
460
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
461
|
-
color: "success",
|
|
462
|
-
children: "installed"
|
|
463
|
-
}, undefined, false, undefined, this)
|
|
464
|
-
]
|
|
465
|
-
}, undefined, true, undefined, this),
|
|
466
|
-
bwrapMissing && /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
467
|
-
dimColor: true,
|
|
468
|
-
children: [
|
|
469
|
-
" ",
|
|
470
|
-
"\xB7 apt install bubblewrap"
|
|
471
|
-
]
|
|
472
|
-
}, undefined, true, undefined, this)
|
|
473
|
-
]
|
|
474
|
-
}, undefined, true, undefined, this),
|
|
475
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
476
|
-
flexDirection: "column",
|
|
477
|
-
children: [
|
|
478
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
479
|
-
children: [
|
|
480
|
-
"socat:",
|
|
481
|
-
" ",
|
|
482
|
-
socatMissing ? /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
483
|
-
color: "error",
|
|
484
|
-
children: "not installed"
|
|
485
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
486
|
-
color: "success",
|
|
487
|
-
children: "installed"
|
|
488
|
-
}, undefined, false, undefined, this)
|
|
489
|
-
]
|
|
490
|
-
}, undefined, true, undefined, this),
|
|
491
|
-
socatMissing && /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
492
|
-
dimColor: true,
|
|
493
|
-
children: [
|
|
494
|
-
" ",
|
|
495
|
-
"\xB7 apt install socat"
|
|
496
|
-
]
|
|
497
|
-
}, undefined, true, undefined, this)
|
|
498
|
-
]
|
|
499
|
-
}, undefined, true, undefined, this),
|
|
500
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
501
|
-
flexDirection: "column",
|
|
502
|
-
children: [
|
|
503
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
504
|
-
children: [
|
|
505
|
-
"seccomp filter:",
|
|
506
|
-
" ",
|
|
507
|
-
seccompMissing ? /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
508
|
-
color: "warning",
|
|
509
|
-
children: "not installed"
|
|
510
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
511
|
-
color: "success",
|
|
512
|
-
children: "installed"
|
|
513
|
-
}, undefined, false, undefined, this),
|
|
514
|
-
seccompMissing && /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
515
|
-
dimColor: true,
|
|
516
|
-
children: " (required to block unix domain sockets)"
|
|
517
|
-
}, undefined, false, undefined, this)
|
|
518
|
-
]
|
|
519
|
-
}, undefined, true, undefined, this),
|
|
520
|
-
seccompMissing && /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
521
|
-
flexDirection: "column",
|
|
522
|
-
children: [
|
|
523
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
524
|
-
dimColor: true,
|
|
525
|
-
children: [
|
|
526
|
-
" ",
|
|
527
|
-
"\xB7 npm install -g @anthropic-ai/sandbox-runtime"
|
|
528
|
-
]
|
|
529
|
-
}, undefined, true, undefined, this),
|
|
530
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
531
|
-
dimColor: true,
|
|
532
|
-
children: [
|
|
533
|
-
" ",
|
|
534
|
-
"\xB7 or copy vendor/seccomp/* from sandbox-runtime and set"
|
|
535
|
-
]
|
|
536
|
-
}, undefined, true, undefined, this),
|
|
537
|
-
/* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
538
|
-
dimColor: true,
|
|
539
|
-
children: [
|
|
540
|
-
" ",
|
|
541
|
-
"sandbox.seccomp.bpfPath and applyPath in settings.json"
|
|
542
|
-
]
|
|
543
|
-
}, undefined, true, undefined, this)
|
|
544
|
-
]
|
|
545
|
-
}, undefined, true, undefined, this)
|
|
546
|
-
]
|
|
547
|
-
}, undefined, true, undefined, this)
|
|
548
|
-
]
|
|
549
|
-
}, undefined, true, undefined, this);
|
|
550
|
-
$[20] = bwrapMissing;
|
|
551
|
-
$[21] = seccompMissing;
|
|
552
|
-
$[22] = socatMissing;
|
|
553
|
-
$[23] = t10;
|
|
554
|
-
} else {
|
|
555
|
-
t10 = $[23];
|
|
556
|
-
}
|
|
557
|
-
t5 = /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedBox_default, {
|
|
558
|
-
flexDirection: "column",
|
|
559
|
-
paddingY: 1,
|
|
560
|
-
gap: 1,
|
|
561
|
-
children: [
|
|
562
|
-
t6,
|
|
563
|
-
t9,
|
|
564
|
-
t10,
|
|
565
|
-
otherErrors.map(_temp5)
|
|
566
|
-
]
|
|
567
|
-
}, undefined, true, undefined, this);
|
|
568
|
-
$[7] = bwrapMissing;
|
|
569
|
-
$[8] = depCheck.errors;
|
|
570
|
-
$[9] = rgMissing;
|
|
571
|
-
$[10] = seccompMissing;
|
|
572
|
-
$[11] = socatMissing;
|
|
573
|
-
$[12] = t5;
|
|
574
|
-
} else {
|
|
575
|
-
t5 = $[12];
|
|
576
|
-
}
|
|
577
|
-
return t5;
|
|
578
|
-
}
|
|
579
|
-
function _temp5(err) {
|
|
580
|
-
return /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(ThemedText, {
|
|
581
|
-
color: "error",
|
|
582
|
-
children: err
|
|
583
|
-
}, err, false, undefined, this);
|
|
584
|
-
}
|
|
585
|
-
function _temp4(e_2) {
|
|
586
|
-
return !e_2.includes("ripgrep") && !e_2.includes("bwrap") && !e_2.includes("socat");
|
|
587
|
-
}
|
|
588
|
-
function _temp3(e_1) {
|
|
589
|
-
return e_1.includes("socat");
|
|
590
|
-
}
|
|
591
|
-
function _temp2(e_0) {
|
|
592
|
-
return e_0.includes("bwrap");
|
|
593
|
-
}
|
|
594
|
-
function _temp6(e) {
|
|
595
|
-
return e.includes("ripgrep");
|
|
596
|
-
}
|
|
597
|
-
var import_compiler_runtime2, jsx_dev_runtime2;
|
|
598
|
-
var init_SandboxDependenciesTab = __esm(() => {
|
|
599
|
-
init_ink();
|
|
600
|
-
init_platform();
|
|
601
|
-
import_compiler_runtime2 = __toESM(require_compiler_runtime(), 1);
|
|
602
|
-
jsx_dev_runtime2 = __toESM(require_jsx_dev_runtime(), 1);
|
|
603
|
-
});
|
|
604
|
-
|
|
605
|
-
// src/components/sandbox/SandboxOverridesTab.tsx
|
|
606
|
-
function SandboxOverridesTab(t0) {
|
|
607
|
-
const $ = import_compiler_runtime3.c(5);
|
|
608
|
-
const {
|
|
609
|
-
onComplete
|
|
610
|
-
} = t0;
|
|
611
|
-
const isEnabled = SandboxManager.isSandboxingEnabled();
|
|
612
|
-
const isLocked = SandboxManager.areSandboxSettingsLockedByPolicy();
|
|
613
|
-
const currentAllowUnsandboxed = SandboxManager.areUnsandboxedCommandsAllowed();
|
|
614
|
-
if (!isEnabled) {
|
|
615
|
-
let t12;
|
|
616
|
-
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
617
|
-
t12 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
618
|
-
flexDirection: "column",
|
|
619
|
-
paddingY: 1,
|
|
620
|
-
children: /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
621
|
-
color: "subtle",
|
|
622
|
-
children: "Sandbox is not enabled. Enable sandbox to configure override settings."
|
|
623
|
-
}, undefined, false, undefined, this)
|
|
624
|
-
}, undefined, false, undefined, this);
|
|
625
|
-
$[0] = t12;
|
|
626
|
-
} else {
|
|
627
|
-
t12 = $[0];
|
|
628
|
-
}
|
|
629
|
-
return t12;
|
|
630
|
-
}
|
|
631
|
-
if (isLocked) {
|
|
632
|
-
let t12;
|
|
633
|
-
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
634
|
-
t12 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
635
|
-
color: "subtle",
|
|
636
|
-
children: "Override settings are managed by a higher-priority configuration and cannot be changed locally."
|
|
637
|
-
}, undefined, false, undefined, this);
|
|
638
|
-
$[1] = t12;
|
|
639
|
-
} else {
|
|
640
|
-
t12 = $[1];
|
|
641
|
-
}
|
|
642
|
-
let t2;
|
|
643
|
-
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
644
|
-
t2 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
645
|
-
flexDirection: "column",
|
|
646
|
-
paddingY: 1,
|
|
647
|
-
children: [
|
|
648
|
-
t12,
|
|
649
|
-
/* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
650
|
-
marginTop: 1,
|
|
651
|
-
children: /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
652
|
-
dimColor: true,
|
|
653
|
-
children: [
|
|
654
|
-
"Current setting:",
|
|
655
|
-
" ",
|
|
656
|
-
currentAllowUnsandboxed ? "Allow unsandboxed fallback" : "Strict sandbox mode"
|
|
657
|
-
]
|
|
658
|
-
}, undefined, true, undefined, this)
|
|
659
|
-
}, undefined, false, undefined, this)
|
|
660
|
-
]
|
|
661
|
-
}, undefined, true, undefined, this);
|
|
662
|
-
$[2] = t2;
|
|
663
|
-
} else {
|
|
664
|
-
t2 = $[2];
|
|
665
|
-
}
|
|
666
|
-
return t2;
|
|
667
|
-
}
|
|
668
|
-
let t1;
|
|
669
|
-
if ($[3] !== onComplete) {
|
|
670
|
-
t1 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(OverridesSelect, {
|
|
671
|
-
onComplete,
|
|
672
|
-
currentMode: currentAllowUnsandboxed ? "open" : "closed"
|
|
673
|
-
}, undefined, false, undefined, this);
|
|
674
|
-
$[3] = onComplete;
|
|
675
|
-
$[4] = t1;
|
|
676
|
-
} else {
|
|
677
|
-
t1 = $[4];
|
|
678
|
-
}
|
|
679
|
-
return t1;
|
|
680
|
-
}
|
|
681
|
-
function OverridesSelect(t0) {
|
|
682
|
-
const $ = import_compiler_runtime3.c(25);
|
|
683
|
-
const {
|
|
684
|
-
onComplete,
|
|
685
|
-
currentMode
|
|
686
|
-
} = t0;
|
|
687
|
-
const [theme] = useTheme();
|
|
688
|
-
const {
|
|
689
|
-
headerFocused,
|
|
690
|
-
focusHeader
|
|
691
|
-
} = useTabHeaderFocus();
|
|
692
|
-
let t1;
|
|
693
|
-
if ($[0] !== theme) {
|
|
694
|
-
t1 = color("success", theme)("(current)");
|
|
695
|
-
$[0] = theme;
|
|
696
|
-
$[1] = t1;
|
|
697
|
-
} else {
|
|
698
|
-
t1 = $[1];
|
|
699
|
-
}
|
|
700
|
-
const currentIndicator = t1;
|
|
701
|
-
const t2 = currentMode === "open" ? `Allow unsandboxed fallback ${currentIndicator}` : "Allow unsandboxed fallback";
|
|
702
|
-
let t3;
|
|
703
|
-
if ($[2] !== t2) {
|
|
704
|
-
t3 = {
|
|
705
|
-
label: t2,
|
|
706
|
-
value: "open"
|
|
707
|
-
};
|
|
708
|
-
$[2] = t2;
|
|
709
|
-
$[3] = t3;
|
|
710
|
-
} else {
|
|
711
|
-
t3 = $[3];
|
|
712
|
-
}
|
|
713
|
-
const t4 = currentMode === "closed" ? `Strict sandbox mode ${currentIndicator}` : "Strict sandbox mode";
|
|
714
|
-
let t5;
|
|
715
|
-
if ($[4] !== t4) {
|
|
716
|
-
t5 = {
|
|
717
|
-
label: t4,
|
|
718
|
-
value: "closed"
|
|
719
|
-
};
|
|
720
|
-
$[4] = t4;
|
|
721
|
-
$[5] = t5;
|
|
722
|
-
} else {
|
|
723
|
-
t5 = $[5];
|
|
724
|
-
}
|
|
725
|
-
let t6;
|
|
726
|
-
if ($[6] !== t3 || $[7] !== t5) {
|
|
727
|
-
t6 = [t3, t5];
|
|
728
|
-
$[6] = t3;
|
|
729
|
-
$[7] = t5;
|
|
730
|
-
$[8] = t6;
|
|
731
|
-
} else {
|
|
732
|
-
t6 = $[8];
|
|
733
|
-
}
|
|
734
|
-
const options = t6;
|
|
735
|
-
let t7;
|
|
736
|
-
if ($[9] !== onComplete) {
|
|
737
|
-
t7 = async function handleSelect2(value) {
|
|
738
|
-
const mode = value;
|
|
739
|
-
await SandboxManager.setSandboxSettings({
|
|
740
|
-
allowUnsandboxedCommands: mode === "open"
|
|
741
|
-
});
|
|
742
|
-
const message = mode === "open" ? "\u2713 Unsandboxed fallback allowed - commands can run outside sandbox when necessary" : "\u2713 Strict sandbox mode - all commands must run in sandbox or be excluded via the `excludedCommands` option";
|
|
743
|
-
onComplete(message);
|
|
744
|
-
};
|
|
745
|
-
$[9] = onComplete;
|
|
746
|
-
$[10] = t7;
|
|
747
|
-
} else {
|
|
748
|
-
t7 = $[10];
|
|
749
|
-
}
|
|
750
|
-
const handleSelect = t7;
|
|
751
|
-
let t8;
|
|
752
|
-
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
753
|
-
t8 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
754
|
-
marginBottom: 1,
|
|
755
|
-
children: /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
756
|
-
bold: true,
|
|
757
|
-
children: "Configure Overrides:"
|
|
758
|
-
}, undefined, false, undefined, this)
|
|
759
|
-
}, undefined, false, undefined, this);
|
|
760
|
-
$[11] = t8;
|
|
761
|
-
} else {
|
|
762
|
-
t8 = $[11];
|
|
763
|
-
}
|
|
764
|
-
let t9;
|
|
765
|
-
if ($[12] !== onComplete) {
|
|
766
|
-
t9 = () => onComplete(undefined, {
|
|
767
|
-
display: "skip"
|
|
768
|
-
});
|
|
769
|
-
$[12] = onComplete;
|
|
770
|
-
$[13] = t9;
|
|
771
|
-
} else {
|
|
772
|
-
t9 = $[13];
|
|
773
|
-
}
|
|
774
|
-
let t10;
|
|
775
|
-
if ($[14] !== focusHeader || $[15] !== handleSelect || $[16] !== headerFocused || $[17] !== options || $[18] !== t9) {
|
|
776
|
-
t10 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Select, {
|
|
777
|
-
options,
|
|
778
|
-
onChange: handleSelect,
|
|
779
|
-
onCancel: t9,
|
|
780
|
-
onUpFromFirstItem: focusHeader,
|
|
781
|
-
isDisabled: headerFocused
|
|
782
|
-
}, undefined, false, undefined, this);
|
|
783
|
-
$[14] = focusHeader;
|
|
784
|
-
$[15] = handleSelect;
|
|
785
|
-
$[16] = headerFocused;
|
|
786
|
-
$[17] = options;
|
|
787
|
-
$[18] = t9;
|
|
788
|
-
$[19] = t10;
|
|
789
|
-
} else {
|
|
790
|
-
t10 = $[19];
|
|
791
|
-
}
|
|
792
|
-
let t11;
|
|
793
|
-
if ($[20] === Symbol.for("react.memo_cache_sentinel")) {
|
|
794
|
-
t11 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
795
|
-
dimColor: true,
|
|
796
|
-
children: [
|
|
797
|
-
/* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
798
|
-
bold: true,
|
|
799
|
-
dimColor: true,
|
|
800
|
-
children: "Allow unsandboxed fallback:"
|
|
801
|
-
}, undefined, false, undefined, this),
|
|
802
|
-
" ",
|
|
803
|
-
"When a command fails due to sandbox restrictions, Claude can retry with dangerouslyDisableSandbox to run outside the sandbox (falling back to default permissions)."
|
|
804
|
-
]
|
|
805
|
-
}, undefined, true, undefined, this);
|
|
806
|
-
$[20] = t11;
|
|
807
|
-
} else {
|
|
808
|
-
t11 = $[20];
|
|
809
|
-
}
|
|
810
|
-
let t12;
|
|
811
|
-
if ($[21] === Symbol.for("react.memo_cache_sentinel")) {
|
|
812
|
-
t12 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
813
|
-
dimColor: true,
|
|
814
|
-
children: [
|
|
815
|
-
/* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
816
|
-
bold: true,
|
|
817
|
-
dimColor: true,
|
|
818
|
-
children: "Strict sandbox mode:"
|
|
819
|
-
}, undefined, false, undefined, this),
|
|
820
|
-
" ",
|
|
821
|
-
"All bash commands invoked by the model must run in the sandbox unless they are explicitly listed in excludedCommands."
|
|
822
|
-
]
|
|
823
|
-
}, undefined, true, undefined, this);
|
|
824
|
-
$[21] = t12;
|
|
825
|
-
} else {
|
|
826
|
-
t12 = $[21];
|
|
827
|
-
}
|
|
828
|
-
let t13;
|
|
829
|
-
if ($[22] === Symbol.for("react.memo_cache_sentinel")) {
|
|
830
|
-
t13 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
831
|
-
flexDirection: "column",
|
|
832
|
-
marginTop: 1,
|
|
833
|
-
gap: 1,
|
|
834
|
-
children: [
|
|
835
|
-
t11,
|
|
836
|
-
t12,
|
|
837
|
-
/* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedText, {
|
|
838
|
-
dimColor: true,
|
|
839
|
-
children: [
|
|
840
|
-
"Learn more:",
|
|
841
|
-
" ",
|
|
842
|
-
/* @__PURE__ */ jsx_dev_runtime3.jsxDEV(Link, {
|
|
843
|
-
url: "https://code.claude.com/docs/en/sandboxing#configure-sandboxing",
|
|
844
|
-
children: "code.claude.com/docs/en/sandboxing#configure-sandboxing"
|
|
845
|
-
}, undefined, false, undefined, this)
|
|
846
|
-
]
|
|
847
|
-
}, undefined, true, undefined, this)
|
|
848
|
-
]
|
|
849
|
-
}, undefined, true, undefined, this);
|
|
850
|
-
$[22] = t13;
|
|
851
|
-
} else {
|
|
852
|
-
t13 = $[22];
|
|
853
|
-
}
|
|
854
|
-
let t14;
|
|
855
|
-
if ($[23] !== t10) {
|
|
856
|
-
t14 = /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
857
|
-
flexDirection: "column",
|
|
858
|
-
paddingY: 1,
|
|
859
|
-
children: [
|
|
860
|
-
t8,
|
|
861
|
-
t10,
|
|
862
|
-
t13
|
|
863
|
-
]
|
|
864
|
-
}, undefined, true, undefined, this);
|
|
865
|
-
$[23] = t10;
|
|
866
|
-
$[24] = t14;
|
|
867
|
-
} else {
|
|
868
|
-
t14 = $[24];
|
|
869
|
-
}
|
|
870
|
-
return t14;
|
|
871
|
-
}
|
|
872
|
-
var import_compiler_runtime3, jsx_dev_runtime3;
|
|
873
|
-
var init_SandboxOverridesTab = __esm(() => {
|
|
874
|
-
init_ink();
|
|
875
|
-
init_sandbox_adapter();
|
|
876
|
-
init_select();
|
|
877
|
-
init_Tabs();
|
|
878
|
-
import_compiler_runtime3 = __toESM(require_compiler_runtime(), 1);
|
|
879
|
-
jsx_dev_runtime3 = __toESM(require_jsx_dev_runtime(), 1);
|
|
880
|
-
});
|
|
881
|
-
|
|
882
|
-
// src/components/sandbox/SandboxSettings.tsx
|
|
883
|
-
function SandboxSettings(t0) {
|
|
884
|
-
const $ = import_compiler_runtime4.c(34);
|
|
885
|
-
const {
|
|
886
|
-
onComplete,
|
|
887
|
-
depCheck
|
|
888
|
-
} = t0;
|
|
889
|
-
const [theme] = useTheme();
|
|
890
|
-
const currentEnabled = SandboxManager.isSandboxingEnabled();
|
|
891
|
-
const currentAutoAllow = SandboxManager.isAutoAllowBashIfSandboxedEnabled();
|
|
892
|
-
const hasWarnings = depCheck.warnings.length > 0;
|
|
893
|
-
let t1;
|
|
894
|
-
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
895
|
-
t1 = getSettings_DEPRECATED();
|
|
896
|
-
$[0] = t1;
|
|
897
|
-
} else {
|
|
898
|
-
t1 = $[0];
|
|
899
|
-
}
|
|
900
|
-
const settings = t1;
|
|
901
|
-
const allowAllUnixSockets = settings.sandbox?.network?.allowAllUnixSockets;
|
|
902
|
-
const showSocketWarning = hasWarnings && !allowAllUnixSockets;
|
|
903
|
-
const getCurrentMode = () => {
|
|
904
|
-
if (!currentEnabled) {
|
|
905
|
-
return "disabled";
|
|
906
|
-
}
|
|
907
|
-
if (currentAutoAllow) {
|
|
908
|
-
return "auto-allow";
|
|
909
|
-
}
|
|
910
|
-
return "regular";
|
|
911
|
-
};
|
|
912
|
-
const currentMode = getCurrentMode();
|
|
913
|
-
let t2;
|
|
914
|
-
if ($[1] !== theme) {
|
|
915
|
-
t2 = color("success", theme)("(current)");
|
|
916
|
-
$[1] = theme;
|
|
917
|
-
$[2] = t2;
|
|
918
|
-
} else {
|
|
919
|
-
t2 = $[2];
|
|
920
|
-
}
|
|
921
|
-
const currentIndicator = t2;
|
|
922
|
-
const t3 = currentMode === "auto-allow" ? `Sandbox BashTool, with auto-allow ${currentIndicator}` : "Sandbox BashTool, with auto-allow";
|
|
923
|
-
let t4;
|
|
924
|
-
if ($[3] !== t3) {
|
|
925
|
-
t4 = {
|
|
926
|
-
label: t3,
|
|
927
|
-
value: "auto-allow"
|
|
928
|
-
};
|
|
929
|
-
$[3] = t3;
|
|
930
|
-
$[4] = t4;
|
|
931
|
-
} else {
|
|
932
|
-
t4 = $[4];
|
|
933
|
-
}
|
|
934
|
-
const t5 = currentMode === "regular" ? `Sandbox BashTool, with regular permissions ${currentIndicator}` : "Sandbox BashTool, with regular permissions";
|
|
935
|
-
let t6;
|
|
936
|
-
if ($[5] !== t5) {
|
|
937
|
-
t6 = {
|
|
938
|
-
label: t5,
|
|
939
|
-
value: "regular"
|
|
940
|
-
};
|
|
941
|
-
$[5] = t5;
|
|
942
|
-
$[6] = t6;
|
|
943
|
-
} else {
|
|
944
|
-
t6 = $[6];
|
|
945
|
-
}
|
|
946
|
-
const t7 = currentMode === "disabled" ? `No Sandbox ${currentIndicator}` : "No Sandbox";
|
|
947
|
-
let t8;
|
|
948
|
-
if ($[7] !== t7) {
|
|
949
|
-
t8 = {
|
|
950
|
-
label: t7,
|
|
951
|
-
value: "disabled"
|
|
952
|
-
};
|
|
953
|
-
$[7] = t7;
|
|
954
|
-
$[8] = t8;
|
|
955
|
-
} else {
|
|
956
|
-
t8 = $[8];
|
|
957
|
-
}
|
|
958
|
-
let t9;
|
|
959
|
-
if ($[9] !== t4 || $[10] !== t6 || $[11] !== t8) {
|
|
960
|
-
t9 = [t4, t6, t8];
|
|
961
|
-
$[9] = t4;
|
|
962
|
-
$[10] = t6;
|
|
963
|
-
$[11] = t8;
|
|
964
|
-
$[12] = t9;
|
|
965
|
-
} else {
|
|
966
|
-
t9 = $[12];
|
|
967
|
-
}
|
|
968
|
-
const options = t9;
|
|
969
|
-
let t10;
|
|
970
|
-
if ($[13] !== onComplete) {
|
|
971
|
-
t10 = async function handleSelect2(value) {
|
|
972
|
-
const mode = value;
|
|
973
|
-
bb33:
|
|
974
|
-
switch (mode) {
|
|
975
|
-
case "auto-allow": {
|
|
976
|
-
await SandboxManager.setSandboxSettings({
|
|
977
|
-
enabled: true,
|
|
978
|
-
autoAllowBashIfSandboxed: true
|
|
979
|
-
});
|
|
980
|
-
onComplete("\u2713 Sandbox enabled with auto-allow for bash commands");
|
|
981
|
-
break bb33;
|
|
982
|
-
}
|
|
983
|
-
case "regular": {
|
|
984
|
-
await SandboxManager.setSandboxSettings({
|
|
985
|
-
enabled: true,
|
|
986
|
-
autoAllowBashIfSandboxed: false
|
|
987
|
-
});
|
|
988
|
-
onComplete("\u2713 Sandbox enabled with regular bash permissions");
|
|
989
|
-
break bb33;
|
|
990
|
-
}
|
|
991
|
-
case "disabled": {
|
|
992
|
-
await SandboxManager.setSandboxSettings({
|
|
993
|
-
enabled: false,
|
|
994
|
-
autoAllowBashIfSandboxed: false
|
|
995
|
-
});
|
|
996
|
-
onComplete("\u25CB Sandbox disabled");
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
};
|
|
1000
|
-
$[13] = onComplete;
|
|
1001
|
-
$[14] = t10;
|
|
1002
|
-
} else {
|
|
1003
|
-
t10 = $[14];
|
|
1004
|
-
}
|
|
1005
|
-
const handleSelect = t10;
|
|
1006
|
-
let t11;
|
|
1007
|
-
if ($[15] !== onComplete) {
|
|
1008
|
-
t11 = {
|
|
1009
|
-
"confirm:no": () => onComplete(undefined, {
|
|
1010
|
-
display: "skip"
|
|
1011
|
-
})
|
|
1012
|
-
};
|
|
1013
|
-
$[15] = onComplete;
|
|
1014
|
-
$[16] = t11;
|
|
1015
|
-
} else {
|
|
1016
|
-
t11 = $[16];
|
|
1017
|
-
}
|
|
1018
|
-
let t12;
|
|
1019
|
-
if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1020
|
-
t12 = {
|
|
1021
|
-
context: "Settings"
|
|
1022
|
-
};
|
|
1023
|
-
$[17] = t12;
|
|
1024
|
-
} else {
|
|
1025
|
-
t12 = $[17];
|
|
1026
|
-
}
|
|
1027
|
-
useKeybindings(t11, t12);
|
|
1028
|
-
let t13;
|
|
1029
|
-
if ($[18] !== handleSelect || $[19] !== onComplete || $[20] !== options || $[21] !== showSocketWarning) {
|
|
1030
|
-
t13 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Tab, {
|
|
1031
|
-
title: "Mode",
|
|
1032
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SandboxModeTab, {
|
|
1033
|
-
showSocketWarning,
|
|
1034
|
-
options,
|
|
1035
|
-
onSelect: handleSelect,
|
|
1036
|
-
onComplete
|
|
1037
|
-
}, undefined, false, undefined, this)
|
|
1038
|
-
}, "mode", false, undefined, this);
|
|
1039
|
-
$[18] = handleSelect;
|
|
1040
|
-
$[19] = onComplete;
|
|
1041
|
-
$[20] = options;
|
|
1042
|
-
$[21] = showSocketWarning;
|
|
1043
|
-
$[22] = t13;
|
|
1044
|
-
} else {
|
|
1045
|
-
t13 = $[22];
|
|
1046
|
-
}
|
|
1047
|
-
const modeTab = t13;
|
|
1048
|
-
let t14;
|
|
1049
|
-
if ($[23] !== onComplete) {
|
|
1050
|
-
t14 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Tab, {
|
|
1051
|
-
title: "Overrides",
|
|
1052
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SandboxOverridesTab, {
|
|
1053
|
-
onComplete
|
|
1054
|
-
}, undefined, false, undefined, this)
|
|
1055
|
-
}, "overrides", false, undefined, this);
|
|
1056
|
-
$[23] = onComplete;
|
|
1057
|
-
$[24] = t14;
|
|
1058
|
-
} else {
|
|
1059
|
-
t14 = $[24];
|
|
1060
|
-
}
|
|
1061
|
-
const overridesTab = t14;
|
|
1062
|
-
let t15;
|
|
1063
|
-
if ($[25] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1064
|
-
t15 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Tab, {
|
|
1065
|
-
title: "Config",
|
|
1066
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SandboxConfigTab, {}, undefined, false, undefined, this)
|
|
1067
|
-
}, "config", false, undefined, this);
|
|
1068
|
-
$[25] = t15;
|
|
1069
|
-
} else {
|
|
1070
|
-
t15 = $[25];
|
|
1071
|
-
}
|
|
1072
|
-
const configTab = t15;
|
|
1073
|
-
const hasErrors = depCheck.errors.length > 0;
|
|
1074
|
-
let t16;
|
|
1075
|
-
if ($[26] !== depCheck || $[27] !== hasErrors || $[28] !== hasWarnings || $[29] !== modeTab || $[30] !== overridesTab) {
|
|
1076
|
-
t16 = hasErrors ? [/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Tab, {
|
|
1077
|
-
title: "Dependencies",
|
|
1078
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SandboxDependenciesTab, {
|
|
1079
|
-
depCheck
|
|
1080
|
-
}, undefined, false, undefined, this)
|
|
1081
|
-
}, "dependencies", false, undefined, this)] : [modeTab, ...hasWarnings ? [/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Tab, {
|
|
1082
|
-
title: "Dependencies",
|
|
1083
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(SandboxDependenciesTab, {
|
|
1084
|
-
depCheck
|
|
1085
|
-
}, undefined, false, undefined, this)
|
|
1086
|
-
}, "dependencies", false, undefined, this)] : [], overridesTab, configTab];
|
|
1087
|
-
$[26] = depCheck;
|
|
1088
|
-
$[27] = hasErrors;
|
|
1089
|
-
$[28] = hasWarnings;
|
|
1090
|
-
$[29] = modeTab;
|
|
1091
|
-
$[30] = overridesTab;
|
|
1092
|
-
$[31] = t16;
|
|
1093
|
-
} else {
|
|
1094
|
-
t16 = $[31];
|
|
1095
|
-
}
|
|
1096
|
-
const tabs = t16;
|
|
1097
|
-
let t17;
|
|
1098
|
-
if ($[32] !== tabs) {
|
|
1099
|
-
t17 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Pane, {
|
|
1100
|
-
color: "permission",
|
|
1101
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Tabs, {
|
|
1102
|
-
title: "Sandbox:",
|
|
1103
|
-
color: "permission",
|
|
1104
|
-
defaultTab: "Mode",
|
|
1105
|
-
children: tabs
|
|
1106
|
-
}, undefined, false, undefined, this)
|
|
1107
|
-
}, undefined, false, undefined, this);
|
|
1108
|
-
$[32] = tabs;
|
|
1109
|
-
$[33] = t17;
|
|
1110
|
-
} else {
|
|
1111
|
-
t17 = $[33];
|
|
1112
|
-
}
|
|
1113
|
-
return t17;
|
|
1114
|
-
}
|
|
1115
|
-
function SandboxModeTab(t0) {
|
|
1116
|
-
const $ = import_compiler_runtime4.c(16);
|
|
1117
|
-
const {
|
|
1118
|
-
showSocketWarning,
|
|
1119
|
-
options,
|
|
1120
|
-
onSelect,
|
|
1121
|
-
onComplete
|
|
1122
|
-
} = t0;
|
|
1123
|
-
const {
|
|
1124
|
-
headerFocused,
|
|
1125
|
-
focusHeader
|
|
1126
|
-
} = useTabHeaderFocus();
|
|
1127
|
-
let t1;
|
|
1128
|
-
if ($[0] !== showSocketWarning) {
|
|
1129
|
-
t1 = showSocketWarning && /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
1130
|
-
marginBottom: 1,
|
|
1131
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
1132
|
-
color: "warning",
|
|
1133
|
-
children: "Cannot block unix domain sockets (see Dependencies tab)"
|
|
1134
|
-
}, undefined, false, undefined, this)
|
|
1135
|
-
}, undefined, false, undefined, this);
|
|
1136
|
-
$[0] = showSocketWarning;
|
|
1137
|
-
$[1] = t1;
|
|
1138
|
-
} else {
|
|
1139
|
-
t1 = $[1];
|
|
1140
|
-
}
|
|
1141
|
-
let t2;
|
|
1142
|
-
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1143
|
-
t2 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
1144
|
-
marginBottom: 1,
|
|
1145
|
-
children: /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
1146
|
-
bold: true,
|
|
1147
|
-
children: "Configure Mode:"
|
|
1148
|
-
}, undefined, false, undefined, this)
|
|
1149
|
-
}, undefined, false, undefined, this);
|
|
1150
|
-
$[2] = t2;
|
|
1151
|
-
} else {
|
|
1152
|
-
t2 = $[2];
|
|
1153
|
-
}
|
|
1154
|
-
let t3;
|
|
1155
|
-
if ($[3] !== onComplete) {
|
|
1156
|
-
t3 = () => onComplete(undefined, {
|
|
1157
|
-
display: "skip"
|
|
1158
|
-
});
|
|
1159
|
-
$[3] = onComplete;
|
|
1160
|
-
$[4] = t3;
|
|
1161
|
-
} else {
|
|
1162
|
-
t3 = $[4];
|
|
1163
|
-
}
|
|
1164
|
-
let t4;
|
|
1165
|
-
if ($[5] !== focusHeader || $[6] !== headerFocused || $[7] !== onSelect || $[8] !== options || $[9] !== t3) {
|
|
1166
|
-
t4 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Select, {
|
|
1167
|
-
options,
|
|
1168
|
-
onChange: onSelect,
|
|
1169
|
-
onCancel: t3,
|
|
1170
|
-
onUpFromFirstItem: focusHeader,
|
|
1171
|
-
isDisabled: headerFocused
|
|
1172
|
-
}, undefined, false, undefined, this);
|
|
1173
|
-
$[5] = focusHeader;
|
|
1174
|
-
$[6] = headerFocused;
|
|
1175
|
-
$[7] = onSelect;
|
|
1176
|
-
$[8] = options;
|
|
1177
|
-
$[9] = t3;
|
|
1178
|
-
$[10] = t4;
|
|
1179
|
-
} else {
|
|
1180
|
-
t4 = $[10];
|
|
1181
|
-
}
|
|
1182
|
-
let t5;
|
|
1183
|
-
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1184
|
-
t5 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
1185
|
-
dimColor: true,
|
|
1186
|
-
children: [
|
|
1187
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
1188
|
-
bold: true,
|
|
1189
|
-
dimColor: true,
|
|
1190
|
-
children: "Auto-allow mode:"
|
|
1191
|
-
}, undefined, false, undefined, this),
|
|
1192
|
-
" ",
|
|
1193
|
-
"Commands will try to run in the sandbox automatically, and attempts to run outside of the sandbox fallback to regular permissions. Explicit ask/deny rules are always respected."
|
|
1194
|
-
]
|
|
1195
|
-
}, undefined, true, undefined, this);
|
|
1196
|
-
$[11] = t5;
|
|
1197
|
-
} else {
|
|
1198
|
-
t5 = $[11];
|
|
1199
|
-
}
|
|
1200
|
-
let t6;
|
|
1201
|
-
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
1202
|
-
t6 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
1203
|
-
flexDirection: "column",
|
|
1204
|
-
marginTop: 1,
|
|
1205
|
-
gap: 1,
|
|
1206
|
-
children: [
|
|
1207
|
-
t5,
|
|
1208
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedText, {
|
|
1209
|
-
dimColor: true,
|
|
1210
|
-
children: [
|
|
1211
|
-
"Learn more:",
|
|
1212
|
-
" ",
|
|
1213
|
-
/* @__PURE__ */ jsx_dev_runtime4.jsxDEV(Link, {
|
|
1214
|
-
url: "https://code.claude.com/docs/en/sandboxing",
|
|
1215
|
-
children: "code.claude.com/docs/en/sandboxing"
|
|
1216
|
-
}, undefined, false, undefined, this)
|
|
1217
|
-
]
|
|
1218
|
-
}, undefined, true, undefined, this)
|
|
1219
|
-
]
|
|
1220
|
-
}, undefined, true, undefined, this);
|
|
1221
|
-
$[12] = t6;
|
|
1222
|
-
} else {
|
|
1223
|
-
t6 = $[12];
|
|
1224
|
-
}
|
|
1225
|
-
let t7;
|
|
1226
|
-
if ($[13] !== t1 || $[14] !== t4) {
|
|
1227
|
-
t7 = /* @__PURE__ */ jsx_dev_runtime4.jsxDEV(ThemedBox_default, {
|
|
1228
|
-
flexDirection: "column",
|
|
1229
|
-
paddingY: 1,
|
|
1230
|
-
children: [
|
|
1231
|
-
t1,
|
|
1232
|
-
t2,
|
|
1233
|
-
t4,
|
|
1234
|
-
t6
|
|
1235
|
-
]
|
|
1236
|
-
}, undefined, true, undefined, this);
|
|
1237
|
-
$[13] = t1;
|
|
1238
|
-
$[14] = t4;
|
|
1239
|
-
$[15] = t7;
|
|
1240
|
-
} else {
|
|
1241
|
-
t7 = $[15];
|
|
1242
|
-
}
|
|
1243
|
-
return t7;
|
|
1244
|
-
}
|
|
1245
|
-
var import_compiler_runtime4, jsx_dev_runtime4;
|
|
1246
|
-
var init_SandboxSettings = __esm(() => {
|
|
1247
|
-
init_ink();
|
|
1248
|
-
init_useKeybinding();
|
|
1249
|
-
init_sandbox_adapter();
|
|
1250
|
-
init_settings();
|
|
1251
|
-
init_select();
|
|
1252
|
-
init_Pane();
|
|
1253
|
-
init_Tabs();
|
|
1254
|
-
init_SandboxConfigTab();
|
|
1255
|
-
init_SandboxDependenciesTab();
|
|
1256
|
-
init_SandboxOverridesTab();
|
|
1257
|
-
import_compiler_runtime4 = __toESM(require_compiler_runtime(), 1);
|
|
1258
|
-
jsx_dev_runtime4 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1259
|
-
});
|
|
1260
|
-
|
|
1261
|
-
// src/commands/sandbox-toggle/sandbox-toggle.tsx
|
|
1262
|
-
import { relative } from "path";
|
|
1263
|
-
async function call(onDone, _context, args) {
|
|
1264
|
-
const settings = getSettings_DEPRECATED();
|
|
1265
|
-
const themeName = settings.theme || "light";
|
|
1266
|
-
const platform = getPlatform();
|
|
1267
|
-
if (!SandboxManager.isSupportedPlatform()) {
|
|
1268
|
-
const errorMessage = platform === "wsl" ? "Error: Sandboxing requires WSL2. WSL1 is not supported." : "Error: Sandboxing is currently only supported on macOS, Linux, and WSL2.";
|
|
1269
|
-
const message = color("error", themeName)(errorMessage);
|
|
1270
|
-
onDone(message);
|
|
1271
|
-
return null;
|
|
1272
|
-
}
|
|
1273
|
-
const depCheck = SandboxManager.checkDependencies();
|
|
1274
|
-
if (!SandboxManager.isPlatformInEnabledList()) {
|
|
1275
|
-
const message = color("error", themeName)(`Error: Sandboxing is disabled for this platform (${platform}) via the enabledPlatforms setting.`);
|
|
1276
|
-
onDone(message);
|
|
1277
|
-
return null;
|
|
1278
|
-
}
|
|
1279
|
-
if (SandboxManager.areSandboxSettingsLockedByPolicy()) {
|
|
1280
|
-
const message = color("error", themeName)("Error: Sandbox settings are overridden by a higher-priority configuration and cannot be changed locally.");
|
|
1281
|
-
onDone(message);
|
|
1282
|
-
return null;
|
|
1283
|
-
}
|
|
1284
|
-
const trimmedArgs = args?.trim() || "";
|
|
1285
|
-
if (!trimmedArgs) {
|
|
1286
|
-
return /* @__PURE__ */ jsx_dev_runtime5.jsxDEV(SandboxSettings, {
|
|
1287
|
-
onComplete: onDone,
|
|
1288
|
-
depCheck
|
|
1289
|
-
}, undefined, false, undefined, this);
|
|
1290
|
-
}
|
|
1291
|
-
if (trimmedArgs) {
|
|
1292
|
-
const parts = trimmedArgs.split(" ");
|
|
1293
|
-
const subcommand = parts[0];
|
|
1294
|
-
if (subcommand === "exclude") {
|
|
1295
|
-
const commandPattern = trimmedArgs.slice("exclude ".length).trim();
|
|
1296
|
-
if (!commandPattern) {
|
|
1297
|
-
const message2 = color("error", themeName)('Error: Please provide a command pattern to exclude (e.g., /sandbox exclude "npm run test:*")');
|
|
1298
|
-
onDone(message2);
|
|
1299
|
-
return null;
|
|
1300
|
-
}
|
|
1301
|
-
const cleanPattern = commandPattern.replace(/^["']|["']$/g, "");
|
|
1302
|
-
addToExcludedCommands(cleanPattern);
|
|
1303
|
-
const localSettingsPath = getSettingsFilePathForSource("localSettings");
|
|
1304
|
-
const relativePath = localSettingsPath ? relative(getCwdState(), localSettingsPath) : ".claude/settings.local.json";
|
|
1305
|
-
const message = color("success", themeName)(`Added "${cleanPattern}" to excluded commands in ${relativePath}`);
|
|
1306
|
-
onDone(message);
|
|
1307
|
-
return null;
|
|
1308
|
-
} else {
|
|
1309
|
-
const message = color("error", themeName)(`Error: Unknown subcommand "${subcommand}". Available subcommand: exclude`);
|
|
1310
|
-
onDone(message);
|
|
1311
|
-
return null;
|
|
1312
|
-
}
|
|
1313
|
-
}
|
|
1314
|
-
return null;
|
|
1315
|
-
}
|
|
1316
|
-
var jsx_dev_runtime5;
|
|
1317
|
-
var init_sandbox_toggle = __esm(() => {
|
|
1318
|
-
init_state();
|
|
1319
|
-
init_SandboxSettings();
|
|
1320
|
-
init_ink();
|
|
1321
|
-
init_platform();
|
|
1322
|
-
init_sandbox_adapter();
|
|
1323
|
-
init_settings();
|
|
1324
|
-
jsx_dev_runtime5 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1325
|
-
});
|
|
1326
|
-
init_sandbox_toggle();
|
|
1327
|
-
|
|
1328
|
-
export {
|
|
1329
|
-
call
|
|
1330
|
-
};
|