@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,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,9 +69,9 @@ var layer22 = (options) => Layer.effect(Service58, 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
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make22({
|
|
75
75
|
key,
|
|
76
76
|
codec: Schema.toCodecJson(Files),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -87,7 +87,7 @@ var layer22 = (options) => Layer.effect(Service58, 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 layer22 = (options) => Layer.effect(Service58, 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
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID14
|
|
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,49 +1,49 @@
|
|
|
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
|
-
ID: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
17
|
Info: () => Info12,
|
|
18
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";
|
|
25
25
|
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
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
29
|
var Info12 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
31
|
class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
-
id:
|
|
32
|
+
id: ID9
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID9,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
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);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID9.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
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 {
|
|
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 Input10 = 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 Plugin13 = {
|
|
|
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(Service39, () => {
|
|
|
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 };
|