@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
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service55,
|
|
3
|
+
node58
|
|
4
|
+
} from "./location-85hx114z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-brd5eeq0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions4 = {};
|
|
17
|
+
__export(exports_instructions4, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
+
Service: () => Service36,
|
|
20
|
+
node: () => node39
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,19 +61,19 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service36 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service55;
|
|
68
|
+
return Service36.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
76
|
-
key:
|
|
75
|
+
return make21({
|
|
76
|
+
key: Key4.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
79
79
|
render: {
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [node58] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service36, node39, exports_instructions4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-y0xdaqa2.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-5j5yn56v.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./location-jyg8crv2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-62s3a18k.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID13,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-bfhbctn3.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
get4
|
|
26
|
+
} from "./location-tmc7xdjs.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-x79e7hsz.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
50
50
|
}));
|
|
51
51
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
52
52
|
var browser = (app) => ({
|
|
53
|
-
integrationID:
|
|
53
|
+
integrationID: ID14.make("openai"),
|
|
54
54
|
method: {
|
|
55
55
|
id: browserMethodID,
|
|
56
56
|
type: "oauth",
|
|
@@ -123,7 +123,7 @@ function addressInUse(error) {
|
|
|
123
123
|
return "code" in error && error.code === "EADDRINUSE";
|
|
124
124
|
}
|
|
125
125
|
var headless = (app) => ({
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID14.make("openai"),
|
|
127
127
|
method: {
|
|
128
128
|
id: headlessMethodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
|
|
|
183
183
|
editor.method.update(headless(ctx.app));
|
|
184
184
|
});
|
|
185
185
|
yield* load();
|
|
186
|
-
const configured = yield* configuredSettings2(
|
|
186
|
+
const configured = yield* configuredSettings2(ID13.openai);
|
|
187
187
|
yield* ctx.provider.transform((providers) => {
|
|
188
|
-
const item = providers.get(
|
|
188
|
+
const item = providers.get(ID13.openai);
|
|
189
189
|
if (!item)
|
|
190
190
|
return;
|
|
191
191
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
yield* ctx.model.transform((models) => {
|
|
208
|
-
for (const model of models.list(
|
|
208
|
+
for (const model of models.list(ID13.openai)) {
|
|
209
209
|
models.update(model.providerID, model.id, (draft) => {
|
|
210
210
|
if (!chatgpt)
|
|
211
211
|
return;
|
|
@@ -241,15 +241,15 @@ var OpenAIPlugin3 = define({
|
|
|
241
241
|
return;
|
|
242
242
|
}));
|
|
243
243
|
evt.headers.originator = "opencode";
|
|
244
|
-
evt.headers["session-id"] = session ?
|
|
245
|
-
}), { providerID:
|
|
244
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
245
|
+
}), { providerID: ID13.openai });
|
|
246
246
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
247
247
|
delete evt.options.maxTokens;
|
|
248
248
|
});
|
|
249
249
|
for (const name of ["context", "compaction"])
|
|
250
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
250
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function headers(contentType, app) {
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-xnwqffna.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
7
|
node90
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-5j5yn56v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service60,
|
|
11
|
+
node64
|
|
12
|
+
} from "./location-vkdfbcf5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node50
|
|
16
|
+
} from "./location-s2pfznc4.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./location-d2887f8n.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service46
|
|
26
|
+
} from "./location-e45fk36t.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node75
|
|
30
|
+
} from "./location-f6bwzamp.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-rw03ft0n.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-ms8gjsg9.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service45,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node48,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service45 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service71;
|
|
64
|
+
const instances = yield* Service48;
|
|
65
65
|
const bus = yield* Service86;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service60;
|
|
67
67
|
const db = (yield* Service87).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable, stepped })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable, result.stepped),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable, result.stepped)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make17({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node48 = makeGlobalNode({
|
|
127
|
+
service: Service45,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node75, node50, node90, node91, node64]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service45, Service45.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service45, terminal2, layer19, node48, noopLayer3, exports_execution };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-5j5yn56v.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service56,
|
|
17
|
+
node59
|
|
18
|
+
} from "./location-3jqxp1k9.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-204s3925.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event8,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info11,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service55,
|
|
36
36
|
Source: () => Source3,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node58
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
46
|
var Source3 = Reference.Source;
|
|
47
|
-
var
|
|
47
|
+
var Info11 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service55 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service86;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service56;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,7 +61,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
64
|
+
return [Info11.make({ ...info, path: source.path })];
|
|
65
65
|
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info11.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service55.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node58 = makeLocationNode({
|
|
117
|
+
service: Service55,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node90,
|
|
119
|
+
deps: [Global.node, node90, node59]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2, Source3,
|
|
122
|
+
export { LocalSource2, GitSource2, Source3, Info11, Service55, node58, exports_reference2, Event8 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./location-3jwa21mm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./location-z896zmsn.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError3,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service24
|
|
14
|
+
} from "./location-3dbyenxe.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin32 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service69;
|
|
53
|
+
const forms = yield* Service80;
|
|
54
|
+
const websearch = yield* Service24;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin32, exports_websearch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-5j5yn56v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Event19,
|
|
7
|
+
Service81
|
|
8
|
+
} from "./location-jyg8crv2.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/credential-settings.ts
|
|
11
11
|
import { Effect, Stream } from "effect";
|
|
12
12
|
var credentialSettings2 = Effect.fn("ProviderPlugin.credentialSettings")(function* (ctx, integrationID, select) {
|
|
13
|
-
const credentials = yield*
|
|
13
|
+
const credentials = yield* Service81;
|
|
14
14
|
const bus = yield* Service86;
|
|
15
15
|
const load = Effect.fn("ProviderPlugin.credentialSettings.load")(function* () {
|
|
16
16
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
17
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
17
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
|
|
18
18
|
return stored ? select(stored.value) : {};
|
|
19
19
|
});
|
|
20
20
|
const current = { settings: yield* load() };
|
|
21
|
-
yield* bus.subscribe([
|
|
21
|
+
yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
22
22
|
const next = yield* load();
|
|
23
23
|
if (JSON.stringify(next) === JSON.stringify(current.settings))
|
|
24
24
|
return;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service42
|
|
7
|
+
} from "./location-mfmmqpne.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-m89858wj.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-rbndg51d.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service42;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|