@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,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node80
|
|
10
|
+
} from "./mime-cvh6tqsr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node78
|
|
14
|
+
} from "./mime-vxawy97t.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-vd3b3yk9.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./mime-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service35,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node38,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service35 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID4.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -141,25 +141,25 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
141
141
|
for (const [file, snapshot] of input.files) {
|
|
142
142
|
const absolute = path.resolve(worktree, file);
|
|
143
143
|
if (!FSUtil.contains(worktree, absolute))
|
|
144
|
-
return yield* new
|
|
144
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
145
145
|
files.set(file, TreeID2.make(snapshot));
|
|
146
146
|
}
|
|
147
147
|
return files;
|
|
148
148
|
});
|
|
149
149
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
150
150
|
if (!enabled())
|
|
151
|
-
return yield* new
|
|
151
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
152
152
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
153
153
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service35.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
156
156
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
157
|
-
var
|
|
158
|
-
service:
|
|
157
|
+
var node38 = makeLocationNode({
|
|
158
|
+
service: Service35,
|
|
159
159
|
layer,
|
|
160
|
-
deps: [FSUtil.node,
|
|
160
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
163
163
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
164
164
|
reload: () => Effect.void,
|
|
165
165
|
capture: () => Effect.undefined,
|
|
@@ -168,13 +168,13 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
|
168
168
|
restore: () => Effect.void
|
|
169
169
|
}));
|
|
170
170
|
function failure(operation, cause) {
|
|
171
|
-
if (cause instanceof
|
|
171
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
172
172
|
return cause;
|
|
173
|
-
return new
|
|
173
|
+
return new Error2({
|
|
174
174
|
operation,
|
|
175
175
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
176
176
|
cause
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { ID4, Error2, Service35, node38, noopLayer2, exports_snapshot2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9tgdekzb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node78
|
|
10
|
+
} from "./mime-vxawy97t.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service54,
|
|
13
|
+
node56
|
|
14
|
+
} from "./mime-pw6tpjg0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./mime-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service53,
|
|
26
|
+
node: () => node55,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service53 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service76;
|
|
55
|
+
const permission = yield* Service54;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service53.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node55 = makeLocationNode({ service: Service53, layer, deps: [FSUtil.node, node78, node56] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service53, resolvePath2, node55, exports_file_access };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-zkg84ctx.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./mime-vxawy97t.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./mime-7zghsshh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./mime-fb07bnzr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service63,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-yywe7zex.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service54
|
|
22
|
+
} from "./mime-pw6tpjg0.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service53,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-86vkr6ja.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./mime-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output7,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin10,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output7 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin10 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service75;
|
|
112
|
+
const access = yield* Service53;
|
|
113
|
+
const fileMutation = yield* Service63;
|
|
114
|
+
const formatter = yield* Service15;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service54;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin14 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output7, toModelContent5, Plugin10, exports_patch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./mime-be4ky1jx.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID18,
|
|
20
|
+
Info: () => Info29,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node85,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID18 = Form.ID;
|
|
39
|
+
var Info29 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID18
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID18
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID18
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID18,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID18.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node85 = makeLocationNode({ service: Service82, layer: layer25, deps: [node89] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID18, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer25, node85, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-pw6tpjg0.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./mime-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin49
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin49 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin49, exports_plan };
|