@opencode/core 2.0.30 → 2.0.31
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{instance-drvctdx3.js → location-0226ecw2.js} +8 -8
- package/dist/chunks/{instance-t550f9t1.js → location-02nrjc1r.js} +8 -8
- package/dist/chunks/{instance-h1xayf8s.js → location-08mhz53j.js} +11 -11
- package/dist/chunks/{instance-nz4k6rdb.js → location-0bx9ftm6.js} +20 -20
- package/dist/chunks/{instance-f4vpr7ft.js → location-0d5fgvs9.js} +20 -20
- package/dist/chunks/{instance-32g268rd.js → location-0dnxk7rk.js} +13 -13
- package/dist/chunks/{instance-ga72xv16.js → location-0gn2wfg7.js} +1 -1
- package/dist/chunks/{instance-vbbe25mn.js → location-0gwx0s3y.js} +7 -7
- package/dist/chunks/{instance-y7e6sser.js → location-0k8emadn.js} +60 -60
- package/dist/chunks/{instance-1mgrvebq.js → location-0ngbj78w.js} +14 -14
- package/dist/chunks/{instance-4ra0jzgx.js → location-0p4tcy8x.js} +61 -14
- package/dist/chunks/{instance-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{instance-1acjjqhc.js → location-1acjjqhc.js} +1 -1
- package/dist/chunks/{instance-ywt8jp22.js → location-1ffvrpkg.js} +6 -6
- package/dist/chunks/{instance-0mp499ze.js → location-1gb4csdk.js} +33 -16
- package/dist/chunks/{instance-hfbp3x8a.js → location-1hws7hxk.js} +15 -15
- package/dist/chunks/{instance-t64r4gaf.js → location-1qeeh34f.js} +8 -8
- package/dist/chunks/{instance-b3zzy7tw.js → location-2ajwk0j6.js} +36 -36
- package/dist/chunks/{instance-vmvrq3v0.js → location-2k9gth8v.js} +9 -9
- package/dist/chunks/{instance-3rbmmj0g.js → location-2s0kcc7y.js} +191 -191
- package/dist/chunks/{instance-r0d06n1c.js → location-2svw76rs.js} +20 -20
- package/dist/chunks/{instance-cxpwe6s4.js → location-30z8dtpn.js} +10 -10
- package/dist/chunks/{instance-1vezjraj.js → location-31sbk34f.js} +11 -11
- package/dist/chunks/{instance-e3658yqs.js → location-32g64bfd.js} +4 -4
- package/dist/chunks/{instance-fx5e31t2.js → location-332p2pj5.js} +70 -70
- package/dist/chunks/{instance-4jr7zcc0.js → location-37dgakmz.js} +26 -26
- package/dist/chunks/{instance-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{instance-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
- package/dist/chunks/{instance-kjh956ek.js → location-3k46pnes.js} +13 -13
- package/dist/chunks/{instance-16rkhh34.js → location-3kxs742t.js} +5 -5
- package/dist/chunks/{instance-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{instance-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{instance-m2je0bek.js → location-3vpfcmec.js} +20 -20
- package/dist/chunks/{instance-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{instance-qve4m158.js → location-4826d3mm.js} +21 -21
- package/dist/chunks/{instance-ag1vmkq5.js → location-4ekscj25.js} +5 -5
- package/dist/chunks/{instance-9d9vbnr3.js → location-4pqc6r0s.js} +21 -21
- package/dist/chunks/{instance-6y11rvqm.js → location-4vkzjfz1.js} +16 -16
- package/dist/chunks/{instance-tk14y25j.js → location-4xpgt2w9.js} +5 -5
- package/dist/chunks/{instance-njsm5atp.js → location-54ekx5ae.js} +30 -30
- package/dist/chunks/{instance-r94pvvab.js → location-54ma36ye.js} +4 -4
- package/dist/chunks/{instance-hnpn8713.js → location-55m3mq6h.js} +25 -25
- package/dist/chunks/{instance-9413mpzz.js → location-5a4fa56b.js} +35 -35
- package/dist/chunks/{instance-7m78zzez.js → location-5kmwyhcc.js} +11 -11
- package/dist/chunks/{instance-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{instance-pv8bk7wt.js → location-5r0e9r43.js} +36 -36
- package/dist/chunks/{instance-kwnyzz7d.js → location-5r0sd97x.js} +14 -14
- package/dist/chunks/{instance-4434d9q2.js → location-5v0crexd.js} +5 -5
- package/dist/chunks/{instance-1ajx6rf5.js → location-5xtgfte3.js} +8 -8
- package/dist/chunks/{instance-r8zgbxzs.js → location-604zh56d.js} +11 -11
- package/dist/chunks/{instance-xrpg47n6.js → location-6fatt4mk.js} +9 -9
- package/dist/chunks/{instance-e914qee0.js → location-6je2rgp2.js} +18 -18
- package/dist/chunks/{instance-w92k2e0p.js → location-6pc27hjz.js} +4 -4
- package/dist/chunks/{instance-rk7s9xkn.js → location-6rm5yzkt.js} +4 -4
- package/dist/chunks/{instance-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{instance-d454q9jw.js → location-725z4hsd.js} +29 -29
- package/dist/chunks/{instance-775gj3j1.js → location-775gj3j1.js} +2 -2
- package/dist/chunks/{instance-x287n01n.js → location-7b3a7ss3.js} +12 -12
- package/dist/chunks/{instance-erxpr3ta.js → location-7b4crnna.js} +15 -15
- package/dist/chunks/{instance-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-xe0aze4b.js → location-7c6xqexj.js} +19 -19
- package/dist/chunks/{instance-ae24bvb0.js → location-7fpfrasm.js} +33 -33
- package/dist/chunks/{instance-d9wzmzc3.js → location-7r0r50e5.js} +5 -5
- package/dist/chunks/{instance-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{instance-49r3emx4.js → location-8945desn.js} +18 -18
- package/dist/chunks/{instance-gbtx73hb.js → location-8ank75fn.js} +8 -8
- package/dist/chunks/{instance-387g8trv.js → location-8ekd6vxm.js} +20 -20
- package/dist/chunks/{instance-8m6m0r52.js → location-8m6m0r52.js} +1 -1
- package/dist/chunks/{instance-pkxbvvp1.js → location-8n3txx1w.js} +5 -5
- package/dist/chunks/{instance-xmvkzca6.js → location-922zmdzk.js} +11 -11
- package/dist/chunks/{instance-v3chy9qq.js → location-98tg60b9.js} +22 -22
- package/dist/chunks/{instance-aj8kt33w.js → location-98vn5e4g.js} +16 -16
- package/dist/chunks/{instance-svwmrgfz.js → location-9emww0n5.js} +47 -47
- package/dist/chunks/{instance-z733aene.js → location-9ex8f1cq.js} +8 -8
- package/dist/chunks/{instance-8aap4tw6.js → location-a08hwrr8.js} +28 -28
- package/dist/chunks/{instance-nxf3zzt8.js → location-a3kydf8v.js} +17 -17
- package/dist/chunks/{instance-73wr0wn5.js → location-ac3w4tg1.js} +11 -11
- package/dist/chunks/{instance-g92sbvmr.js → location-ad2byham.js} +17 -17
- package/dist/chunks/{instance-sr5j7zs6.js → location-agk9a7ht.js} +9 -9
- package/dist/chunks/{instance-ybw1dpzx.js → location-ankyagqv.js} +7 -7
- package/dist/chunks/{instance-qvtb430p.js → location-aqjemj7v.js} +18 -18
- package/dist/chunks/{instance-scgrse2b.js → location-b3f8fkhc.js} +5 -5
- package/dist/chunks/{instance-vvgk372g.js → location-b476w8hy.js} +46 -32
- package/dist/chunks/location-b49nb10p.js +253 -0
- package/dist/chunks/{instance-7zjtannr.js → location-b5t06xk9.js} +37 -37
- package/dist/chunks/{instance-gd0tnyjc.js → location-bczx5ry5.js} +1 -1
- package/dist/chunks/{instance-ts0yefbj.js → location-bdva7wc0.js} +14 -14
- package/dist/chunks/{instance-1wwhh6tg.js → location-bfwybkmg.js} +35 -35
- package/dist/chunks/{instance-s0eg5ze8.js → location-bv75eenn.js} +16 -16
- package/dist/chunks/{instance-ajnf4kf4.js → location-byhrkmnv.js} +20 -20
- package/dist/chunks/{instance-c1fqxshp.js → location-c1fqxshp.js} +3 -3
- package/dist/chunks/{instance-0b5g1ynf.js → location-c9wbyant.js} +4 -4
- package/dist/chunks/{instance-k2wyjrxv.js → location-chbmk58x.js} +5 -5
- package/dist/chunks/{instance-20q3sypg.js → location-cneqc13g.js} +4 -4
- package/dist/chunks/{instance-rey5gbxv.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{instance-d5fs7d09.js → location-d08c6kge.js} +32 -32
- package/dist/chunks/{instance-c8bydgjz.js → location-d0k1g5nx.js} +6 -6
- package/dist/chunks/{instance-h4mdy8pc.js → location-d2gxvrjz.js} +50 -50
- package/dist/chunks/{instance-7v30ghwx.js → location-d2kjhx1e.js} +46 -46
- package/dist/chunks/{instance-f0ftzx98.js → location-d43tgzm4.js} +9 -9
- package/dist/chunks/{instance-vz3edhsq.js → location-d5am0rpv.js} +44 -44
- package/dist/chunks/{instance-py3c7vzz.js → location-dn4cq3jj.js} +22 -22
- package/dist/chunks/{instance-dqxsqydv.js → location-dqxsqydv.js} +1 -1
- package/dist/chunks/{instance-57b9ws8p.js → location-drwq78ky.js} +5 -5
- package/dist/chunks/{instance-y1fe2wt7.js → location-dwtdh34y.js} +11 -7
- package/dist/chunks/location-dxj72tfx.js +18 -0
- package/dist/chunks/{instance-gxf5jgrz.js → location-dyava1km.js} +13 -13
- package/dist/chunks/{instance-w919w76e.js → location-e21ryx48.js} +8 -8
- package/dist/chunks/{instance-w93dz47x.js → location-e3h2tv5m.js} +40 -39
- package/dist/chunks/{instance-8dsgf78a.js → location-e6hpsnvb.js} +32 -32
- package/dist/chunks/{instance-kehp7em2.js → location-ed777npe.js} +11 -11
- package/dist/chunks/{instance-fm2qvscf.js → location-edrmdtr5.js} +7 -7
- package/dist/chunks/{instance-eej6y6fw.js → location-eej6y6fw.js} +2 -2
- package/dist/chunks/{instance-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-652w1b7r.js → location-ef6w4cys.js} +23 -23
- package/dist/chunks/{instance-r56f0ccq.js → location-egeseaw5.js} +11 -11
- package/dist/chunks/{instance-qr7wvshd.js → location-egy7b75h.js} +35 -35
- package/dist/chunks/{instance-pkrkjz2y.js → location-eykbxn2n.js} +15 -15
- package/dist/chunks/{instance-gs0zmrt4.js → location-f4pp2f84.js} +34 -34
- package/dist/chunks/{instance-7khw7vys.js → location-f6v6e9jj.js} +44 -44
- package/dist/chunks/{instance-9s02qxdw.js → location-fak546jh.js} +22 -22
- package/dist/chunks/{instance-7dqw4kz8.js → location-fcrkznn8.js} +5 -5
- package/dist/chunks/{instance-3t3ppxhb.js → location-fgamwy3d.js} +11 -11
- package/dist/chunks/{instance-hkh1jdqf.js → location-fv1pwmey.js} +3 -3
- package/dist/chunks/{instance-j5j6nemg.js → location-fykrrrct.js} +11 -11
- package/dist/chunks/{instance-g686f6pq.js → location-g686f6pq.js} +2 -2
- package/dist/chunks/{instance-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{instance-5ha5er23.js → location-gdmbfffs.js} +43 -43
- package/dist/chunks/{instance-egqmz7mr.js → location-gjy4e9va.js} +333 -333
- package/dist/chunks/{instance-hhbh25th.js → location-gkv0m4je.js} +3 -3
- package/dist/chunks/{instance-yxpkbsn2.js → location-gp4grenw.js} +25 -25
- package/dist/chunks/{instance-qq3sn5ka.js → location-gwf59qdk.js} +45 -45
- package/dist/chunks/{instance-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{instance-h7s7r6s9.js → location-h7s7r6s9.js} +2 -2
- package/dist/chunks/{instance-zfq801h6.js → location-had4kgfk.js} +6 -6
- package/dist/chunks/{instance-vtqafnzr.js → location-hcv80w8f.js} +11 -11
- package/dist/chunks/{instance-zq4fxkvp.js → location-hdyh3agd.js} +21 -21
- package/dist/chunks/{instance-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
- package/dist/chunks/{instance-9q36pw28.js → location-hhkvbeez.js} +4 -4
- package/dist/chunks/{instance-xjg9p4ge.js → location-hm3bk0p8.js} +34 -34
- package/dist/chunks/{instance-wqvmb1h2.js → location-htx0x9rj.js} +29 -29
- package/dist/chunks/{instance-j09zfasm.js → location-j09zfasm.js} +3 -3
- package/dist/chunks/{instance-7efvswca.js → location-j0p2n9y3.js} +27 -27
- package/dist/chunks/{instance-10ya1n95.js → location-jdj7c2dh.js} +14 -14
- package/dist/chunks/{instance-57gtfk2n.js → location-jf14n6qf.js} +6 -6
- package/dist/chunks/{instance-pqm9awga.js → location-jr70j6bk.js} +24 -24
- package/dist/chunks/{instance-9kb2pehy.js → location-jv6mm5r1.js} +11 -11
- package/dist/chunks/{instance-3y377wv9.js → location-k22b66k8.js} +4 -4
- package/dist/chunks/{instance-e9t82wt6.js → location-k2a504bc.js} +14 -14
- package/dist/chunks/location-k2w6m327.js +26 -0
- package/dist/chunks/{instance-drnf6xwf.js → location-k6t9754k.js} +2 -2
- package/dist/chunks/{instance-1azxtnvn.js → location-k9axst5t.js} +13 -13
- package/dist/chunks/{instance-zyqwfmwv.js → location-kavz8ev8.js} +19 -19
- package/dist/chunks/{instance-rb1chcf1.js → location-kdv1w5tp.js} +10 -10
- package/dist/chunks/{instance-whajmtxv.js → location-kfspy82a.js} +5 -5
- package/dist/chunks/{instance-fxaymqdw.js → location-khmqacep.js} +4 -4
- package/dist/chunks/{instance-89za3yyg.js → location-kje2jy7e.js} +6 -6
- package/dist/chunks/{instance-ktqq3893.js → location-kkhv8ffc.js} +9 -9
- package/dist/chunks/{instance-6g0jnfpe.js → location-kkv8xsc6.js} +11 -11
- package/dist/chunks/{instance-6g107h22.js → location-kwb1v3vj.js} +20 -16
- package/dist/chunks/{instance-sst9p08r.js → location-m464tetq.js} +32 -32
- package/dist/chunks/{instance-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{instance-q4cy6t51.js → location-mgnytpvb.js} +24 -24
- package/dist/chunks/{instance-74rqx77g.js → location-n207hqvt.js} +28 -28
- package/dist/chunks/{instance-nve97s1q.js → location-n75tjgph.js} +20 -20
- package/dist/chunks/{instance-eyngvhkr.js → location-n7zsrb9m.js} +5 -5
- package/dist/chunks/{instance-yccdg3qs.js → location-nc34fnv7.js} +20 -20
- package/dist/chunks/{instance-ew85sj6a.js → location-ndxmvpwy.js} +24 -24
- package/dist/chunks/{instance-bwsrjyzy.js → location-nmrzdgqa.js} +13 -13
- package/dist/chunks/{instance-bvg8t9y0.js → location-nxwbzm2s.js} +24 -24
- package/dist/chunks/{instance-gvx299k3.js → location-p0b32wnx.js} +11 -11
- package/dist/chunks/{instance-ve4f4wdb.js → location-p59fwf97.js} +7 -7
- package/dist/chunks/{instance-xtv1bm8z.js → location-pba85c1x.js} +10 -10
- package/dist/chunks/{instance-8srf40xe.js → location-pey7n3za.js} +23 -23
- package/dist/chunks/{instance-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{instance-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{instance-9tgftdjr.js → location-ps53sfwy.js} +8 -8
- package/dist/chunks/{instance-24jcxqcv.js → location-ptefqdz6.js} +45 -45
- package/dist/chunks/{instance-ysgxa1w9.js → location-ptva3pym.js} +46 -46
- package/dist/chunks/{instance-7vr1nntc.js → location-pyv4m8ny.js} +3 -3
- package/dist/chunks/{instance-eez13zz9.js → location-pzq6k8vz.js} +87 -87
- package/dist/chunks/{instance-y0ks4s6t.js → location-q02nkz8q.js} +15 -15
- package/dist/chunks/{instance-vwh8akjg.js → location-q22hcgwy.js} +4 -4
- package/dist/chunks/{instance-rscer41a.js → location-q4ht2jz5.js} +9 -9
- package/dist/chunks/{instance-w1vdttf2.js → location-q66bexh6.js} +20 -20
- package/dist/chunks/{instance-aw3nxxyh.js → location-q89amkt5.js} +13 -13
- package/dist/chunks/{instance-c2zdvb4p.js → location-qfav9mb9.js} +20 -20
- package/dist/chunks/{instance-dfb3ggbz.js → location-qfqwar9z.js} +34 -34
- package/dist/chunks/{instance-kkamx07x.js → location-qjmwhgd5.js} +20 -20
- package/dist/chunks/{instance-xtrd0rcy.js → location-qkefedax.js} +20 -20
- package/dist/chunks/{instance-qnc92qwc.js → location-qnc92qwc.js} +1 -1
- package/dist/chunks/{instance-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{instance-6hzf4208.js → location-qvbvh2j1.js} +21 -21
- package/dist/chunks/{instance-e80seqcp.js → location-r2z489rp.js} +3 -3
- package/dist/chunks/{instance-x8fc36mw.js → location-rbdhhdfw.js} +5 -5
- package/dist/chunks/{instance-5xaqq0zy.js → location-rda1ncrk.js} +5 -5
- package/dist/chunks/{instance-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{instance-rert0e01.js → location-rert0e01.js} +2 -2
- package/dist/chunks/{instance-qk1jtr9h.js → location-rexbarkw.js} +14 -14
- package/dist/chunks/{instance-rj3eygr5.js → location-rj3eygr5.js} +2 -2
- package/dist/chunks/{instance-dhmh7aw6.js → location-rpg9c19m.js} +4 -4
- package/dist/chunks/{instance-svgb3jrm.js → location-rx3mvgkr.js} +22 -22
- package/dist/chunks/{instance-bacyadyn.js → location-s26hbv8p.js} +4 -4
- package/dist/chunks/{instance-4tp750a6.js → location-s42x7kbt.js} +5 -5
- package/dist/chunks/{instance-g1ntr7f2.js → location-s8efh3qt.js} +27 -27
- package/dist/chunks/{instance-sa8ekw3f.js → location-sa8ekw3f.js} +2 -2
- package/dist/chunks/{instance-dgmj5nq6.js → location-sk8ngeq0.js} +20 -20
- package/dist/chunks/{instance-n9c20jj2.js → location-sp3e7rwb.js} +56 -56
- package/dist/chunks/{instance-kj46zcys.js → location-sp6sqjr9.js} +32 -32
- package/dist/chunks/{instance-4z58m4b4.js → location-syf57q56.js} +4 -4
- package/dist/chunks/{instance-syv4x271.js → location-syv4x271.js} +1 -1
- package/dist/chunks/{instance-3gn2397m.js → location-t3nfadhs.js} +85 -85
- package/dist/chunks/{instance-efsrwh4r.js → location-t57002t3.js} +15 -15
- package/dist/chunks/{instance-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{instance-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{instance-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{instance-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
- package/dist/chunks/{instance-z4zqze96.js → location-twaq3jzm.js} +22 -22
- package/dist/chunks/{instance-rkg4v3e5.js → location-txm3e8qz.js} +9 -9
- package/dist/chunks/{instance-tyytaxap.js → location-tyytaxap.js} +1 -1
- package/dist/chunks/{instance-v73z6nkx.js → location-v23zj4w8.js} +14 -14
- package/dist/chunks/{instance-whdm53sh.js → location-v2hqmhsj.js} +28 -28
- package/dist/chunks/{instance-p0qk8z8k.js → location-v41ydkwg.js} +17 -17
- package/dist/chunks/{instance-h969w5wg.js → location-v5asjnvt.js} +9 -9
- package/dist/chunks/{instance-4eb7yy46.js → location-v5v0w1v9.js} +4 -4
- package/dist/chunks/{instance-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
- package/dist/chunks/{instance-59zy69mk.js → location-vafycr3d.js} +1 -1
- package/dist/chunks/{instance-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-h55420by.js → location-vmz83zrx.js} +6 -6
- package/dist/chunks/{instance-5gx9hkbw.js → location-vtv85xx9.js} +4 -4
- package/dist/chunks/{instance-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{instance-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-26g27jq4.js → location-w8s3ffgw.js} +29 -29
- package/dist/chunks/{instance-my4zabxr.js → location-w8yd89gy.js} +3 -3
- package/dist/chunks/{instance-9f6w07v2.js → location-wapmwjpk.js} +4 -4
- package/dist/chunks/{instance-rcxh9wm8.js → location-wcgwrd3j.js} +29 -20
- package/dist/chunks/{instance-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{instance-82rf0sny.js → location-wdwn1xw9.js} +15 -15
- package/dist/chunks/{instance-eyhnzkb4.js → location-wgkt74tw.js} +8 -8
- package/dist/chunks/{instance-9vk391re.js → location-wmx2yec4.js} +24 -24
- package/dist/chunks/{instance-bh593mvy.js → location-wnqm0cgw.js} +14 -8
- package/dist/chunks/{instance-81fjg4yx.js → location-wpw4fxj8.js} +12 -12
- package/dist/chunks/{instance-93pem10m.js → location-x4zxggeh.js} +34 -34
- package/dist/chunks/{instance-eckn7hvg.js → location-x72tgrkt.js} +10 -10
- package/dist/chunks/{instance-gzc7yqgf.js → location-xc3gbc81.js} +10 -10
- package/dist/chunks/{instance-1jnacwd4.js → location-xdyvfy69.js} +12 -12
- package/dist/chunks/{instance-e4ph37mk.js → location-xg3acd94.js} +74 -52
- package/dist/chunks/{instance-9y7wfsj2.js → location-xjqbcb23.js} +30 -30
- package/dist/chunks/{instance-zp59tdhe.js → location-xshzrn6p.js} +18 -18
- package/dist/chunks/{instance-w48fp5bf.js → location-xx6gh137.js} +11 -11
- package/dist/chunks/{instance-agyyzp1p.js → location-xxbhqfv7.js} +13 -13
- package/dist/chunks/{instance-n2456yrq.js → location-xz5ete57.js} +17 -17
- package/dist/chunks/{instance-3stxt38w.js → location-y01krfzx.js} +11 -11
- package/dist/chunks/{instance-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{instance-dpkg50ah.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{instance-01hxeeh0.js → location-y8asngre.js} +11 -11
- package/dist/chunks/{instance-084aw373.js → location-y8jdt19h.js} +3 -3
- package/dist/chunks/{instance-646vn7sd.js → location-yeaxfmem.js} +18 -18
- package/dist/chunks/{instance-n8vdnqrc.js → location-ygdna4kr.js} +5 -5
- package/dist/chunks/{instance-kmvkq3az.js → location-yhntedeb.js} +11 -11
- package/dist/chunks/{instance-2bthg6ps.js → location-ykfvkqah.js} +2 -2
- package/dist/chunks/{instance-7y33ce21.js → location-ynrbdj0p.js} +17 -17
- package/dist/chunks/{instance-128xx7kp.js → location-yz9xngpq.js} +5 -5
- package/dist/chunks/{instance-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-89fs7e8f.js → location-z0pkcfr2.js} +26 -26
- package/dist/chunks/{instance-8wvgy420.js → location-z41z05dk.js} +6 -6
- package/dist/chunks/{instance-dpctj94h.js → location-zbax6w3t.js} +19 -19
- package/dist/chunks/{instance-5211rpnm.js → location-zewj3pg6.js} +15 -15
- package/dist/chunks/{instance-fd3cesbe.js → location-zg9mg9xh.js} +6 -6
- package/dist/chunks/{instance-c1zyyjeb.js → location-zqkh3haf.js} +12 -12
- package/dist/chunks/{instance-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{instance-krpr0985.js → location-zrjxanbe.js} +34 -24
- package/dist/chunks/{instance-97233r0r.js → location-zvn35tm5.js} +1 -1
- package/dist/chunks/{instance-zxq2ej10.js → location-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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -120
- package/dist/config/plugin/command.js +207 -209
- package/dist/config/plugin/compaction.js +154 -156
- package/dist/config/plugin/compatibility.js +134 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -119
- package/dist/config/plugin/image.js +116 -118
- package/dist/config/plugin/instruction.js +116 -118
- package/dist/config/plugin/location-watcher.js +116 -118
- package/dist/config/plugin/mcp.js +125 -127
- package/dist/config/plugin/policy.js +117 -119
- package/dist/config/plugin/provider.js +116 -118
- package/dist/config/plugin/reference.js +118 -120
- package/dist/config/plugin/shell.js +118 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -139
- package/dist/config/plugin/snapshot.js +116 -118
- package/dist/config/plugin/source.js +119 -121
- package/dist/config/plugin/tool-output.js +117 -119
- package/dist/config/plugin/websearch.js +117 -119
- package/dist/config/plugin/worktree.js +118 -120
- package/dist/config/variable.js +1 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +93 -93
- 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 +357 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +354 -356
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- 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 +93 -93
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +211 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -119
- 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 +116 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -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 +113 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +123 -125
- package/dist/plugin/provider/local.js +122 -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 +125 -127
- package/dist/plugin/provider/openai.js +116 -118
- package/dist/plugin/provider/opencode.js +100 -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 +115 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -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 +6 -6
- package/dist/plugin.js +222 -224
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +105 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- 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 +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -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 -166
- package/dist/session/shell.js +130 -132
- package/dist/session/skill.js +107 -107
- 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 +205 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -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 +13 -13
- package/dist/shell.js +132 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- 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 +127 -127
- package/dist/tool/plugin/shell.js +206 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/config/variable.d.ts +1 -43
- package/dist/types/model.d.ts +3 -0
- package/dist/types/provider.d.ts +2 -0
- package/dist/types/v1/config/migrate.d.ts +7 -0
- package/dist/types/variant.d.ts +3 -0
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +24 -6
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +96 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +97 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/instance-0j77ygfz.js +0 -25
- package/dist/chunks/instance-4v7qdvcn.js +0 -18
- package/dist/chunks/instance-9k954qnc.js +0 -253
- package/dist/chunks/instance-xkv0wwhy.js +0 -26
- /package/dist/chunks/{instance-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-pyv0edze.js → location-pyv0edze.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service57,
|
|
6
|
+
node60
|
|
7
|
+
} from "./location-gdmbfffs.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service44,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer17,
|
|
20
|
+
node: () => node47
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service44 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service57;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer21 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service44.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node47 = makeLocationNode({
|
|
74
|
+
service: Service44,
|
|
75
|
+
layer: layer17,
|
|
76
|
+
deps: [node60, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service44, layer17, node47, exports_generate2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID6
|
|
3
|
+
} from "./location-xg3acd94.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-zg9mg9xh.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
14
14
|
import { Form } from "@opencode/schema/form";
|
|
15
|
-
var providerID =
|
|
15
|
+
var providerID = ID6.make("cloudflare-workers-ai");
|
|
16
16
|
var CloudflareWorkersAIPlugin2 = define({
|
|
17
17
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-wapmwjpk.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event15,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID9,
|
|
20
|
+
Info: () => Info19,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError7,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service69,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node72,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event15 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID9 = Form.ID;
|
|
39
|
+
var Info19 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID9
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID9
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID9
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID9,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service69 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer26 = Layer.effect(Service69, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID9.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service69.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node72 = makeLocationNode({ service: Service69, layer: layer26, deps: [node88] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID9, Info19, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer26, node72, validateAnswer2, validateFields2, exports_form, Event15 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-wapmwjpk.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-a3kydf8v.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service72,
|
|
14
|
+
node75
|
|
15
|
+
} from "./location-v23zj4w8.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service5,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node7
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service5 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service84;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service72;
|
|
41
|
+
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service5.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node7 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node88, FSUtil.node,
|
|
101
|
+
deps: [node88, FSUtil.node, node79, node75]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service5, node7, exports_instructions };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node52
|
|
9
|
+
} from "./location-ndxmvpwy.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-qvbvh2j1.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-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: () => Service6,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node8,
|
|
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 Service6 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(Service6, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service48;
|
|
335
|
+
return Service6.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 node8 = makeLocationNode({ service: Service6, layer, deps: [node52] });
|
|
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, Service6, read2, node8, exports_read_filesystem };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./location-xg3acd94.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./location-ptva3pym.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service66;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service62);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-pyv4m8ny.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./location-d0k1g5nx.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-dxj72tfx.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-syf57q56.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-xx6gh137.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-7fpfrasm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service27
|
|
21
|
+
} from "./location-t3nfadhs.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service54;
|
|
36
36
|
const database = yield* Service85;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service27;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,37 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-08mhz53j.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-wapmwjpk.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./location-54ekx5ae.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-k22b66k8.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID7,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-m464tetq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service19
|
|
21
|
+
} from "./location-pba85c1x.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID6,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-xg3acd94.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-b476w8hy.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
supports2,
|
|
32
|
+
resolve2
|
|
33
|
+
} from "./location-0p4tcy8x.js";
|
|
34
|
+
import {
|
|
35
|
+
ID18,
|
|
32
36
|
Input14,
|
|
33
37
|
Response2
|
|
34
|
-
} from "./
|
|
38
|
+
} from "./location-ef6w4cys.js";
|
|
35
39
|
|
|
36
40
|
// src/plugin/provider/opencode.ts
|
|
37
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
57
61
|
var RemoteResponse = Schema.Struct({
|
|
58
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
59
63
|
websearch: Schema.Struct({
|
|
60
|
-
providerID:
|
|
64
|
+
providerID: ID18
|
|
61
65
|
}).pipe(Schema.optional),
|
|
62
66
|
mcp: Schema.Struct({
|
|
63
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -108,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
108
112
|
}
|
|
109
113
|
function oauth(http) {
|
|
110
114
|
return {
|
|
111
|
-
integrationID:
|
|
115
|
+
integrationID: ID7.make("opencode"),
|
|
112
116
|
method: {
|
|
113
117
|
id: methodID,
|
|
114
118
|
type: "oauth",
|
|
@@ -175,7 +179,7 @@ var OpencodePlugin2 = define({
|
|
|
175
179
|
const bus = yield* Service84;
|
|
176
180
|
const client = yield* HttpClient.HttpClient;
|
|
177
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
178
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service19;
|
|
179
183
|
const scope = yield* Scope.Scope;
|
|
180
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
181
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -227,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
227
231
|
providers.update(providerID, (provider) => {
|
|
228
232
|
if (source && source.provider !== provider)
|
|
229
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
230
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID7.make("opencode");
|
|
231
235
|
if (item.canonical !== undefined)
|
|
232
236
|
provider.canonical = item.canonical;
|
|
233
237
|
if (item.name !== undefined)
|
|
@@ -247,6 +251,8 @@ var OpencodePlugin2 = define({
|
|
|
247
251
|
model.name = config.name;
|
|
248
252
|
if (config.modelID !== undefined)
|
|
249
253
|
model.modelID = config.modelID;
|
|
254
|
+
if (config.releaseDate !== undefined)
|
|
255
|
+
model.time = { released: Date.parse(config.releaseDate) };
|
|
250
256
|
if (config.compatibility !== undefined)
|
|
251
257
|
model.compatibility = { ...model.compatibility, ...config.compatibility };
|
|
252
258
|
model.package = config.package ?? (item.package !== undefined ? undefined : model.package);
|
|
@@ -257,6 +263,12 @@ var OpencodePlugin2 = define({
|
|
|
257
263
|
model.settings = mergeOverlay2(withoutCredentials(model.settings), withoutCredentials(config.settings));
|
|
258
264
|
model.headers = mergeHeaders2(model.headers, config.headers);
|
|
259
265
|
model.body = mergeOverlay2(model.body, config.body);
|
|
266
|
+
if (config.limit !== undefined)
|
|
267
|
+
model.limit = { ...model.limit, ...config.limit };
|
|
268
|
+
if (config.capabilities?.reasoning !== undefined)
|
|
269
|
+
model.variants = [
|
|
270
|
+
...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
271
|
+
];
|
|
260
272
|
for (const variant of config.variants ?? []) {
|
|
261
273
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
262
274
|
if (!existing) {
|
|
@@ -281,8 +293,6 @@ var OpencodePlugin2 = define({
|
|
|
281
293
|
}
|
|
282
294
|
}));
|
|
283
295
|
model.enabled = !config.disabled;
|
|
284
|
-
if (config.limit !== undefined)
|
|
285
|
-
model.limit = { ...model.limit, ...config.limit };
|
|
286
296
|
});
|
|
287
297
|
}
|
|
288
298
|
const configured = providers.get(providerID);
|
|
@@ -293,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
293
303
|
sourceConnection: snapshot.connection
|
|
294
304
|
});
|
|
295
305
|
}
|
|
296
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID6.opencode);
|
|
297
307
|
if (!item)
|
|
298
308
|
return;
|
|
299
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -305,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
305
315
|
});
|
|
306
316
|
});
|
|
307
317
|
yield* ctx.model.transform((models) => {
|
|
308
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID6.opencode);
|
|
309
319
|
if (!item)
|
|
310
320
|
return;
|
|
311
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -394,10 +404,10 @@ var OpencodePlugin2 = define({
|
|
|
394
404
|
});
|
|
395
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
396
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
397
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID6.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
398
408
|
});
|
|
399
409
|
yield* guard(snapshot);
|
|
400
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
401
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
402
412
|
})
|
|
403
413
|
});
|