@opencode/core 0.0.0-dev-20650 → 0.0.0-dev-20652
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-services-wfctfrf2.js → model-resolver-0422tdqy.js} +5 -5
- package/dist/chunks/{location-services-jkjj242p.js → model-resolver-0542bm0d.js} +33 -33
- package/dist/chunks/{location-services-5rmxkhg6.js → model-resolver-07nx60wz.js} +3 -3
- package/dist/chunks/{location-services-cyw6svx6.js → model-resolver-08awhxg9.js} +10 -10
- package/dist/chunks/{location-services-6mncfa04.js → model-resolver-08q73ng5.js} +13 -13
- package/dist/chunks/{location-services-dfsz33p3.js → model-resolver-0bs0xzzs.js} +19 -19
- package/dist/chunks/{location-services-j12as4v5.js → model-resolver-0es0zd3j.js} +23 -23
- package/dist/chunks/{location-services-h9wapceb.js → model-resolver-0f84emyz.js} +21 -21
- package/dist/chunks/{location-services-0a1e8d3s.js → model-resolver-0hc4mbjr.js} +7 -7
- package/dist/chunks/{location-services-t01ewf6t.js → model-resolver-0nvn360z.js} +11 -11
- package/dist/chunks/{location-services-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-services-3atax22v.js → model-resolver-0vs3bra0.js} +41 -41
- package/dist/chunks/{location-services-8yh9yfq0.js → model-resolver-0ykz178d.js} +10 -10
- package/dist/chunks/{location-services-mb14aw74.js → model-resolver-127b9nq3.js} +2 -2
- package/dist/chunks/{location-services-j54377ah.js → model-resolver-12gfzbq6.js} +10 -10
- package/dist/chunks/{location-services-yt3hy1g9.js → model-resolver-150yg2gd.js} +5 -5
- package/dist/chunks/{location-services-s7yezqte.js → model-resolver-19v7rzjh.js} +38 -38
- package/dist/chunks/{location-services-2sp9vt4c.js → model-resolver-1a7kemja.js} +3 -3
- package/dist/chunks/{location-services-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-2b32xhw2.js → model-resolver-1jj9vxsv.js} +3 -3
- package/dist/chunks/{location-services-jb2g91f3.js → model-resolver-1ssqd35y.js} +12 -12
- package/dist/chunks/{location-services-16e73rhv.js → model-resolver-1xwtfmct.js} +4 -4
- package/dist/chunks/{location-services-s3h11364.js → model-resolver-27czsdb9.js} +47 -47
- package/dist/chunks/{location-services-727zjhnd.js → model-resolver-286yb4sa.js} +4 -4
- package/dist/chunks/{location-services-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-gfzdj97b.js → model-resolver-2ck2j4j1.js} +6 -6
- package/dist/chunks/{location-services-jan553tg.js → model-resolver-2f6g987b.js} +183 -183
- package/dist/chunks/{location-services-3m50rrjg.js → model-resolver-2h5pq9sb.js} +24 -24
- package/dist/chunks/{location-services-fcrkznn8.js → model-resolver-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-6qw1qkre.js → model-resolver-2pqtcr1v.js} +11 -11
- package/dist/chunks/{location-services-r33djvem.js → model-resolver-2v5zve2j.js} +20 -20
- package/dist/chunks/{location-services-ambyqp62.js → model-resolver-2w7e4h0h.js} +11 -11
- package/dist/chunks/{location-services-q479fbf4.js → model-resolver-2ypb7czt.js} +15 -15
- package/dist/chunks/{location-services-956t9e47.js → model-resolver-32h9x93b.js} +48 -48
- package/dist/chunks/{location-services-3cegwx68.js → model-resolver-3cegwx68.js} +2 -2
- package/dist/chunks/{location-services-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-tcay1cqt.js → model-resolver-3ppptnan.js} +6 -6
- package/dist/chunks/{location-services-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-4htcxagg.js → model-resolver-3x6h1yzc.js} +9 -9
- package/dist/chunks/{location-services-g0ahba55.js → model-resolver-3yzzydz0.js} +4 -4
- package/dist/chunks/{location-services-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-services-qymnwkpy.js → model-resolver-41dwvnwc.js} +11 -11
- package/dist/chunks/{location-services-ds99stjk.js → model-resolver-45deadp2.js} +7 -7
- package/dist/chunks/{location-services-e2tbx933.js → model-resolver-46tb29mf.js} +8 -8
- package/dist/chunks/{location-services-n1n192bv.js → model-resolver-4j4tgtq5.js} +4 -4
- package/dist/chunks/{location-services-fwbcrs20.js → model-resolver-4nsnwgcs.js} +1 -1
- package/dist/chunks/{location-services-4ts7tf6z.js → model-resolver-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-services-g6yfr6ja.js → model-resolver-4xpgt2w9.js} +5 -5
- package/dist/chunks/{location-services-j59bqac0.js → model-resolver-4xy3xte6.js} +34 -34
- package/dist/chunks/{location-services-0t7w7e1z.js → model-resolver-5109a086.js} +35 -35
- package/dist/chunks/{location-services-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{location-services-aa33dgcr.js → model-resolver-558ajqy5.js} +17 -17
- package/dist/chunks/{location-services-14r5wq43.js → model-resolver-5d93dg4h.js} +23 -23
- package/dist/chunks/{location-services-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-f210znyg.js → model-resolver-5gxq0s6y.js} +47 -47
- package/dist/chunks/{location-services-kaa3dmqg.js → model-resolver-5h3jqpbr.js} +15 -15
- package/dist/chunks/{location-services-d1r5081s.js → model-resolver-5hx7d1d6.js} +5 -5
- package/dist/chunks/{location-services-vrc04fwg.js → model-resolver-5jjt27vb.js} +11 -11
- package/dist/chunks/{location-services-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-services-ywpk00n5.js → model-resolver-5mwnvj5n.js} +11 -11
- package/dist/chunks/{location-services-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-9r937kg5.js → model-resolver-6ha37qbe.js} +45 -45
- package/dist/chunks/{location-services-3a4786ab.js → model-resolver-6mns344v.js} +26 -26
- package/dist/chunks/model-resolver-6rhw05qy.js +26 -0
- package/dist/chunks/{location-services-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-services-z07zh9w3.js → model-resolver-6z0zjaxs.js} +25 -25
- package/dist/chunks/{location-services-9ykrx1qq.js → model-resolver-71ek9cp3.js} +9 -9
- package/dist/chunks/{location-services-ara0ca5b.js → model-resolver-73azztx1.js} +7 -7
- package/dist/chunks/{location-services-r5x6zcsm.js → model-resolver-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-services-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-v0es1rhs.js → model-resolver-7d822byb.js} +9 -9
- package/dist/chunks/{location-services-kt67x2pe.js → model-resolver-7zkyz21p.js} +6 -6
- package/dist/chunks/{location-services-84h8c373.js → model-resolver-84h8c373.js} +2 -2
- package/dist/chunks/{location-services-w1eejvng.js → model-resolver-84txncab.js} +5 -5
- package/dist/chunks/{location-services-qam4srmn.js → model-resolver-85eh7cfy.js} +31 -31
- package/dist/chunks/{location-services-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-0ft2m84j.js → model-resolver-8egvdccy.js} +11 -11
- package/dist/chunks/{location-services-pc2ca7gw.js → model-resolver-8fm7ftfn.js} +13 -13
- package/dist/chunks/{location-services-4cz0dkbb.js → model-resolver-8hbdmjnq.js} +75 -75
- package/dist/chunks/{location-services-3mt2dy6d.js → model-resolver-8kb0e28r.js} +11 -11
- package/dist/chunks/{location-services-zdtpkxz5.js → model-resolver-8xq2p407.js} +21 -21
- package/dist/chunks/{location-services-cbkmvndh.js → model-resolver-8yktm66k.js} +17 -17
- package/dist/chunks/{location-services-17yrvmpn.js → model-resolver-974xbn4p.js} +32 -32
- package/dist/chunks/{location-services-4ax7xn0r.js → model-resolver-9b1bh67j.js} +5 -5
- package/dist/chunks/{location-services-6c7yw9pm.js → model-resolver-9kw8973d.js} +8 -8
- package/dist/chunks/{location-services-nnyt92w2.js → model-resolver-9s0ehjpm.js} +29 -29
- package/dist/chunks/{location-services-a20mmbrw.js → model-resolver-9v0mj4cg.js} +8 -8
- package/dist/chunks/{location-services-c6wv61cx.js → model-resolver-9vk12vsk.js} +11 -11
- package/dist/chunks/{location-services-psf10pda.js → model-resolver-9zgzq4hp.js} +19 -19
- package/dist/chunks/{location-services-v5hevtyx.js → model-resolver-a6xnfde8.js} +4 -4
- package/dist/chunks/{location-services-cavr175a.js → model-resolver-a8bn8zg0.js} +4 -4
- package/dist/chunks/{location-services-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-33beq0ma.js → model-resolver-ajft39nq.js} +1 -1
- package/dist/chunks/{location-services-rzwydysx.js → model-resolver-apdvzw7w.js} +30 -30
- package/dist/chunks/{location-services-2h1dy14m.js → model-resolver-b0nz5rd6.js} +20 -20
- package/dist/chunks/{location-services-tpty64js.js → model-resolver-b3rdhmww.js} +14 -14
- package/dist/chunks/{location-services-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-jxkc3myh.js → model-resolver-b75r5j40.js} +24 -24
- package/dist/chunks/{location-services-fb9bde3m.js → model-resolver-bd8np6qp.js} +19 -19
- package/dist/chunks/{location-services-4fwcrk1h.js → model-resolver-bdd5jqwb.js} +14 -14
- package/dist/chunks/{location-services-jx32pc59.js → model-resolver-bmtj8zad.js} +12 -12
- package/dist/chunks/{location-services-bxpjjjkj.js → model-resolver-bt4mtqh9.js} +5 -5
- package/dist/chunks/{location-services-e2v8ft38.js → model-resolver-bzzc495f.js} +11 -11
- package/dist/chunks/{location-services-qpk58yzq.js → model-resolver-bzzvw9kc.js} +1 -1
- package/dist/chunks/{location-services-j01q2zrr.js → model-resolver-c0y2vens.js} +8 -8
- package/dist/chunks/{location-services-n68t0apf.js → model-resolver-c0ykhrt2.js} +16 -16
- package/dist/chunks/model-resolver-c5kr06rn.js +507 -0
- package/dist/chunks/{location-services-z8rw9kn4.js → model-resolver-cfmtfeg9.js} +8 -8
- package/dist/chunks/{location-services-wvws9fm3.js → model-resolver-cjhnsaft.js} +8 -8
- package/dist/chunks/{location-services-0arksaxe.js → model-resolver-cjw460n3.js} +22 -22
- package/dist/chunks/{location-services-j8m1p4p1.js → model-resolver-cp937pt4.js} +4 -4
- package/dist/chunks/{location-services-thg5jy7b.js → model-resolver-cq29va0k.js} +20 -20
- package/dist/chunks/{location-services-vwpcpzep.js → model-resolver-ctz7jbry.js} +8 -8
- package/dist/chunks/{location-services-d4he2qe1.js → model-resolver-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-services-hjbndmcs.js → model-resolver-da6ee7ra.js} +9 -9
- package/dist/chunks/{location-services-2a49rb13.js → model-resolver-de52ckkz.js} +4 -4
- package/dist/chunks/{location-services-waec0c3j.js → model-resolver-dhe4rjrj.js} +33 -33
- package/dist/chunks/{location-services-nxm207yx.js → model-resolver-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-services-2vhq75nc.js → model-resolver-dq0bda3m.js} +22 -22
- package/dist/chunks/{location-services-bj4d9qfd.js → model-resolver-dx1b2kp7.js} +29 -29
- package/dist/chunks/{location-services-50s4shqd.js → model-resolver-dze2gebv.js} +29 -29
- package/dist/chunks/{location-services-sq42pm77.js → model-resolver-e3bfy97n.js} +23 -23
- package/dist/chunks/{location-services-re7zz5fm.js → model-resolver-e4knw194.js} +16 -16
- package/dist/chunks/{location-services-kxz2jsw3.js → model-resolver-e67gvcg8.js} +30 -30
- package/dist/chunks/{location-services-rhjbct0v.js → model-resolver-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-services-vre0f3v3.js → model-resolver-ec8aqdm6.js} +57 -57
- package/dist/chunks/{location-services-zacf2nwq.js → model-resolver-ecw0m79c.js} +13 -13
- package/dist/chunks/{location-services-gk7ynedz.js → model-resolver-ed1gzxdy.js} +8 -8
- package/dist/chunks/{location-services-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-services-0sw34p9e.js → model-resolver-epch8s0x.js} +3 -3
- package/dist/chunks/{location-services-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-smha7wt5.js → model-resolver-eyz1e7b4.js} +3 -3
- package/dist/chunks/{location-services-f75zav2x.js → model-resolver-f75zav2x.js} +2 -2
- package/dist/chunks/{location-services-9jbn959z.js → model-resolver-fjrw4d14.js} +45 -45
- package/dist/chunks/{location-services-a16hf74s.js → model-resolver-fpcgeefe.js} +21 -21
- package/dist/chunks/{location-services-6bykwcaq.js → model-resolver-ftczs0ph.js} +44 -44
- package/dist/chunks/{location-services-kn3avxvj.js → model-resolver-g08qb7dt.js} +13 -13
- package/dist/chunks/{location-services-srq8z0b0.js → model-resolver-g31erja1.js} +9 -9
- package/dist/chunks/{location-services-51khb7z6.js → model-resolver-g47h9c6m.js} +9 -9
- package/dist/chunks/{location-services-rcw89xq3.js → model-resolver-g4pw1jpx.js} +22 -22
- package/dist/chunks/{location-services-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-vmd3sd6p.js → model-resolver-gdn89mga.js} +18 -18
- package/dist/chunks/{location-services-5b7tqepp.js → model-resolver-gf4q96mg.js} +26 -26
- package/dist/chunks/{location-services-ef7m5ry9.js → model-resolver-gm70hkap.js} +11 -11
- package/dist/chunks/{location-services-24vj1m2f.js → model-resolver-gph55xgf.js} +13 -13
- package/dist/chunks/{location-services-x661k3y3.js → model-resolver-gqtdsdt7.js} +4 -4
- package/dist/chunks/{location-services-zrq8kphx.js → model-resolver-gqxmd7mw.js} +8 -8
- package/dist/chunks/{location-services-t7n9q6bq.js → model-resolver-gst7axd9.js} +4 -4
- package/dist/chunks/{location-services-ezx0c3nt.js → model-resolver-gtfqxnbk.js} +7 -7
- package/dist/chunks/{location-services-bd0g7wdn.js → model-resolver-h3g7c02j.js} +19 -19
- package/dist/chunks/{location-services-3zbwexce.js → model-resolver-h4ckqw4f.js} +8 -8
- package/dist/chunks/{location-services-2p1kqprv.js → model-resolver-h4z4phbe.js} +4 -4
- package/dist/chunks/{location-services-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-ns3eape4.js → model-resolver-hd8vw2pw.js} +1 -1
- package/dist/chunks/{location-services-vzx68d5n.js → model-resolver-hjm94w0b.js} +8 -8
- package/dist/chunks/{location-services-v1qd983m.js → model-resolver-hm2phjj0.js} +25 -25
- package/dist/chunks/{location-services-gfwyksye.js → model-resolver-hq45thad.js} +22 -22
- package/dist/chunks/{location-services-x53k8vh3.js → model-resolver-j4w879wy.js} +30 -30
- package/dist/chunks/{location-services-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-sjs9ezqr.js → model-resolver-j5n8pp08.js} +40 -40
- package/dist/chunks/{location-services-ssew6xnx.js → model-resolver-j8vk2cdy.js} +5 -5
- package/dist/chunks/{location-services-nbdxm3p1.js → model-resolver-k2nq0b80.js} +28 -28
- package/dist/chunks/{location-services-3a91dp8a.js → model-resolver-k3f304m0.js} +3 -3
- package/dist/chunks/{location-services-1nzp712d.js → model-resolver-k3gjjqdh.js} +30 -30
- package/dist/chunks/{location-services-gj5tgtsk.js → model-resolver-k9ga8ymg.js} +13 -13
- package/dist/chunks/{location-services-kb9j3d72.js → model-resolver-kb9j3d72.js} +3 -3
- package/dist/chunks/{location-services-2p5y98w0.js → model-resolver-kc6s93qx.js} +6 -6
- package/dist/chunks/{location-services-kkk3xdpb.js → model-resolver-kc9e1ych.js} +41 -41
- package/dist/chunks/{location-services-wj9bqc1j.js → model-resolver-kfh1rvrr.js} +23 -23
- package/dist/chunks/{location-services-ampgcpe6.js → model-resolver-kk3g4k48.js} +26 -26
- package/dist/chunks/{location-services-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-services-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-ynmx16w6.js → model-resolver-mdaxkk3h.js} +4 -4
- package/dist/chunks/{location-services-56gdpj1q.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-services-z4swa18j.js → model-resolver-mj4tg0y9.js} +7 -7
- package/dist/chunks/{location-services-g2r84ert.js → model-resolver-mq0f2m57.js} +24 -24
- package/dist/chunks/{location-services-c2sed5cq.js → model-resolver-mtpeagzc.js} +3 -3
- package/dist/chunks/{location-services-1y283654.js → model-resolver-n2srvep7.js} +4 -4
- package/dist/chunks/{location-services-ftjf86m5.js → model-resolver-n37c4crj.js} +9 -9
- package/dist/chunks/{location-services-g5696t09.js → model-resolver-n4kwfwhc.js} +9 -9
- package/dist/chunks/{location-services-1bk9khzn.js → model-resolver-n6kkq2ng.js} +34 -34
- package/dist/chunks/{location-services-x7hmwq28.js → model-resolver-nbe77j13.js} +28 -28
- package/dist/chunks/{location-services-cx8ek9kt.js → model-resolver-nkpgj8pk.js} +5 -5
- package/dist/chunks/{location-services-72d0mfn3.js → model-resolver-nsk1prb9.js} +15 -15
- package/dist/chunks/{location-services-j4rr3b6f.js → model-resolver-p5a37mby.js} +11 -11
- package/dist/chunks/{location-services-3ss9g85e.js → model-resolver-p8byhbkv.js} +41 -41
- package/dist/chunks/{location-services-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-3b9qt4hj.js → model-resolver-pnkbpv6t.js} +9 -9
- package/dist/chunks/{location-services-mx1p25e3.js → model-resolver-pp4mne8d.js} +26 -26
- package/dist/chunks/{location-services-gy6z8b7d.js → model-resolver-pv9k6nd9.js} +22 -22
- package/dist/chunks/{location-services-7bwwwg4f.js → model-resolver-pw90wh71.js} +42 -42
- package/dist/chunks/{location-services-nt3x6kk1.js → model-resolver-pwjc3egg.js} +17 -17
- package/dist/chunks/{location-services-was7srj9.js → model-resolver-q0kza1w9.js} +8 -8
- package/dist/chunks/{location-services-q0xm7vwc.js → model-resolver-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-services-csfhn2wr.js → model-resolver-q3h10w5c.js} +56 -56
- package/dist/chunks/model-resolver-q509s3k3.js +18 -0
- package/dist/chunks/{location-services-n6svg889.js → model-resolver-q83407cy.js} +18 -18
- package/dist/chunks/{location-services-t2fc4mz5.js → model-resolver-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-services-y8shr9gw.js → model-resolver-qk7srzz2.js} +35 -35
- package/dist/chunks/{location-services-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-services-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-71s3sq4y.js → model-resolver-qthsvwc3.js} +17 -17
- package/dist/chunks/{location-services-7b0ws6vd.js → model-resolver-qzp699j3.js} +17 -17
- package/dist/chunks/{location-services-514hvnh9.js → model-resolver-qzpwn43k.js} +16 -16
- package/dist/chunks/{location-services-thrv5kr1.js → model-resolver-r0spx5zb.js} +26 -26
- package/dist/chunks/{location-services-gcst2knj.js → model-resolver-r3yntwzq.js} +8 -8
- package/dist/chunks/{location-services-1acjjqhc.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-services-gv7x5wm3.js → model-resolver-r95z6apf.js} +22 -22
- package/dist/chunks/{location-services-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-services-wz6j5yqf.js → model-resolver-re314ab2.js} +95 -95
- package/dist/chunks/{location-services-ne96ewy3.js → model-resolver-re9ebc67.js} +23 -23
- package/dist/chunks/{location-services-p3cjk3f5.js → model-resolver-rpbkhrt2.js} +22 -22
- package/dist/chunks/{location-services-ghz6dcrw.js → model-resolver-rwp39ykb.js} +11 -11
- package/dist/chunks/{location-services-r3q6pmcz.js → model-resolver-rxcdjwh1.js} +6 -6
- package/dist/chunks/{location-services-tvm9nqz9.js → model-resolver-sd38pwsj.js} +18 -18
- package/dist/chunks/{location-services-yk982qs6.js → model-resolver-shwq57g0.js} +9 -9
- package/dist/chunks/{location-services-bexxj179.js → model-resolver-snnqzhcb.js} +30 -30
- package/dist/chunks/{location-services-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-zg3msdzq.js → model-resolver-tc8cg2nw.js} +10 -10
- package/dist/chunks/{location-services-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-4ajkbp3f.js → model-resolver-thcxkcch.js} +11 -11
- package/dist/chunks/{location-services-pa8pe2x7.js → model-resolver-tpw6cwsb.js} +8 -8
- package/dist/chunks/{location-services-8sze2n9a.js → model-resolver-ts23464c.js} +8 -8
- package/dist/chunks/{location-services-8c63zdcr.js → model-resolver-tv2g93x2.js} +32 -32
- package/dist/chunks/{location-services-vrsc6b4y.js → model-resolver-tzm99wp3.js} +8 -8
- package/dist/chunks/{location-services-x7ytz0vq.js → model-resolver-v1z61gdb.js} +20 -20
- package/dist/chunks/{location-services-xg7rec9w.js → model-resolver-v2d8dwc4.js} +9 -9
- package/dist/chunks/{location-services-m91sy8b7.js → model-resolver-v8b1trmq.js} +5 -5
- package/dist/chunks/{location-services-hc5gcwsj.js → model-resolver-va0jwre1.js} +33 -33
- package/dist/chunks/{location-services-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-j5kyfhbh.js → model-resolver-vgz6x7va.js} +15 -15
- package/dist/chunks/{location-services-4dygtpfc.js → model-resolver-vmv69sjz.js} +5 -5
- package/dist/chunks/{location-services-4fag9mqx.js → model-resolver-vqhepxyf.js} +32 -32
- package/dist/chunks/{location-services-001b00fp.js → model-resolver-vqhkw9gd.js} +90 -90
- package/dist/chunks/{location-services-g00c25k7.js → model-resolver-vsmhcm1n.js} +16 -16
- package/dist/chunks/{location-services-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-services-bss16c77.js → model-resolver-w06vrs2y.js} +4 -4
- package/dist/chunks/{location-services-xfkkasph.js → model-resolver-w19d8598.js} +5 -5
- package/dist/chunks/{location-services-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-6tg9txw5.js → model-resolver-w8wbc6jz.js} +5 -5
- package/dist/chunks/{location-services-pshwgvdq.js → model-resolver-wc21baf5.js} +29 -29
- package/dist/chunks/{location-services-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-hdkng2sj.js → model-resolver-wecqtg5s.js} +5 -5
- package/dist/chunks/{location-services-4maebaja.js → model-resolver-wfyxnnpw.js} +11 -11
- package/dist/chunks/{location-services-f6ngde2n.js → model-resolver-wvw422xq.js} +37 -37
- package/dist/chunks/{location-services-m7ztr8b1.js → model-resolver-wzp2zdrd.js} +16 -16
- package/dist/chunks/{location-services-cwwzrss4.js → model-resolver-x2g45djb.js} +9 -9
- package/dist/chunks/{location-services-2486f0gc.js → model-resolver-x37b3njd.js} +52 -52
- package/dist/chunks/{location-services-ngyrtr94.js → model-resolver-xcgyncvr.js} +6 -6
- package/dist/chunks/{location-services-zxga9rac.js → model-resolver-xh8kgek2.js} +22 -22
- package/dist/chunks/{location-services-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-services-41g1yh39.js → model-resolver-xn8rxa2c.js} +17 -17
- package/dist/chunks/{location-services-qxjc9qry.js → model-resolver-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-services-jegrxnf3.js → model-resolver-y18nf7t0.js} +6 -6
- package/dist/chunks/{location-services-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-0ekp7bk0.js → model-resolver-y77d0n28.js} +17 -17
- package/dist/chunks/{location-services-xzv6qj2m.js → model-resolver-ya12f4a8.js} +22 -22
- package/dist/chunks/{location-services-9a8g5ab0.js → model-resolver-yfg3b8wm.js} +3 -3
- package/dist/chunks/{location-services-0dygnakk.js → model-resolver-yjtfa6v9.js} +4 -4
- package/dist/chunks/{location-services-vfgsn3pb.js → model-resolver-ypzf3tk8.js} +38 -38
- package/dist/chunks/{location-services-vym6yw1t.js → model-resolver-yz0fee1s.js} +13 -13
- package/dist/chunks/{location-services-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-d1sprev3.js → model-resolver-z1vm9hqc.js} +12 -12
- package/dist/chunks/{location-services-47jkzegy.js → model-resolver-z6c3x22d.js} +5 -5
- package/dist/chunks/{location-services-607px8n0.js → model-resolver-z70hwzgh.js} +17 -17
- package/dist/chunks/{location-services-cm8pqatr.js → model-resolver-zd9ev577.js} +38 -38
- package/dist/chunks/model-resolver-zfywewcm.js +253 -0
- package/dist/chunks/{location-services-jcs5e93a.js → model-resolver-zm3dqqf4.js} +2 -2
- package/dist/chunks/{location-services-085tpkqt.js → model-resolver-znqwxr4y.js} +8 -8
- package/dist/chunks/{location-services-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-sgn5w1sc.js → model-resolver-zw0v8jtf.js} +16 -16
- package/dist/chunks/{location-services-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- 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 +88 -88
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- 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 +343 -343
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- 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 +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- 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 +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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 +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-services-1yrx8st6.js +0 -507
- package/dist/chunks/location-services-8y9ejeyn.js +0 -26
- package/dist/chunks/location-services-hydj2j77.js +0 -253
- package/dist/chunks/location-services-jqh9b0xq.js +0 -18
- /package/dist/chunks/{location-services-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-5qd3pb7m.js → model-resolver-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node78
|
|
9
|
+
} from "./model-resolver-ya12f4a8.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-mq0f2m57.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-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: () => Service10,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node12,
|
|
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 Service10 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(Service10, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service76;
|
|
335
|
+
return Service10.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 node12 = makeLocationNode({ service: Service10, layer, deps: [node78] });
|
|
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, Service10, read2, node12, exports_read_filesystem };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-q3h10w5c.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin33
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin33 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin33, exports_plan };
|
|
@@ -1,93 +1,93 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-epch8s0x.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-27czsdb9.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-fpcgeefe.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-a6xnfde8.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-9b1bh67j.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-z0bkrqjs.js";
|
|
22
22
|
import {
|
|
23
23
|
DigitalOceanPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-8yktm66k.js";
|
|
25
25
|
import {
|
|
26
26
|
DynamicProviderPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-5m9w47nd.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-zd9ev577.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-cjw460n3.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-0422tdqy.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-w8wbc6jz.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-resolver-w06vrs2y.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-0bs0xzzs.js";
|
|
49
49
|
import {
|
|
50
50
|
NvidiaPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./model-resolver-24dcb14g.js";
|
|
52
52
|
import {
|
|
53
53
|
OllamaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./model-resolver-ajft39nq.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
OpenAIPlugin2
|
|
57
|
+
} from "./model-resolver-8xq2p407.js";
|
|
58
58
|
import {
|
|
59
59
|
SnowflakeCortexPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-resolver-h3g7c02j.js";
|
|
61
61
|
import {
|
|
62
62
|
OpencodePlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./model-resolver-b75r5j40.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenRouterPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./model-resolver-1a7kemja.js";
|
|
67
67
|
import {
|
|
68
68
|
PerplexityPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./model-resolver-veqvce7d.js";
|
|
70
70
|
import {
|
|
71
71
|
PoePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./model-resolver-nkpgj8pk.js";
|
|
73
73
|
import {
|
|
74
74
|
PromptCacheKeyPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./model-resolver-eyz1e7b4.js";
|
|
76
76
|
import {
|
|
77
77
|
SapAICorePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./model-resolver-bt4mtqh9.js";
|
|
79
79
|
import {
|
|
80
80
|
VercelPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./model-resolver-4nsnwgcs.js";
|
|
82
82
|
import {
|
|
83
83
|
VLLMPlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./model-resolver-286yb4sa.js";
|
|
85
85
|
import {
|
|
86
86
|
XAIPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./model-resolver-9vk12vsk.js";
|
|
88
88
|
import {
|
|
89
89
|
ZenmuxPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./model-resolver-jjkms2e6.js";
|
|
91
91
|
|
|
92
92
|
// src/plugin/provider.ts
|
|
93
93
|
var ProviderPlugins2 = [
|
|
@@ -110,7 +110,7 @@ var ProviderPlugins2 = [
|
|
|
110
110
|
OllamaPlugin2,
|
|
111
111
|
OpencodePlugin2,
|
|
112
112
|
SnowflakeCortexPlugin2,
|
|
113
|
-
|
|
113
|
+
OpenAIPlugin2,
|
|
114
114
|
OpenRouterPlugin2,
|
|
115
115
|
PerplexityPlugin2,
|
|
116
116
|
PoePlugin2,
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-resolver-5mwnvj5n.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node81
|
|
8
|
+
} from "./model-resolver-3x6h1yzc.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
Service70,
|
|
13
|
-
node73
|
|
14
|
-
} from "./location-services-hc5gcwsj.js";
|
|
15
|
-
import {
|
|
16
|
-
ID11,
|
|
17
12
|
Service65,
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
13
|
+
node67
|
|
14
|
+
} from "./model-resolver-va0jwre1.js";
|
|
15
|
+
import {
|
|
16
|
+
ID18,
|
|
17
|
+
Service82,
|
|
18
|
+
node86
|
|
19
|
+
} from "./model-resolver-2h5pq9sb.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-resolver-xcgyncvr.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-eaj1djv9.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-4j4tgtq5.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./model-resolver-cjhnsaft.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service71,
|
|
34
|
+
node73
|
|
35
|
+
} from "./model-resolver-y77d0n28.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-resolver-q3h10w5c.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make16
|
|
41
|
+
} from "./model-resolver-z70hwzgh.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service81,
|
|
44
|
+
node84
|
|
45
|
+
} from "./model-resolver-apdvzw7w.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service24,
|
|
48
|
+
node28
|
|
49
|
+
} from "./model-resolver-pwjc3egg.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service50,
|
|
52
|
+
node52
|
|
53
|
+
} from "./model-resolver-rpbkhrt2.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service29,
|
|
56
|
+
node32
|
|
57
|
+
} from "./model-resolver-nbe77j13.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
59
|
+
Service28,
|
|
60
60
|
node31
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./model-resolver-0f84emyz.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service27,
|
|
64
|
+
node30
|
|
65
|
+
} from "./model-resolver-2v5zve2j.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service26,
|
|
68
|
+
node29
|
|
69
|
+
} from "./model-resolver-g4pw1jpx.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service21,
|
|
72
|
+
node25
|
|
73
|
+
} from "./model-resolver-b0nz5rd6.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service22,
|
|
76
|
+
node26
|
|
77
|
+
} from "./model-resolver-dx1b2kp7.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service39,
|
|
80
|
+
node41
|
|
81
|
+
} from "./model-resolver-k9ga8ymg.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service20,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node24
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service20 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
101
|
-
const db = (yield*
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
97
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service82;
|
|
99
|
+
const builtins = yield* Service24;
|
|
100
|
+
const model = yield* Service65;
|
|
101
|
+
const db = (yield* Service84).db;
|
|
102
|
+
const discovery = yield* Service81;
|
|
103
|
+
const entries = yield* Service21;
|
|
104
104
|
const location = yield* Service78;
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
105
|
+
const mcpInstructions = yield* Service28;
|
|
106
|
+
const mcpTools = yield* Service29;
|
|
107
|
+
const models = yield* Service39;
|
|
108
|
+
const request = yield* Service22;
|
|
109
|
+
const referenceInstructions = yield* Service27;
|
|
110
|
+
const skillInstructions = yield* Service26;
|
|
111
|
+
const store = yield* Service71;
|
|
112
|
+
const registry = yield* Service50;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID18.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make16(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service20.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node24 = makeLocationNode({
|
|
195
|
+
service: Service20,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
198
|
+
node86,
|
|
199
|
+
node67,
|
|
200
|
+
node88,
|
|
201
|
+
node28,
|
|
202
|
+
node84,
|
|
203
|
+
node25,
|
|
204
|
+
node81,
|
|
205
205
|
node31,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
206
|
+
node32,
|
|
207
|
+
node30,
|
|
208
|
+
node41,
|
|
209
|
+
node26,
|
|
210
|
+
node73,
|
|
211
|
+
node29,
|
|
212
|
+
node52
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service20, node24, exports_context };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./model-resolver-qzpwn43k.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node64
|
|
9
|
+
} from "./model-resolver-08q73ng5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_wellknown, {
|
|
|
19
19
|
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service61,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node63,
|
|
26
26
|
resolve: () => resolve4
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,7 +46,7 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service61 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
51
|
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service62;
|
|
81
|
+
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service61.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node63 = makeGlobalNode({ service: Service61, layer, deps: [httpClient, node64, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service61, Event12, inspect2, resolve4, node63, exports_wellknown };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-0hc4mbjr.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make9 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make10 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make9();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make9, LMStudioPlugin2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make15,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make15(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make15,
|
|
50
|
+
export { make15, render2, exports_system_prompt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service67
|
|
4
|
+
} from "./model-resolver-dhe4rjrj.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service67;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID9.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|