@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./mime-92xjtyzm.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node89
|
|
9
|
+
} from "./mime-be4ky1jx.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./mime-p015t6z3.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-j2e1pdqh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service55,
|
|
21
|
+
node57
|
|
22
|
+
} from "./mime-9ben7srh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service22,
|
|
25
|
+
node25
|
|
26
|
+
} from "./mime-2bpj5bas.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./mime-tw8zr1ps.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service2,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer3,
|
|
42
|
+
node: () => node3
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,7 +51,7 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service2 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var messagePrompt = (text) => `Here is the first message of the conversation:
|
|
@@ -72,11 +72,11 @@ var isUntitled2 = (session) => isExactRootFallback({
|
|
|
72
72
|
title: session.title,
|
|
73
73
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
74
74
|
});
|
|
75
|
-
var
|
|
76
|
-
const bus = yield*
|
|
75
|
+
var layer3 = Layer.effect(Service2, Effect.gen(function* () {
|
|
76
|
+
const bus = yield* Service85;
|
|
77
77
|
const llm = yield* LLMClient.Service;
|
|
78
|
-
const context = yield*
|
|
79
|
-
const store = yield*
|
|
78
|
+
const context = yield* Service22;
|
|
79
|
+
const store = yield* Service55;
|
|
80
80
|
const db = (yield* Service86).db;
|
|
81
81
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
82
82
|
const chunks = [];
|
|
@@ -160,12 +160,12 @@ Recent conversation:
|
|
|
160
160
|
title: truncate(title)
|
|
161
161
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
162
162
|
});
|
|
163
|
-
return
|
|
163
|
+
return Service2.of({ generate });
|
|
164
164
|
}));
|
|
165
|
-
var
|
|
166
|
-
service:
|
|
167
|
-
layer:
|
|
168
|
-
deps: [
|
|
165
|
+
var node3 = makeLocationNode({
|
|
166
|
+
service: Service2,
|
|
167
|
+
layer: layer3,
|
|
168
|
+
deps: [node89, llmClient2, node25, node57, node90]
|
|
169
169
|
});
|
|
170
170
|
|
|
171
|
-
export {
|
|
171
|
+
export { Service2, isUntitled2, layer3, node3, exports_title };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service72
|
|
4
|
+
} from "./mime-h5frkgzc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./mime-12yp6zfs.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service72;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service66);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service65,
|
|
3
|
+
node67,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./mime-x6e5q3s7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node53
|
|
9
|
+
} from "./mime-c4970w7t.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./mime-de78d3b2.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./mime-1s6zx0v5.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service65, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service44);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node53.replace(Layer.succeed(Service51, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node67.replace(Layer.succeed(Service65, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node80
|
|
6
|
+
} from "./mime-cvh6tqsr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node78
|
|
10
|
+
} from "./mime-vxawy97t.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-vd3b3yk9.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./mime-k1ahy816.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./mime-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service20,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node23
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service20 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service76;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service20.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node23 = makeLocationNode({
|
|
61
|
+
service: Service20,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node78, Global.node, node80, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service20, node23, exports_strategies };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./mime-be4ky1jx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event6,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
18
|
Info: () => Info7,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service38,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node41
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
27
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
28
28
|
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service38 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer17 = Layer.effect(Service38, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -55,7 +55,7 @@ var layer18 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service38.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer18 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node41 = makeLocationNode({
|
|
75
|
+
service: Service38,
|
|
76
|
+
layer: layer17,
|
|
77
|
+
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export { Info7,
|
|
89
|
+
export { Info7, NotFoundError5, ExecutionError2, Service38, layer17, node41, exports_command4, Event6 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./mime-agbrqsyc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9p9xqj3m.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service25,
|
|
20
|
+
node: () => node28
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,19 +61,19 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service25 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service40;
|
|
68
|
+
return Service25.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
76
|
-
key:
|
|
75
|
+
return make21({
|
|
76
|
+
key: Key4.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node43] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service25, node28, exports_instructions4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
9
|
-
function
|
|
9
|
+
function make4(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make4 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./mime-cvh6tqsr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./mime-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./mime-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service78;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./mime-cmrd856v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./mime-be4ky1jx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./mime-wv25cjfq.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./mime-rrad2nt9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./mime-c9kxtag3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./mime-fmc8gber.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./mime-h5frkgzc.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./mime-h6chhj6a.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve4
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./mime-nvq2cp9b.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
UnavailableError2,
|
|
37
|
+
Service13
|
|
38
|
+
} from "./mime-mtgfg349.js";
|
|
39
39
|
import {
|
|
40
40
|
ID3,
|
|
41
41
|
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./mime-qht88apq.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID16.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -201,11 +201,11 @@ var OpencodePlugin2 = define({
|
|
|
201
201
|
id: "opencode.provider.opencode",
|
|
202
202
|
effect: Effect.fn(function* (ctx) {
|
|
203
203
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
204
|
-
const bus = yield*
|
|
204
|
+
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service16;
|
|
208
|
+
const voice = yield* Service13;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
|
|
|
257
257
|
}).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
|
|
258
258
|
duration: Duration.seconds(20),
|
|
259
259
|
orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
|
|
260
|
-
}), Effect.mapError((cause) => new
|
|
260
|
+
}), Effect.mapError((cause) => new UnavailableError2({
|
|
261
261
|
service: "opencode",
|
|
262
262
|
message: cause instanceof Error ? cause.message : String(cause)
|
|
263
263
|
})), Effect.flatMap((reply) => {
|
|
264
264
|
if (reply.status >= 200 && reply.status < 300)
|
|
265
265
|
return Effect.succeed(reply.text);
|
|
266
266
|
if (reply.status === 401)
|
|
267
|
-
return Effect.fail(new
|
|
267
|
+
return Effect.fail(new UnavailableError2({ service: "opencode", message: `${signedOutMessage}.` }));
|
|
268
268
|
const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
|
|
269
|
-
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new
|
|
269
|
+
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError2({ service: "opencode", message }));
|
|
270
270
|
}));
|
|
271
271
|
return {
|
|
272
272
|
integration: "opencode",
|
|
273
273
|
models: offer.models,
|
|
274
274
|
workspace: offer.workspace,
|
|
275
|
-
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new
|
|
275
|
+
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError2({
|
|
276
276
|
service: "opencode",
|
|
277
277
|
message: "OpenCode Console returned an invalid voice session"
|
|
278
278
|
})))), Effect.map((created) => ({
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID16.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID12.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID12.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|