@opencode/core 0.0.0-dev-149 → 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 +87 -87
- 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/{plugin-aj7mw0zk.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{plugin-9f3sjfep.js → bus-0anyt1n6.js} +9 -9
- package/dist/chunks/{plugin-2ht51f9z.js → bus-0b2mt5gn.js} +9 -9
- package/dist/chunks/{plugin-r7xk0eym.js → bus-0fdggymb.js} +34 -34
- package/dist/chunks/{plugin-93a9jndt.js → bus-0gfe9fsk.js} +34 -34
- package/dist/chunks/{plugin-j8yg66kd.js → bus-0h1znnmj.js} +27 -27
- package/dist/chunks/{plugin-syqc1q91.js → bus-0hmmm0am.js} +17 -17
- package/dist/chunks/{plugin-c1qqsdsb.js → bus-0hwce0kj.js} +18 -18
- package/dist/chunks/{plugin-fcbsb19f.js → bus-0k7cj3jm.js} +32 -32
- package/dist/chunks/{plugin-bb2gy873.js → bus-0x2frnqw.js} +32 -32
- package/dist/chunks/{plugin-vq1ppevj.js → bus-12a87htm.js} +8 -8
- package/dist/chunks/{plugin-r1y4q7eg.js → bus-143b30bg.js} +39 -39
- package/dist/chunks/{plugin-27w5k9zf.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{plugin-yrvrwg16.js → bus-1hhczaqt.js} +71 -71
- package/dist/chunks/{plugin-t3y9r3y2.js → bus-1q3kyvas.js} +35 -35
- package/dist/chunks/{plugin-96h9ajm3.js → bus-1vngayeg.js} +20 -20
- package/dist/chunks/{plugin-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{plugin-5zrxpy3q.js → bus-1yq9hg58.js} +5 -5
- package/dist/chunks/{plugin-0j0hgpg3.js → bus-1ywwe2vf.js} +22 -22
- package/dist/chunks/{plugin-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{plugin-ycn3cwaw.js → bus-22hvzfep.js} +4 -4
- package/dist/chunks/{plugin-a01n3spq.js → bus-262vwvmj.js} +53 -53
- package/dist/chunks/{plugin-26x8chrq.js → bus-26x8chrq.js} +3 -3
- package/dist/chunks/{plugin-3ytse99a.js → bus-28tb69ev.js} +4 -4
- package/dist/chunks/{plugin-2mbjfaxd.js → bus-2mbjfaxd.js} +1 -1
- package/dist/chunks/{plugin-wvm11qkm.js → bus-2rm9p9v2.js} +16 -16
- package/dist/chunks/{plugin-q5pv97qv.js → bus-2sx3gc78.js} +5 -5
- package/dist/chunks/{plugin-jj25aphh.js → bus-2v9xjkct.js} +11 -11
- package/dist/chunks/{plugin-rckzcncc.js → bus-2xb0rse3.js} +11 -11
- package/dist/chunks/{plugin-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-7fvcpx9m.js → bus-3mn5pj7y.js} +12 -12
- package/dist/chunks/{plugin-e9z9ekwf.js → bus-3mr6yv6e.js} +33 -33
- package/dist/chunks/{plugin-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{plugin-xjrcpxys.js → bus-3w2dxmpf.js} +17 -17
- package/dist/chunks/{plugin-2dpmrcw8.js → bus-40862n3e.js} +31 -31
- package/dist/chunks/{plugin-9dja39nt.js → bus-47p5enej.js} +50 -50
- package/dist/chunks/{plugin-npg5se5z.js → bus-4g39zpm1.js} +9 -9
- package/dist/chunks/{plugin-2gyck6q0.js → bus-4g4fjqx3.js} +2 -2
- package/dist/chunks/{plugin-sz0km235.js → bus-4hxq42hq.js} +41 -41
- package/dist/chunks/{plugin-fqjwhs84.js → bus-4mecw7tx.js} +6 -6
- package/dist/chunks/{plugin-yg3znkte.js → bus-4pw5pj18.js} +18 -18
- package/dist/chunks/{plugin-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{plugin-8n7h5d4s.js → bus-4r9ar4c5.js} +27 -27
- package/dist/chunks/{plugin-q7cvrf9n.js → bus-4s2mjqvx.js} +7 -7
- package/dist/chunks/{plugin-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{plugin-e2ry9241.js → bus-54gmmeqn.js} +33 -33
- package/dist/chunks/{plugin-meevhkww.js → bus-57y44b3r.js} +46 -46
- package/dist/chunks/{plugin-7aq8rkr3.js → bus-5ampr7t5.js} +21 -21
- package/dist/chunks/{plugin-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{plugin-b6vsg801.js → bus-5nnwax6m.js} +5 -5
- package/dist/chunks/{plugin-jgr9rt82.js → bus-5pw3r2ne.js} +24 -24
- package/dist/chunks/{plugin-8ft3xw2m.js → bus-5v6z2aq9.js} +5 -5
- package/dist/chunks/{plugin-k2zdq3mp.js → bus-5xph8w7t.js} +2 -2
- package/dist/chunks/{plugin-023350j2.js → bus-66nne91h.js} +27 -27
- package/dist/chunks/{plugin-38adaqc0.js → bus-66r9f6z1.js} +5 -5
- package/dist/chunks/{plugin-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{plugin-pz2hbxnb.js → bus-6hhw3d62.js} +319 -319
- package/dist/chunks/{plugin-y6zkfemf.js → bus-6nnjhmtv.js} +13 -13
- package/dist/chunks/{plugin-qmysd79e.js → bus-6p33ca8y.js} +30 -30
- package/dist/chunks/{plugin-3kdbrncp.js → bus-6xqtcmxs.js} +5 -5
- package/dist/chunks/{plugin-ty2rqtrv.js → bus-74kexyah.js} +14 -14
- package/dist/chunks/{plugin-76cb1hcw.js → bus-76cb1hcw.js} +1 -1
- package/dist/chunks/{plugin-770pw0s1.js → bus-770pw0s1.js} +1 -1
- package/dist/chunks/{plugin-0zfb02tz.js → bus-78e9150v.js} +18 -18
- package/dist/chunks/{plugin-97c5t57a.js → bus-7awmyg8w.js} +18 -18
- package/dist/chunks/{plugin-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-d2w1yggf.js → bus-7h08hp86.js} +5 -5
- package/dist/chunks/{plugin-0sp0v5x6.js → bus-7hqgrrbh.js} +12 -12
- package/dist/chunks/{plugin-nvxqht09.js → bus-7jdsj2a9.js} +3 -3
- package/dist/chunks/{plugin-3167kh59.js → bus-7p2xypxk.js} +3 -3
- package/dist/chunks/{plugin-k9zkdd2y.js → bus-7twpj7sy.js} +4 -4
- package/dist/chunks/{plugin-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{plugin-02xem3g7.js → bus-7xmk8kt5.js} +14 -14
- package/dist/chunks/{plugin-kpbwe1qr.js → bus-7xqx5zcv.js} +21 -21
- package/dist/chunks/{plugin-s7qpx3zw.js → bus-80d82js4.js} +27 -27
- package/dist/chunks/{plugin-36cj4gmt.js → bus-82cx696m.js} +9 -9
- package/dist/chunks/{plugin-kna34kpp.js → bus-8884kj69.js} +29 -29
- package/dist/chunks/{plugin-g1bf65h0.js → bus-8d5qbnzp.js} +12 -12
- package/dist/chunks/{plugin-11hfp36g.js → bus-8jztxfpf.js} +4 -4
- package/dist/chunks/{plugin-jn9v78dn.js → bus-8n65s3mj.js} +24 -24
- package/dist/chunks/{plugin-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{plugin-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{plugin-2bf9kvgn.js → bus-92xvpge0.js} +1 -1
- package/dist/chunks/{plugin-2n0r37q4.js → bus-94bbnsy3.js} +12 -12
- package/dist/chunks/{plugin-w8waja94.js → bus-98yvrg9m.js} +21 -21
- package/dist/chunks/{plugin-hgfpvvhf.js → bus-9ejttjga.js} +16 -16
- package/dist/chunks/{plugin-rvsw30t9.js → bus-9mv7prxk.js} +5 -5
- package/dist/chunks/{plugin-37eted7f.js → bus-9n6rx99f.js} +18 -18
- package/dist/chunks/{plugin-7smxv6qm.js → bus-9qx2r5e1.js} +12 -12
- package/dist/chunks/{plugin-hs9b4b47.js → bus-9r0x1bva.js} +9 -9
- package/dist/chunks/{plugin-sr3pe222.js → bus-9rpyvasa.js} +18 -18
- package/dist/chunks/{plugin-q6vpdb57.js → bus-a1t1p5x7.js} +11 -11
- package/dist/chunks/{plugin-3tjrgpk4.js → bus-a894mmyw.js} +10 -10
- package/dist/chunks/{plugin-eykczw6s.js → bus-aaf96cer.js} +21 -21
- package/dist/chunks/{plugin-wzsnw9zx.js → bus-ae36chvm.js} +12 -12
- package/dist/chunks/{plugin-f7jj8f84.js → bus-amrj7qc1.js} +6 -6
- package/dist/chunks/{plugin-8w7pper6.js → bus-axv2anjp.js} +5 -5
- package/dist/chunks/{plugin-k87qgv3b.js → bus-axvdzfmk.js} +33 -33
- package/dist/chunks/{plugin-360yt0tf.js → bus-ayeq9fxf.js} +8 -8
- package/dist/chunks/{plugin-3cbjf1nt.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/{plugin-9ebmah4g.js → bus-b3yncftq.js} +11 -11
- package/dist/chunks/{plugin-jb98ea0v.js → bus-b697ydwv.js} +12 -12
- package/dist/chunks/{plugin-znft027p.js → bus-b9z4djsc.js} +15 -15
- package/dist/chunks/{plugin-xty73vjp.js → bus-bhqdc3dd.js} +5 -5
- package/dist/chunks/{plugin-xbzzjpen.js → bus-bqa1dn77.js} +27 -27
- package/dist/chunks/{plugin-xys8w9aj.js → bus-bt2wwv95.js} +17 -17
- package/dist/chunks/{plugin-cr66ykxa.js → bus-bv13p4fx.js} +36 -36
- package/dist/chunks/{plugin-bycfeyc6.js → bus-bwssq4c8.js} +13 -13
- package/dist/chunks/{plugin-vw2s6thg.js → bus-bydj5yam.js} +28 -28
- package/dist/chunks/{plugin-f01y088k.js → bus-c46s9eb3.js} +5 -5
- package/dist/chunks/{plugin-znt4182k.js → bus-cahpqgn3.js} +11 -11
- package/dist/chunks/{plugin-64c707zx.js → bus-chwzkhva.js} +2 -2
- package/dist/chunks/{plugin-38hqgsk1.js → bus-cr9b5z5f.js} +31 -31
- package/dist/chunks/{plugin-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{plugin-b8987e27.js → bus-d2083a73.js} +7 -7
- package/dist/chunks/{plugin-ssfehs1z.js → bus-d2887f8n.js} +4 -4
- package/dist/chunks/{plugin-d4v9tmah.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{plugin-0gc20grr.js → bus-d549k1v9.js} +32 -32
- package/dist/chunks/{plugin-wyhjxk24.js → bus-dehz80p8.js} +21 -21
- package/dist/chunks/{plugin-vk3nwvaj.js → bus-dey2yzxh.js} +12 -12
- package/dist/chunks/{plugin-qs4830ty.js → bus-djh6j75c.js} +26 -26
- package/dist/chunks/{plugin-5kb7v1wv.js → bus-dnrrejbr.js} +23 -23
- package/dist/chunks/{plugin-31z3tt8p.js → bus-dpgr420w.js} +8 -8
- package/dist/chunks/{plugin-a15jtcfa.js → bus-dqp29d1q.js} +6 -6
- package/dist/chunks/{plugin-kpaptj6h.js → bus-ds0zqevt.js} +10 -10
- package/dist/chunks/{plugin-hj8dv2fv.js → bus-dt017gbd.js} +4 -4
- package/dist/chunks/{plugin-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{plugin-fchc5cs2.js → bus-e7f7th6w.js} +21 -21
- package/dist/chunks/{plugin-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{plugin-2aj7fkzc.js → bus-egz84e2g.js} +8 -8
- package/dist/chunks/{plugin-m9s6j6x5.js → bus-ennnne6b.js} +26 -26
- package/dist/chunks/{plugin-9hr3w0ac.js → bus-erce1yde.js} +18 -18
- package/dist/chunks/{plugin-38qaxswc.js → bus-f0hpc87x.js} +9 -9
- package/dist/chunks/{plugin-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{plugin-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{plugin-cn335rzh.js → bus-frk5he0g.js} +1 -1
- package/dist/chunks/{plugin-xkrr3nbc.js → bus-fxpnf8nj.js} +23 -23
- package/dist/chunks/{plugin-w687dnns.js → bus-fznmdakp.js} +4 -4
- package/dist/chunks/{plugin-7x516nkt.js → bus-g56wxgxx.js} +44 -44
- package/dist/chunks/{plugin-d4qn5jcn.js → bus-g6znav2x.js} +27 -27
- package/dist/chunks/{plugin-rp6tyec3.js → bus-gfavdftz.js} +32 -32
- package/dist/chunks/{plugin-ep59zg61.js → bus-gg8p9cgs.js} +3 -3
- package/dist/chunks/{plugin-gg56aea0.js → bus-gr64q9r0.js} +29 -29
- package/dist/chunks/{plugin-d3ssywhq.js → bus-gt5e2s7g.js} +13 -13
- package/dist/chunks/{plugin-p3rndcyt.js → bus-gtdyb2hv.js} +10 -10
- package/dist/chunks/{plugin-1kn6jdkn.js → bus-gtn9c16a.js} +4 -4
- package/dist/chunks/{plugin-0byhdbpk.js → bus-gy4h7feh.js} +45 -45
- package/dist/chunks/{plugin-mkk6jxrn.js → bus-gypkc13r.js} +32 -32
- package/dist/chunks/{plugin-0vypjg2b.js → bus-h1cdfdv6.js} +11 -11
- package/dist/chunks/{plugin-epkrfhse.js → bus-h4h70rke.js} +11 -11
- package/dist/chunks/{plugin-10krap29.js → bus-hhnm585p.js} +11 -11
- package/dist/chunks/{plugin-3vwws94n.js → bus-hk2cprw7.js} +25 -25
- package/dist/chunks/{plugin-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{plugin-g2tn4t9t.js → bus-hzq27gzr.js} +27 -27
- package/dist/chunks/{plugin-9brshkr5.js → bus-j9k3j265.js} +17 -17
- package/dist/chunks/{plugin-xwffaj6p.js → bus-jct98qnh.js} +7 -7
- package/dist/chunks/{plugin-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{plugin-jh74jycr.js → bus-jh74jycr.js} +1 -1
- package/dist/chunks/{plugin-af0k6e03.js → bus-jqyqtkb2.js} +9 -9
- package/dist/chunks/{plugin-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{plugin-zd8qpfyv.js → bus-jwskem5m.js} +7 -7
- package/dist/chunks/bus-jztn5z23.js +18 -0
- package/dist/chunks/{plugin-jzsddmmt.js → bus-k0yyexjz.js} +4 -4
- package/dist/chunks/{plugin-a3vjmkxr.js → bus-k5gj6mdj.js} +2 -2
- package/dist/chunks/{plugin-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{plugin-etfsdzn3.js → bus-k8czmj01.js} +2 -2
- package/dist/chunks/{plugin-p0tsr9h6.js → bus-k98yejja.js} +7 -7
- package/dist/chunks/{plugin-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{plugin-0b7gzexh.js → bus-kw2mbtjb.js} +8 -8
- package/dist/chunks/{plugin-79cgpb4a.js → bus-m0pa6z8h.js} +17 -17
- package/dist/chunks/{plugin-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{plugin-43e24x2b.js → bus-m91kzycp.js} +12 -12
- package/dist/chunks/{plugin-ktg919s3.js → bus-m9cgb1kb.js} +181 -181
- package/dist/chunks/{plugin-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-gcrehvxf.js → bus-md7y7r04.js} +4 -4
- package/dist/chunks/{plugin-t9qkp5rw.js → bus-mf20dtnm.js} +9 -9
- package/dist/chunks/{plugin-9kpkhjk2.js → bus-mgxf3nw1.js} +8 -8
- package/dist/chunks/{plugin-13sfv54y.js → bus-mk0mrn7p.js} +5 -5
- package/dist/chunks/{plugin-n74ky04a.js → bus-mkc5pejr.js} +25 -25
- package/dist/chunks/{plugin-s7kyse9r.js → bus-mmx1mfjr.js} +4 -4
- package/dist/chunks/{plugin-ajnhcgwj.js → bus-mp1rva77.js} +15 -15
- package/dist/chunks/{plugin-s3xbe3tv.js → bus-mp3es3wh.js} +17 -17
- package/dist/chunks/{plugin-42rqyp4k.js → bus-mtbmcvn3.js} +22 -22
- package/dist/chunks/{plugin-atx93y9v.js → bus-mwy1hny1.js} +11 -11
- package/dist/chunks/{plugin-457hahnb.js → bus-n26fb8s5.js} +16 -16
- package/dist/chunks/{plugin-n72e3dxd.js → bus-n72e3dxd.js} +2 -2
- package/dist/chunks/{plugin-st7p3hwb.js → bus-n8d14czh.js} +2 -2
- package/dist/chunks/{plugin-82776bsn.js → bus-n9zmybh9.js} +10 -10
- package/dist/chunks/{plugin-k31rcwbk.js → bus-nbagtjvc.js} +11 -11
- package/dist/chunks/{plugin-ymz7p2c9.js → bus-nyarhxsa.js} +3 -3
- package/dist/chunks/{plugin-jm1kbgn5.js → bus-nykvvcdf.js} +30 -30
- package/dist/chunks/{plugin-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{plugin-qrez554k.js → bus-p2nwte34.js} +18 -18
- package/dist/chunks/{plugin-fqjx0mtk.js → bus-p7hw6s3p.js} +30 -30
- package/dist/chunks/{plugin-xt3tj154.js → bus-p982yv7g.js} +15 -15
- package/dist/chunks/{plugin-t57f7ggb.js → bus-pcw9jkqq.js} +25 -25
- package/dist/chunks/{plugin-x19938zk.js → bus-per75jj3.js} +13 -13
- package/dist/chunks/{plugin-bcastkv0.js → bus-php6tqqg.js} +13 -13
- package/dist/chunks/{plugin-z2cf1fxy.js → bus-pjq1t0mz.js} +6 -6
- package/dist/chunks/{plugin-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/bus-pth0qd0d.js +257 -0
- package/dist/chunks/{plugin-m4x6ymdg.js → bus-pwewe2xv.js} +17 -17
- package/dist/chunks/{plugin-623yr967.js → bus-q0130fbt.js} +8 -8
- package/dist/chunks/{plugin-q63cb7ap.js → bus-q63cb7ap.js} +3 -3
- package/dist/chunks/{plugin-7ycxtgxb.js → bus-q7x8fwh9.js} +32 -44
- package/dist/chunks/{plugin-k5c2ssdt.js → bus-qn0xtqx2.js} +1 -1
- package/dist/chunks/{plugin-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{plugin-8jvwjrps.js → bus-qyjx7zef.js} +54 -54
- package/dist/chunks/{plugin-3gp97vax.js → bus-r04jhjmv.js} +22 -22
- package/dist/chunks/{plugin-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{plugin-dys0nn3x.js → bus-r2dfnzky.js} +24 -24
- package/dist/chunks/{plugin-r41sfy63.js → bus-r41sfy63.js} +2 -2
- package/dist/chunks/{plugin-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{plugin-8rgb2cvr.js → bus-r7xar5ns.js} +11 -11
- package/dist/chunks/{plugin-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{plugin-5qrcxmcm.js → bus-rbrtkemz.js} +38 -38
- package/dist/chunks/{plugin-qgrpvdhs.js → bus-rhnkpwb6.js} +87 -87
- package/dist/chunks/{plugin-gcjdgkn2.js → bus-rjnacbrz.js} +9 -9
- package/dist/chunks/{plugin-p0fnxbrs.js → bus-rnsevbcg.js} +27 -27
- package/dist/chunks/{plugin-m07vw4yt.js → bus-rq99gy5c.js} +19 -19
- package/dist/chunks/{plugin-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{plugin-7yz3nkr2.js → bus-rt9gf2gx.js} +23 -23
- package/dist/chunks/{plugin-x41rd3ct.js → bus-s0sc04p0.js} +9 -9
- package/dist/chunks/{plugin-drvbhkez.js → bus-s7xmnr8t.js} +6 -6
- package/dist/chunks/{plugin-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{plugin-fjjkker5.js → bus-sfz5r5s7.js} +4 -4
- package/dist/chunks/{plugin-xh3etvdp.js → bus-sh3ewazw.js} +25 -25
- package/dist/chunks/{plugin-bddgjnn0.js → bus-sphh171f.js} +18 -18
- package/dist/chunks/{plugin-h2xt6wet.js → bus-sq4s6wq1.js} +4 -4
- package/dist/chunks/{plugin-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{plugin-zz4wg0fg.js → bus-svaxc9ga.js} +51 -51
- package/dist/chunks/{plugin-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{plugin-n10b8vxr.js → bus-t2zvsq3v.js} +21 -21
- package/dist/chunks/{plugin-60k7rxvs.js → bus-t4y8tttc.js} +13 -13
- package/dist/chunks/{plugin-0artd7x6.js → bus-t9pdq77j.js} +6 -6
- package/dist/chunks/{plugin-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{plugin-2yvtks3w.js → bus-tea79k12.js} +3 -3
- package/dist/chunks/{plugin-rvte90y7.js → bus-tf1zmpna.js} +29 -29
- package/dist/chunks/{plugin-ddvn7d3w.js → bus-tg1vr1qt.js} +8 -8
- package/dist/chunks/{plugin-z5vsfvmb.js → bus-tmcdqab3.js} +20 -20
- package/dist/chunks/{plugin-m10c82vj.js → bus-tnd9tkz8.js} +35 -35
- package/dist/chunks/{plugin-xp2r83c8.js → bus-tqjaw1k6.js} +19 -19
- package/dist/chunks/{plugin-zkbcvvjq.js → bus-tv1ncpxj.js} +33 -33
- package/dist/chunks/{plugin-e4tm35ss.js → bus-tw5b64mh.js} +44 -44
- package/dist/chunks/{plugin-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{plugin-qr5d7g8r.js → bus-tyqgnm1n.js} +89 -89
- package/dist/chunks/{plugin-qzwtc0ad.js → bus-v1pjhk6s.js} +46 -46
- package/dist/chunks/{plugin-0xhcwp0e.js → bus-v24v0w5v.js} +24 -24
- package/dist/chunks/{plugin-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{plugin-brtbsxkn.js → bus-vbjqtebd.js} +11 -11
- package/dist/chunks/{plugin-r72fjvgr.js → bus-vc91vb9f.js} +9 -9
- package/dist/chunks/{plugin-hfgk9wzg.js → bus-vmfhgzt5.js} +4 -4
- package/dist/chunks/{plugin-2cy9cbrx.js → bus-vt55bbet.js} +11 -11
- package/dist/chunks/{plugin-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{plugin-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-927xh9nh.js → bus-wd98jrzr.js} +23 -23
- package/dist/chunks/{plugin-y78g3j1n.js → bus-whzwjc82.js} +3 -3
- package/dist/chunks/{plugin-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{plugin-s4f8ct6t.js → bus-x26wqd07.js} +4 -4
- package/dist/chunks/{plugin-gb4m33x1.js → bus-x4rdhtj7.js} +4 -4
- package/dist/chunks/{plugin-197frfyp.js → bus-x6fw54z8.js} +12 -12
- package/dist/chunks/{plugin-n6adtcwm.js → bus-xb1jttyy.js} +5 -5
- package/dist/chunks/{plugin-xd9cc171.js → bus-xd9cc171.js} +1 -1
- package/dist/chunks/bus-xgvyah86.js +26 -0
- package/dist/chunks/{plugin-hv8gebrm.js → bus-xq8cwy21.js} +21 -21
- package/dist/chunks/{plugin-wcqyq6xg.js → bus-y17k4q4v.js} +11 -11
- package/dist/chunks/{plugin-y4w3wqv8.js → bus-y4beb61a.js} +12 -12
- package/dist/chunks/{plugin-qkw2jr9b.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{plugin-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{plugin-msya5s3a.js → bus-yeyfr6zk.js} +11 -11
- package/dist/chunks/{plugin-h6evkf2m.js → bus-yf5es9e1.js} +17 -17
- package/dist/chunks/{plugin-sqcd90z6.js → bus-ygn5zq2v.js} +6 -6
- package/dist/chunks/{plugin-s9eh0yy5.js → bus-yyjb7mzv.js} +35 -35
- package/dist/chunks/{plugin-6c2a7p2k.js → bus-z06bhcj3.js} +15 -15
- package/dist/chunks/{plugin-ggxt8q7a.js → bus-z1pk19p9.js} +25 -25
- package/dist/chunks/{plugin-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/{plugin-amcehceb.js → bus-z70brj9w.js} +6 -6
- package/dist/chunks/{plugin-xv9vyde2.js → bus-zag14nrm.js} +13 -13
- package/dist/chunks/{plugin-zzdv5d93.js → bus-zba5tm1j.js} +4 -4
- package/dist/chunks/{plugin-yexzw78a.js → bus-zfqs8zdj.js} +4 -4
- package/dist/chunks/{plugin-91y6r506.js → bus-zhbst0xe.js} +13 -13
- package/dist/chunks/{plugin-3rcscnb1.js → bus-zhdefwpn.js} +4 -4
- package/dist/chunks/{plugin-k83ve1kc.js → bus-zhg8hwj9.js} +6 -6
- package/dist/chunks/{plugin-1xpesaja.js → bus-zw8syyj9.js} +55 -55
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +120 -120
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +120 -120
- 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 +126 -126
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +373 -377
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- 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 +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +3 -3
- package/dist/instance.js +366 -370
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +162 -162
- 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 +97 -97
- 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 +106 -106
- 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 +84 -84
- 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 +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- 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 +123 -123
- 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 +130 -130
- 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 +357 -361
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +117 -117
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- 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 +1 -1
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +227 -227
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- 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 +1 -1
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +106 -106
- 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 +5 -5
- package/dist/session/session.js +172 -172
- 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 +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +154 -154
- package/dist/tool/plugin/opencode.js +151 -151
- package/dist/tool/plugin/patch.js +154 -154
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +226 -226
- 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 +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- 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 +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +9 -12
- package/dist/chunks/plugin-f8ma18fn.js +0 -18
- package/dist/chunks/plugin-kq90df9y.js +0 -26
- package/dist/chunks/plugin-veqvce7d.js +0 -15
- package/dist/chunks/plugin-vxp4ss06.js +0 -32
- package/dist/chunks/plugin-ym463w8f.js +0 -17
- package/dist/chunks/plugin-z0bkrqjs.js +0 -15
- package/dist/chunks/plugin-zjx96n3w.js +0 -257
- 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/{plugin-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1jakw16s.js → bus-1jakw16s.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4m86bj6y.js → bus-4m86bj6y.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{plugin-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
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
15
|
Service49
|
|
16
|
-
} from "./
|
|
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
35
|
NotFoundError4,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
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
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name11 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input11 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -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*
|
|
123
|
+
const sessions = yield* Service13;
|
|
124
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",
|
|
@@ -148,7 +148,7 @@ var Plugin4 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name11,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin4 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name11,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input11,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name11,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name11];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -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 {
|
|
269
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin13, exports_shell };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./bus-b3yncftq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./bus-9ejttjga.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-tea79k12.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-gg8p9cgs.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-dt017gbd.js";
|
|
24
24
|
import {
|
|
25
25
|
decodeMessageRow2,
|
|
26
26
|
preview2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-82cx696m.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service67,
|
|
30
|
+
node71
|
|
31
|
+
} from "./bus-mp1rva77.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service36,
|
|
34
|
+
node39
|
|
35
|
+
} from "./bus-rbrtkemz.js";
|
|
36
36
|
import {
|
|
37
37
|
llmClient2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./bus-p015t6z3.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service26,
|
|
41
|
+
node29
|
|
42
|
+
} from "./bus-vbjqtebd.js";
|
|
43
43
|
import {
|
|
44
44
|
baseTranscript2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./bus-d549k1v9.js";
|
|
46
46
|
import {
|
|
47
47
|
make10
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./bus-26x8chrq.js";
|
|
49
49
|
import {
|
|
50
50
|
toSessionError2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./bus-9mv7prxk.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
Service11,
|
|
54
|
+
node13,
|
|
55
55
|
estimatePrompt2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./bus-tw5b64mh.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
58
|
+
node46
|
|
59
|
+
} from "./bus-yeyfr6zk.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service15,
|
|
62
|
+
node18
|
|
63
|
+
} from "./bus-tyqgnm1n.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./bus-djh6j75c.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service6,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node8
|
|
73
|
+
} from "./bus-gfavdftz.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
76
|
Service45
|
|
77
|
-
} from "./
|
|
77
|
+
} from "./bus-2mbjfaxd.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node32
|
|
80
|
+
} from "./bus-54gmmeqn.js";
|
|
81
81
|
import {
|
|
82
82
|
Outcome2,
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
83
|
+
make8
|
|
84
|
+
} from "./bus-mtbmcvn3.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
Service22
|
|
87
|
+
} from "./bus-jztn5z23.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
node15
|
|
90
|
+
} from "./bus-5pw3r2ne.js";
|
|
91
91
|
import {
|
|
92
92
|
MAX_STEPS_PROMPT2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./bus-y44na4kk.js";
|
|
94
94
|
import {
|
|
95
95
|
__export
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./bus-9rqn6x4v.js";
|
|
97
97
|
|
|
98
98
|
// src/session/runner/llm.ts
|
|
99
99
|
var exports_llm = {};
|
|
100
100
|
__export(exports_llm, {
|
|
101
101
|
SessionRunnerLLM: () => exports_llm,
|
|
102
|
-
node: () =>
|
|
102
|
+
node: () => node7
|
|
103
103
|
});
|
|
104
104
|
import { Message } from "@opencode/ai/effect";
|
|
105
105
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -108,16 +108,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
108
108
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
109
109
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
110
110
|
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
111
|
-
const bus = yield*
|
|
112
|
-
const lifecycle = yield*
|
|
113
|
-
const store = yield*
|
|
114
|
-
const context = yield*
|
|
115
|
-
const modelTransport = yield*
|
|
116
|
-
const db = (yield*
|
|
117
|
-
const compaction = yield*
|
|
118
|
-
const plugins = yield*
|
|
119
|
-
const title = yield*
|
|
120
|
-
const steps = yield*
|
|
111
|
+
const bus = yield* Service85;
|
|
112
|
+
const lifecycle = yield* Service36;
|
|
113
|
+
const store = yield* Service67;
|
|
114
|
+
const context = yield* Service15;
|
|
115
|
+
const modelTransport = yield* Service26;
|
|
116
|
+
const db = (yield* Service86).db;
|
|
117
|
+
const compaction = yield* Service11;
|
|
118
|
+
const plugins = yield* Service22;
|
|
119
|
+
const title = yield* Service6;
|
|
120
|
+
const steps = yield* make8;
|
|
121
121
|
const titles = yield* FiberMap.make();
|
|
122
122
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
123
123
|
const sessionID = input.sessionID;
|
|
@@ -390,23 +390,23 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
390
390
|
});
|
|
391
391
|
return Service45.of({ drain });
|
|
392
392
|
}));
|
|
393
|
-
var
|
|
393
|
+
var node7 = makeLocationNode({
|
|
394
394
|
service: Service45,
|
|
395
395
|
layer,
|
|
396
396
|
deps: [
|
|
397
|
-
|
|
398
|
-
|
|
397
|
+
node89,
|
|
398
|
+
node39,
|
|
399
399
|
llmClient2,
|
|
400
|
+
node18,
|
|
400
401
|
node29,
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
node88
|
|
402
|
+
node71,
|
|
403
|
+
node13,
|
|
404
|
+
node15,
|
|
405
|
+
node8,
|
|
406
|
+
node32,
|
|
407
|
+
node46,
|
|
408
|
+
node90
|
|
409
409
|
]
|
|
410
410
|
});
|
|
411
411
|
|
|
412
|
-
export {
|
|
412
|
+
export { node7, exports_llm };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./bus-j9k3j265.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./bus-r2dfnzky.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service62
|
|
16
|
+
} from "./bus-78e9150v.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-gypkc13r.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service65
|
|
26
|
+
} from "./bus-gy4h7feh.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service35
|
|
29
|
+
} from "./bus-z1pk19p9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./bus-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin4,
|
|
41
|
+
name: () => name4,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name4 = "grep";
|
|
48
|
+
var Input4 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin4 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service63;
|
|
90
|
+
const ripgrep = yield* Service62;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service35;
|
|
93
|
+
const permission = yield* Service65;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name4,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input4,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name4,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin12 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin12 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name4, Input4, Output4, toModelContent3, Plugin4, exports_grep };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./bus-m91kzycp.js";
|
|
8
8
|
import {
|
|
9
9
|
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-xd9cc171.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service82,
|
|
16
|
+
node86
|
|
17
|
+
} from "./bus-6nnjhmtv.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service81,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node85,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service81 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service82;
|
|
110
|
+
return Service81.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node85 = makeGlobalNode({
|
|
173
|
+
service: Service81,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node86]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service81, isError2, validateBranch2, node85, exports_repository_cache };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options8,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options8 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options8, Spec2, exports_plugin3 };
|