@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,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service78
|
|
4
|
+
} from "./location-bfhbctn3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./location-mw7rhp6d.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service78;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service73);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./location-cm18kf9d.js";
|
|
7
7
|
import {
|
|
8
8
|
statements2,
|
|
9
9
|
decision2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-dn2kncps.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./location-mw7rhp6d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make3
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service73;
|
|
36
|
+
const watcher = yield* Service74;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-nbm7yy57.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make4 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make6 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make4();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make4, LMStudioPlugin2 };
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-7stb81gk.js";
|
|
5
|
+
import {
|
|
6
|
+
toSessionError2
|
|
7
|
+
} from "./location-rw03ft0n.js";
|
|
5
8
|
import {
|
|
6
9
|
extension2,
|
|
7
10
|
display2
|
|
8
|
-
} from "./
|
|
11
|
+
} from "./location-jfaecv01.js";
|
|
9
12
|
import {
|
|
10
13
|
__export
|
|
11
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
12
15
|
|
|
13
16
|
// src/codemode/tool.ts
|
|
14
17
|
var exports_tool2 = {};
|
|
@@ -19,6 +22,7 @@ __export(exports_tool2, {
|
|
|
19
22
|
create: () => create2,
|
|
20
23
|
qualifiedName: () => qualifiedName2
|
|
21
24
|
});
|
|
25
|
+
import { ToolFailure } from "@opencode/ai/effect";
|
|
22
26
|
import { CodeMode, Namespace, Tool } from "@opencode/codemode";
|
|
23
27
|
import { Clock, Context, Effect, Ref, Schema, Semaphore } from "effect";
|
|
24
28
|
var ExecuteFile = Schema.Struct({
|
|
@@ -81,7 +85,7 @@ var create2 = (inventory, executeTool) => {
|
|
|
81
85
|
const result = yield* runtime(inventory).execute(code).pipe(Effect.provideService(Run, {
|
|
82
86
|
executeTool: (name, tool, input) => Effect.gen(function* () {
|
|
83
87
|
const index = yield* Ref.getAndUpdate(callIndex, (index) => index + 1);
|
|
84
|
-
const executed = yield* executeTool(name, tool, input, context);
|
|
88
|
+
const executed = yield* executeTool(name, tool, input, context).pipe(Effect.mapError((error) => new ToolFailure({ message: toSessionError2(error).message, error })));
|
|
85
89
|
const content = resultContent(executed);
|
|
86
90
|
const outputFileParts = outputFiles(content);
|
|
87
91
|
if (outputFileParts.length > 0)
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./location-qf791z7a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./location-vkdfbcf5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service69
|
|
15
|
+
} from "./location-z896zmsn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service27,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-5pq7k0xn.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-k814nvkf.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service63,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-vfgkptxa.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError6,
|
|
32
|
+
Service49
|
|
33
|
+
} from "./location-zqbg2s7f.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service28
|
|
36
|
+
} from "./location-2bwv8tnq.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-h949k007.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
45
|
var exports_shell = {};
|
|
46
46
|
__export(exports_shell, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
48
|
+
Input: () => Input4,
|
|
49
|
+
Plugin: () => Plugin21,
|
|
50
50
|
ShellTool: () => exports_shell,
|
|
51
|
-
name: () =>
|
|
51
|
+
name: () => name4
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name4 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input4 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin21 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
|
-
const sessions = yield*
|
|
119
|
-
const jobs = yield*
|
|
118
|
+
const sessions = yield* Service28;
|
|
119
|
+
const jobs = yield* Service60;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
122
|
-
const access = yield*
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
121
|
+
const environment = yield* Service57;
|
|
122
|
+
const access = yield* Service27;
|
|
123
|
+
const shell = yield* Service49;
|
|
124
|
+
const shellSelect = yield* Service63;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service69;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
128
128
|
const source = {
|
|
129
129
|
type: "tool",
|
|
@@ -141,7 +141,7 @@ var Plugin12 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name4,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin12 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name4,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input4,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin12 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name4,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name4];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name4, DEFAULT_TIMEOUT_MS2, Input4, Plugin21, exports_shell };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-2y347c6b.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./location-mw7rhp6d.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-85hx114z.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin48
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin48 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service73;
|
|
35
35
|
const location = yield* Service83;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin48, exports_reference };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-va0kemka.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-w62z9fyd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node62,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node62 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error4, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node62, exports_driver };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make18,
|
|
13
|
+
node: () => node54,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make18()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make18(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make18(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node54 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make18, useragent2, layer21, configured6, node54, exports_app };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin10
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin10 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin52 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin10, exports_mcp_codemode_defaults };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-50w453fn.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-d4v9tmah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|