@opencode/core 0.0.0-dev-21654 → 0.0.0-dev-21662
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/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-cache-034tev2y.js → mime-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-g4y5gz37.js → mime-099h1hwj.js} +6 -6
- package/dist/chunks/{repository-cache-v9snnrq5.js → mime-0akmrmk7.js} +22 -22
- package/dist/chunks/{repository-cache-9db9x33r.js → mime-0gewffq4.js} +12 -12
- package/dist/chunks/{repository-cache-7bg5w1mh.js → mime-12a87htm.js} +8 -8
- package/dist/chunks/{repository-cache-bgjq6n3s.js → mime-12yp6zfs.js} +49 -49
- package/dist/chunks/{repository-cache-5n23vyzy.js → mime-18efg9pm.js} +7 -7
- package/dist/chunks/{repository-cache-0k1p4s69.js → mime-1dgpftbk.js} +7 -7
- package/dist/chunks/{repository-cache-1ep2p91f.js → mime-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-nvvc4vjs.js → mime-1f869mtq.js} +4 -4
- package/dist/chunks/{repository-cache-c295kw9q.js → mime-1hshenye.js} +4 -4
- package/dist/chunks/{repository-cache-bwsq2f4f.js → mime-1jt66y4q.js} +47 -47
- package/dist/chunks/{repository-cache-ex2c5m6n.js → mime-1pt7st65.js} +19 -19
- package/dist/chunks/mime-1s6zx0v5.js +257 -0
- package/dist/chunks/{repository-cache-48zhenr1.js → mime-1ta8vatk.js} +4 -4
- package/dist/chunks/{repository-cache-1x2knyw4.js → mime-1x2knyw4.js} +1 -1
- package/dist/chunks/{repository-cache-q92ejtxw.js → mime-1ynsyetg.js} +25 -25
- package/dist/chunks/{repository-cache-6tnd2r5t.js → mime-2bpj5bas.js} +86 -86
- package/dist/chunks/{repository-cache-js82nf9k.js → mime-2c6wxkce.js} +11 -11
- package/dist/chunks/{repository-cache-f1d6w5yp.js → mime-2qc2a76n.js} +11 -11
- package/dist/chunks/{repository-cache-bx39zcgj.js → mime-2r3n53wq.js} +11 -11
- package/dist/chunks/{repository-cache-kpyf14q1.js → mime-2trgpvge.js} +15 -15
- package/dist/chunks/{repository-cache-1ytqv3fd.js → mime-2yvtks3w.js} +6 -6
- package/dist/chunks/{repository-cache-2z1j29yd.js → mime-2z1j29yd.js} +1 -1
- package/dist/chunks/{repository-cache-dy4mqkt9.js → mime-326newke.js} +4 -4
- package/dist/chunks/{repository-cache-hpfjxvqq.js → mime-3483qh8f.js} +19 -19
- package/dist/chunks/{repository-cache-j49x6kf4.js → mime-35y8wyjz.js} +8 -8
- package/dist/chunks/{repository-cache-epb2tz48.js → mime-367y2685.js} +6 -6
- package/dist/chunks/{repository-cache-1xj3kh2r.js → mime-3fddq23p.js} +22 -22
- package/dist/chunks/{repository-cache-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3kdbrncp.js → mime-3kdbrncp.js} +2 -2
- package/dist/chunks/{repository-cache-3nnrz6f6.js → mime-3nnrz6f6.js} +1 -1
- package/dist/chunks/{repository-cache-7epm6vve.js → mime-3rn14jrq.js} +19 -19
- package/dist/chunks/{repository-cache-qqg9c0kv.js → mime-3ryz99p0.js} +4 -4
- package/dist/chunks/{repository-cache-js4fqk0b.js → mime-3x352axd.js} +30 -30
- package/dist/chunks/{repository-cache-rfkydm6q.js → mime-3xr2c3vg.js} +43 -43
- package/dist/chunks/{repository-cache-dapvcjq1.js → mime-3yh7bp88.js} +22 -22
- package/dist/chunks/{repository-cache-h04fff7h.js → mime-40d1e0p0.js} +43 -43
- package/dist/chunks/{repository-cache-1djcyy3s.js → mime-4en5cy3a.js} +15 -15
- package/dist/chunks/{repository-cache-tjze7m48.js → mime-4rs84ng6.js} +10 -10
- package/dist/chunks/{repository-cache-4v008n1t.js → mime-4v008n1t.js} +1 -1
- package/dist/chunks/{repository-cache-4xvmh7wp.js → mime-4xvmh7wp.js} +3 -3
- package/dist/chunks/{repository-cache-0m0bmnz6.js → mime-57b792pb.js} +47 -47
- package/dist/chunks/{repository-cache-5m9w47nd.js → mime-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-b6vsg801.js → mime-5nnwax6m.js} +5 -5
- package/dist/chunks/{repository-cache-q9vkgwxm.js → mime-5sm65pen.js} +50 -50
- package/dist/chunks/{repository-cache-6esdw8yj.js → mime-6esdw8yj.js} +1 -1
- package/dist/chunks/{repository-cache-3f8v07ch.js → mime-6fpyxm8h.js} +11 -11
- package/dist/chunks/{repository-cache-fera0h98.js → mime-6g5dn60k.js} +10 -10
- package/dist/chunks/{repository-cache-05t45fgn.js → mime-6gm6bk7h.js} +20 -20
- package/dist/chunks/{repository-cache-6pjqjmy2.js → mime-6pjqjmy2.js} +1 -1
- package/dist/chunks/{repository-cache-w8qtt4th.js → mime-76cb1hcw.js} +4 -4
- package/dist/chunks/{repository-cache-770pw0s1.js → mime-770pw0s1.js} +1 -1
- package/dist/chunks/{repository-cache-cb840yf6.js → mime-78t3ejb4.js} +22 -22
- package/dist/chunks/{repository-cache-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-tsfhzs96.js → mime-7hkznkk2.js} +22 -22
- package/dist/chunks/{repository-cache-bee3dq4t.js → mime-7hy4mxk4.js} +5 -5
- package/dist/chunks/{repository-cache-7w2ypzdf.js → mime-7w2ypzdf.js} +1 -1
- package/dist/chunks/{repository-cache-r4xyerk1.js → mime-7ymw8hcc.js} +39 -39
- package/dist/chunks/{repository-cache-ajjhf6jy.js → mime-7zghsshh.js} +24 -24
- package/dist/chunks/{repository-cache-6n4ac7kc.js → mime-845h38vz.js} +33 -33
- package/dist/chunks/{repository-cache-dvhq7cxa.js → mime-86vkr6ja.js} +18 -18
- package/dist/chunks/{repository-cache-xfffv0qn.js → mime-8dvrnm31.js} +36 -36
- package/dist/chunks/{repository-cache-g3dxjs5g.js → mime-8e1vzrak.js} +27 -27
- package/dist/chunks/{repository-cache-w12njt9q.js → mime-8f1s63js.js} +5 -5
- package/dist/chunks/{repository-cache-336ztn5g.js → mime-8j2dev17.js} +40 -40
- package/dist/chunks/{repository-cache-316j7v8e.js → mime-8jmzjr3t.js} +5 -5
- package/dist/chunks/{repository-cache-c8666r4c.js → mime-8sxdqgb0.js} +6 -6
- package/dist/chunks/{repository-cache-8wtp7s3z.js → mime-8wtp7s3z.js} +1 -1
- package/dist/chunks/{repository-cache-jcqm84fr.js → mime-8x9y3wj0.js} +9 -9
- package/dist/chunks/{repository-cache-91rj84md.js → mime-91rj84md.js} +1 -1
- package/dist/chunks/{repository-cache-98vm4ve1.js → mime-92xjtyzm.js} +3 -3
- package/dist/chunks/{repository-cache-c3cfh5w6.js → mime-9562mf0m.js} +9 -9
- package/dist/chunks/{repository-cache-mkadae17.js → mime-9975mbgd.js} +21 -21
- package/dist/chunks/{repository-cache-998yhzzq.js → mime-998yhzzq.js} +3 -3
- package/dist/chunks/{repository-cache-5agv5pnb.js → mime-99s58nzh.js} +9 -9
- package/dist/chunks/{repository-cache-1q4dac4t.js → mime-9bbgn1zx.js} +10 -10
- package/dist/chunks/{repository-cache-j5c0nw1x.js → mime-9ben7srh.js} +12 -12
- package/dist/chunks/{repository-cache-j623kct8.js → mime-9mcfgtzv.js} +191 -191
- package/dist/chunks/{repository-cache-masd7ga8.js → mime-9p9xqj3m.js} +8 -8
- package/dist/chunks/{repository-cache-kq1mzbp8.js → mime-9tgdekzb.js} +49 -49
- package/dist/chunks/{repository-cache-e8pm465n.js → mime-9tvpxs1q.js} +4 -4
- package/dist/chunks/{repository-cache-tmmqa6ew.js → mime-a4ed5y5r.js} +17 -17
- package/dist/chunks/{repository-cache-3hq0yj39.js → mime-a5qzt3rb.js} +2 -2
- package/dist/chunks/{repository-cache-wcqq4kvm.js → mime-ab5qny6w.js} +34 -34
- package/dist/chunks/{repository-cache-n6q34c7t.js → mime-aex04x02.js} +4 -4
- package/dist/chunks/{repository-cache-dqfcynkm.js → mime-afg4vg0a.js} +43 -43
- package/dist/chunks/{repository-cache-trtfktz1.js → mime-agbrqsyc.js} +29 -29
- package/dist/chunks/{repository-cache-h0prck52.js → mime-antc3kt1.js} +20 -20
- package/dist/chunks/{repository-cache-6y1pjz6k.js → mime-at840swy.js} +11 -11
- package/dist/chunks/{repository-cache-n3mttp9c.js → mime-avb6j7af.js} +46 -46
- package/dist/chunks/{repository-cache-xjz1c7y8.js → mime-avyq2sch.js} +3 -3
- package/dist/chunks/{repository-cache-3gh72xqr.js → mime-ay6kp039.js} +4 -4
- package/dist/chunks/{repository-cache-ayjs7tqn.js → mime-ayjs7tqn.js} +2 -2
- package/dist/chunks/{repository-cache-b0mv4wxm.js → mime-b0mv4wxm.js} +2 -2
- package/dist/chunks/{repository-cache-vmvx5n1d.js → mime-b3a0a1dt.js} +11 -11
- package/dist/chunks/{repository-cache-pkwzrktv.js → mime-b5hjsjtc.js} +25 -25
- package/dist/chunks/{repository-cache-epqvz6sp.js → mime-b8fewz8c.js} +10 -10
- package/dist/chunks/{repository-cache-5555hpps.js → mime-bdkfqjh1.js} +3 -3
- package/dist/chunks/{repository-cache-ykqsc6sd.js → mime-be4ky1jx.js} +12 -12
- package/dist/chunks/{repository-cache-bstexjd6.js → mime-bstexjd6.js} +1 -1
- package/dist/chunks/{repository-cache-z5k5qppw.js → mime-c2q4mep3.js} +9 -9
- package/dist/chunks/{repository-cache-hv3v4m8k.js → mime-c37dr9s5.js} +38 -38
- package/dist/chunks/{repository-cache-s2pfznc4.js → mime-c4970w7t.js} +6 -6
- package/dist/chunks/{repository-cache-d79ca6ae.js → mime-c5k488xh.js} +11 -11
- package/dist/chunks/{repository-cache-kmpm0sjp.js → mime-c99z4cs7.js} +13 -13
- package/dist/chunks/{repository-cache-ss1jzj40.js → mime-c9kxtag3.js} +32 -32
- package/dist/chunks/{repository-cache-8ev1pcqt.js → mime-cmrd856v.js} +10 -10
- package/dist/chunks/{repository-cache-apz0gy3j.js → mime-cn524wvf.js} +14 -14
- package/dist/chunks/{repository-cache-wjjhfpfw.js → mime-cp2r97hh.js} +7 -7
- package/dist/chunks/{repository-cache-s1bnsxce.js → mime-cs9nhmnc.js} +35 -35
- package/dist/chunks/{repository-cache-g4nys0an.js → mime-csp3r2wr.js} +19 -19
- package/dist/chunks/{repository-cache-1711wf45.js → mime-cvh6tqsr.js} +12 -12
- package/dist/chunks/{repository-cache-g96fpxa4.js → mime-cwd8eagc.js} +4 -4
- package/dist/chunks/{repository-cache-c9t2ty9q.js → mime-d2887f8n.js} +4 -4
- package/dist/chunks/{repository-cache-d4v9tmah.js → mime-d4v9tmah.js} +2 -2
- package/dist/chunks/{repository-cache-m1gzeghs.js → mime-daavfx2n.js} +13 -13
- package/dist/chunks/{repository-cache-1vg1fscw.js → mime-dahs8mrh.js} +14 -14
- package/dist/chunks/{repository-cache-yyb6gzd4.js → mime-dcw54xmr.js} +11 -11
- package/dist/chunks/{repository-cache-s2dpb278.js → mime-de78d3b2.js} +38 -38
- package/dist/chunks/{repository-cache-5jjy01jh.js → mime-dehah0wg.js} +14 -14
- package/dist/chunks/{repository-cache-997dsrmm.js → mime-dkq45v8d.js} +8 -8
- package/dist/chunks/{repository-cache-txs3q12t.js → mime-dsxwdbtx.js} +21 -21
- package/dist/chunks/{repository-cache-m8wgw1ap.js → mime-dvn6w1q7.js} +22 -22
- package/dist/chunks/{repository-cache-t746b1c9.js → mime-dw8r8nqw.js} +15 -15
- package/dist/chunks/{repository-cache-pq54n2x2.js → mime-dxknpyv9.js} +17 -17
- package/dist/chunks/{repository-cache-3bp279dk.js → mime-dywpt2jz.js} +21 -21
- package/dist/chunks/{repository-cache-qjx0zx6g.js → mime-dz78pxbz.js} +25 -25
- package/dist/chunks/{repository-cache-d8zqpry0.js → mime-e3ynzpwe.js} +10 -10
- package/dist/chunks/{repository-cache-x14n6813.js → mime-e6zvexf0.js} +10 -10
- package/dist/chunks/{repository-cache-e834z07m.js → mime-e834z07m.js} +1 -1
- package/dist/chunks/{repository-cache-1d7c9p74.js → mime-ec8872rv.js} +35 -35
- package/dist/chunks/{repository-cache-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-6d6xnsqa.js → mime-egmw08v6.js} +5 -5
- package/dist/chunks/{repository-cache-pacbbjc0.js → mime-es3s6s73.js} +5 -5
- package/dist/chunks/{repository-cache-8ykqf5wm.js → mime-esezyxfc.js} +6 -6
- package/dist/chunks/{repository-cache-fbmv4zkf.js → mime-etb6jfd1.js} +32 -32
- package/dist/chunks/mime-ezna1kdx.js +18 -0
- package/dist/chunks/{repository-cache-e34d40ft.js → mime-f6h5pjek.js} +22 -22
- package/dist/chunks/{repository-cache-dexpzvpz.js → mime-faz434mq.js} +70 -70
- package/dist/chunks/{repository-cache-xq0cmmmd.js → mime-fb07bnzr.js} +15 -15
- package/dist/chunks/{repository-cache-kzkf7na7.js → mime-fb9p315s.js} +25 -25
- package/dist/chunks/{repository-cache-v5gy4fh6.js → mime-fbjqxkhq.js} +8 -8
- package/dist/chunks/{repository-cache-v0r2q4dy.js → mime-fc77mr6m.js} +27 -27
- package/dist/chunks/{repository-cache-ytbmzjv3.js → mime-fch85cg6.js} +12 -12
- package/dist/chunks/{repository-cache-fffv3p7h.js → mime-fffv3p7h.js} +1 -1
- package/dist/chunks/{repository-cache-vm0wcjea.js → mime-fmc8gber.js} +10 -10
- package/dist/chunks/{repository-cache-7y79ykyn.js → mime-fs4v9sqg.js} +4 -4
- package/dist/chunks/{repository-cache-etxarc0c.js → mime-fwg6t5aa.js} +5 -5
- package/dist/chunks/{repository-cache-g5h9c0rr.js → mime-g5h9c0rr.js} +2 -2
- package/dist/chunks/{repository-cache-sy5y9pr1.js → mime-g7tvh7ca.js} +12 -12
- package/dist/chunks/{repository-cache-0j8j5tyq.js → mime-gbppfq5v.js} +3 -3
- package/dist/chunks/{repository-cache-207ajt2h.js → mime-gfhhve88.js} +5 -5
- package/dist/chunks/{repository-cache-bkp072jg.js → mime-gkww2qs4.js} +8 -8
- package/dist/chunks/{repository-cache-rdcxq6dg.js → mime-grfdtbby.js} +39 -39
- package/dist/chunks/{repository-cache-882abr6x.js → mime-gx9515g0.js} +22 -22
- package/dist/chunks/{repository-cache-hgyydanp.js → mime-h0ra2w7t.js} +32 -32
- package/dist/chunks/{repository-cache-efrks8s7.js → mime-h5frkgzc.js} +31 -31
- package/dist/chunks/{repository-cache-daa7zsg6.js → mime-h6chhj6a.js} +35 -35
- package/dist/chunks/{repository-cache-s1s90sgh.js → mime-h7w2c8gt.js} +13 -13
- package/dist/chunks/{repository-cache-a93j7cb6.js → mime-h99fb420.js} +19 -19
- package/dist/chunks/{repository-cache-spy53wnz.js → mime-hvqk9px9.js} +23 -23
- package/dist/chunks/{repository-cache-18fakw40.js → mime-hy03mgxa.js} +21 -21
- package/dist/chunks/{repository-cache-362gf1js.js → mime-hymmg9xs.js} +32 -32
- package/dist/chunks/{repository-cache-j113cymg.js → mime-j113cymg.js} +1 -1
- package/dist/chunks/{repository-cache-507qjdd6.js → mime-j2e1pdqh.js} +7 -7
- package/dist/chunks/{repository-cache-5qdsq766.js → mime-j686yndx.js} +29 -29
- package/dist/chunks/{repository-cache-x588deh8.js → mime-j9d5v112.js} +6 -6
- package/dist/chunks/{repository-cache-xqwqgje7.js → mime-jf0x0mkb.js} +13 -13
- package/dist/chunks/{repository-cache-hvnf17n2.js → mime-jjby1v15.js} +19 -19
- package/dist/chunks/{repository-cache-xmav9z9e.js → mime-jqc4b6as.js} +22 -22
- package/dist/chunks/{repository-cache-3pmyxw75.js → mime-jw539tsy.js} +20 -20
- package/dist/chunks/{repository-cache-pc1v25hk.js → mime-jx89vj1k.js} +3 -3
- package/dist/chunks/{repository-cache-dgc6zgst.js → mime-k1ahy816.js} +5 -5
- package/dist/chunks/{repository-cache-k814nvkf.js → mime-k814nvkf.js} +1 -1
- package/dist/chunks/{repository-cache-q8f5hf3a.js → mime-k8ha6td9.js} +31 -31
- package/dist/chunks/{repository-cache-jsqqb0ba.js → mime-kcw2mt0q.js} +9 -9
- package/dist/chunks/{repository-cache-bygpv8tp.js → mime-kfye5h0a.js} +5 -5
- package/dist/chunks/{repository-cache-64mfsmgx.js → mime-khq36pg9.js} +13 -13
- package/dist/chunks/{repository-cache-ry1q6mjw.js → mime-ks4dhf3r.js} +17 -17
- package/dist/chunks/{repository-cache-m1714858.js → mime-m1714858.js} +1 -1
- package/dist/chunks/{repository-cache-g7esga4v.js → mime-m37sd98t.js} +7 -7
- package/dist/chunks/{repository-cache-z5gn6yp1.js → mime-m5y7mrec.js} +38 -38
- package/dist/chunks/{repository-cache-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-w9kbxh01.js → mime-makr7g9p.js} +16 -16
- package/dist/chunks/{repository-cache-maspj1v3.js → mime-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-95a59wgr.js → mime-mdrzmmdf.js} +28 -28
- package/dist/chunks/{repository-cache-c1wt3632.js → mime-mh7750nv.js} +2 -2
- package/dist/chunks/{repository-cache-bfknhky6.js → mime-mr6kd87r.js} +17 -17
- package/dist/chunks/{repository-cache-fayv5fjb.js → mime-ms6fca56.js} +51 -51
- package/dist/chunks/{repository-cache-vdkq80q2.js → mime-mtgfg349.js} +24 -24
- package/dist/chunks/{repository-cache-x5qs9jyb.js → mime-mvm1cxx8.js} +34 -34
- package/dist/chunks/{repository-cache-n0p0277s.js → mime-n0p0277s.js} +1 -1
- package/dist/chunks/{repository-cache-jkg2pe84.js → mime-n39q19g8.js} +4 -4
- package/dist/chunks/{repository-cache-tqwxcfvf.js → mime-nefyg2qe.js} +23 -23
- package/dist/chunks/{repository-cache-36sdsjr1.js → mime-ngeq0yak.js} +4 -4
- package/dist/chunks/{repository-cache-jgzdw78p.js → mime-nsm09qdn.js} +24 -24
- package/dist/chunks/{repository-cache-8nyf59xc.js → mime-nvq2cp9b.js} +3 -3
- package/dist/chunks/{repository-cache-vx3jgdek.js → mime-nvxqht09.js} +3 -3
- package/dist/chunks/{repository-cache-p015t6z3.js → mime-p015t6z3.js} +2 -2
- package/dist/chunks/{repository-cache-cegnsd8m.js → mime-p0ncpex0.js} +24 -24
- package/dist/chunks/{repository-cache-yxeqx0e7.js → mime-p6vdpmm7.js} +9 -9
- package/dist/chunks/{repository-cache-5zrxpy3q.js → mime-p7vhpwh8.js} +5 -5
- package/dist/chunks/{repository-cache-gvq5deds.js → mime-pbrndjvt.js} +23 -23
- package/dist/chunks/{repository-cache-pknna89w.js → mime-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-0xdzzbfj.js → mime-przv10k5.js} +4 -4
- package/dist/chunks/{repository-cache-ygxwp2qk.js → mime-pw6tpjg0.js} +48 -48
- package/dist/chunks/{repository-cache-hy96gn3p.js → mime-q1akkz19.js} +8 -8
- package/dist/chunks/{repository-cache-1914d4m2.js → mime-q8g6wzn7.js} +36 -36
- package/dist/chunks/{repository-cache-06ne1vpq.js → mime-q9qe5dt4.js} +9 -9
- package/dist/chunks/{repository-cache-fhcyw9er.js → mime-qesqfwsz.js} +5 -5
- package/dist/chunks/{repository-cache-bbwsfe1r.js → mime-qht88apq.js} +20 -20
- package/dist/chunks/{repository-cache-nn952gpa.js → mime-qhz1719s.js} +24 -24
- package/dist/chunks/{repository-cache-qjgzc4b4.js → mime-qjgzc4b4.js} +1 -1
- package/dist/chunks/{repository-cache-r0yr0wbs.js → mime-r0yr0wbs.js} +1 -1
- package/dist/chunks/{repository-cache-rb9dy4dg.js → mime-rb9dy4dg.js} +1 -1
- package/dist/chunks/{repository-cache-6g7sbevv.js → mime-rbg5ajna.js} +9 -9
- package/dist/chunks/{repository-cache-e45fk36t.js → mime-rcbjwvze.js} +4 -4
- package/dist/chunks/{repository-cache-majbhfqf.js → mime-rgw8zdkq.js} +8 -8
- package/dist/chunks/{repository-cache-bjhzkqyk.js → mime-rrad2nt9.js} +4 -4
- package/dist/chunks/{repository-cache-ae12v80k.js → mime-rrpm1tdr.js} +32 -32
- package/dist/chunks/{repository-cache-rt5dr6hb.js → mime-rt5dr6hb.js} +1 -1
- package/dist/chunks/{repository-cache-s7kyse9r.js → mime-s7kyse9r.js} +1 -1
- package/dist/chunks/{repository-cache-xj361v57.js → mime-sdw0stpz.js} +19 -19
- package/dist/chunks/{repository-cache-xqaf1wtx.js → mime-shhwk7r4.js} +16 -16
- package/dist/chunks/{repository-cache-6nw1th37.js → mime-shxxcw0f.js} +4 -4
- package/dist/chunks/{repository-cache-scxnsnp9.js → mime-sjefdf1p.js} +13 -13
- package/dist/chunks/{repository-cache-f2kxhge1.js → mime-sjsbybqr.js} +19 -19
- package/dist/chunks/{repository-cache-sqjzf8x2.js → mime-sqjzf8x2.js} +1 -1
- package/dist/chunks/{repository-cache-57t7dmdr.js → mime-ss9hm05n.js} +14 -14
- package/dist/chunks/{repository-cache-27bs79w9.js → mime-st7p3hwb.js} +2 -2
- package/dist/chunks/{repository-cache-tczq8hjw.js → mime-tczq8hjw.js} +1 -1
- package/dist/chunks/{repository-cache-y85xtnja.js → mime-tq360aqh.js} +23 -23
- package/dist/chunks/{repository-cache-ydsespw1.js → mime-tqx9c315.js} +8 -8
- package/dist/chunks/{repository-cache-5jrgt8vn.js → mime-tw8z5tpz.js} +21 -21
- package/dist/chunks/{repository-cache-tw8zr1ps.js → mime-tw8zr1ps.js} +1 -1
- package/dist/chunks/{repository-cache-twv2r8f4.js → mime-twv2r8f4.js} +2 -2
- package/dist/chunks/{repository-cache-vhv0edzw.js → mime-tx9renrs.js} +6 -6
- package/dist/chunks/{repository-cache-v2r1d0zg.js → mime-v2r1d0zg.js} +1 -1
- package/dist/chunks/{repository-cache-ga3nj1ct.js → mime-v7qwy7k6.js} +11 -11
- package/dist/chunks/{repository-cache-vd3b3yk9.js → mime-vd3b3yk9.js} +1 -1
- package/dist/chunks/{repository-cache-veqvce7d.js → mime-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-hfwb91mh.js → mime-vfaknrr0.js} +22 -22
- package/dist/chunks/{repository-cache-a10bphs2.js → mime-vgatjcfj.js} +88 -88
- package/dist/chunks/{repository-cache-0421tmwc.js → mime-vgk61ywp.js} +9 -9
- package/dist/chunks/{repository-cache-4ay36gmp.js → mime-vp7nbskz.js} +16 -16
- package/dist/chunks/{repository-cache-g8ptsmqj.js → mime-vxawy97t.js} +17 -17
- package/dist/chunks/{repository-cache-12dpmfar.js → mime-w24tx78k.js} +11 -11
- package/dist/chunks/{repository-cache-5azq9rsq.js → mime-w2cw001h.js} +3 -3
- package/dist/chunks/{repository-cache-w2eysc6j.js → mime-w2eysc6j.js} +2 -2
- package/dist/chunks/{repository-cache-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-wakvkjy4.js → mime-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-2vt8hxhk.js → mime-way9x9na.js} +21 -21
- package/dist/chunks/{repository-cache-wd87259q.js → mime-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-fznmdakp.js → mime-wr3re1en.js} +4 -4
- package/dist/chunks/{repository-cache-mt89smwx.js → mime-wsjhra5c.js} +11 -11
- package/dist/chunks/{repository-cache-z2wxp724.js → mime-wv25cjfq.js} +32 -32
- package/dist/chunks/{repository-cache-5dnrgg7g.js → mime-wvv9pwzq.js} +14 -14
- package/dist/chunks/{repository-cache-7vxtg88a.js → mime-wwf2h3h9.js} +25 -25
- package/dist/chunks/mime-x49m95er.js +523 -0
- package/dist/chunks/{repository-cache-ks3wwvy5.js → mime-x6e5q3s7.js} +11 -11
- package/dist/chunks/{repository-cache-qkxp7296.js → mime-xa6jjthr.js} +1 -1
- package/dist/chunks/{repository-cache-1qbwk3vx.js → mime-xgp4rgab.js} +1 -1
- package/dist/chunks/{repository-cache-qnst15rb.js → mime-xn6a1j0y.js} +13 -13
- package/dist/chunks/{repository-cache-bqwdyg2t.js → mime-xrpfz6f8.js} +9 -9
- package/dist/chunks/{repository-cache-1erzekvj.js → mime-xs1m5cpe.js} +4 -4
- package/dist/chunks/{repository-cache-9jt80rn9.js → mime-xvt56c4d.js} +35 -35
- package/dist/chunks/{repository-cache-yb20nhc3.js → mime-yb20nhc3.js} +1 -1
- package/dist/chunks/{repository-cache-sqtvtx7d.js → mime-yks697c0.js} +18 -18
- package/dist/chunks/{repository-cache-m2yjxv7r.js → mime-ypydzh1y.js} +11 -11
- package/dist/chunks/{repository-cache-9r40bkxv.js → mime-ytr2aw5s.js} +8 -8
- package/dist/chunks/{repository-cache-taa02m37.js → mime-yywe7zex.js} +13 -13
- package/dist/chunks/{repository-cache-h5q3bctd.js → mime-yz0kavm7.js} +20 -20
- package/dist/chunks/{repository-cache-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-shmxrrpn.js → mime-z1a2w6sk.js} +26 -26
- package/dist/chunks/{repository-cache-z38nccrw.js → mime-z38nccrw.js} +1 -1
- package/dist/chunks/{repository-cache-j1sdj48j.js → mime-z44n2dnr.js} +29 -29
- package/dist/chunks/{repository-cache-d5p6tmrf.js → mime-zc6v1jhv.js} +16 -16
- package/dist/chunks/{repository-cache-jz5m0jmz.js → mime-zeg0rdj0.js} +55 -55
- package/dist/chunks/{repository-cache-zkg84ctx.js → mime-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +94 -94
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/repository-cache-6bshxcsx.js +0 -18
- package/dist/chunks/repository-cache-hwag7jbr.js +0 -523
- package/dist/chunks/repository-cache-qnhptmb8.js +0 -257
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → mime-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → mime-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → mime-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → mime-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → mime-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → mime-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → mime-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-5fjb7ams.js → mime-5fjb7ams.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → mime-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → mime-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → mime-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → mime-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → mime-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → mime-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → mime-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a058387c.js → mime-a058387c.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → mime-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → mime-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → mime-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → mime-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → mime-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → mime-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → mime-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e3qxr5gk.js → mime-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → mime-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → mime-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → mime-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → mime-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → mime-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → mime-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → mime-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → mime-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → mime-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → mime-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → mime-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → mime-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → mime-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → mime-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → mime-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → mime-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → mime-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → mime-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → mime-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → mime-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → mime-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → mime-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → mime-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-92xjtyzm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9p9xqj3m.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-998yhzzq.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
|
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -56,13 +56,13 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service27 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
65
|
-
key:
|
|
64
|
+
var source = (entry) => make21({
|
|
65
|
+
key: Key4.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
68
68
|
render: {
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make18({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service86;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service27.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [node90] });
|
|
114
114
|
|
|
115
|
-
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2,
|
|
115
|
+
export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service27, node31, exports_instruction_entry };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./mime-makr7g9p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./mime-vxawy97t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./mime-12yp6zfs.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-9p9xqj3m.js";
|
|
13
13
|
import {
|
|
14
14
|
File2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service84
|
|
16
|
+
} from "./mime-z44n2dnr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin32 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service84;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service66;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service76;
|
|
44
|
+
const watcher = yield* Service67;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -174,4 +174,4 @@ function isUrl(source) {
|
|
|
174
174
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
export {
|
|
177
|
+
export { Plugin32, exports_instruction };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-92xjtyzm.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info12,
|
|
18
|
+
NotFoundError: () => NotFoundError10,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service56,
|
|
21
|
+
node: () => node58
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info12 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID8
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID8,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service56 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service86).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID8.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service56.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node58 = makeGlobalNode({ service: Service56, layer, deps: [node90] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID8, Info12, NotFoundError10, ConflictError2, Service56, node58, exports_saved };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./mime-pw6tpjg0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./mime-wwf2h3h9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill = {};
|
|
17
17
|
__export(exports_skill, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin3,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description3 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin3 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service39;
|
|
51
|
+
const permission = yield* Service54;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin10 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin3, exports_skill };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./mime-vxawy97t.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./mime-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service76;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names4.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names4, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./mime-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./mime-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service76
|
|
14
|
+
} from "./mime-vxawy97t.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-dsxwdbtx.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin36,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin36 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service76;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin36, exports_git };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./mime-be4ky1jx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node78
|
|
8
|
+
} from "./mime-vxawy97t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service46,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node49
|
|
13
|
+
} from "./mime-f6h5pjek.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
24
|
CreateInput: () => CreateInput3,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event9,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID6,
|
|
28
|
+
Info: () => Info10,
|
|
29
|
+
NotFoundError: () => NotFoundError7,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service45,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node48
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event9 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID6 = Pty.ID;
|
|
43
|
+
var Info10 = Pty.Info;
|
|
44
44
|
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID6
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID6
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service45 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service85;
|
|
61
|
+
const location = yield* Service76;
|
|
62
|
+
const shell = yield* Service46;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError7({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID6.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service45.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node48 = makeLocationNode({
|
|
273
|
+
service: Service45,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node89, node78, node49]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID6, Info10, CreateInput3, UpdateInput2, NotFoundError7, ExitedError2, Service45, node48, exports_pty, Event9 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-5fjb7ams.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin44,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin44 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin44, exports_tool_input_repair };
|