@opencode/core 0.0.0-dev-21027 → 0.0.0-dev-21031
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 +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{tool-j60sz84g.js → models-dev-02nvsyaz.js} +29 -29
- package/dist/chunks/{tool-hkffa77z.js → models-dev-0b5g1ynf.js} +4 -4
- package/dist/chunks/{tool-7qyahes4.js → models-dev-0c42kaf7.js} +24 -24
- package/dist/chunks/{tool-xfemfc1r.js → models-dev-0em4fyfa.js} +18 -18
- package/dist/chunks/{tool-rrbf5752.js → models-dev-0f59me08.js} +4 -4
- package/dist/chunks/{tool-njq4v3ck.js → models-dev-0m17z5gy.js} +32 -32
- package/dist/chunks/{tool-s90vv90s.js → models-dev-0rh6kept.js} +32 -32
- package/dist/chunks/{tool-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-7qb04ksq.js → models-dev-0y07nzjf.js} +17 -17
- package/dist/chunks/{tool-2ggw9qke.js → models-dev-0y71xcgt.js} +9 -9
- package/dist/chunks/{tool-m7707mrb.js → models-dev-1casa0jm.js} +27 -27
- package/dist/chunks/{tool-d4843n8f.js → models-dev-1hrhxdga.js} +22 -22
- package/dist/chunks/{tool-0vawvjhj.js → models-dev-210p74nv.js} +6 -6
- package/dist/chunks/{tool-j4bzjt4e.js → models-dev-2276p8c4.js} +6 -6
- package/dist/chunks/{tool-9ydk86ss.js → models-dev-25fv0sh8.js} +48 -48
- package/dist/chunks/{tool-r8yr4pbq.js → models-dev-29a9xv62.js} +19 -19
- package/dist/chunks/{tool-4747cwex.js → models-dev-29j702b9.js} +8 -8
- package/dist/chunks/{tool-h2n9jjkq.js → models-dev-2ck0c8kx.js} +16 -16
- package/dist/chunks/{tool-43fay8tn.js → models-dev-2fqna6rb.js} +11 -11
- package/dist/chunks/{tool-pewbjeww.js → models-dev-2r93mh4x.js} +12 -12
- package/dist/chunks/{tool-1vezggaq.js → models-dev-2vs2nh1n.js} +4 -4
- package/dist/chunks/{tool-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-kfdkvwtq.js → models-dev-3h4xk2vm.js} +5 -5
- package/dist/chunks/{tool-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
- package/dist/chunks/models-dev-3kcvskkf.js +253 -0
- package/dist/chunks/{tool-4020new0.js → models-dev-3ncgdam6.js} +8 -8
- package/dist/chunks/{tool-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-9rmtxcny.js → models-dev-3wrgjec0.js} +8 -8
- package/dist/chunks/{tool-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-yd16xvn4.js → models-dev-40n9tj9j.js} +9 -9
- package/dist/chunks/{tool-5q5nh3sy.js → models-dev-44jskavf.js} +3 -3
- package/dist/chunks/{tool-cz6pgrah.js → models-dev-44srevkf.js} +35 -35
- package/dist/chunks/{tool-by3f32n0.js → models-dev-44yp3zsh.js} +28 -28
- package/dist/chunks/{tool-az2ak1fn.js → models-dev-4cvx3zk0.js} +27 -27
- package/dist/chunks/{tool-kt2d8jz0.js → models-dev-4hxzsgfg.js} +26 -26
- package/dist/chunks/{tool-prmgem5b.js → models-dev-4mwpykj0.js} +6 -6
- package/dist/chunks/{tool-6q8kncxp.js → models-dev-4qbwh2bz.js} +5 -5
- package/dist/chunks/{tool-9rz0s9vq.js → models-dev-4ra7p95s.js} +9 -9
- package/dist/chunks/{tool-4m26txwv.js → models-dev-4scwjggb.js} +25 -25
- package/dist/chunks/{tool-bsc349qs.js → models-dev-51dbsqvm.js} +329 -329
- package/dist/chunks/{tool-e0aypp2c.js → models-dev-53fe0j6w.js} +7 -7
- package/dist/chunks/{tool-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-x3cmp8k1.js → models-dev-58sqdaj5.js} +36 -36
- package/dist/chunks/{tool-4nrp0c99.js → models-dev-5ctnpzg2.js} +13 -13
- package/dist/chunks/{tool-d4658f60.js → models-dev-5f33wg9g.js} +8 -8
- package/dist/chunks/{tool-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-g0445xdp.js → models-dev-5yzzbxa7.js} +8 -8
- package/dist/chunks/{tool-zm3rhkfq.js → models-dev-687qtk6p.js} +11 -11
- package/dist/chunks/{tool-bc7dxhqv.js → models-dev-6dtqrqs2.js} +5 -5
- package/dist/chunks/{tool-0vakwkee.js → models-dev-6dz7t284.js} +26 -26
- package/dist/chunks/{tool-sjs4cgq8.js → models-dev-6e10nwxv.js} +13 -13
- package/dist/chunks/{tool-6hjx5zpb.js → models-dev-6hjx5zpb.js} +2 -2
- package/dist/chunks/{tool-6pc27hjz.js → models-dev-6pc27hjz.js} +2 -2
- package/dist/chunks/{tool-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-aqegtsfq.js → models-dev-6zga407v.js} +5 -5
- package/dist/chunks/{tool-xbprrnbe.js → models-dev-772df2t2.js} +28 -28
- package/dist/chunks/{tool-775gj3j1.js → models-dev-775gj3j1.js} +2 -2
- package/dist/chunks/{tool-27f0285z.js → models-dev-7awn1eca.js} +89 -89
- package/dist/chunks/{tool-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-a7p75jc5.js → models-dev-7cx6vmvd.js} +13 -13
- package/dist/chunks/{tool-pje47fk7.js → models-dev-7j6b7cf2.js} +12 -12
- package/dist/chunks/{tool-c8cbefa2.js → models-dev-7jax3d31.js} +4 -4
- package/dist/chunks/{tool-bjzmfjgq.js → models-dev-7r6xmrkr.js} +11 -11
- package/dist/chunks/{tool-bjfh2y0a.js → models-dev-7sta3r44.js} +21 -21
- package/dist/chunks/{tool-84txncab.js → models-dev-84txncab.js} +1 -1
- package/dist/chunks/{tool-5nfvqhja.js → models-dev-86kb63bw.js} +10 -10
- package/dist/chunks/{tool-meza9nwc.js → models-dev-87dt7mzz.js} +35 -35
- package/dist/chunks/{tool-3cwb9jzf.js → models-dev-8aaqm6qj.js} +8 -8
- package/dist/chunks/{tool-khbn7h8s.js → models-dev-8et75xt1.js} +9 -9
- package/dist/chunks/{tool-4kj8mwjy.js → models-dev-8ff0rxwx.js} +13 -13
- package/dist/chunks/{tool-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
- package/dist/chunks/{tool-gj7b0stj.js → models-dev-8mvpz4fy.js} +4 -4
- package/dist/chunks/{tool-axe3mf62.js → models-dev-8n9x2wf6.js} +3 -3
- package/dist/chunks/{tool-4e5pn4jt.js → models-dev-8trxcb2y.js} +5 -5
- package/dist/chunks/{tool-4zs78ha8.js → models-dev-8w3sca24.js} +4 -4
- package/dist/chunks/{tool-cp937pt4.js → models-dev-8wbxkt1z.js} +4 -4
- package/dist/chunks/{tool-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
- package/dist/chunks/{tool-5jkej3gj.js → models-dev-9ams9md9.js} +50 -50
- package/dist/chunks/{tool-dre3mh8q.js → models-dev-9pfg34kv.js} +8 -8
- package/dist/chunks/{tool-pes0tbvz.js → models-dev-9wrmc8bv.js} +15 -15
- package/dist/chunks/{tool-cw03ndct.js → models-dev-9zay2yph.js} +4 -4
- package/dist/chunks/{tool-ms8afdx3.js → models-dev-a8da1bgk.js} +11 -11
- package/dist/chunks/{tool-r0s4cps9.js → models-dev-aa1byvrx.js} +13 -13
- package/dist/chunks/{tool-ccn484d6.js → models-dev-aanb7cm6.js} +11 -11
- package/dist/chunks/{tool-addxnjmp.js → models-dev-addxnjmp.js} +1 -1
- package/dist/chunks/{tool-bvr8yq7m.js → models-dev-ahq53jd5.js} +32 -32
- package/dist/chunks/{tool-pa866ny5.js → models-dev-ahxdrjfh.js} +11 -11
- package/dist/chunks/{tool-fgy4jrac.js → models-dev-ap35vmqf.js} +4 -4
- package/dist/chunks/{tool-h1mvd9nt.js → models-dev-ap6xemjt.js} +5 -5
- package/dist/chunks/{tool-swg2czr5.js → models-dev-awcvgszp.js} +32 -32
- package/dist/chunks/{tool-rd6jcjw6.js → models-dev-b0d43emt.js} +32 -32
- package/dist/chunks/{tool-xqdej0ab.js → models-dev-b2e9bjkk.js} +22 -22
- package/dist/chunks/{tool-p48tkg4d.js → models-dev-b2wb6800.js} +18 -18
- package/dist/chunks/{tool-6hgfbb6p.js → models-dev-b7bzyegb.js} +15 -15
- package/dist/chunks/{tool-7qdpe4cb.js → models-dev-bft59c27.js} +9 -9
- package/dist/chunks/{tool-wjr9rjd7.js → models-dev-bjx1sjef.js} +6 -6
- package/dist/chunks/{tool-ha6a199g.js → models-dev-bkt6k2qn.js} +14 -14
- package/dist/chunks/{tool-v0hgep7b.js → models-dev-bme7dax2.js} +25 -25
- package/dist/chunks/{tool-g5hnex30.js → models-dev-bq6cmejr.js} +26 -26
- package/dist/chunks/{tool-bx7n6myc.js → models-dev-bxqk5pf5.js} +9 -9
- package/dist/chunks/{tool-f124mjt0.js → models-dev-c138fnt2.js} +18 -18
- package/dist/chunks/{tool-9nr0k19d.js → models-dev-c1a1b1k2.js} +4 -4
- package/dist/chunks/{tool-x1dvw4cn.js → models-dev-c1ek1mkb.js} +13 -13
- package/dist/chunks/{tool-c1fqxshp.js → models-dev-c1fqxshp.js} +3 -3
- package/dist/chunks/{tool-h6bky6ca.js → models-dev-cd49xnn7.js} +6 -6
- package/dist/chunks/{tool-qn56gx0x.js → models-dev-cdqe3acw.js} +8 -8
- package/dist/chunks/{tool-d1weh077.js → models-dev-ce84vtze.js} +2 -2
- package/dist/chunks/{tool-c1ngfaaf.js → models-dev-ck19mtvh.js} +9 -9
- package/dist/chunks/{tool-73e552s4.js → models-dev-dhedqzcj.js} +24 -24
- package/dist/chunks/{tool-dqxsqydv.js → models-dev-dqxsqydv.js} +1 -1
- package/dist/chunks/{tool-drwq78ky.js → models-dev-drwq78ky.js} +1 -1
- package/dist/chunks/{tool-e9rp6zjw.js → models-dev-dvpe37cm.js} +18 -18
- package/dist/chunks/{tool-hfm3768t.js → models-dev-e7p86yrn.js} +16 -16
- package/dist/chunks/{tool-sxcaecc0.js → models-dev-e80seqcp.js} +3 -3
- package/dist/chunks/{tool-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
- package/dist/chunks/{tool-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-pz1gbv8g.js → models-dev-eng572xq.js} +14 -14
- package/dist/chunks/{tool-bqqze0bz.js → models-dev-ewms06wq.js} +9 -9
- package/dist/chunks/{tool-6yacqn2k.js → models-dev-f1mnkpqm.js} +11 -11
- package/dist/chunks/{tool-ne0v3mcr.js → models-dev-f5b9jkp9.js} +16 -16
- package/dist/chunks/{tool-pjsqfx9m.js → models-dev-f5qq0z73.js} +3 -3
- package/dist/chunks/{tool-n2seafqy.js → models-dev-f6akwmps.js} +22 -22
- package/dist/chunks/{tool-trpqdd18.js → models-dev-f6fgd632.js} +13 -13
- package/dist/chunks/{tool-wy6dfgcn.js → models-dev-f84gknbk.js} +25 -25
- package/dist/chunks/{tool-trhb4xzf.js → models-dev-f9ebjzh0.js} +50 -50
- package/dist/chunks/{tool-edrmdtr5.js → models-dev-fqb2p7cx.js} +7 -7
- package/dist/chunks/{tool-ft3hqk2c.js → models-dev-ft3hqk2c.js} +2 -2
- package/dist/chunks/{tool-tnpc41a5.js → models-dev-g2qx1j3k.js} +3 -3
- package/dist/chunks/{tool-12j10hcs.js → models-dev-g4hdz8fh.js} +93 -93
- package/dist/chunks/{tool-efbjw4je.js → models-dev-g52tt8mw.js} +11 -11
- package/dist/chunks/{tool-vrrq7v3g.js → models-dev-g6yfr6ja.js} +5 -5
- package/dist/chunks/{tool-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-2jrf0397.js → models-dev-gdq7s844.js} +23 -23
- package/dist/chunks/{tool-6kzp9tjq.js → models-dev-gj71zhbs.js} +5 -5
- package/dist/chunks/{tool-6sghnyqr.js → models-dev-gpxpah6c.js} +16 -16
- package/dist/chunks/{tool-vcvkpszh.js → models-dev-gqrzrpnb.js} +10 -10
- package/dist/chunks/{tool-b6j5xzrd.js → models-dev-gwg64xpb.js} +35 -35
- package/dist/chunks/{tool-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
- package/dist/chunks/{tool-v703bhdd.js → models-dev-hd9sya5y.js} +35 -35
- package/dist/chunks/{tool-s5jbqbt2.js → models-dev-hg6fvb8h.js} +4 -4
- package/dist/chunks/{tool-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
- package/dist/chunks/{tool-s1mwa3em.js → models-dev-hn300vjm.js} +17 -17
- package/dist/chunks/{tool-f3cd59m9.js → models-dev-hpxzp9rx.js} +1 -1
- package/dist/chunks/{tool-esxsxdtm.js → models-dev-hyavndt0.js} +20 -20
- package/dist/chunks/{tool-evcnqajx.js → models-dev-hydq8y4t.js} +30 -30
- package/dist/chunks/{tool-96r9dk5h.js → models-dev-hyxd6180.js} +14 -14
- package/dist/chunks/{tool-3djbzr3c.js → models-dev-j6z2dytx.js} +21 -21
- package/dist/chunks/{tool-1gdff4pf.js → models-dev-j9468e3s.js} +10 -10
- package/dist/chunks/{tool-3n76ftvs.js → models-dev-je214mst.js} +37 -37
- package/dist/chunks/{tool-jk540des.js → models-dev-jk540des.js} +2 -2
- package/dist/chunks/{tool-nfq9k2qg.js → models-dev-jrbfgch9.js} +22 -22
- package/dist/chunks/{tool-zpbcv7tg.js → models-dev-jxn7dvkj.js} +3 -3
- package/dist/chunks/{tool-xc0stz1c.js → models-dev-k5nx9gf6.js} +32 -32
- package/dist/chunks/{tool-neh9qwyn.js → models-dev-k82cey18.js} +18 -18
- package/dist/chunks/{tool-rpdh36zp.js → models-dev-kcr9yty2.js} +24 -24
- package/dist/chunks/{tool-fxaymqdw.js → models-dev-khmqacep.js} +4 -4
- package/dist/chunks/{tool-g0ebsb7w.js → models-dev-kp9v44y6.js} +16 -16
- package/dist/chunks/{tool-x988sc1p.js → models-dev-ksqexn5b.js} +20 -20
- package/dist/chunks/{tool-871668nt.js → models-dev-ksyw1h75.js} +13 -13
- package/dist/chunks/{tool-9y9sk2j9.js → models-dev-kvycfk4x.js} +2 -2
- package/dist/chunks/{tool-gzxvfr9h.js → models-dev-kwvz8xsm.js} +26 -26
- package/dist/chunks/{tool-hxg485bt.js → models-dev-m43p4m24.js} +13 -13
- package/dist/chunks/{tool-z7bx7nj5.js → models-dev-m6g7jkxp.js} +7 -7
- package/dist/chunks/{tool-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
- package/dist/chunks/{tool-zsf4swtr.js → models-dev-mawbj8c7.js} +15 -15
- package/dist/chunks/{tool-0w6w9fz6.js → models-dev-mdkqwhqk.js} +11 -11
- package/dist/chunks/{tool-mqf2wszw.js → models-dev-mwa53675.js} +24 -24
- package/dist/chunks/{tool-ccdthk42.js → models-dev-n41s30kp.js} +20 -20
- package/dist/chunks/{tool-t25nyb44.js → models-dev-nd673bhh.js} +18 -18
- package/dist/chunks/{tool-zrr3y58q.js → models-dev-nm80a8zg.js} +10 -10
- package/dist/chunks/{tool-1bmjn0qh.js → models-dev-npw39rc8.js} +8 -8
- package/dist/chunks/{tool-0reb07hh.js → models-dev-nr5dye9z.js} +4 -4
- package/dist/chunks/{tool-fqt76dtj.js → models-dev-p157t1fq.js} +9 -9
- package/dist/chunks/{tool-ezy28dwm.js → models-dev-p7f50jp2.js} +11 -11
- package/dist/chunks/{tool-bwp6pqna.js → models-dev-p8r370vm.js} +22 -22
- package/dist/chunks/{tool-gyn58nzm.js → models-dev-phfa2v1d.js} +15 -15
- package/dist/chunks/models-dev-phz3h32g.js +18 -0
- package/dist/chunks/{tool-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-nrsgf78h.js → models-dev-pk4f2aze.js} +11 -11
- package/dist/chunks/{tool-pknna89w.js → models-dev-pknna89w.js} +1 -1
- package/dist/chunks/{tool-7tbkgw72.js → models-dev-pncz9ezf.js} +22 -22
- package/dist/chunks/{tool-xybefm6f.js → models-dev-pnzf6mjf.js} +1 -1
- package/dist/chunks/{tool-45teq17z.js → models-dev-pp2w7hra.js} +16 -16
- package/dist/chunks/{tool-g88qc0rs.js → models-dev-pv3b1asr.js} +11 -11
- package/dist/chunks/{tool-wj5c1p6d.js → models-dev-pv818zwk.js} +49 -49
- package/dist/chunks/{tool-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-4k8q0s1e.js → models-dev-q3sjtm7g.js} +24 -24
- package/dist/chunks/{tool-xcwxhh1p.js → models-dev-q404fz3t.js} +9 -9
- package/dist/chunks/{tool-k4z4pfzw.js → models-dev-q5kf7mcj.js} +43 -43
- package/dist/chunks/{tool-0jwsre1p.js → models-dev-qgn6gcr1.js} +5 -5
- package/dist/chunks/{tool-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-tmdsjbh9.js → models-dev-qvs0fk0x.js} +17 -17
- package/dist/chunks/{tool-xhx94tt7.js → models-dev-r1d3qzdq.js} +9 -9
- package/dist/chunks/{tool-20m9xb7p.js → models-dev-rajkn84v.js} +41 -41
- package/dist/chunks/{tool-mkj7w19c.js → models-dev-rc5j5mkd.js} +31 -31
- package/dist/chunks/{tool-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-rert0e01.js → models-dev-rert0e01.js} +2 -2
- package/dist/chunks/{tool-cv7zkw6d.js → models-dev-rhm9r2e7.js} +46 -46
- package/dist/chunks/{tool-5627zfvx.js → models-dev-rhswqpbr.js} +18 -18
- package/dist/chunks/{tool-rj3eygr5.js → models-dev-rj3eygr5.js} +2 -2
- package/dist/chunks/{tool-sbhhmpa1.js → models-dev-rjqa6xvr.js} +5 -5
- package/dist/chunks/{tool-kjwzqyf2.js → models-dev-rrrs7b4h.js} +46 -46
- package/dist/chunks/{tool-x0rtsm8e.js → models-dev-rs56my4t.js} +186 -186
- package/dist/chunks/{tool-166kng33.js → models-dev-rvf0m9x6.js} +8 -8
- package/dist/chunks/{tool-m8c4x33k.js → models-dev-rvswe9jz.js} +3 -3
- package/dist/chunks/{tool-pdw1sk9c.js → models-dev-rxxgfbgd.js} +36 -36
- package/dist/chunks/{tool-4zp8myha.js → models-dev-s2m39v4y.js} +20 -20
- package/dist/chunks/{tool-me5fzwjd.js → models-dev-s6nd2x5k.js} +15 -15
- package/dist/chunks/{tool-0q78z8wc.js → models-dev-s8s89f8k.js} +13 -13
- package/dist/chunks/{tool-sa8ekw3f.js → models-dev-sa8ekw3f.js} +2 -2
- package/dist/chunks/{tool-b3f8fkhc.js → models-dev-scgrse2b.js} +5 -5
- package/dist/chunks/{tool-9a94vrwg.js → models-dev-shrx83xz.js} +43 -43
- package/dist/chunks/{tool-0bjrbxj3.js → models-dev-sjt6nrdb.js} +22 -22
- package/dist/chunks/{tool-erpzfxtv.js → models-dev-sk4xkn0s.js} +17 -17
- package/dist/chunks/{tool-6htb5gr0.js → models-dev-sn3esjwr.js} +11 -11
- package/dist/chunks/{tool-syv4x271.js → models-dev-syv4x271.js} +1 -1
- package/dist/chunks/{tool-mv3hx7wz.js → models-dev-sz15zhhw.js} +4 -4
- package/dist/chunks/{tool-q4fmv0xv.js → models-dev-sznyev98.js} +5 -5
- package/dist/chunks/{tool-01t36tg3.js → models-dev-t0yzwfwa.js} +43 -43
- package/dist/chunks/{tool-z3zv6y4t.js → models-dev-t462pgxk.js} +32 -32
- package/dist/chunks/{tool-abadc73r.js → models-dev-t4jzv59m.js} +11 -11
- package/dist/chunks/{tool-s8d7rejh.js → models-dev-t550f9t1.js} +4 -4
- package/dist/chunks/{tool-w4dca2d6.js → models-dev-t59ay9nj.js} +19 -19
- package/dist/chunks/{tool-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-89znhe33.js → models-dev-tcezcvh9.js} +4 -4
- package/dist/chunks/{tool-swcgf9tw.js → models-dev-tctv09ep.js} +78 -78
- package/dist/chunks/{tool-m389c5cq.js → models-dev-tcxxj4xv.js} +59 -59
- package/dist/chunks/{tool-tdstcens.js → models-dev-tdstcens.js} +1 -1
- package/dist/chunks/{tool-ze6bq4cz.js → models-dev-tezr4t8w.js} +10 -10
- package/dist/chunks/{tool-0tndnf13.js → models-dev-tgkebzgj.js} +28 -28
- package/dist/chunks/{tool-afrtgck4.js → models-dev-tjedn1bk.js} +4 -4
- package/dist/chunks/{tool-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
- package/dist/chunks/{tool-436seg2v.js → models-dev-tped5syp.js} +1 -1
- package/dist/chunks/{tool-y945vb8n.js → models-dev-trya7axm.js} +8 -8
- package/dist/chunks/{tool-sexk3xwd.js → models-dev-tvq2padx.js} +45 -45
- package/dist/chunks/{tool-k5m21wex.js → models-dev-tx2ykx8n.js} +18 -18
- package/dist/chunks/{tool-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
- package/dist/chunks/{tool-v0es1rhs.js → models-dev-v0es1rhs.js} +2 -2
- package/dist/chunks/{tool-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
- package/dist/chunks/{tool-mngzetc9.js → models-dev-vedw13eh.js} +18 -18
- package/dist/chunks/{tool-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-ab5hd1e3.js → models-dev-vgk39nvh.js} +24 -24
- package/dist/chunks/{tool-4qb6esnv.js → models-dev-vkahxkee.js} +33 -33
- package/dist/chunks/{tool-sz25zewp.js → models-dev-vqww9wf2.js} +18 -18
- package/dist/chunks/{tool-yvqbnyr5.js → models-dev-vvz7xq4k.js} +23 -23
- package/dist/chunks/{tool-g8p1nq0c.js → models-dev-vx0jde21.js} +9 -9
- package/dist/chunks/{tool-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-kk3ptvrd.js → models-dev-w11zjscx.js} +51 -51
- package/dist/chunks/{tool-sxd457kj.js → models-dev-w3wfn83y.js} +20 -20
- package/dist/chunks/{tool-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-wd87259q.js → models-dev-wd87259q.js} +1 -1
- package/dist/chunks/{tool-wx95s5vn.js → models-dev-we83yyr7.js} +33 -33
- package/dist/chunks/{tool-ptzgpnc3.js → models-dev-wfsmwj5g.js} +27 -27
- package/dist/chunks/{tool-gk4m79v4.js → models-dev-x5h44zm2.js} +12 -12
- package/dist/chunks/{tool-rkea8fjp.js → models-dev-xfk6cv89.js} +20 -20
- package/dist/chunks/{tool-c3qawk1f.js → models-dev-xr0b3q4c.js} +22 -22
- package/dist/chunks/{tool-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-y71avatq.js → models-dev-y71avatq.js} +1 -1
- package/dist/chunks/{tool-5rwcywtx.js → models-dev-y9f7x49n.js} +27 -27
- package/dist/chunks/{tool-xj1aydcy.js → models-dev-yd4bzqjj.js} +5 -5
- package/dist/chunks/models-dev-yfpjxthe.js +26 -0
- package/dist/chunks/{tool-1sn90gb4.js → models-dev-ymd5dqt1.js} +20 -20
- package/dist/chunks/{tool-7n3bkkdp.js → models-dev-yn3sjzkr.js} +24 -24
- package/dist/chunks/{tool-r8xr0va3.js → models-dev-yp2x3t23.js} +4 -4
- package/dist/chunks/{tool-d2czbp48.js → models-dev-yrcj3v3g.js} +4 -4
- package/dist/chunks/{tool-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-0fgjfwm5.js → models-dev-zkehg455.js} +3 -3
- package/dist/chunks/{tool-9hkdgzmv.js → models-dev-znegvexa.js} +8 -8
- package/dist/chunks/{tool-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-07fb0sq0.js → models-dev-zs526gn4.js} +13 -13
- package/dist/chunks/{tool-f5cw550v.js → models-dev-zt49gfb7.js} +21 -21
- package/dist/chunks/{tool-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +72 -72
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +78 -78
- 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 +359 -359
- 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 +1 -1
- 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 +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- 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 +109 -109
- package/dist/mcp/instructions.js +129 -129
- 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 +98 -98
- 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 +109 -109
- 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 +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- 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 +2 -2
- 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 +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- 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 +127 -127
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +99 -99
- 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 +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +116 -116
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- 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 +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +135 -135
- package/dist/session/context.js +155 -155
- 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 +219 -219
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- 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 +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- 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 +126 -126
- 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 +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- 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 +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- 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/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- 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 +84 -84
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/tool-phpwwk39.js +0 -253
- package/dist/chunks/tool-q509s3k3.js +0 -18
- package/dist/chunks/tool-q9a0p4yb.js +0 -26
- /package/dist/chunks/{tool-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → models-dev-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → models-dev-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → models-dev-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → models-dev-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → models-dev-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → models-dev-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → models-dev-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → models-dev-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → models-dev-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{tool-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → models-dev-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./models-dev-hyxd6180.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./models-dev-kcr9yty2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./models-dev-9wrmc8bv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service17,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-6e10nwxv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service60
|
|
22
|
+
} from "./models-dev-25fv0sh8.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service55,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./models-dev-k82cey18.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./models-dev-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin44,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin44 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service66;
|
|
112
|
+
const access = yield* Service55;
|
|
113
|
+
const fileMutation = yield* Service17;
|
|
114
|
+
const formatter = yield* Service16;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service60;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin48 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output6, toModelContent4, Plugin44, exports_patch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
ID5,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available3,
|
|
11
|
+
Service35,
|
|
12
|
+
node38
|
|
13
|
+
} from "./models-dev-p8r370vm.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions3 = {};
|
|
20
|
+
__export(exports_instructions3, {
|
|
21
|
+
Service: () => Service25,
|
|
22
|
+
SkillInstructions: () => exports_instructions3,
|
|
23
|
+
node: () => node28
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service25 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service35;
|
|
67
|
+
return Service25.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
70
|
-
return
|
|
69
|
+
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
+
return make19({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node38] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service25, node28, exports_instructions3 };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service66,
|
|
8
|
+
node68
|
|
9
|
+
} from "./models-dev-kcr9yty2.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./models-dev-t462pgxk.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./models-dev-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service11,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node13,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service11 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service66;
|
|
335
|
+
return Service11.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node13 = makeLocationNode({ service: Service11, layer, deps: [node68] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service11, read2, node13, exports_read_filesystem };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./models-dev-bq6cmejr.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./models-dev-ahq53jd5.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service49
|
|
11
|
+
} from "./models-dev-pv818zwk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
resolve4
|
|
14
|
+
} from "./models-dev-cd49xnn7.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./models-dev-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin33
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin33 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service49;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -186,7 +186,7 @@ var Plugin18 = define({
|
|
|
186
186
|
if (config.variants === undefined && !source?.base)
|
|
187
187
|
models.update(providerID, id, (model) => {
|
|
188
188
|
model.variants = [
|
|
189
|
-
...
|
|
189
|
+
...resolve4({
|
|
190
190
|
...model,
|
|
191
191
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
192
192
|
})
|
|
@@ -201,4 +201,4 @@ function configuredProviders(entries) {
|
|
|
201
201
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
export {
|
|
204
|
+
export { Plugin33, exports_provider };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./models-dev-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make9,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
60
60
|
return { retry: true, attempt, delay: normalized };
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
64
64
|
const decide = yield* policy2(sessionID);
|
|
65
65
|
const wait = (input) => Effect.gen(function* () {
|
|
66
66
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -77,4 +77,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
77
77
|
return { decide, wait };
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { isRetryable2, policy2,
|
|
80
|
+
export { isRetryable2, policy2, make9, exports_retry };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./models-dev-aanb7cm6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./models-dev-f5b9jkp9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service44,
|
|
11
|
+
node46
|
|
12
|
+
} from "./models-dev-pp2w7hra.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service43,
|
|
15
|
+
node45
|
|
16
|
+
} from "./models-dev-4mwpykj0.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./models-dev-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./models-dev-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service40
|
|
26
|
+
} from "./models-dev-2vs2nh1n.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service61,
|
|
29
|
+
node63
|
|
30
|
+
} from "./models-dev-qvs0fk0x.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./models-dev-ap6xemjt.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./models-dev-hydq8y4t.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service39,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer18,
|
|
47
|
+
node: () => node42,
|
|
48
|
+
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service39 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer18 = Layer.effect(Service39, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service61;
|
|
64
|
+
const instances = yield* Service43;
|
|
65
|
+
const bus = yield* Service82;
|
|
66
|
+
const jobs = yield* Service44;
|
|
67
|
+
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,14 +76,14 @@ var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service40.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service39.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node42 = makeGlobalNode({
|
|
127
|
+
service: Service39,
|
|
128
|
+
layer: layer18,
|
|
129
|
+
deps: [node63, node45, node86, node88, node46]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service61, Service61.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service39, terminal2, layer18, node42, noopLayer2, exports_execution };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./models-dev-bq6cmejr.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info21
|
|
11
|
+
} from "./models-dev-ahq53jd5.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./models-dev-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID11.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info21.make({
|
|
122
|
+
...Info21.default(ID12.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID11.make(remote.id),
|
|
125
|
+
providerID: ID12.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|