@opencode/core 0.0.0-dev-289 → 0.0.0-dev-306
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 +93 -93
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/{bus-69qaetne.js → location-011mqk6m.js} +10 -10
- package/dist/chunks/{bus-034tev2y.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{bus-cthv9wj3.js → location-07bhy05n.js} +4 -4
- package/dist/chunks/{bus-a8xhnh8r.js → location-0d0e2qqj.js} +9 -9
- package/dist/chunks/{bus-zp9gm7r4.js → location-147wqxjy.js} +7 -7
- package/dist/chunks/{bus-1aqsckx4.js → location-1aqsckx4.js} +1 -1
- package/dist/chunks/{bus-1ep2p91f.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-1x2knyw4.js → location-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-5zrxpy3q.js → location-1yq9hg58.js} +5 -5
- package/dist/chunks/{bus-204s3925.js → location-204s3925.js} +1 -1
- package/dist/chunks/{bus-8b3vzgkx.js → location-25h84942.js} +4 -4
- package/dist/chunks/{bus-zg0jbn27.js → location-26x8chrq.js} +6 -6
- package/dist/chunks/{bus-w5tfs3xv.js → location-28365gvt.js} +27 -27
- package/dist/chunks/{bus-575z11gq.js → location-2bwv8tnq.js} +83 -83
- package/dist/chunks/{bus-49csh3aq.js → location-2f6y3wyx.js} +11 -11
- package/dist/chunks/{bus-g0c8njd6.js → location-2sjtpkz1.js} +17 -17
- package/dist/chunks/{bus-fyet71y6.js → location-2spvqkt6.js} +13 -13
- package/dist/chunks/{bus-cpq36wag.js → location-2y347c6b.js} +2 -2
- package/dist/chunks/{bus-e2hnaftq.js → location-2znspyh0.js} +13 -13
- package/dist/chunks/{bus-52a7vhz9.js → location-336ptya5.js} +9 -9
- package/dist/chunks/{bus-tjpr2y5p.js → location-34pknpnd.js} +32 -32
- package/dist/chunks/{bus-awcvvmmh.js → location-35bjdts5.js} +7 -7
- package/dist/chunks/{bus-a2cs3nkj.js → location-3dbyenxe.js} +18 -18
- package/dist/chunks/{bus-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-zjrxxzj0.js → location-3jqxp1k9.js} +17 -17
- package/dist/chunks/{bus-ra8788f1.js → location-3jwa21mm.js} +14 -14
- package/dist/chunks/{bus-5m1vxyv7.js → location-3mtcb7b3.js} +21 -21
- package/dist/chunks/{bus-br0kkpnn.js → location-3ryz99p0.js} +7 -7
- package/dist/chunks/{bus-ngqtdgwj.js → location-3sg64nxm.js} +11 -11
- package/dist/chunks/{bus-7qgpgca8.js → location-3sty8408.js} +9 -9
- package/dist/chunks/{bus-w2eysc6j.js → location-40za9wsf.js} +9 -9
- package/dist/chunks/{bus-yerc3n1d.js → location-43mtkq1f.js} +19 -19
- package/dist/chunks/{bus-hfvb93vm.js → location-44vsgcd8.js} +7 -7
- package/dist/chunks/{bus-cpzqp2fy.js → location-49bazr4g.js} +21 -21
- package/dist/chunks/{bus-3hcdh98k.js → location-4bbpqcw3.js} +20 -20
- package/dist/chunks/{bus-y13v0twb.js → location-4c0eh56a.js} +7 -7
- package/dist/chunks/{bus-2m3n8trw.js → location-4c7peeks.js} +21 -21
- package/dist/chunks/{bus-4dx1dgte.js → location-4dx1dgte.js} +1 -1
- package/dist/chunks/{bus-vbye706w.js → location-4f5ax2dv.js} +11 -11
- package/dist/chunks/{bus-kep337bh.js → location-4h609sqz.js} +29 -29
- package/dist/chunks/{bus-jns8hwea.js → location-4ntm1ty7.js} +9 -9
- package/dist/chunks/{bus-4pyp9zr9.js → location-4pyp9zr9.js} +1 -1
- package/dist/chunks/{bus-4v008n1t.js → location-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-7w2fvyx3.js → location-50w453fn.js} +5 -5
- package/dist/chunks/{bus-51eb7mjh.js → location-5225t9m9.js} +19 -19
- package/dist/chunks/{bus-xqy8bnpk.js → location-536gnnhd.js} +28 -28
- package/dist/chunks/{bus-ykcfw5aj.js → location-5bnajwfk.js} +37 -37
- package/dist/chunks/{bus-qzp5va9j.js → location-5dcrg5my.js} +5 -5
- package/dist/chunks/{bus-2h0p855r.js → location-5h2db7ke.js} +21 -21
- package/dist/chunks/{bus-bffjwd0h.js → location-5j5yn56v.js} +4 -4
- package/dist/chunks/{bus-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-ezxqpfxm.js → location-5pq7k0xn.js} +22 -22
- package/dist/chunks/{bus-8qdv48w6.js → location-5wsenn9a.js} +18 -18
- package/dist/chunks/{bus-2r961k25.js → location-62s3a18k.js} +30 -30
- package/dist/chunks/{bus-tqqfg69e.js → location-662rk1k7.js} +4 -4
- package/dist/chunks/{bus-2ekpsjrd.js → location-6bd340sn.js} +8 -8
- package/dist/chunks/{bus-6esdw8yj.js → location-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-fs5n14ns.js → location-74n62q8p.js} +3 -3
- package/dist/chunks/{bus-w8qtt4th.js → location-76cb1hcw.js} +4 -4
- package/dist/chunks/{bus-76484c78.js → location-78m9g99c.js} +34 -34
- package/dist/chunks/{bus-g4fxxdad.js → location-7a4v4c26.js} +14 -14
- package/dist/chunks/{bus-q7etwwh3.js → location-7ahw8xm3.js} +347 -347
- package/dist/chunks/{bus-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-vt4e1yq1.js → location-7gh51h4m.js} +20 -20
- package/dist/chunks/{bus-drnpqen8.js → location-7j88ajzy.js} +21 -21
- package/dist/chunks/{bus-4ymxdy0q.js → location-7kqn30mb.js} +37 -37
- package/dist/chunks/{bus-7kr66rt3.js → location-7kr66rt3.js} +1 -1
- package/dist/chunks/{bus-7w2ypzdf.js → location-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-0wbhgcbg.js → location-85hx114z.js} +24 -24
- package/dist/chunks/{bus-rbhxwcn9.js → location-85qde3ax.js} +24 -24
- package/dist/chunks/{bus-mrghrmjv.js → location-8gqhbr3y.js} +8 -8
- package/dist/chunks/{bus-vn19g02f.js → location-8jjf20rn.js} +11 -11
- package/dist/chunks/{bus-8jztxfpf.js → location-8jztxfpf.js} +1 -1
- package/dist/chunks/{bus-fny70jpy.js → location-8k8pzbp4.js} +8 -8
- package/dist/chunks/{bus-kjtxyeth.js → location-8prsd97r.js} +29 -29
- package/dist/chunks/{bus-8wtp7s3z.js → location-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-90zstvax.js → location-90zstvax.js} +1 -1
- package/dist/chunks/{bus-etdqq0cw.js → location-97r9t6wm.js} +14 -14
- package/dist/chunks/{bus-v2j1w0x8.js → location-98n7hra1.js} +27 -27
- package/dist/chunks/{bus-hgkk61tq.js → location-99gmmhwa.js} +14 -14
- package/dist/chunks/{bus-fhgnjd8f.js → location-9ahqkxsp.js} +3 -3
- package/dist/chunks/{bus-035gwyrd.js → location-9eh5kz8z.js} +17 -17
- package/dist/chunks/{bus-ktbdp5sq.js → location-9excscth.js} +16 -16
- package/dist/chunks/{bus-vh504zcn.js → location-9hw2m1zw.js} +24 -24
- package/dist/chunks/{bus-t8jxhxf0.js → location-9p40vjn2.js} +6 -6
- package/dist/chunks/{bus-b2zx6heh.js → location-9xnamytp.js} +22 -22
- package/dist/chunks/{bus-fq6jwnpn.js → location-ads06k24.js} +16 -16
- package/dist/chunks/{bus-0ng08tej.js → location-agx6da5f.js} +46 -46
- package/dist/chunks/{bus-pt50s3rp.js → location-akkhd0hr.js} +13 -13
- package/dist/chunks/{bus-kcvnx629.js → location-aqr5273r.js} +13 -13
- package/dist/chunks/{bus-ayjs7tqn.js → location-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-3bgf9gas.js → location-b3a32pfz.js} +4 -4
- package/dist/chunks/{bus-b6vsg801.js → location-b6vsg801.js} +2 -2
- package/dist/chunks/{bus-xekbftp9.js → location-bbnmh3xr.js} +36 -36
- package/dist/chunks/{bus-vngmfa0y.js → location-bd1zsfw8.js} +12 -12
- package/dist/chunks/{bus-m2gbvgsm.js → location-beqawg79.js} +10 -10
- package/dist/chunks/{bus-tah5h4rf.js → location-bfhbctn3.js} +27 -27
- package/dist/chunks/{bus-a3abfedh.js → location-bgd12eww.js} +177 -177
- package/dist/chunks/{bus-3ab4thcb.js → location-bhyrg0mn.js} +17 -17
- package/dist/chunks/{bus-f4d37vpd.js → location-bpjheaj0.js} +21 -21
- package/dist/chunks/{bus-vqy5ky1c.js → location-bqxm09jz.js} +49 -49
- package/dist/chunks/{bus-frqt40cp.js → location-brd5eeq0.js} +8 -8
- package/dist/chunks/{bus-bstexjd6.js → location-bstexjd6.js} +1 -1
- package/dist/chunks/{bus-5bh17wth.js → location-c3qstxzp.js} +4 -4
- package/dist/chunks/{bus-7cen1ph9.js → location-cm18kf9d.js} +18 -18
- package/dist/chunks/{bus-z4bv03nd.js → location-cmkpv6mv.js} +8 -8
- package/dist/chunks/{bus-tgq44zsz.js → location-cvsegsfy.js} +36 -36
- package/dist/chunks/{bus-cwrgdav8.js → location-cwrgdav8.js} +2 -2
- package/dist/chunks/{bus-c9t2ty9q.js → location-d2887f8n.js} +4 -4
- package/dist/chunks/{bus-d4v9tmah.js → location-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-6xqtcmxs.js → location-dbmp929s.js} +5 -5
- package/dist/chunks/{bus-m543aemt.js → location-de6znanw.js} +31 -31
- package/dist/chunks/{bus-hvj4yv7n.js → location-dgambtz7.js} +25 -25
- package/dist/chunks/{bus-29x0cc93.js → location-djd49kbm.js} +2 -2
- package/dist/chunks/{bus-d77s9pbc.js → location-dn2kncps.js} +3 -3
- package/dist/chunks/{bus-dt77769w.js → location-dt77769w.js} +1 -1
- package/dist/chunks/{bus-b3jxbtnx.js → location-dxrghr56.js} +28 -28
- package/dist/chunks/{bus-h0rg6s60.js → location-e45fk36t.js} +4 -4
- package/dist/chunks/{bus-sj7nrpyn.js → location-e71bb87j.js} +8 -8
- package/dist/chunks/{bus-e834z07m.js → location-e834z07m.js} +1 -1
- package/dist/chunks/{bus-yawcbgfa.js → location-efbqjxxv.js} +12 -12
- package/dist/chunks/{bus-yjrvtctt.js → location-efswkf52.js} +33 -33
- package/dist/chunks/{bus-7y699k02.js → location-egx4syav.js} +18 -18
- package/dist/chunks/{bus-eqmd2tfz.js → location-eqmd2tfz.js} +1 -1
- package/dist/chunks/{bus-hdmjpy1q.js → location-esh8axw0.js} +13 -13
- package/dist/chunks/{bus-qhpag1je.js → location-et87mf2s.js} +78 -78
- package/dist/chunks/location-ev660z6k.js +18 -0
- package/dist/chunks/{bus-cs03zenh.js → location-eyba04wr.js} +26 -26
- package/dist/chunks/{bus-31c2mw6w.js → location-eyc69scq.js} +29 -29
- package/dist/chunks/{bus-vk9zw07y.js → location-f5vve9yn.js} +8 -8
- package/dist/chunks/{bus-92xfmazx.js → location-f6bwzamp.js} +12 -12
- package/dist/chunks/{bus-x98gaemw.js → location-fd5e9wgq.js} +14 -14
- package/dist/chunks/{bus-7t2s76wb.js → location-fdjpgvma.js} +23 -23
- package/dist/chunks/{bus-fffv3p7h.js → location-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-rea9cvrf.js → location-fffxyf18.js} +13 -13
- package/dist/chunks/{bus-fg9p65nk.js → location-fg9p65nk.js} +2 -2
- package/dist/chunks/{bus-w544y36y.js → location-fhyh4p9b.js} +23 -23
- package/dist/chunks/{bus-v2870mkz.js → location-fr9j7gn6.js} +58 -58
- package/dist/chunks/{bus-w687dnns.js → location-fznmdakp.js} +4 -4
- package/dist/chunks/{bus-sn9h79g5.js → location-g32ax1nd.js} +11 -11
- package/dist/chunks/{bus-h3z5mgtw.js → location-g8tf0a0n.js} +24 -24
- package/dist/chunks/{bus-rn70abkx.js → location-gd3reat4.js} +25 -25
- package/dist/chunks/{bus-sqbb0ctm.js → location-ghrzdqqx.js} +5 -5
- package/dist/chunks/{bus-zdtacmaj.js → location-gk8yz1wb.js} +15 -15
- package/dist/chunks/{bus-k8awy0q8.js → location-gm0ycg18.js} +18 -18
- package/dist/chunks/{bus-12hm338z.js → location-gprb4n4c.js} +5 -5
- package/dist/chunks/{bus-f7vg2spm.js → location-gxt6edwm.js} +27 -27
- package/dist/chunks/{bus-6hwszbb1.js → location-h3chngrm.js} +13 -13
- package/dist/chunks/{bus-h1qqpagn.js → location-h949k007.js} +4 -4
- package/dist/chunks/{bus-dpv800ng.js → location-hch7yraj.js} +11 -11
- package/dist/chunks/{bus-2nhtnnqc.js → location-hdmnesa6.js} +5 -5
- package/dist/chunks/{bus-p7xmw0vp.js → location-hh67hv7z.js} +32 -32
- package/dist/chunks/{bus-hh7kjqtw.js → location-hh7kjqtw.js} +1 -1
- package/dist/chunks/{bus-e6eh7vrv.js → location-hhaywkwm.js} +11 -11
- package/dist/chunks/{bus-6asry735.js → location-hhdnbsvt.js} +22 -22
- package/dist/chunks/{bus-hpg1pkwy.js → location-hpg1pkwy.js} +1 -1
- package/dist/chunks/{bus-2zp5a6yg.js → location-hqxkkta1.js} +3 -3
- package/dist/chunks/location-hwkge4a4.js +26 -0
- package/dist/chunks/{bus-2cm6e4d9.js → location-j1pnkskb.js} +9 -9
- package/dist/chunks/{bus-7c67ap9y.js → location-j2c5g3b2.js} +25 -25
- package/dist/chunks/{bus-zjsk2z5z.js → location-j6fakqra.js} +3 -3
- package/dist/chunks/{bus-xcax8ehy.js → location-jbbta00e.js} +4 -4
- package/dist/chunks/{bus-gcjdgkn2.js → location-jcqm84fr.js} +9 -9
- package/dist/chunks/{bus-jfaecv01.js → location-jfaecv01.js} +1 -1
- package/dist/chunks/{bus-1c5h7qx9.js → location-jgw0ez2q.js} +33 -33
- package/dist/chunks/{bus-jpspt4jx.js → location-jrbmxwcc.js} +9 -9
- package/dist/chunks/{bus-jtnps1zs.js → location-jtnps1zs.js} +2 -2
- package/dist/chunks/{bus-d01pvx5j.js → location-jyg8crv2.js} +30 -30
- package/dist/chunks/{bus-6drawnv9.js → location-jzgtnw1d.js} +6 -6
- package/dist/chunks/{bus-65qft472.js → location-k2034wbj.js} +45 -45
- package/dist/chunks/{bus-3gtbytbs.js → location-k4pwdphg.js} +30 -30
- package/dist/chunks/{bus-ny5rdk5x.js → location-k6586ewx.js} +21 -21
- package/dist/chunks/{bus-k814nvkf.js → location-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-2fp4k9wp.js → location-kawgm7c0.js} +7 -7
- package/dist/chunks/{bus-kcg78dnn.js → location-kcg78dnn.js} +2 -2
- package/dist/chunks/{bus-kt3bjfbg.js → location-kt3bjfbg.js} +1 -1
- package/dist/chunks/{bus-mf08p8w6.js → location-kv1pxpnb.js} +4 -4
- package/dist/chunks/{bus-2r3850vs.js → location-kytj30gb.js} +11 -11
- package/dist/chunks/{bus-m1714858.js → location-m1714858.js} +1 -1
- package/dist/chunks/{bus-dgma0v0g.js → location-m89858wj.js} +3 -3
- package/dist/chunks/{bus-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-mb7mbhnz.js → location-mb7mbhnz.js} +3 -3
- package/dist/chunks/{bus-mg78vh23.js → location-mfmmqpne.js} +26 -26
- package/dist/chunks/{bus-jfeae8gq.js → location-mkc9xh75.js} +11 -11
- package/dist/chunks/{bus-mq74yj6v.js → location-ms8gjsg9.js} +19 -19
- package/dist/chunks/{bus-5pqt1ves.js → location-mt21hhzj.js} +6 -6
- package/dist/chunks/{bus-48w6hcnx.js → location-mw7rhp6d.js} +50 -50
- package/dist/chunks/{bus-tk3aqx3r.js → location-my54cbqv.js} +5 -5
- package/dist/chunks/location-n30bqkse.js +257 -0
- package/dist/chunks/{bus-nah043kf.js → location-nah043kf.js} +1 -1
- package/dist/chunks/{bus-xn1nx1d0.js → location-nbm7yy57.js} +12 -12
- package/dist/chunks/{bus-yhbr98pk.js → location-nesyvdwa.js} +1 -1
- package/dist/chunks/{bus-eqsxy33h.js → location-nf3n4x4w.js} +20 -20
- package/dist/chunks/{bus-h4dxcp4f.js → location-nkbs8pm4.js} +9 -9
- package/dist/chunks/{bus-v8tswgn5.js → location-nva9eqjm.js} +5 -5
- package/dist/chunks/{bus-p015t6z3.js → location-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-zv45q5yw.js → location-pa2rdw4x.js} +19 -19
- package/dist/chunks/{bus-q4tyq9ws.js → location-pk0dqn8g.js} +5 -5
- package/dist/chunks/{bus-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{bus-zks02zyq.js → location-pqs4b36k.js} +21 -21
- package/dist/chunks/{bus-dak0tad4.js → location-q1abnwp6.js} +11 -11
- package/dist/chunks/{bus-q6jcx9v8.js → location-q2571jsw.js} +9 -9
- package/dist/chunks/{bus-03tkxxad.js → location-q2kxgsvb.js} +7 -7
- package/dist/chunks/{bus-97kyzmq9.js → location-q6jmyack.js} +12 -12
- package/dist/chunks/{bus-k0a6q0yn.js → location-qf791z7a.js} +21 -21
- package/dist/chunks/{bus-qen3sb0r.js → location-qgs1tbcx.js} +19 -19
- package/dist/chunks/{bus-r13t3b9j.js → location-qnghve6e.js} +8 -8
- package/dist/chunks/{bus-qp7r0hxv.js → location-qp7r0hxv.js} +1 -1
- package/dist/chunks/{bus-qqvy8y24.js → location-qqvy8y24.js} +1 -1
- package/dist/chunks/{bus-sf2xpkzh.js → location-qxhe8vts.js} +14 -14
- package/dist/chunks/{bus-e2tz7wpg.js → location-r0pyvz6f.js} +14 -14
- package/dist/chunks/{bus-q1fzghr8.js → location-r20zdgj9.js} +5 -5
- package/dist/chunks/{bus-3cdb6jh7.js → location-r440h8qp.js} +11 -11
- package/dist/chunks/{bus-r542h3bh.js → location-r542h3bh.js} +1 -1
- package/dist/chunks/{bus-sstzxn5v.js → location-r7dkdyp5.js} +27 -27
- package/dist/chunks/{bus-rb9dy4dg.js → location-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-4e0wk5h0.js → location-rbndg51d.js} +6 -6
- package/dist/chunks/{bus-qcejv4vs.js → location-rerwg0b9.js} +12 -12
- package/dist/chunks/{bus-t1ncm3sw.js → location-rp03b2v5.js} +6 -6
- package/dist/chunks/{bus-rt5dr6hb.js → location-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-xx90gxeb.js → location-rw03ft0n.js} +5 -5
- package/dist/chunks/{bus-4bwthz3m.js → location-s2pfznc4.js} +6 -6
- package/dist/chunks/{bus-s6h2s3rz.js → location-s6h2s3rz.js} +1 -1
- package/dist/chunks/{bus-w35wzz9x.js → location-s7kyse9r.js} +4 -4
- package/dist/chunks/{bus-sa3fpqfw.js → location-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-2a3k1wv5.js → location-scgs57d2.js} +15 -15
- package/dist/chunks/{bus-k4xj7eng.js → location-sh1my6rk.js} +44 -44
- package/dist/chunks/{bus-sdvwnsbz.js → location-sh2m58zd.js} +43 -43
- package/dist/chunks/{bus-zg8ezejd.js → location-spehfrkg.js} +24 -24
- package/dist/chunks/{bus-0j7gp832.js → location-sqjzf8x2.js} +4 -4
- package/dist/chunks/{bus-svcy3p9a.js → location-svcy3p9a.js} +1 -1
- package/dist/chunks/{bus-67zhfnr5.js → location-t8erkws8.js} +5 -5
- package/dist/chunks/{bus-tczq8hjw.js → location-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-mckw022z.js → location-tfgkb3f6.js} +23 -23
- package/dist/chunks/{bus-hw621kav.js → location-tg1vr1qt.js} +8 -8
- package/dist/chunks/{bus-w169zm22.js → location-tjspe09c.js} +10 -10
- package/dist/chunks/{bus-ep9jv767.js → location-tkxe7v6f.js} +22 -22
- package/dist/chunks/{bus-3nnrz6f6.js → location-tmc7xdjs.js} +4 -4
- package/dist/chunks/{bus-jgb4byfw.js → location-trmt4qt7.js} +22 -22
- package/dist/chunks/{bus-fzc03kzf.js → location-tsz093v2.js} +8 -8
- package/dist/chunks/{bus-twssxy5n.js → location-twssxy5n.js} +2 -2
- package/dist/chunks/{bus-v2r1d0zg.js → location-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-84dshbdw.js → location-v2yyptek.js} +8 -8
- package/dist/chunks/{bus-h9mbsjx4.js → location-v3h869xg.js} +8 -8
- package/dist/chunks/{bus-b3tzc6nv.js → location-v3swpve8.js} +15 -15
- package/dist/chunks/{bus-kwd8c3vr.js → location-v6x8hkr5.js} +11 -11
- package/dist/chunks/{bus-9gw8ma18.js → location-va0kemka.js} +3 -3
- package/dist/chunks/{bus-pvky507n.js → location-vfgkptxa.js} +14 -14
- package/dist/chunks/{bus-8sykf8qj.js → location-vha2yqec.js} +10 -10
- package/dist/chunks/{bus-pcg52kfg.js → location-vkdfbcf5.js} +16 -16
- package/dist/chunks/{bus-hpzmd9sp.js → location-vnqrb8rh.js} +22 -22
- package/dist/chunks/{bus-46g4z5g0.js → location-vpndcmkw.js} +30 -30
- package/dist/chunks/{bus-kxycnn0n.js → location-vwmyycjt.js} +11 -11
- package/dist/chunks/{bus-0rxmz96k.js → location-vze99txj.js} +20 -20
- package/dist/chunks/{bus-mv9srazj.js → location-vztbg1g9.js} +11 -11
- package/dist/chunks/{bus-akbqzhz4.js → location-w3ee0mms.js} +2 -2
- package/dist/chunks/{bus-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-pftwp2vv.js → location-w4dn9kj3.js} +79 -79
- package/dist/chunks/{bus-yajc3msk.js → location-w510rxtp.js} +5 -5
- package/dist/chunks/{bus-55g8rfra.js → location-w62z9fyd.js} +3 -3
- package/dist/chunks/{bus-w67s4ywc.js → location-w67s4ywc.js} +2 -2
- package/dist/chunks/{bus-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{bus-wegkxhrn.js → location-wegkxhrn.js} +2 -2
- package/dist/chunks/{bus-wnhgecwx.js → location-wnhgecwx.js} +1 -1
- package/dist/chunks/{bus-jh77bd4v.js → location-wpkqvnzq.js} +12 -12
- package/dist/chunks/{bus-40hpa6ae.js → location-wrd39zd3.js} +9 -9
- package/dist/chunks/{bus-tk6xpnq1.js → location-x07fr6ah.js} +11 -11
- package/dist/chunks/{bus-jpvcj0cc.js → location-x79e7hsz.js} +6 -6
- package/dist/chunks/{bus-rg3ak8wp.js → location-x7fqccva.js} +12 -12
- package/dist/chunks/{bus-ef57czcv.js → location-x8fyy5bn.js} +4 -4
- package/dist/chunks/{bus-hgfegmhz.js → location-xbq7ap0g.js} +8 -4
- package/dist/chunks/{bus-ays56k31.js → location-xbvaqmtc.js} +40 -40
- package/dist/chunks/{bus-zr86xb8x.js → location-xhz7bc8m.js} +11 -11
- package/dist/chunks/{bus-hcysmks0.js → location-xnwqffna.js} +3 -3
- package/dist/chunks/{bus-cvdbenw8.js → location-xrbbh422.js} +2 -2
- package/dist/chunks/{bus-eez5fkq7.js → location-xwswqzhk.js} +6 -6
- package/dist/chunks/{bus-nbb711pz.js → location-y0xdaqa2.js} +11 -11
- package/dist/chunks/{bus-3p57dcxh.js → location-y4n6pw34.js} +4 -4
- package/dist/chunks/{bus-yara3q77.js → location-yara3q77.js} +2 -2
- package/dist/chunks/{bus-yb20nhc3.js → location-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-tpgbm1m3.js → location-yg79hbqn.js} +3 -3
- package/dist/chunks/{bus-nxkdkrxs.js → location-yh2v5kew.js} +45 -45
- package/dist/chunks/{bus-zs176x18.js → location-ym7mkmya.js} +16 -16
- package/dist/chunks/{bus-g1wftvqf.js → location-ysnxehz4.js} +21 -21
- package/dist/chunks/{bus-mkxsbdpa.js → location-z2vfz141.js} +12 -12
- package/dist/chunks/{bus-ebc9sjza.js → location-z896zmsn.js} +42 -42
- package/dist/chunks/{bus-fx9j3hb4.js → location-zb0eyyj7.js} +8 -8
- package/dist/chunks/{bus-s1ahy3nk.js → location-zehwd02a.js} +30 -30
- package/dist/chunks/{bus-e8jekyry.js → location-zgd8t41s.js} +9 -9
- package/dist/chunks/{bus-jf9mttxe.js → location-zgkfm9vd.js} +15 -15
- package/dist/chunks/{bus-fnzf6hh4.js → location-zhh0qxkb.js} +34 -34
- package/dist/chunks/{bus-de541ebn.js → location-zqbg2s7f.js} +40 -40
- package/dist/chunks/{bus-mvnn004m.js → location-zqpvfprb.js} +20 -18
- package/dist/chunks/{bus-vyba483h.js → location-zxc9shn1.js} +4 -4
- package/dist/chunks/{bus-jh0n380r.js → location-zzc7mygy.js} +50 -50
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +149 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +95 -95
- package/dist/config/discovery.js +96 -96
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +228 -228
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +138 -138
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +129 -129
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +95 -95
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +97 -97
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +155 -155
- package/dist/file-mutation.js +106 -106
- 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 +87 -87
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +241 -241
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +115 -115
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +103 -103
- 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/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +97 -97
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +170 -170
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +93 -93
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +119 -119
- package/dist/mcp/instructions.js +175 -171
- package/dist/mcp/oauth.js +88 -88
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +120 -120
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- 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 +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +369 -369
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- 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 +6 -6
- 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 +241 -241
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +111 -111
- 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 +100 -100
- package/dist/reference.js +100 -100
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +107 -107
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +239 -239
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +196 -195
- package/dist/session/diff.js +100 -100
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +240 -240
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +196 -195
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +144 -144
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +87 -87
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -162
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -246
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +177 -177
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +148 -148
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +196 -195
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +231 -231
- package/dist/session/usage.js +1 -1
- package/dist/session.js +230 -230
- 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 +9 -9
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +105 -105
- 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 +176 -172
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +236 -236
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +143 -143
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +230 -230
- package/dist/tool/plugin/skill.js +152 -152
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +156 -156
- package/dist/tool/plugin/websearch.js +152 -152
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -16
- package/dist/types/instance.d.ts +1 -1
- package/dist/usage-limits.js +99 -99
- 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 +104 -104
- 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 +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +99 -99
- package/dist/voice.js +96 -96
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +91 -91
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +104 -104
- package/package.json +8 -8
- package/dist/chunks/bus-7yv5xa0k.js +0 -18
- package/dist/chunks/bus-xxpp7b8h.js +0 -26
- package/dist/chunks/bus-ywk8mg2g.js +0 -257
- /package/dist/chunks/{bus-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-1kah00gy.js → location-1kah00gy.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5w3e23ze.js → location-5w3e23ze.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-7stb81gk.js → location-7stb81gk.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → location-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-beh6qq61.js → location-beh6qq61.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → location-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ean2d8b5.js → location-ean2d8b5.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-fkpq3x5p.js → location-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jwr30sdr.js → location-jwr30sdr.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-ncqqe42p.js → location-ncqqe42p.js} +0 -0
- /package/dist/chunks/{bus-nh4v3znn.js → location-nh4v3znn.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-p71gwv9c.js → location-p71gwv9c.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-stkk57rt.js → location-stkk57rt.js} +0 -0
- /package/dist/chunks/{bus-t03h4f5z.js → location-t03h4f5z.js} +0 -0
- /package/dist/chunks/{bus-ty7weeps.js → location-ty7weeps.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-tsz093v2.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-k2034wbj.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-fdjpgvma.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-w510rxtp.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-pk0dqn8g.js";
|
|
19
19
|
import {
|
|
20
20
|
DatabricksPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-beh6qq61.js";
|
|
22
22
|
import {
|
|
23
23
|
DigitalOceanPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-zgkfm9vd.js";
|
|
25
25
|
import {
|
|
26
26
|
GithubCopilotPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-zhh0qxkb.js";
|
|
28
28
|
import {
|
|
29
29
|
GitLabPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-5h2db7ke.js";
|
|
31
31
|
import {
|
|
32
32
|
GoogleVertexPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-egx4syav.js";
|
|
34
34
|
import {
|
|
35
35
|
KiloPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-qg3g05ea.js";
|
|
37
37
|
import {
|
|
38
38
|
LLMGatewayPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-5dcrg5my.js";
|
|
40
40
|
import {
|
|
41
41
|
LMStudioPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-x8fyy5bn.js";
|
|
43
43
|
import {
|
|
44
44
|
ModalPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-esh8axw0.js";
|
|
46
46
|
import {
|
|
47
47
|
NeonPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-ve7vex1e.js";
|
|
49
49
|
import {
|
|
50
50
|
NvidiaPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-24dcb14g.js";
|
|
52
52
|
import {
|
|
53
53
|
OllamaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-07bhy05n.js";
|
|
55
55
|
import {
|
|
56
56
|
OpenAIPlugin3
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./location-7j88ajzy.js";
|
|
58
58
|
import {
|
|
59
59
|
OpenAIContextCapsPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./location-011mqk6m.js";
|
|
61
61
|
import {
|
|
62
62
|
SnowflakeCortexPlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./location-bhyrg0mn.js";
|
|
64
64
|
import {
|
|
65
65
|
OpencodePlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./location-536gnnhd.js";
|
|
67
67
|
import {
|
|
68
68
|
OpenRouterPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./location-j6fakqra.js";
|
|
70
70
|
import {
|
|
71
71
|
PoePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./location-r20zdgj9.js";
|
|
73
73
|
import {
|
|
74
74
|
PromptCacheKeyPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./location-hcxmzztb.js";
|
|
76
76
|
import {
|
|
77
77
|
SapAICorePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./location-hdmnesa6.js";
|
|
79
79
|
import {
|
|
80
80
|
VLLMPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./location-jbbta00e.js";
|
|
82
82
|
import {
|
|
83
83
|
XAIPlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./location-vwmyycjt.js";
|
|
85
85
|
import {
|
|
86
86
|
ZenmuxPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./location-jjkms2e6.js";
|
|
88
88
|
|
|
89
89
|
// src/plugin/provider.ts
|
|
90
90
|
var ProviderPlugins2 = [
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y0xdaqa2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin3,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin3 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin42 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin42 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin3, exports_tavily };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mb7mbhnz.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load5
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-4ntm1ty7.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-djd49kbm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/store.ts
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service71,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node75
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service71 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service87;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service71.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node91] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service71, node75, exports_store };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y0xdaqa2.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin2,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint2
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint2 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin2 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin39 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint2, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin39 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint2, Plugin2, exports_tinyfish };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y0xdaqa2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-5j5yn56v.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service81
|
|
11
|
+
} from "./location-jyg8crv2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-62s3a18k.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-bfhbctn3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info22
|
|
24
|
+
} from "./location-8prsd97r.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./location-tmc7xdjs.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-x79e7hsz.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
|
+
var integrationID = ID14.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
|
|
|
182
182
|
id: "opencode.provider.chatgpt",
|
|
183
183
|
effect: Effect.fn(function* (ctx) {
|
|
184
184
|
const bus = yield* Service86;
|
|
185
|
-
const credentials = yield*
|
|
185
|
+
const credentials = yield* Service81;
|
|
186
186
|
const loading = Semaphore.makeUnsafe(1);
|
|
187
187
|
let chatgpt;
|
|
188
188
|
let source;
|
|
@@ -197,7 +197,7 @@ var ChatGPTPlugin2 = define({
|
|
|
197
197
|
yield* ctx.integration.transform((editor) => {
|
|
198
198
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
199
199
|
});
|
|
200
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
200
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
201
201
|
const value = entry.value;
|
|
202
202
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
203
203
|
return Effect.void;
|
|
@@ -226,7 +226,7 @@ var ChatGPTPlugin2 = define({
|
|
|
226
226
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
227
227
|
return;
|
|
228
228
|
}));
|
|
229
|
-
evt.headers["session-id"] = session ?
|
|
229
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
230
230
|
evt.headers["thread-id"] = evt.sessionID;
|
|
231
231
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
232
232
|
}), { providerID });
|
|
@@ -270,7 +270,7 @@ var ChatGPTPlugin2 = define({
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
273
|
-
yield* bus.subscribe(
|
|
273
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
274
274
|
})
|
|
275
275
|
});
|
|
276
276
|
function headers(app) {
|
|
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
|
|
|
327
327
|
const found = byID.get(model.modelID);
|
|
328
328
|
return found ? [deriveModel(found, model)] : [];
|
|
329
329
|
}),
|
|
330
|
-
...remote.filter((model) => !known.has(
|
|
330
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info22.default(ID13.openai, ID12.make(model.slug))))
|
|
331
331
|
];
|
|
332
332
|
}
|
|
333
333
|
function deriveModel(remote, previous) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service54,
|
|
3
|
+
node57,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-j1pnkskb.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service48,
|
|
8
|
+
node50
|
|
9
|
+
} from "./location-s2pfznc4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./location-r7dkdyp5.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-n30bqkse.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service54, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service15);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
58
58
|
}).pipe(Effect.uninterruptible)
|
|
59
59
|
};
|
|
60
60
|
const bindings = [
|
|
61
|
-
|
|
61
|
+
node50.replace(Layer.succeed(Service48, {
|
|
62
62
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
63
63
|
})),
|
|
64
64
|
...replacements,
|
|
65
|
-
|
|
65
|
+
node57.replace(Layer.succeed(Service54, map))
|
|
66
66
|
];
|
|
67
67
|
return map;
|
|
68
68
|
}));
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5j5yn56v.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-2y347c6b.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service63,
|
|
14
14
|
login2,
|
|
15
15
|
node67
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-vfgkptxa.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
@@ -24,11 +24,11 @@ __export(exports_pty, {
|
|
|
24
24
|
CreateInput: () => CreateInput4,
|
|
25
25
|
Event: () => Event11,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID8,
|
|
28
|
+
Info: () => Info14,
|
|
29
|
+
NotFoundError: () => NotFoundError8,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service62,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
33
|
node: () => node66
|
|
34
34
|
});
|
|
@@ -39,27 +39,27 @@ import { Event as Event11 } from "@opencode/schema/pty";
|
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var ID8 = Pty.ID;
|
|
43
|
+
var Info14 = Pty.Info;
|
|
44
44
|
var CreateInput4 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID8
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID8
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service62 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service86;
|
|
61
61
|
const location = yield* Service83;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service63;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID8.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service62.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
272
|
var node66 = makeLocationNode({
|
|
273
|
-
service:
|
|
273
|
+
service: Service62,
|
|
274
274
|
layer,
|
|
275
275
|
deps: [node90, node87, node67]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID8, Info14, CreateInput4, UpdateInput2, NotFoundError8, ExitedError2, Service62, node66, exports_pty, Event11 };
|