@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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make8(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make8 };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin5
|
|
3
|
+
} from "./location-qnghve6e.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin8
|
|
6
|
+
} from "./location-jrbmxwcc.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin4
|
|
9
|
+
} from "./location-0d0e2qqj.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin3
|
|
12
|
+
} from "./location-f5vve9yn.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin2
|
|
15
|
+
} from "./location-fd5e9wgq.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin5,
|
|
20
|
+
Plugin8,
|
|
21
|
+
Plugin4,
|
|
22
|
+
Plugin3,
|
|
23
|
+
Plugin2
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref5
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2y347c6b.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service54,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node57,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service54 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service54, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node57 = LayerNode.unbound(Service54, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service54;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -48,4 +48,4 @@ function canonical3(ref) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service54, node57, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTextual2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-4pyp9zr9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./location-z896zmsn.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_MARKDOWN_BYTES2,
|
|
9
9
|
convertHTMLToMarkdown2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-4vcrnpx2.js";
|
|
11
11
|
import {
|
|
12
12
|
collectBoundedResponseBody2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-3v8g72cx.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/tool/plugin/webfetch.ts
|
|
19
19
|
var exports_webfetch = {};
|
|
20
20
|
__export(exports_webfetch, {
|
|
21
21
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
MAX_REDIRECTS: () => MAX_REDIRECTS2,
|
|
24
|
-
MAX_RESPONSE_BYTES: () =>
|
|
24
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
25
25
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin28,
|
|
27
27
|
WebFetchTool: () => exports_webfetch,
|
|
28
28
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
29
|
-
description: () =>
|
|
29
|
+
description: () => description4,
|
|
30
30
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
31
|
-
name: () =>
|
|
31
|
+
name: () => name9
|
|
32
32
|
});
|
|
33
33
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
34
34
|
import { Duration, Effect, Schema } from "effect";
|
|
35
35
|
import { FetchHttpClient, HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
36
36
|
import { Parser } from "htmlparser2";
|
|
37
|
-
var
|
|
38
|
-
var
|
|
37
|
+
var name9 = "webfetch";
|
|
38
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
39
39
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
40
40
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
41
|
-
var
|
|
41
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
42
42
|
|
|
43
43
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
44
44
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
45
|
-
var
|
|
45
|
+
var Input9 = Schema.Struct({
|
|
46
46
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
47
47
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
48
48
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -52,7 +52,7 @@ var Input11 = Schema.Struct({
|
|
|
52
52
|
var Output = Schema.Struct({
|
|
53
53
|
url: Schema.String,
|
|
54
54
|
contentType: Schema.String,
|
|
55
|
-
format:
|
|
55
|
+
format: Input9.fields.format,
|
|
56
56
|
output: Schema.String
|
|
57
57
|
});
|
|
58
58
|
var acceptHeader = (format) => {
|
|
@@ -103,7 +103,7 @@ var execute = (http, check, url, format, userAgent = openCodeUserAgent, redirect
|
|
|
103
103
|
return yield* execute(http, check, next, format, userAgent, redirects + 1);
|
|
104
104
|
});
|
|
105
105
|
}));
|
|
106
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
106
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
107
107
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
108
108
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
109
109
|
var convert = (content, contentType, format) => {
|
|
@@ -115,16 +115,16 @@ var convert = (content, contentType, format) => {
|
|
|
115
115
|
return extractTextFromHTML2(content);
|
|
116
116
|
return content;
|
|
117
117
|
};
|
|
118
|
-
var
|
|
118
|
+
var Plugin28 = {
|
|
119
119
|
id: "opencode.tool.webfetch",
|
|
120
120
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
121
121
|
const http = yield* HttpClient.HttpClient;
|
|
122
|
-
const permission = yield*
|
|
122
|
+
const permission = yield* Service69;
|
|
123
123
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
124
|
-
name:
|
|
124
|
+
name: name9,
|
|
125
125
|
options: { codemode: false },
|
|
126
|
-
description:
|
|
127
|
-
input:
|
|
126
|
+
description: description4,
|
|
127
|
+
input: Input9,
|
|
128
128
|
output: Output,
|
|
129
129
|
execute: (input, context) => Effect.gen(function* () {
|
|
130
130
|
yield* Effect.try({
|
|
@@ -132,7 +132,7 @@ var Plugin13 = {
|
|
|
132
132
|
catch: (error) => error
|
|
133
133
|
});
|
|
134
134
|
yield* permission.assert({
|
|
135
|
-
action:
|
|
135
|
+
action: name9,
|
|
136
136
|
resources: [input.url],
|
|
137
137
|
save: ["*"],
|
|
138
138
|
metadata: input,
|
|
@@ -142,7 +142,7 @@ var Plugin13 = {
|
|
|
142
142
|
});
|
|
143
143
|
const { body, contentType } = yield* Effect.gen(function* () {
|
|
144
144
|
const check = (url) => permission.assertNotDenied({
|
|
145
|
-
action:
|
|
145
|
+
action: name9,
|
|
146
146
|
resources: [url],
|
|
147
147
|
metadata: { ...input, url },
|
|
148
148
|
sessionID: context.sessionID,
|
|
@@ -198,4 +198,4 @@ function extractTextFromHTML2(html) {
|
|
|
198
198
|
parser.end();
|
|
199
199
|
return text.trim();
|
|
200
200
|
}
|
|
201
|
-
export {
|
|
201
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, MAX_REDIRECTS2, Plugin28, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./location-8prsd97r.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-nbm7yy57.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make5 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make3 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make5();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make5, VLLMPlugin2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service6,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service6.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node7 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service6, node7, exports_discovery };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-2y347c6b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./location-qf791z7a.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service52
|
|
16
|
+
} from "./location-99gmmhwa.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-4h609sqz.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service69
|
|
26
|
+
} from "./location-z896zmsn.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service27
|
|
29
|
+
} from "./location-5pq7k0xn.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output9,
|
|
40
|
+
Plugin: () => Plugin31,
|
|
41
|
+
name: () => name11,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name11 = "grep";
|
|
48
|
+
var Input11 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input6 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output9 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin31 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service57;
|
|
90
|
+
const ripgrep = yield* Service52;
|
|
91
91
|
const location = yield* Service83;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service27;
|
|
93
|
+
const permission = yield* Service69;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name11,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input11,
|
|
99
|
+
output: Output9,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name11,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin7 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin7 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name11, Input11, Output9, toModelContent5, Plugin31, exports_grep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y0xdaqa2.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-40za9wsf.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin8,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin8 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin38 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin8, exports_firecrawl };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|