@opencode/core 0.0.0-dev-21507 → 0.0.0-dev-21524
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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{tool-02mvvr71.js → model-02mvvr71.js} +3 -3
- package/dist/chunks/{tool-aj7mw0zk.js → model-034tev2y.js} +2 -2
- package/dist/chunks/{tool-cbre0k23.js → model-03p31ykv.js} +14 -14
- package/dist/chunks/{tool-zwgthjzd.js → model-03ysqxec.js} +16 -16
- package/dist/chunks/{tool-y5r47bzr.js → model-04w2mvty.js} +7 -7
- package/dist/chunks/{tool-enwyhyab.js → model-0qcccqbx.js} +20 -20
- package/dist/chunks/{tool-43kvem2p.js → model-0r3c1bmw.js} +5 -5
- package/dist/chunks/{tool-29gc4c91.js → model-0szsamay.js} +13 -13
- package/dist/chunks/{tool-4gt0zems.js → model-0taht25s.js} +8 -8
- package/dist/chunks/{tool-0emb60td.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-9ar0tc7e.js → model-0y6p8wpj.js} +5 -5
- package/dist/chunks/{tool-zfgqkgc5.js → model-0z7r50za.js} +4 -4
- package/dist/chunks/{tool-j7zvs761.js → model-138x3wa4.js} +35 -35
- package/dist/chunks/{tool-27w5k9zf.js → model-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-04cnhvec.js → model-1pfpt4tm.js} +31 -31
- package/dist/chunks/{tool-be2hac41.js → model-1rh4yqvv.js} +9 -9
- package/dist/chunks/{tool-a6rw3yra.js → model-1sb845w2.js} +27 -27
- package/dist/chunks/{tool-skpzryv2.js → model-2223rexw.js} +16 -16
- package/dist/chunks/{tool-940py8pc.js → model-237rnmz7.js} +18 -18
- package/dist/chunks/{tool-r4apxbbe.js → model-2abxxfn3.js} +21 -21
- package/dist/chunks/{tool-3ga20zad.js → model-2bmg2vc4.js} +23 -23
- package/dist/chunks/{tool-aher8bmf.js → model-2ctfzdhd.js} +15 -15
- package/dist/chunks/{tool-djszqvmq.js → model-2sejkfem.js} +9 -9
- package/dist/chunks/{tool-98e06m6b.js → model-2trzfzeg.js} +45 -45
- package/dist/chunks/{tool-df85n37n.js → model-2z7chnet.js} +11 -11
- package/dist/chunks/{tool-amdk1eh7.js → model-32hg4evb.js} +18 -18
- package/dist/chunks/{tool-gzsyx702.js → model-366hmgxs.js} +5 -5
- package/dist/chunks/{tool-5gx51r66.js → model-36kcv1n0.js} +3 -3
- package/dist/chunks/{tool-fn9t717r.js → model-395q6j9z.js} +6 -6
- package/dist/chunks/{tool-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3hwn7j4h.js → model-3hwn7j4h.js} +2 -2
- package/dist/chunks/{tool-tz96d8h6.js → model-3pkscm61.js} +9 -9
- package/dist/chunks/{tool-fgz8sgbp.js → model-3swakehk.js} +18 -18
- package/dist/chunks/{tool-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-cv8w919v.js → model-3zbenxk9.js} +3 -3
- package/dist/chunks/{tool-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-gjeh15rb.js → model-3zsxkakk.js} +11 -11
- package/dist/chunks/{tool-34w1safd.js → model-45nvas02.js} +21 -21
- package/dist/chunks/{tool-k52t8s6v.js → model-4bvsmycz.js} +11 -11
- package/dist/chunks/{tool-k7af4aa9.js → model-4h41swc2.js} +8 -8
- package/dist/chunks/{tool-cv6a5k53.js → model-4q4r5eys.js} +18 -18
- package/dist/chunks/{tool-3hjc3vgd.js → model-4q9fsd81.js} +8 -8
- package/dist/chunks/{tool-kj78g2dw.js → model-4tp8et91.js} +30 -30
- package/dist/chunks/{tool-fhczpvra.js → model-52v62pe3.js} +11 -11
- package/dist/chunks/{tool-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-gmy8fdpk.js → model-56jx3k9n.js} +4 -4
- package/dist/chunks/{tool-5g57z1ma.js → model-5g57z1ma.js} +1 -1
- package/dist/chunks/{tool-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-mqwsrn1d.js → model-5qv5h1zk.js} +23 -23
- package/dist/chunks/{tool-f3c2dd4g.js → model-5td63qzk.js} +14 -14
- package/dist/chunks/{tool-1ey1ywa8.js → model-5vd2fz1r.js} +42 -42
- package/dist/chunks/{tool-6a3j6khd.js → model-60yc8kfz.js} +28 -28
- package/dist/chunks/{tool-4hvcvget.js → model-662wmyj4.js} +12 -12
- package/dist/chunks/{tool-6827pfxn.js → model-6827pfxn.js} +1 -1
- package/dist/chunks/{tool-332kxz91.js → model-6h8x4cfa.js} +59 -59
- package/dist/chunks/{tool-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-ex0pka66.js → model-6xw3seg4.js} +5 -5
- package/dist/chunks/{tool-775gj3j1.js → model-775gj3j1.js} +2 -2
- package/dist/chunks/{tool-4j0c97rp.js → model-77enp1c1.js} +18 -18
- package/dist/chunks/{tool-wk61yqzs.js → model-78mjm5mv.js} +42 -42
- package/dist/chunks/{tool-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-n2dhmw60.js → model-7dcyjm60.js} +24 -24
- package/dist/chunks/{tool-fcrkznn8.js → model-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-j3nws6dg.js → model-7e23ehrj.js} +11 -11
- package/dist/chunks/{tool-dgzw2v3x.js → model-7ea6gyb7.js} +25 -25
- package/dist/chunks/model-7fj5dwt0.js +18 -0
- package/dist/chunks/{tool-2mrwwyd2.js → model-7myyj22h.js} +19 -19
- package/dist/chunks/{tool-xzsd65cy.js → model-7w2nkvmv.js} +20 -20
- package/dist/chunks/{tool-qvyxvxya.js → model-7yh6cecr.js} +32 -32
- package/dist/chunks/{tool-jnz7tvg3.js → model-81rrwaz0.js} +5 -5
- package/dist/chunks/{tool-vbj0m456.js → model-85hqxn6b.js} +5 -5
- package/dist/chunks/{tool-pc1v25hk.js → model-8bc2ahr8.js} +3 -3
- package/dist/chunks/{tool-wkrva1pr.js → model-8ctdzpjq.js} +23 -23
- package/dist/chunks/{tool-8m6m0r52.js → model-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-8mywswrd.js → model-8mywswrd.js} +1 -1
- package/dist/chunks/{tool-228mhbmk.js → model-8sfj8fnn.js} +15 -15
- package/dist/chunks/{tool-06v6246a.js → model-8sxctv71.js} +38 -38
- package/dist/chunks/{tool-f46vcsvf.js → model-8ypwf7te.js} +11 -11
- package/dist/chunks/{tool-ewzj04x6.js → model-91vccmjy.js} +7 -7
- package/dist/chunks/{tool-8qjra3pm.js → model-93zp451d.js} +26 -26
- package/dist/chunks/{tool-9ks7twft.js → model-982vmajw.js} +21 -21
- package/dist/chunks/{tool-dvj9ct8m.js → model-998yhzzq.js} +3 -3
- package/dist/chunks/{tool-p3p03tan.js → model-9f3d5qaa.js} +24 -24
- package/dist/chunks/{tool-dbde4j0g.js → model-9my2wv8a.js} +4 -4
- package/dist/chunks/{tool-9wev2pgg.js → model-9wev2pgg.js} +1 -1
- package/dist/chunks/{tool-ywwdv83n.js → model-a4xe52vp.js} +13 -13
- package/dist/chunks/{tool-mxvxcxwy.js → model-addxnjmp.js} +4 -4
- package/dist/chunks/{tool-mjj5jjh8.js → model-aj0k59hj.js} +5 -5
- package/dist/chunks/{tool-jkwff1ec.js → model-ajxqx4ms.js} +21 -21
- package/dist/chunks/{tool-c95ze8dw.js → model-ammk3pd4.js} +11 -11
- package/dist/chunks/{tool-e5adrsfc.js → model-apng734m.js} +30 -30
- package/dist/chunks/{tool-fyd5j4v9.js → model-azfq4cq8.js} +21 -21
- package/dist/chunks/{tool-b11a7tx7.js → model-b11a7tx7.js} +1 -1
- package/dist/chunks/{tool-w174qar2.js → model-b41wgp24.js} +13 -13
- package/dist/chunks/{tool-3hahq16z.js → model-b66zg7n1.js} +15 -15
- package/dist/chunks/model-b8bsqqcp.js +257 -0
- package/dist/chunks/{tool-zyg44wv6.js → model-bfyf7jfe.js} +10 -10
- package/dist/chunks/{tool-j0hvq876.js → model-bm9kjebc.js} +22 -22
- package/dist/chunks/{tool-9hn6k4tm.js → model-br0tr5aq.js} +8 -8
- package/dist/chunks/{tool-1ep4rre3.js → model-bzeyqsqd.js} +4 -4
- package/dist/chunks/{tool-y51c8cm2.js → model-c4q7v4g7.js} +185 -185
- package/dist/chunks/{tool-n1dmb866.js → model-chj6c0n9.js} +32 -32
- package/dist/chunks/{tool-jmqp76t3.js → model-cswhtaxk.js} +6 -6
- package/dist/chunks/{tool-qa3qhgw8.js → model-d216944b.js} +7 -7
- package/dist/chunks/{tool-k5jfazps.js → model-d2pvcv7q.js} +22 -22
- package/dist/chunks/{tool-eryt761w.js → model-d78ak1q6.js} +33 -33
- package/dist/chunks/{tool-m49kcc85.js → model-dgz1jfsn.js} +18 -18
- package/dist/chunks/{tool-e2hjzebn.js → model-dhmh7aw6.js} +4 -4
- package/dist/chunks/{tool-tbv8yktb.js → model-dm7d4a8z.js} +14 -14
- package/dist/chunks/{tool-y71avatq.js → model-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-cnfb3fp5.js → model-dv8ssvc2.js} +90 -90
- package/dist/chunks/{tool-26dhv5et.js → model-dxjxmw6m.js} +17 -17
- package/dist/chunks/{tool-eej6y6fw.js → model-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-rs666mm1.js → model-ehm8gabj.js} +4 -4
- package/dist/chunks/{tool-8fs4gys7.js → model-ehpng7sz.js} +11 -11
- package/dist/chunks/{tool-y9s9xvs6.js → model-es4zr9pq.js} +5 -5
- package/dist/chunks/{tool-jcjdxez0.js → model-evw6zxwh.js} +11 -11
- package/dist/chunks/{tool-4dg0xz54.js → model-f9k0h0ak.js} +6 -6
- package/dist/chunks/{tool-208nnjmr.js → model-f9qpw35r.js} +4 -4
- package/dist/chunks/{tool-fcy631f0.js → model-fcy631f0.js} +1 -1
- package/dist/chunks/{tool-6ygh4fgn.js → model-fh95s1e3.js} +34 -34
- package/dist/chunks/{tool-vj682sbm.js → model-fmn3naam.js} +2 -2
- package/dist/chunks/{tool-x13hnj69.js → model-g3s5p3ce.js} +29 -29
- package/dist/chunks/{tool-wb3hegf8.js → model-g4j5dqmm.js} +16 -16
- package/dist/chunks/{tool-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-z7nbrbpb.js → model-gr0f51d3.js} +6 -6
- package/dist/chunks/{tool-jf44gywc.js → model-gx5mqccr.js} +12 -12
- package/dist/chunks/{tool-sjq3h641.js → model-h3fgmb1c.js} +46 -46
- package/dist/chunks/{tool-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-64ddt51t.js → model-h9eg9w87.js} +8 -8
- package/dist/chunks/{tool-w492d1p5.js → model-hdqa26x6.js} +18 -18
- package/dist/chunks/{tool-hgz4x7wa.js → model-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-2vz2ewx5.js → model-hh9qf8x4.js} +23 -23
- package/dist/chunks/{tool-yvf18s5x.js → model-hw24m6dt.js} +11 -11
- package/dist/chunks/{tool-mr48ebck.js → model-hx3e3ka9.js} +25 -25
- package/dist/chunks/{tool-4sj6rv93.js → model-hxvkjxz4.js} +8 -8
- package/dist/chunks/{tool-x36bd8da.js → model-j00wdpt2.js} +33 -33
- package/dist/chunks/{tool-82rbgap5.js → model-j18wnwp4.js} +9 -9
- package/dist/chunks/{tool-d8e9t34v.js → model-j1kq1abh.js} +9 -9
- package/dist/chunks/{tool-k2svkm7d.js → model-j1n1yte6.js} +13 -13
- package/dist/chunks/{tool-g98a52zh.js → model-j29dqnz3.js} +9 -9
- package/dist/chunks/{tool-8edt2mn2.js → model-j7m3jefb.js} +88 -88
- package/dist/chunks/{tool-118zcnpk.js → model-jdjv7g0p.js} +24 -24
- package/dist/chunks/{tool-wtd34zkk.js → model-jejz1x9w.js} +9 -9
- package/dist/chunks/{tool-ccxm2ze4.js → model-jgddfxwr.js} +12 -12
- package/dist/chunks/{tool-sgtpgegc.js → model-jmca7p9y.js} +30 -30
- package/dist/chunks/{tool-sfjj6pfb.js → model-jpgepvgj.js} +37 -37
- package/dist/chunks/{tool-1vx9hbz5.js → model-jtcz2vdp.js} +28 -28
- package/dist/chunks/{tool-6j90fxgt.js → model-jwhwgpnp.js} +17 -17
- package/dist/chunks/{tool-yvz6gv03.js → model-jx5cnddy.js} +18 -18
- package/dist/chunks/{tool-5651m5ed.js → model-jxf1ya3g.js} +40 -40
- package/dist/chunks/{tool-0pdt8dbx.js → model-jz851vma.js} +3 -3
- package/dist/chunks/{tool-p14k59zn.js → model-k2a3w999.js} +10 -10
- package/dist/chunks/{tool-wn6r8baz.js → model-k4s0h02e.js} +11 -11
- package/dist/chunks/{tool-rq2y2j0k.js → model-k5amtbxh.js} +13 -13
- package/dist/chunks/{tool-wbrx293h.js → model-k82vbxay.js} +5 -5
- package/dist/chunks/{tool-687c5wp0.js → model-kbnh7qbc.js} +28 -28
- package/dist/chunks/{tool-ny8edt06.js → model-khmqacep.js} +4 -4
- package/dist/chunks/{tool-kwb1v3vj.js → model-kwb1v3vj.js} +1 -1
- package/dist/chunks/{tool-tfbr2nq1.js → model-m190hr7s.js} +13 -13
- package/dist/chunks/{tool-gq1qwanx.js → model-m8gvtb3w.js} +14 -14
- package/dist/chunks/{tool-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-maspj1v3.js → model-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-fr6mqtdc.js → model-mcm8q642.js} +13 -13
- package/dist/chunks/{tool-mqqhst8y.js → model-mqqhst8y.js} +1 -1
- package/dist/chunks/{tool-c2sed5cq.js → model-my4zabxr.js} +2 -2
- package/dist/chunks/{tool-gy0p0s4q.js → model-n10am2gf.js} +22 -22
- package/dist/chunks/{tool-d7bshphg.js → model-n1xdyw2d.js} +8 -8
- package/dist/chunks/{tool-xdzd716q.js → model-n5m4rk1f.js} +5 -5
- package/dist/chunks/{tool-6w39brh1.js → model-n6v6dc4x.js} +5 -5
- package/dist/chunks/{tool-gn4fp5fa.js → model-np48z6yp.js} +47 -47
- package/dist/chunks/{tool-gc1jma41.js → model-nr3qt1qj.js} +34 -34
- package/dist/chunks/{tool-hpbpadsk.js → model-nsnt4z7f.js} +4 -4
- package/dist/chunks/{tool-66950z1s.js → model-nthdcap5.js} +13 -13
- package/dist/chunks/{tool-a3c7ahw6.js → model-nw91k3fh.js} +4 -4
- package/dist/chunks/{tool-3q29hfa9.js → model-nxqbvwsg.js} +21 -21
- package/dist/chunks/{tool-nz56sr1f.js → model-nz56sr1f.js} +2 -2
- package/dist/chunks/{tool-k032gzcv.js → model-p0wpjn6w.js} +35 -35
- package/dist/chunks/{tool-tewdvev1.js → model-p8ncetbn.js} +24 -24
- package/dist/chunks/{tool-np60s0wh.js → model-p9ynbv9r.js} +31 -31
- package/dist/chunks/{tool-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{tool-az243w7k.js → model-pvj8mvr4.js} +27 -27
- package/dist/chunks/{tool-2z2nwxhc.js → model-pxxsc0qj.js} +39 -39
- package/dist/chunks/{tool-jws6fkes.js → model-py3kkmfq.js} +8 -8
- package/dist/chunks/{tool-n5wy83m1.js → model-q1xk2b8v.js} +4 -4
- package/dist/chunks/{tool-g0nc362r.js → model-q25wacer.js} +14 -14
- package/dist/chunks/{tool-j8kb6sns.js → model-q34ypbna.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-5z2vrcz3.js → model-r3whvpya.js} +2 -2
- package/dist/chunks/{tool-rdfnpc7e.js → model-r71c6ngf.js} +1 -1
- package/dist/chunks/{tool-8pjxh0v6.js → model-rb179d86.js} +32 -32
- package/dist/chunks/{tool-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-tbhbbw5y.js → model-rfnecwar.js} +78 -78
- package/dist/chunks/{tool-yja0x3kv.js → model-rmymfw9c.js} +334 -334
- package/dist/chunks/{tool-3xbwwg1d.js → model-rn6wqvas.js} +15 -15
- package/dist/chunks/{tool-rscvxc63.js → model-rpsmjfyf.js} +13 -13
- package/dist/chunks/{tool-vmamyk2k.js → model-s5t6xt4x.js} +19 -19
- package/dist/chunks/{tool-wy8rpyz3.js → model-s5vae3n3.js} +6 -6
- package/dist/chunks/{tool-w5pf37nm.js → model-s6w3zs6m.js} +28 -28
- package/dist/chunks/{tool-t550f9t1.js → model-s8d7rejh.js} +4 -4
- package/dist/chunks/{tool-s14qqts9.js → model-seaswkff.js} +21 -21
- package/dist/chunks/{tool-jj9ksvj6.js → model-shttdtza.js} +30 -30
- package/dist/chunks/{tool-8ptwh2sj.js → model-sm9b1dk6.js} +5 -5
- package/dist/chunks/{tool-5qmfkff2.js → model-sn8sfdg7.js} +9 -9
- package/dist/chunks/{tool-m103jfcn.js → model-snpsxx8p.js} +49 -49
- package/dist/chunks/{tool-ndkkv98v.js → model-sxsnqyan.js} +23 -23
- package/dist/chunks/{tool-syv4x271.js → model-syv4x271.js} +1 -1
- package/dist/chunks/{tool-0sgefyfd.js → model-szszjrwy.js} +4 -4
- package/dist/chunks/{tool-zag9qx83.js → model-t9ax25ae.js} +24 -24
- package/dist/chunks/{tool-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tjedn1bk.js → model-tbmac1c7.js} +4 -4
- package/dist/chunks/{tool-tcezcvh9.js → model-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-y9mdcbbm.js → model-tde5hqcz.js} +13 -13
- package/dist/chunks/{tool-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/model-tgfdy5x8.js +26 -0
- package/dist/chunks/{tool-wkrz5chy.js → model-tnq17713.js} +46 -46
- package/dist/chunks/{tool-2ftt7040.js → model-tpr917c7.js} +25 -25
- package/dist/chunks/{tool-ymwgex1k.js → model-tr5tmnty.js} +20 -20
- package/dist/chunks/{tool-qg775g37.js → model-twdpq1df.js} +41 -41
- package/dist/chunks/{tool-10xea195.js → model-tx641jmv.js} +30 -30
- package/dist/chunks/{tool-ze75yzft.js → model-tx9w5tca.js} +8 -8
- package/dist/chunks/{tool-tyytaxap.js → model-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-rm4mkcw0.js → model-v210v162.js} +2 -2
- package/dist/chunks/{tool-v7p4zvkq.js → model-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-zdwe30dy.js → model-v8jfbz3g.js} +6 -6
- package/dist/chunks/{tool-0kdreaa3.js → model-v9qp1ycg.js} +27 -27
- package/dist/chunks/{tool-556pd3b9.js → model-vchaqpjh.js} +33 -33
- package/dist/chunks/{tool-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-4c8bw516.js → model-vgx6weyf.js} +8 -8
- package/dist/chunks/{tool-49jcyb13.js → model-vpdzpye8.js} +18 -18
- package/dist/chunks/{tool-v28f4abg.js → model-vtc2n9tc.js} +2 -2
- package/dist/chunks/{tool-dhhj8p3k.js → model-vxhbzv6h.js} +37 -37
- package/dist/chunks/{tool-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-84txncab.js → model-w1eejvng.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-yx0rmv9r.js → model-w6zk8pbt.js} +8 -8
- package/dist/chunks/{tool-wakvkjy4.js → model-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-9y4hw6ff.js → model-wbbr97jc.js} +49 -49
- package/dist/chunks/{tool-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{tool-8cbrfsed.js → model-wh6zw745.js} +5 -5
- package/dist/chunks/{tool-7a5jr4d9.js → model-whakkw5c.js} +22 -22
- package/dist/chunks/{tool-yc3qf5z0.js → model-wq3ev71f.js} +6 -6
- package/dist/chunks/{tool-bz1rn4hs.js → model-wrmbd4ct.js} +6 -6
- package/dist/chunks/{tool-g5bttqze.js → model-wx0b07pw.js} +14 -14
- package/dist/chunks/{tool-awb2kyzs.js → model-wzekn62n.js} +17 -17
- package/dist/chunks/{tool-x6etvh7w.js → model-x4wqyer7.js} +22 -22
- package/dist/chunks/{tool-rp9an6k1.js → model-x4yng9z3.js} +20 -20
- package/dist/chunks/{tool-tx895r66.js → model-x9fa4xnb.js} +22 -22
- package/dist/chunks/{tool-qqeeq2t9.js → model-xfkkasph.js} +7 -7
- package/dist/chunks/{tool-7jvyaakv.js → model-xq5wk8w5.js} +15 -15
- package/dist/chunks/{tool-nxgc2w5h.js → model-xtpp21nj.js} +16 -16
- package/dist/chunks/{tool-vfm45d2v.js → model-xtqhbb9e.js} +5 -5
- package/dist/chunks/{tool-8vcf4cwr.js → model-xw9fg8fb.js} +2 -2
- package/dist/chunks/{tool-9ny5hk10.js → model-xxrcdmhk.js} +11 -11
- package/dist/chunks/{tool-7dqsqf20.js → model-y0bjakjk.js} +50 -50
- package/dist/chunks/{tool-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-fdms3n6w.js → model-y56ehv6b.js} +9 -9
- package/dist/chunks/{tool-tk1z8rcs.js → model-y7nndgyc.js} +9 -9
- package/dist/chunks/{tool-h4dbkbzh.js → model-y9b0tqk5.js} +7 -7
- package/dist/chunks/{tool-wsd2y1yv.js → model-yb5mq618.js} +21 -21
- package/dist/chunks/{tool-tec24ygv.js → model-ygp5nrda.js} +16 -16
- package/dist/chunks/{tool-37cqxn50.js → model-yj7k2rcj.js} +3 -3
- package/dist/chunks/{tool-hveambb3.js → model-ywm7vzgw.js} +6 -6
- package/dist/chunks/{tool-bjx1sjef.js → model-ywt8jp22.js} +9 -9
- package/dist/chunks/{tool-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-z18fegx4.js → model-z18fegx4.js} +1 -1
- package/dist/chunks/{tool-d99mbq37.js → model-z1r9xewk.js} +29 -29
- package/dist/chunks/{tool-1hga77xc.js → model-z44d18ne.js} +11 -11
- package/dist/chunks/{tool-wjv6dtxz.js → model-z5c3cgws.js} +4 -4
- package/dist/chunks/{tool-hgchpp86.js → model-z6pj4dcy.js} +24 -24
- package/dist/chunks/{tool-n9c7dk5h.js → model-z7yh2dxd.js} +38 -38
- package/dist/chunks/{tool-ntecsb7f.js → model-zhbn17yy.js} +42 -42
- package/dist/chunks/{tool-283ssd4b.js → model-zkvdcdcs.js} +14 -14
- package/dist/chunks/{tool-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-f083g6z5.js → model-zra0rasq.js} +1 -1
- package/dist/chunks/{tool-x030sm2p.js → model-zw72nhpe.js} +34 -34
- package/dist/chunks/{tool-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-z6sgjvvh.js → model-zy04nmr9.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- 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 +3 -3
- package/dist/config/plugin/skill.js +138 -138
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +74 -74
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +81 -81
- 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 +3 -3
- 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 +95 -95
- 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 +102 -102
- 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 +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- 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 +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- 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 +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +123 -123
- 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 +134 -134
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- 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 +136 -136
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- 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 +1 -1
- 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 +3 -3
- package/dist/session/session.js +165 -165
- 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 +77 -77
- 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 +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +91 -91
- 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 +139 -139
- 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 +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +5 -5
- 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 +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/tool-9mbmc05v.js +0 -26
- package/dist/chunks/tool-p2h6zvwc.js +0 -18
- package/dist/chunks/tool-p5pn22a9.js +0 -257
- /package/dist/chunks/{tool-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → model-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5fjb7ams.js → model-5fjb7ams.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → model-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → model-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → model-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → model-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → model-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-pkyv6v7h.js → model-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → model-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wjj7prxr.js → model-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./model-xtpp21nj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service74,
|
|
7
7
|
node78
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-azfq4cq8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./model-60yc8kfz.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node84
|
|
17
|
+
} from "./model-q25wacer.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-3pkscm61.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service65,
|
|
26
|
+
node69
|
|
27
|
+
} from "./model-tnq17713.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service25,
|
|
30
|
+
node28
|
|
31
|
+
} from "./model-4q4r5eys.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service23,
|
|
41
|
+
node: () => node26
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service23 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service80;
|
|
53
|
+
const permission = yield* Service65;
|
|
54
|
+
const forms = yield* Service74;
|
|
55
|
+
const rpc = yield* Service25;
|
|
56
|
+
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service23.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node26 = makeLocationNode({
|
|
89
|
+
service: Service23,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [
|
|
91
|
+
deps: [node87, node84, node69, node85, node78, node28]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service23, node26, exports_location_lifecycle };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./model-xtpp21nj.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./model-q25wacer.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
19
|
+
Service72,
|
|
20
20
|
node76,
|
|
21
21
|
Event17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-1sb845w2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,17 +32,17 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info21,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service71,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
44
|
node: () => node75,
|
|
45
|
-
parse: () =>
|
|
45
|
+
parse: () => parse4,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
@@ -50,7 +50,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
52
|
import { Event as Event16 } from "@opencode/schema/model";
|
|
53
|
-
var
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info21 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service71 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
76
|
-
const bus = yield*
|
|
77
|
-
const location = yield*
|
|
74
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service72;
|
|
76
|
+
const bus = yield* Service83;
|
|
77
|
+
const location = yield* Service80;
|
|
78
78
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
79
79
|
let input;
|
|
80
80
|
const state = create3({
|
|
@@ -120,7 +120,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
120
120
|
const models = writable(providerID);
|
|
121
121
|
if (!models)
|
|
122
122
|
return;
|
|
123
|
-
const model = draft(providerID, modelID) ??
|
|
123
|
+
const model = draft(providerID, modelID) ?? Info21.default(providerID, modelID);
|
|
124
124
|
update(model);
|
|
125
125
|
model.id = modelID;
|
|
126
126
|
model.providerID = providerID;
|
|
@@ -189,7 +189,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
189
189
|
];
|
|
190
190
|
}));
|
|
191
191
|
if (disableFree)
|
|
192
|
-
for (const providerID of [
|
|
192
|
+
for (const providerID of [ID13.opencode, ID13.make("opencode-go")])
|
|
193
193
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
194
194
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
195
195
|
models.delete(id);
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
219
|
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
220
|
-
return
|
|
220
|
+
return Service71.of({
|
|
221
221
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
222
222
|
reload,
|
|
223
223
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
236
236
|
})
|
|
237
237
|
});
|
|
238
238
|
}));
|
|
239
|
-
var node75 = makeLocationNode({ service:
|
|
239
|
+
var node75 = makeLocationNode({ service: Service71, layer, deps: [node76, node87, node84] });
|
|
240
240
|
var PREFERRED_FREE = [
|
|
241
241
|
"big-pickle",
|
|
242
242
|
"deepseek-v4.1-flash-free",
|
|
@@ -244,7 +244,7 @@ var PREFERRED_FREE = [
|
|
|
244
244
|
"muse-spark-1.3-contributor-free"
|
|
245
245
|
];
|
|
246
246
|
function preferFree(models) {
|
|
247
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
247
|
+
const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
248
248
|
if (!freeOnly)
|
|
249
249
|
return models;
|
|
250
250
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -260,12 +260,12 @@ function compatibility2(input) {
|
|
|
260
260
|
return;
|
|
261
261
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function parse4(input) {
|
|
264
264
|
const index = input.indexOf("/");
|
|
265
265
|
return {
|
|
266
|
-
providerID:
|
|
267
|
-
modelID:
|
|
266
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
267
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
export {
|
|
271
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info21, Service71, node75, supportsText2, compatibility2, parse4, exports_model2, Event16 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service77,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node81
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service77 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service77.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service77, node81, exports_image2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./model-xtpp21nj.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
ID14,
|
|
14
|
+
Service73,
|
|
15
15
|
node77,
|
|
16
16
|
Event18
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9f3d5qaa.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service80,
|
|
20
|
+
node84
|
|
21
|
+
} from "./model-q25wacer.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -40,12 +40,12 @@ __export(exports_provider3, {
|
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
42
|
Event: () => Event17,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID13,
|
|
44
|
+
Info: () => Info22,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service72,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -72,7 +72,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
74
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
|
-
var
|
|
75
|
+
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
78
78
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info22 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service72 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,10 +298,10 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
302
|
-
const bus = yield*
|
|
303
|
-
const integrations = yield*
|
|
304
|
-
const location = yield*
|
|
301
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
302
|
+
const bus = yield* Service83;
|
|
303
|
+
const integrations = yield* Service73;
|
|
304
|
+
const location = yield* Service80;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
307
307
|
initial: () => new Map,
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
393
393
|
const available = Array.from(records.values()).filter((record) => {
|
|
394
394
|
if (record.provider.activation === "disabled")
|
|
395
395
|
return false;
|
|
396
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
396
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
397
397
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
398
398
|
return false;
|
|
399
399
|
if (record.provider.activation === "enabled")
|
|
@@ -420,7 +420,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
422
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
-
return
|
|
423
|
+
return Service72.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var node76 = makeLocationNode({ service:
|
|
432
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node87, node77, node84] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service72, node76, exports_provider3, Event17 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./model-xtpp21nj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./model-q25wacer.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./model-wbbr97jc.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin44
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin44 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service80;
|
|
200
|
+
const mcp = yield* Service39;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin44, exports_command2 };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./model-t9ax25ae.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service62,
|
|
24
|
+
node: () => node65
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service62 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service63;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service62.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node65 = makeLocationNode({ service: Service62, layer, deps: [node66, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error3, InvalidPatternError2, Service62, node65, exports_ripgrep };
|