@opencode/core 0.0.0-dev-150 → 0.0.0-dev-152
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 +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{file-mutation-034tev2y.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{file-mutation-9z9tayqc.js → bus-0anyt1n6.js} +5 -5
- package/dist/chunks/{file-mutation-0wy96kee.js → bus-0b2mt5gn.js} +9 -9
- package/dist/chunks/{file-mutation-jw74caa4.js → bus-0fdggymb.js} +34 -34
- package/dist/chunks/{file-mutation-xjxwv06c.js → bus-0gfe9fsk.js} +33 -33
- package/dist/chunks/{file-mutation-vp8n94ta.js → bus-0h1znnmj.js} +25 -25
- package/dist/chunks/{file-mutation-bwj0e09a.js → bus-0hmmm0am.js} +16 -16
- package/dist/chunks/{file-mutation-f5q6vy05.js → bus-0hwce0kj.js} +19 -19
- package/dist/chunks/{file-mutation-jzk4jfxk.js → bus-0k7cj3jm.js} +32 -32
- package/dist/chunks/{file-mutation-syrgmen4.js → bus-0x2frnqw.js} +32 -32
- package/dist/chunks/{file-mutation-jc512s3p.js → bus-12a87htm.js} +8 -8
- package/dist/chunks/{file-mutation-44s5ds88.js → bus-143b30bg.js} +34 -34
- package/dist/chunks/{file-mutation-1ep2p91f.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-mutation-vye0b1vt.js → bus-1hhczaqt.js} +74 -74
- package/dist/chunks/{file-mutation-z64rkn65.js → bus-1q3kyvas.js} +35 -35
- package/dist/chunks/{file-mutation-hmfc8wjy.js → bus-1vngayeg.js} +20 -20
- package/dist/chunks/{file-mutation-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-mutation-1yq9hg58.js → bus-1yq9hg58.js} +1 -1
- package/dist/chunks/{file-mutation-wrj223sh.js → bus-1ywwe2vf.js} +20 -20
- package/dist/chunks/{file-mutation-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{file-mutation-m5z3tkyc.js → bus-22hvzfep.js} +7 -7
- package/dist/chunks/{file-mutation-phzz8nf6.js → bus-262vwvmj.js} +60 -60
- package/dist/chunks/{file-mutation-26x8chrq.js → bus-26x8chrq.js} +3 -3
- package/dist/chunks/{file-mutation-vrg9pvbr.js → bus-28tb69ev.js} +4 -4
- package/dist/chunks/{file-mutation-c5kjsz6q.js → bus-2mbjfaxd.js} +4 -4
- package/dist/chunks/{file-mutation-ajdh0zra.js → bus-2rm9p9v2.js} +13 -13
- package/dist/chunks/{file-mutation-f6egh6v0.js → bus-2sx3gc78.js} +3 -3
- package/dist/chunks/{file-mutation-tvhsqegv.js → bus-2v9xjkct.js} +12 -12
- package/dist/chunks/{file-mutation-cgfk4g4x.js → bus-2xb0rse3.js} +11 -11
- package/dist/chunks/{file-mutation-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-g9kk5sfb.js → bus-3mn5pj7y.js} +12 -12
- package/dist/chunks/{file-mutation-gam5pswh.js → bus-3mr6yv6e.js} +31 -31
- package/dist/chunks/{file-mutation-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{file-mutation-n0dfvze1.js → bus-3w2dxmpf.js} +17 -17
- package/dist/chunks/{file-mutation-t07kmxgp.js → bus-40862n3e.js} +26 -26
- package/dist/chunks/{file-mutation-84q6t6ac.js → bus-47p5enej.js} +46 -46
- package/dist/chunks/{file-mutation-zrm686mt.js → bus-4g39zpm1.js} +6 -6
- package/dist/chunks/{file-mutation-n5rt61vk.js → bus-4g4fjqx3.js} +2 -2
- package/dist/chunks/{file-mutation-q110nakk.js → bus-4hxq42hq.js} +40 -40
- package/dist/chunks/{file-mutation-v1bqj1yq.js → bus-4mecw7tx.js} +4 -4
- package/dist/chunks/{file-mutation-yggcq3r2.js → bus-4pw5pj18.js} +18 -18
- package/dist/chunks/{file-mutation-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-mutation-cqqjw5e0.js → bus-4r9ar4c5.js} +27 -27
- package/dist/chunks/{file-mutation-tfnfgxqy.js → bus-4s2mjqvx.js} +7 -7
- package/dist/chunks/{file-mutation-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{file-mutation-zdvvded9.js → bus-54gmmeqn.js} +22 -22
- package/dist/chunks/{file-mutation-ynkzga2v.js → bus-57y44b3r.js} +37 -37
- package/dist/chunks/{file-mutation-d65zxn08.js → bus-5ampr7t5.js} +19 -19
- package/dist/chunks/{file-mutation-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-mutation-b6vsg801.js → bus-5nnwax6m.js} +5 -5
- package/dist/chunks/{file-mutation-x9xdyhyz.js → bus-5pw3r2ne.js} +22 -22
- package/dist/chunks/{file-mutation-rcxfmvg3.js → bus-5v6z2aq9.js} +3 -3
- package/dist/chunks/{file-mutation-kp1vg9ss.js → bus-5xph8w7t.js} +2 -2
- package/dist/chunks/{file-mutation-0qs8yesb.js → bus-66nne91h.js} +24 -24
- package/dist/chunks/{file-mutation-sykc9y4a.js → bus-66r9f6z1.js} +5 -5
- package/dist/chunks/{file-mutation-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/bus-6hhw3d62.js +511 -0
- package/dist/chunks/{file-mutation-fvsxqh4k.js → bus-6nnjhmtv.js} +13 -13
- package/dist/chunks/{file-mutation-v5mw2t49.js → bus-6p33ca8y.js} +36 -36
- package/dist/chunks/{file-mutation-6xqtcmxs.js → bus-6xqtcmxs.js} +2 -2
- package/dist/chunks/{file-mutation-x46ssyqq.js → bus-74kexyah.js} +14 -14
- package/dist/chunks/{file-mutation-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{file-mutation-770pw0s1.js → bus-770pw0s1.js} +1 -1
- package/dist/chunks/{file-mutation-br0jzkw0.js → bus-78e9150v.js} +18 -18
- package/dist/chunks/{file-mutation-q9z0p7gh.js → bus-7awmyg8w.js} +16 -16
- package/dist/chunks/{file-mutation-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-89rmqxc6.js → bus-7h08hp86.js} +5 -5
- package/dist/chunks/{file-mutation-a5hkphf1.js → bus-7hqgrrbh.js} +15 -15
- package/dist/chunks/{file-mutation-zb5gs1ba.js → bus-7jdsj2a9.js} +2 -2
- package/dist/chunks/{file-mutation-wy6d4nzf.js → bus-7p2xypxk.js} +3 -3
- package/dist/chunks/{file-mutation-w307e9wj.js → bus-7twpj7sy.js} +4 -4
- package/dist/chunks/{file-mutation-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-mutation-k6j7z2k4.js → bus-7xmk8kt5.js} +10 -10
- package/dist/chunks/{file-mutation-4cr9j35r.js → bus-7xqx5zcv.js} +18 -18
- package/dist/chunks/{file-mutation-erzzkc7h.js → bus-80d82js4.js} +34 -34
- package/dist/chunks/{file-mutation-6cn2mxvv.js → bus-82cx696m.js} +9 -9
- package/dist/chunks/{file-mutation-xktxpnft.js → bus-8884kj69.js} +31 -31
- package/dist/chunks/{file-mutation-55mnpje1.js → bus-8d5qbnzp.js} +17 -17
- package/dist/chunks/{file-mutation-8jztxfpf.js → bus-8jztxfpf.js} +1 -1
- package/dist/chunks/{file-mutation-h4n5s0gm.js → bus-8n65s3mj.js} +26 -26
- package/dist/chunks/{file-mutation-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-mutation-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{file-mutation-8wpev9de.js → bus-92xvpge0.js} +1 -1
- package/dist/chunks/{file-mutation-2qcan4gv.js → bus-94bbnsy3.js} +12 -12
- package/dist/chunks/{file-mutation-mbv7k5zt.js → bus-98yvrg9m.js} +26 -26
- package/dist/chunks/{file-mutation-rkkrzzbq.js → bus-9ejttjga.js} +16 -16
- package/dist/chunks/{file-mutation-1t3qy2r0.js → bus-9mv7prxk.js} +5 -5
- package/dist/chunks/{file-mutation-jft4dbeh.js → bus-9n6rx99f.js} +16 -16
- package/dist/chunks/{file-mutation-v7sj5brm.js → bus-9qx2r5e1.js} +12 -12
- package/dist/chunks/{file-mutation-wrd39zd3.js → bus-9r0x1bva.js} +9 -9
- package/dist/chunks/{file-mutation-a6sanqb6.js → bus-9rpyvasa.js} +21 -21
- package/dist/chunks/{file-mutation-jpfg3bv3.js → bus-a1t1p5x7.js} +11 -11
- package/dist/chunks/{file-mutation-2cywgpj2.js → bus-a894mmyw.js} +10 -10
- package/dist/chunks/{file-mutation-291261ha.js → bus-aaf96cer.js} +18 -18
- package/dist/chunks/{file-mutation-knsnfpmh.js → bus-ae36chvm.js} +13 -13
- package/dist/chunks/{file-mutation-ez4nhay2.js → bus-amrj7qc1.js} +6 -6
- package/dist/chunks/{file-mutation-5hbegf98.js → bus-axv2anjp.js} +3 -3
- package/dist/chunks/{file-mutation-2xzxwh9n.js → bus-axvdzfmk.js} +42 -42
- package/dist/chunks/{file-mutation-9bc1thgt.js → bus-ayeq9fxf.js} +8 -8
- package/dist/chunks/{file-mutation-ayjs7tqn.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-mutation-pwqzey69.js → bus-b3yncftq.js} +11 -11
- package/dist/chunks/{file-mutation-psj7p3gy.js → bus-b697ydwv.js} +12 -12
- package/dist/chunks/{file-mutation-gxk9nqgj.js → bus-b9z4djsc.js} +15 -15
- package/dist/chunks/{file-mutation-1zx0pxwe.js → bus-bhqdc3dd.js} +5 -5
- package/dist/chunks/{file-mutation-2r5550sa.js → bus-bqa1dn77.js} +27 -27
- package/dist/chunks/{file-mutation-6vdm78sx.js → bus-bt2wwv95.js} +14 -14
- package/dist/chunks/{file-mutation-p4gp7n98.js → bus-bv13p4fx.js} +34 -34
- package/dist/chunks/{file-mutation-22g4mmnz.js → bus-bwssq4c8.js} +17 -17
- package/dist/chunks/{file-mutation-n7bhcchc.js → bus-bydj5yam.js} +28 -28
- package/dist/chunks/{file-mutation-09bv4atg.js → bus-c46s9eb3.js} +5 -5
- package/dist/chunks/{file-mutation-q2w99wmr.js → bus-cahpqgn3.js} +11 -11
- package/dist/chunks/{file-mutation-b23hpydp.js → bus-chwzkhva.js} +2 -2
- package/dist/chunks/{file-mutation-ch0v3cp9.js → bus-cr9b5z5f.js} +29 -29
- package/dist/chunks/{file-mutation-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-mutation-8dzwfsfj.js → bus-d2083a73.js} +9 -9
- package/dist/chunks/{file-mutation-c9t2ty9q.js → bus-d2887f8n.js} +4 -4
- package/dist/chunks/{file-mutation-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-mutation-stj6qkja.js → bus-d549k1v9.js} +30 -30
- package/dist/chunks/{file-mutation-y369bsvk.js → bus-dehz80p8.js} +18 -18
- package/dist/chunks/{file-mutation-a9gs869n.js → bus-dey2yzxh.js} +9 -9
- package/dist/chunks/{file-mutation-q3w50k8c.js → bus-djh6j75c.js} +28 -28
- package/dist/chunks/{file-mutation-zzwc8gnd.js → bus-dnrrejbr.js} +22 -22
- package/dist/chunks/{file-mutation-7rw1vw5b.js → bus-dpgr420w.js} +8 -8
- package/dist/chunks/{file-mutation-qy453c32.js → bus-dqp29d1q.js} +3 -3
- package/dist/chunks/{file-mutation-g59pth55.js → bus-ds0zqevt.js} +10 -10
- package/dist/chunks/{file-mutation-nf3nsvxh.js → bus-dt017gbd.js} +4 -4
- package/dist/chunks/{file-mutation-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{file-mutation-zy3tpbx7.js → bus-e7f7th6w.js} +15 -15
- package/dist/chunks/{file-mutation-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{file-mutation-0yy582wq.js → bus-egz84e2g.js} +8 -8
- package/dist/chunks/{file-mutation-2ndq7hcx.js → bus-ennnne6b.js} +23 -23
- package/dist/chunks/{file-mutation-t30gga41.js → bus-erce1yde.js} +16 -16
- package/dist/chunks/{file-mutation-jrc6mwxy.js → bus-f0hpc87x.js} +6 -6
- package/dist/chunks/{file-mutation-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-mutation-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{file-mutation-xphx33pk.js → bus-frk5he0g.js} +1 -1
- package/dist/chunks/{file-mutation-dvrysxe9.js → bus-fxpnf8nj.js} +23 -23
- package/dist/chunks/{file-mutation-b6z35kmf.js → bus-fznmdakp.js} +4 -4
- package/dist/chunks/{file-mutation-y04qvqhx.js → bus-g56wxgxx.js} +39 -39
- package/dist/chunks/{file-mutation-kb4zeprx.js → bus-g6znav2x.js} +27 -27
- package/dist/chunks/{file-mutation-36cfnhgq.js → bus-gfavdftz.js} +32 -32
- package/dist/chunks/{file-mutation-gg8p9cgs.js → bus-gg8p9cgs.js} +3 -3
- package/dist/chunks/{file-mutation-57cc6ds0.js → bus-gr64q9r0.js} +31 -31
- package/dist/chunks/{file-mutation-b9tvtgtk.js → bus-gt5e2s7g.js} +14 -14
- package/dist/chunks/{file-mutation-d53xcg4f.js → bus-gtdyb2hv.js} +7 -7
- package/dist/chunks/{file-mutation-gtn9c16a.js → bus-gtn9c16a.js} +1 -1
- package/dist/chunks/{file-mutation-y9f9p42a.js → bus-gy4h7feh.js} +44 -44
- package/dist/chunks/{file-mutation-cpsrm9kz.js → bus-gypkc13r.js} +30 -30
- package/dist/chunks/{file-mutation-42d0kh11.js → bus-h1cdfdv6.js} +8 -8
- package/dist/chunks/{file-mutation-g5vc4awh.js → bus-h4h70rke.js} +11 -11
- package/dist/chunks/{file-mutation-dbj4j4p0.js → bus-hhnm585p.js} +11 -11
- package/dist/chunks/{file-mutation-8441pj9h.js → bus-hk2cprw7.js} +25 -25
- package/dist/chunks/{file-mutation-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-mutation-cff47hc0.js → bus-hzq27gzr.js} +27 -27
- package/dist/chunks/{file-mutation-3mth2z3s.js → bus-j9k3j265.js} +16 -16
- package/dist/chunks/{file-mutation-rc5cfkkt.js → bus-jct98qnh.js} +7 -7
- package/dist/chunks/{file-mutation-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{file-mutation-hqxkkta1.js → bus-jh74jycr.js} +3 -3
- package/dist/chunks/{file-mutation-hdfrs5mg.js → bus-jqyqtkb2.js} +7 -7
- package/dist/chunks/{file-mutation-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-mutation-tpx6dfdg.js → bus-jwskem5m.js} +9 -9
- package/dist/chunks/bus-jztn5z23.js +18 -0
- package/dist/chunks/{file-mutation-2em4q09y.js → bus-k0yyexjz.js} +4 -4
- package/dist/chunks/{file-mutation-ehpmpmqy.js → bus-k5gj6mdj.js} +2 -2
- package/dist/chunks/{file-mutation-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{file-mutation-92smj43y.js → bus-k8czmj01.js} +2 -2
- package/dist/chunks/{file-mutation-3ryz99p0.js → bus-k98yejja.js} +5 -5
- package/dist/chunks/{file-mutation-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-mutation-n1650mfh.js → bus-kw2mbtjb.js} +6 -6
- package/dist/chunks/{file-mutation-0qaf62d8.js → bus-m0pa6z8h.js} +17 -17
- package/dist/chunks/{file-mutation-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{file-mutation-m91kzycp.js → bus-m91kzycp.js} +5 -5
- package/dist/chunks/{file-mutation-pxbzzzzm.js → bus-m9cgb1kb.js} +154 -154
- package/dist/chunks/{file-mutation-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-2s3pxq91.js → bus-md7y7r04.js} +4 -4
- package/dist/chunks/{file-mutation-4ddsgm24.js → bus-mf20dtnm.js} +9 -9
- package/dist/chunks/{file-mutation-mgxf3nw1.js → bus-mgxf3nw1.js} +3 -3
- package/dist/chunks/{file-mutation-hzw8faeh.js → bus-mk0mrn7p.js} +5 -5
- package/dist/chunks/{file-mutation-s9ynkngn.js → bus-mkc5pejr.js} +23 -23
- package/dist/chunks/{file-mutation-v0t96s7a.js → bus-mmx1mfjr.js} +4 -4
- package/dist/chunks/{file-mutation-sqc0p8sq.js → bus-mp1rva77.js} +15 -15
- package/dist/chunks/{file-mutation-3phywp6k.js → bus-mp3es3wh.js} +17 -17
- package/dist/chunks/{file-mutation-vjsahgsx.js → bus-mtbmcvn3.js} +22 -22
- package/dist/chunks/{file-mutation-rz6zznan.js → bus-mwy1hny1.js} +11 -11
- package/dist/chunks/{file-mutation-nwe4qtzq.js → bus-n26fb8s5.js} +18 -18
- package/dist/chunks/{file-mutation-3n5jkvcw.js → bus-n72e3dxd.js} +5 -5
- package/dist/chunks/{file-mutation-0w2jttgf.js → bus-n8d14czh.js} +2 -2
- package/dist/chunks/{file-mutation-qqve4v8g.js → bus-n9zmybh9.js} +8 -8
- package/dist/chunks/{file-mutation-qv4vz01m.js → bus-nbagtjvc.js} +11 -11
- package/dist/chunks/{file-mutation-0f8tg23y.js → bus-nyarhxsa.js} +3 -3
- package/dist/chunks/{file-mutation-qwc0pngt.js → bus-nykvvcdf.js} +28 -28
- package/dist/chunks/{file-mutation-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{file-mutation-vhc9amj9.js → bus-p2nwte34.js} +14 -14
- package/dist/chunks/{file-mutation-pr24arth.js → bus-p7hw6s3p.js} +30 -30
- package/dist/chunks/{file-mutation-0m350p2y.js → bus-p982yv7g.js} +15 -15
- package/dist/chunks/{file-mutation-kj99f3y3.js → bus-pcw9jkqq.js} +25 -25
- package/dist/chunks/{file-mutation-xj5ejtth.js → bus-per75jj3.js} +11 -11
- package/dist/chunks/{file-mutation-ga5dber3.js → bus-php6tqqg.js} +13 -13
- package/dist/chunks/{file-mutation-0tgj0enh.js → bus-pjq1t0mz.js} +8 -8
- package/dist/chunks/{file-mutation-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/bus-pth0qd0d.js +257 -0
- package/dist/chunks/{file-mutation-p0q2ne2s.js → bus-pwewe2xv.js} +15 -15
- package/dist/chunks/{file-mutation-kx9nywdq.js → bus-q0130fbt.js} +8 -8
- package/dist/chunks/{file-mutation-q63cb7ap.js → bus-q63cb7ap.js} +3 -3
- package/dist/chunks/{file-mutation-yj2b5f3h.js → bus-q7x8fwh9.js} +32 -44
- package/dist/chunks/{file-mutation-sawge6zb.js → bus-qn0xtqx2.js} +1 -1
- package/dist/chunks/{file-mutation-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-mutation-1sfajnh7.js → bus-qyjx7zef.js} +54 -54
- package/dist/chunks/{file-mutation-8bmfs902.js → bus-r04jhjmv.js} +22 -22
- package/dist/chunks/{file-mutation-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-mutation-s3zszyzt.js → bus-r2dfnzky.js} +24 -24
- package/dist/chunks/{file-mutation-r41sfy63.js → bus-r41sfy63.js} +2 -2
- package/dist/chunks/{file-mutation-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{file-mutation-31avdb49.js → bus-r7xar5ns.js} +8 -8
- package/dist/chunks/{file-mutation-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-mutation-02jpp536.js → bus-rbrtkemz.js} +36 -36
- package/dist/chunks/{file-mutation-6fjxz4z4.js → bus-rhnkpwb6.js} +93 -93
- package/dist/chunks/{file-mutation-jcqm84fr.js → bus-rjnacbrz.js} +9 -9
- package/dist/chunks/{file-mutation-nwbbxj2q.js → bus-rnsevbcg.js} +25 -25
- package/dist/chunks/{file-mutation-we7rx8f6.js → bus-rq99gy5c.js} +22 -22
- package/dist/chunks/{file-mutation-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-mutation-avfx08wj.js → bus-rt9gf2gx.js} +21 -21
- package/dist/chunks/{file-mutation-y457bc3h.js → bus-s0sc04p0.js} +9 -9
- package/dist/chunks/{file-mutation-36qx82yz.js → bus-s7xmnr8t.js} +6 -6
- package/dist/chunks/{file-mutation-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-mutation-qcmchz52.js → bus-sfz5r5s7.js} +4 -4
- package/dist/chunks/{file-mutation-jb168mmq.js → bus-sh3ewazw.js} +24 -24
- package/dist/chunks/{file-mutation-1ck73ww0.js → bus-sphh171f.js} +16 -16
- package/dist/chunks/{file-mutation-hvvf9qw8.js → bus-sq4s6wq1.js} +6 -6
- package/dist/chunks/{file-mutation-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-mutation-gawyv5h6.js → bus-svaxc9ga.js} +37 -37
- package/dist/chunks/{file-mutation-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-mutation-wrnggakg.js → bus-t2zvsq3v.js} +21 -21
- package/dist/chunks/{file-mutation-615ze5mc.js → bus-t4y8tttc.js} +13 -13
- package/dist/chunks/{file-mutation-7hb0ye5y.js → bus-t9pdq77j.js} +6 -6
- package/dist/chunks/{file-mutation-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-mutation-04mewp1n.js → bus-tea79k12.js} +6 -6
- package/dist/chunks/{file-mutation-hcs64hj8.js → bus-tf1zmpna.js} +25 -25
- package/dist/chunks/{file-mutation-tg1vr1qt.js → bus-tg1vr1qt.js} +1 -1
- package/dist/chunks/{file-mutation-w7gfejrx.js → bus-tmcdqab3.js} +17 -17
- package/dist/chunks/{file-mutation-faazj2st.js → bus-tnd9tkz8.js} +35 -35
- package/dist/chunks/{file-mutation-nkfn7phj.js → bus-tqjaw1k6.js} +15 -15
- package/dist/chunks/{file-mutation-n6wkrbw6.js → bus-tv1ncpxj.js} +33 -33
- package/dist/chunks/{file-mutation-aycr4par.js → bus-tw5b64mh.js} +45 -45
- package/dist/chunks/{file-mutation-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{file-mutation-tazdrhsb.js → bus-tyqgnm1n.js} +86 -86
- package/dist/chunks/{file-mutation-w6c5q4g8.js → bus-v1pjhk6s.js} +51 -51
- package/dist/chunks/{file-mutation-h8ktp5nz.js → bus-v24v0w5v.js} +24 -24
- package/dist/chunks/{file-mutation-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-mutation-ct7725a2.js → bus-vbjqtebd.js} +11 -11
- package/dist/chunks/{file-mutation-ccbxgw01.js → bus-vc91vb9f.js} +6 -6
- package/dist/chunks/{file-mutation-vmfhgzt5.js → bus-vmfhgzt5.js} +1 -1
- package/dist/chunks/{file-mutation-9xzhsdnm.js → bus-vt55bbet.js} +9 -9
- package/dist/chunks/{file-mutation-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-bb9y3cr3.js → bus-wd98jrzr.js} +22 -22
- package/dist/chunks/{file-mutation-rr4kc3kv.js → bus-whzwjc82.js} +3 -3
- package/dist/chunks/{file-mutation-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-mutation-d8p3t516.js → bus-x26wqd07.js} +4 -4
- package/dist/chunks/{file-mutation-9zc50dp0.js → bus-x4rdhtj7.js} +1 -1
- package/dist/chunks/{file-mutation-m05gm3xd.js → bus-x6fw54z8.js} +12 -12
- package/dist/chunks/{file-mutation-hte3z5j4.js → bus-xb1jttyy.js} +5 -5
- package/dist/chunks/{file-mutation-bstexjd6.js → bus-xd9cc171.js} +5 -5
- package/dist/chunks/bus-xgvyah86.js +26 -0
- package/dist/chunks/{file-mutation-a72t788c.js → bus-xq8cwy21.js} +18 -18
- package/dist/chunks/{file-mutation-f6a72pnd.js → bus-y17k4q4v.js} +11 -11
- package/dist/chunks/{file-mutation-4db922nk.js → bus-y4beb61a.js} +12 -12
- package/dist/chunks/{file-mutation-yara3q77.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{file-mutation-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{file-mutation-bgtvwfds.js → bus-yeyfr6zk.js} +11 -11
- package/dist/chunks/{file-mutation-6xks9hqy.js → bus-yf5es9e1.js} +19 -19
- package/dist/chunks/{file-mutation-e6197nkp.js → bus-ygn5zq2v.js} +6 -6
- package/dist/chunks/{file-mutation-488y184h.js → bus-yyjb7mzv.js} +35 -35
- package/dist/chunks/{file-mutation-vyeahs8y.js → bus-z06bhcj3.js} +12 -12
- package/dist/chunks/{file-mutation-fnjr23v9.js → bus-z1pk19p9.js} +25 -25
- package/dist/chunks/{file-mutation-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/{file-mutation-zzj2xcr4.js → bus-z70brj9w.js} +6 -6
- package/dist/chunks/{file-mutation-34asacga.js → bus-zag14nrm.js} +13 -13
- package/dist/chunks/{file-mutation-61ennm6n.js → bus-zba5tm1j.js} +4 -4
- package/dist/chunks/{file-mutation-eyck5g6r.js → bus-zfqs8zdj.js} +4 -4
- package/dist/chunks/{file-mutation-5cwfc2ka.js → bus-zhbst0xe.js} +13 -13
- package/dist/chunks/{file-mutation-7szmtnr1.js → bus-zhdefwpn.js} +4 -4
- package/dist/chunks/{file-mutation-66vehr1c.js → bus-zhg8hwj9.js} +3 -3
- package/dist/chunks/{file-mutation-xav8p412.js → bus-zw8syyj9.js} +53 -53
- 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 +91 -91
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +377 -381
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +7 -7
- 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 +107 -107
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +368 -372
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +365 -369
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +338 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +128 -128
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +355 -359
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +92 -92
- package/dist/plugin/vcs/hg.js +92 -92
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- 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 +231 -231
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +228 -228
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- 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 +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +99 -99
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +152 -152
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +104 -104
- package/package.json +9 -12
- package/dist/chunks/file-mutation-301cc765.js +0 -511
- package/dist/chunks/file-mutation-6h2wa517.js +0 -257
- package/dist/chunks/file-mutation-bv5h9gn1.js +0 -32
- package/dist/chunks/file-mutation-n3r3rt18.js +0 -18
- package/dist/chunks/file-mutation-veqvce7d.js +0 -15
- package/dist/chunks/file-mutation-wm0kh7y8.js +0 -26
- package/dist/chunks/file-mutation-ym463w8f.js +0 -17
- package/dist/chunks/file-mutation-z0bkrqjs.js +0 -15
- package/dist/plugin/provider/cohere.js +0 -7
- package/dist/plugin/provider/factory.js +0 -6
- package/dist/plugin/provider/perplexity.js +0 -7
- package/dist/plugin/provider/vercel.js +0 -103
- package/dist/types/plugin/provider/cohere.d.ts +0 -1
- package/dist/types/plugin/provider/factory.d.ts +0 -6
- package/dist/types/plugin/provider/perplexity.d.ts +0 -1
- package/dist/types/plugin/provider/vercel.d.ts +0 -1
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1jakw16s.js → bus-1jakw16s.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4m86bj6y.js → bus-4m86bj6y.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-mutation-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service75,
|
|
4
|
+
node79
|
|
5
|
+
} from "./bus-40862n3e.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service74,
|
|
19
|
+
node78
|
|
20
|
+
} from "./bus-cr9b5z5f.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service51,
|
|
23
|
+
node53
|
|
24
|
+
} from "./bus-a894mmyw.js";
|
|
25
25
|
import {
|
|
26
26
|
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service73,
|
|
30
|
+
node77,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-gr64q9r0.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./bus-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service50,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer19,
|
|
52
|
+
node: () => node52,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service50 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -300,12 +300,12 @@ var causeMessage = (cause) => {
|
|
|
300
300
|
};
|
|
301
301
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
302
302
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
303
|
-
var
|
|
304
|
-
const providers = yield*
|
|
305
|
-
const models = yield*
|
|
306
|
-
const integrations = yield*
|
|
303
|
+
var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
304
|
+
const providers = yield* Service74;
|
|
305
|
+
const models = yield* Service73;
|
|
306
|
+
const integrations = yield* Service75;
|
|
307
307
|
const npm = yield* Npm.Service;
|
|
308
|
-
const aisdk = yield*
|
|
308
|
+
const aisdk = yield* Service51;
|
|
309
309
|
const dependencies = {
|
|
310
310
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
311
311
|
loadAISDK: (model) => aisdk.model(model)
|
|
@@ -348,7 +348,7 @@ var layer24 = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
348
348
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
349
349
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
350
350
|
});
|
|
351
|
-
return
|
|
351
|
+
return Service50.of({
|
|
352
352
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
353
353
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
354
354
|
if (!selected)
|
|
@@ -371,10 +371,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
371
371
|
const name = packageName2(packageName);
|
|
372
372
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
373
373
|
}
|
|
374
|
-
var
|
|
375
|
-
service:
|
|
376
|
-
layer:
|
|
377
|
-
deps: [
|
|
374
|
+
var node52 = makeLocationNode({
|
|
375
|
+
service: Service50,
|
|
376
|
+
layer: layer19,
|
|
377
|
+
deps: [node78, node77, node79, Npm.node, node53]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
380
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer19, node52, exports_model_resolver };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-mmx1mfjr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info15
|
|
9
|
+
} from "./bus-r7xar5ns.js";
|
|
10
10
|
import {
|
|
11
11
|
Info17
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-k98yejja.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info19
|
|
15
|
+
} from "./bus-c46s9eb3.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
20
|
Info18
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-6xqtcmxs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-sfz5r5s7.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -103,7 +103,7 @@ function normalize3(input) {
|
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize3(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-p015t6z3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./bus-gr64q9r0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./bus-nykvvcdf.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
23
|
-
Generate: () =>
|
|
21
|
+
var exports_generate2 = {};
|
|
22
|
+
__export(exports_generate2, {
|
|
23
|
+
Generate: () => exports_generate2,
|
|
24
24
|
InvalidRequestError: () => InvalidRequestError3,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
29
|
-
UnavailableError: () =>
|
|
28
|
+
Service: () => Service34,
|
|
29
|
+
UnavailableError: () => UnavailableError3,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer16,
|
|
32
|
+
node: () => node37
|
|
33
33
|
});
|
|
34
34
|
import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
|
|
|
37
37
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
38
38
|
import { RequestExecutor } from "@opencode/ai/route";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
class
|
|
40
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
service: Schema.optional(Schema.String)
|
|
43
43
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service34 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer16 = Layer.effect(Service34, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service50;
|
|
89
|
+
const models = yield* Service73;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -98,11 +98,11 @@ var layer12 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
98
98
|
"SessionRunnerModel.ModelInitializationError",
|
|
99
99
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
100
100
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
101
|
-
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new
|
|
101
|
+
], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
|
|
102
102
|
if (!resolved && input.model)
|
|
103
103
|
return yield* missing(input.model, "chat");
|
|
104
104
|
if (!resolved)
|
|
105
|
-
return yield* new
|
|
105
|
+
return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
|
|
106
106
|
const response = yield* llm.generate(LLM.request({
|
|
107
107
|
model: resolved.model,
|
|
108
108
|
prompt: input.prompt,
|
|
@@ -162,8 +162,8 @@ var layer12 = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
162
162
|
...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
|
-
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
166
|
-
return
|
|
165
|
+
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
|
|
166
|
+
return Service34.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node37 = makeLocationNode({
|
|
219
|
+
service: Service34,
|
|
220
|
+
layer: layer16,
|
|
221
|
+
deps: [node52, node77, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError3, ProviderFailure2, ProviderRequestError2, Service34, layer16, node37, exports_generate2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./bus-j9k3j265.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-204s3925.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service28,
|
|
17
|
+
node: () => node31
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service28 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service78;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service28.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node31 = makeLocationNode({
|
|
91
|
+
service: Service28,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service28, node31, exports_formatter2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./bus-j9k3j265.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service62,
|
|
10
|
+
node65
|
|
11
|
+
} from "./bus-78e9150v.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-76cb1hcw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
25
|
-
configured: () =>
|
|
24
|
+
Service: () => Service33,
|
|
25
|
+
configured: () => configured4,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service33, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service78;
|
|
57
|
+
const ripgrep = yield* Service62;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service33.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service33, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service78;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service48, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service33.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,16 +200,16 @@ var makeFffLayer2 = (create) => Layer.effect(Service48, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service78;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
207
207
|
return ripgrepLayer;
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
|
-
function
|
|
211
|
-
return makeLocationNode({ service:
|
|
210
|
+
function configured4(options) {
|
|
211
|
+
return makeLocationNode({ service: Service33, layer: layer(options), deps: [node82, node65] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node36 = configured4();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service33, makeFffLayer2, fffLayer2, configured4, node36, exports_search };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-a1t1p5x7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./bus-9ejttjga.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./bus-0gfe9fsk.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-40862n3e.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-cr9b5z5f.js";
|
|
18
18
|
import {
|
|
19
19
|
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-gr64q9r0.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-yb20nhc3.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service85;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./bus-j9k3j265.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service70
|
|
9
|
+
} from "./bus-47p5enej.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-8884kj69.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./bus-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin49
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin49 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service70;
|
|
35
|
+
const location = yield* Service78;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin49, exports_reference };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./bus-bydj5yam.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./bus-sq4s6wq1.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-jztn5z23.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service47;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service84;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|