@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service85,
|
|
4
|
+
node89
|
|
5
|
+
} from "./bus-9ejttjga.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make22,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-gtn9c16a.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-204s3925.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/instruction-discovery.ts
|
|
21
21
|
var exports_instruction_discovery = {};
|
|
22
22
|
__export(exports_instruction_discovery, {
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event3,
|
|
24
24
|
File: () => File2,
|
|
25
25
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
26
|
-
Options: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
configured: () =>
|
|
29
|
-
layer: () =>
|
|
30
|
-
node: () =>
|
|
26
|
+
Options: () => Options3,
|
|
27
|
+
Service: () => Service27,
|
|
28
|
+
configured: () => configured3,
|
|
29
|
+
layer: () => layer14,
|
|
30
|
+
node: () => node30
|
|
31
31
|
});
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,18 +39,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
39
39
|
}
|
|
40
40
|
var Files = Schema.Array(File2);
|
|
41
41
|
var key = Key3.make("core/instructions");
|
|
42
|
-
var
|
|
42
|
+
var Event3 = {
|
|
43
43
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
44
44
|
};
|
|
45
|
-
var
|
|
45
|
+
var Options3 = Schema.Struct({
|
|
46
46
|
project: Schema.optional(Schema.Boolean),
|
|
47
47
|
global: Schema.optional(Schema.Boolean)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service27 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const bus = yield*
|
|
52
|
+
var layer14 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
53
|
+
const bus = yield* Service85;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "instruction-discovery",
|
|
56
56
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -69,7 +69,7 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
69
69
|
editor.available = false;
|
|
70
70
|
}
|
|
71
71
|
}),
|
|
72
|
-
notify: () => bus.publish(
|
|
72
|
+
notify: () => bus.publish(Event3.Updated, {}).pipe(Effect.asVoid)
|
|
73
73
|
});
|
|
74
74
|
const source = (value) => make22({
|
|
75
75
|
key,
|
|
@@ -87,7 +87,7 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
87
87
|
return unavailable3;
|
|
88
88
|
return Array.from(current.files.values());
|
|
89
89
|
});
|
|
90
|
-
return
|
|
90
|
+
return Service27.of({
|
|
91
91
|
project: options?.project !== false,
|
|
92
92
|
global: options?.global !== false,
|
|
93
93
|
transform: state.transform,
|
|
@@ -101,14 +101,14 @@ var layer18 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
function
|
|
104
|
+
function configured3(options) {
|
|
105
105
|
return makeLocationNode({
|
|
106
|
-
service:
|
|
107
|
-
layer:
|
|
108
|
-
deps: [
|
|
106
|
+
service: Service27,
|
|
107
|
+
layer: layer14(options),
|
|
108
|
+
deps: [node89]
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var node30 = configured3();
|
|
112
112
|
function render(files) {
|
|
113
113
|
return files.map((file) => `Instructions from: ${file.path}
|
|
114
114
|
${file.content}`).join(`
|
|
@@ -139,4 +139,4 @@ ${render([after])}`;
|
|
|
139
139
|
`);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export { File2,
|
|
142
|
+
export { File2, Event3, Options3, Service27, layer14, configured3, node30, exports_instruction_discovery };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./bus-9ejttjga.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-zba5tm1j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./bus-0gfe9fsk.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-40862n3e.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./bus-cr9b5z5f.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./bus-3w2dxmpf.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,8 +26,8 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service74;
|
|
30
|
+
const bus = yield* Service85;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./bus-b3yncftq.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID9,
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
17
|
+
Info: () => Info12,
|
|
18
|
+
NotFoundError: () => NotFoundError8,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service66,
|
|
21
|
+
node: () => node70
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,9 +26,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID9 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info12 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID9
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -40,10 +40,10 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service66 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const db = (yield*
|
|
45
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
46
|
+
const db = (yield* Service86).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
49
49
|
return rows.map(info);
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError8({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError8({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service66.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node70 = makeGlobalNode({ service: Service66, layer, deps: [node90] });
|
|
94
94
|
|
|
95
|
-
export { ID9,
|
|
95
|
+
export { ID9, Info12, NotFoundError8, ConflictError2, Service66, node70, exports_saved };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./bus-r2dfnzky.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service38,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-zag14nrm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service28
|
|
11
|
+
} from "./bus-p982yv7g.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./bus-gy4h7feh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service35
|
|
17
|
+
} from "./bus-z1pk19p9.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin2,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin2 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service35;
|
|
56
|
+
const fileMutation = yield* Service38;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service28;
|
|
59
|
+
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./bus-j9k3j265.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./bus-r2dfnzky.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service38,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-zag14nrm.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service28
|
|
14
|
+
} from "./bus-p982yv7g.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service65
|
|
17
|
+
} from "./bus-gy4h7feh.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service35,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-z1pk19p9.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input3,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin3,
|
|
36
|
+
name: () => name3
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name3 = "edit";
|
|
43
|
+
var Input3 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input5 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin3 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service35;
|
|
197
|
+
const fileMutation = yield* Service38;
|
|
198
|
+
const environment = yield* Service63;
|
|
199
|
+
const formatter = yield* Service28;
|
|
200
|
+
const location = yield* Service78;
|
|
201
|
+
const permission = yield* Service65;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name3,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input3,
|
|
207
|
+
output: Output3,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin6 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name3, Input3, Output3, Plugin3, exports_edit };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service42,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service42, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service42.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service45, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node45 = makeGlobalNode({ service: Service42, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service42, node45, exports_environment };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./bus-47p5enej.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service63
|
|
13
|
+
} from "./bus-r2dfnzky.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service49
|
|
16
|
+
} from "./bus-gt5e2s7g.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./bus-gy4h7feh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service35,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-z1pk19p9.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service54,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-tqjaw1k6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError4,
|
|
36
|
+
Service41
|
|
37
|
+
} from "./bus-v1pjhk6s.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service13
|
|
40
|
+
} from "./bus-rhnkpwb6.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-k0yyexjz.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./bus-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
52
|
Input: () => Input11,
|
|
53
|
-
Plugin: () =>
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
55
|
name: () => name11
|
|
56
56
|
});
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin13 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service13;
|
|
124
|
+
const jobs = yield* Service49;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service63;
|
|
127
|
+
const access = yield* Service35;
|
|
128
|
+
const shell = yield* Service41;
|
|
129
|
+
const shellSelect = yield* Service54;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service65;
|
|
132
|
+
const config = yield* Service70;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -211,7 +211,7 @@ var Plugin14 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError4({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export { name11, DEFAULT_TIMEOUT_MS2, Input11,
|
|
269
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin13, exports_shell };
|