@opencode/core 0.0.0-dev-306 → 0.0.0-dev-329
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/{location-j6fakqra.js → websearch-01xb69ev.js} +3 -3
- package/dist/chunks/{location-x7fqccva.js → websearch-01yye9f2.js} +12 -12
- package/dist/chunks/{location-034tev2y.js → websearch-034tev2y.js} +2 -2
- package/dist/chunks/{location-dn2kncps.js → websearch-07hv0a2t.js} +3 -3
- package/dist/chunks/{location-x79e7hsz.js → websearch-0bbqvs7k.js} +6 -6
- package/dist/chunks/{location-sqjzf8x2.js → websearch-0j7gp832.js} +4 -4
- package/dist/chunks/{location-hdmnesa6.js → websearch-0msqabxb.js} +5 -5
- package/dist/chunks/{location-zxc9shn1.js → websearch-0rgnf04f.js} +4 -4
- package/dist/chunks/{location-8prsd97r.js → websearch-122fevtz.js} +25 -25
- package/dist/chunks/{location-eyc69scq.js → websearch-12xf7z1p.js} +31 -31
- package/dist/chunks/{location-r7dkdyp5.js → websearch-16jyx16v.js} +27 -27
- package/dist/chunks/{location-v3swpve8.js → websearch-17b39pgx.js} +21 -21
- package/dist/chunks/{location-zehwd02a.js → websearch-18pwxxmr.js} +25 -25
- package/dist/chunks/{location-1aqsckx4.js → websearch-1aqsckx4.js} +1 -1
- package/dist/chunks/{location-1ep2p91f.js → websearch-1ep2p91f.js} +2 -2
- package/dist/chunks/{location-85hx114z.js → websearch-1haf6n7w.js} +26 -26
- package/dist/chunks/{location-h949k007.js → websearch-1kx98qvq.js} +4 -4
- package/dist/chunks/{location-9excscth.js → websearch-1njm5cxv.js} +16 -16
- package/dist/chunks/{location-ads06k24.js → websearch-1sqct66f.js} +9 -9
- package/dist/chunks/{location-1x2knyw4.js → websearch-1x2knyw4.js} +1 -1
- package/dist/chunks/{location-204s3925.js → websearch-204s3925.js} +1 -1
- package/dist/chunks/{location-2sjtpkz1.js → websearch-2112fxgf.js} +16 -16
- package/dist/chunks/{location-pa2rdw4x.js → websearch-2f7b0gsd.js} +23 -23
- package/dist/chunks/{location-aqr5273r.js → websearch-2j78ayj4.js} +13 -13
- package/dist/chunks/{location-xnwqffna.js → websearch-2yspc50g.js} +3 -3
- package/dist/chunks/{location-xbvaqmtc.js → websearch-33k02yxh.js} +40 -40
- package/dist/chunks/{location-xbq7ap0g.js → websearch-350e7jny.js} +4 -4
- package/dist/chunks/{location-xrbbh422.js → websearch-37mgh8mf.js} +2 -2
- package/dist/chunks/{location-k2034wbj.js → websearch-3bna4jcr.js} +41 -41
- package/dist/chunks/{location-jbbta00e.js → websearch-3d1y0g83.js} +4 -4
- package/dist/chunks/{location-bpjheaj0.js → websearch-3dgyr4ab.js} +8 -8
- package/dist/chunks/{location-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-tmc7xdjs.js → websearch-3nnrz6f6.js} +4 -4
- package/dist/chunks/{location-9hw2m1zw.js → websearch-3qvqwrqv.js} +24 -24
- package/dist/chunks/{location-3ryz99p0.js → websearch-3ryz99p0.js} +1 -1
- package/dist/chunks/{location-mkc9xh75.js → websearch-3wke5hmt.js} +11 -11
- package/dist/chunks/{location-40za9wsf.js → websearch-40za9wsf.js} +2 -2
- package/dist/chunks/{location-hch7yraj.js → websearch-49xmed9t.js} +11 -11
- package/dist/chunks/{location-k4pwdphg.js → websearch-4ajbjkvh.js} +33 -33
- package/dist/chunks/{location-4dx1dgte.js → websearch-4dx1dgte.js} +1 -1
- package/dist/chunks/{location-tsz093v2.js → websearch-4gp4a51g.js} +8 -8
- package/dist/chunks/{location-vkdfbcf5.js → websearch-4n3gwhnp.js} +16 -16
- package/dist/chunks/{location-4pyp9zr9.js → websearch-4pyp9zr9.js} +1 -1
- package/dist/chunks/{location-va0kemka.js → websearch-4q6zxb9x.js} +3 -3
- package/dist/chunks/{location-trmt4qt7.js → websearch-4qvxhqjk.js} +36 -36
- package/dist/chunks/{location-7ahw8xm3.js → websearch-4s0ej1qc.js} +324 -324
- package/dist/chunks/{location-4ntm1ty7.js → websearch-4tcdce07.js} +9 -9
- package/dist/chunks/{location-4v008n1t.js → websearch-4v008n1t.js} +1 -1
- package/dist/chunks/{location-4c7peeks.js → websearch-4vc00714.js} +19 -19
- package/dist/chunks/{location-5225t9m9.js → websearch-4wffjq55.js} +27 -27
- package/dist/chunks/{location-beqawg79.js → websearch-4zs95934.js} +7 -7
- package/dist/chunks/{location-k6586ewx.js → websearch-51yd88re.js} +21 -21
- package/dist/chunks/{location-43mtkq1f.js → websearch-547arde1.js} +19 -19
- package/dist/chunks/{location-q1abnwp6.js → websearch-54wn9wg4.js} +11 -11
- package/dist/chunks/{location-rbndg51d.js → websearch-557537gg.js} +6 -6
- package/dist/chunks/{location-v6x8hkr5.js → websearch-5bmv79gs.js} +11 -11
- package/dist/chunks/{location-vfgkptxa.js → websearch-5erp7w2j.js} +19 -19
- package/dist/chunks/{location-qgs1tbcx.js → websearch-5k5xv22h.js} +21 -21
- package/dist/chunks/{location-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-b6vsg801.js → websearch-5nnwax6m.js} +5 -5
- package/dist/chunks/{location-mfmmqpne.js → websearch-5sev5bhn.js} +26 -26
- package/dist/chunks/{location-1yq9hg58.js → websearch-5zrxpy3q.js} +5 -5
- package/dist/chunks/{location-jyg8crv2.js → websearch-601vjtp6.js} +16 -16
- package/dist/chunks/{location-8gqhbr3y.js → websearch-60qgg6x4.js} +4 -4
- package/dist/chunks/{location-t8erkws8.js → websearch-67zhfnr5.js} +5 -5
- package/dist/chunks/{location-vztbg1g9.js → websearch-69nf9nav.js} +11 -11
- package/dist/chunks/{location-6esdw8yj.js → websearch-6esdw8yj.js} +1 -1
- package/dist/chunks/{location-fhyh4p9b.js → websearch-6hmgmx3v.js} +31 -31
- package/dist/chunks/{location-85qde3ax.js → websearch-6mbr58x5.js} +18 -18
- package/dist/chunks/{location-99gmmhwa.js → websearch-6pf8eqtx.js} +14 -14
- package/dist/chunks/{location-50w453fn.js → websearch-6te9kxba.js} +5 -5
- package/dist/chunks/{location-b3a32pfz.js → websearch-6xtjqz2m.js} +4 -4
- package/dist/chunks/{location-rp03b2v5.js → websearch-766y91jf.js} +6 -6
- package/dist/chunks/{location-bbnmh3xr.js → websearch-799bn6sb.js} +33 -33
- package/dist/chunks/{location-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-j2c5g3b2.js → websearch-7cdnexkp.js} +7 -7
- package/dist/chunks/{location-5h2db7ke.js → websearch-7ftfgktx.js} +21 -21
- package/dist/chunks/{location-7kr66rt3.js → websearch-7kr66rt3.js} +1 -1
- package/dist/chunks/{location-eyba04wr.js → websearch-7mzp1cgs.js} +23 -23
- package/dist/chunks/websearch-7q6zqx37.js +257 -0
- package/dist/chunks/{location-7w2ypzdf.js → websearch-7w2ypzdf.js} +1 -1
- package/dist/chunks/{location-6bd340sn.js → websearch-805824s0.js} +8 -8
- package/dist/chunks/{location-h3chngrm.js → websearch-81jqhtn8.js} +10 -10
- package/dist/chunks/{location-8k8pzbp4.js → websearch-849yt6mx.js} +8 -8
- package/dist/chunks/{location-25h84942.js → websearch-8b3vzgkx.js} +4 -4
- package/dist/chunks/{location-bhyrg0mn.js → websearch-8bt39hgz.js} +15 -15
- package/dist/chunks/{location-3mtcb7b3.js → websearch-8cpz5p5s.js} +21 -21
- package/dist/chunks/{location-zqpvfprb.js → websearch-8fmenyqq.js} +16 -16
- package/dist/chunks/{location-x8fyy5bn.js → websearch-8ga40a6a.js} +4 -4
- package/dist/chunks/{location-8jztxfpf.js → websearch-8jztxfpf.js} +1 -1
- package/dist/chunks/{location-egx4syav.js → websearch-8kx0fqtv.js} +14 -14
- package/dist/chunks/{location-zgkfm9vd.js → websearch-8mdse5a9.js} +15 -15
- package/dist/chunks/{location-34pknpnd.js → websearch-8r4pvnw6.js} +29 -29
- package/dist/chunks/{location-fd5e9wgq.js → websearch-8rd378aw.js} +7 -7
- package/dist/chunks/{location-97r9t6wm.js → websearch-8tbnpqt6.js} +14 -14
- package/dist/chunks/{location-pk0dqn8g.js → websearch-8v45rwxr.js} +5 -5
- package/dist/chunks/{location-8wtp7s3z.js → websearch-8wtp7s3z.js} +1 -1
- package/dist/chunks/{location-90zstvax.js → websearch-90zstvax.js} +1 -1
- package/dist/chunks/{location-s6h2s3rz.js → websearch-95sp4hdf.js} +4 -4
- package/dist/chunks/{location-bd1zsfw8.js → websearch-9ak394t4.js} +23 -23
- package/dist/chunks/{location-nf3n4x4w.js → websearch-9tx8500w.js} +20 -20
- package/dist/chunks/{location-zgd8t41s.js → websearch-9z9tayqc.js} +9 -9
- package/dist/chunks/{location-5bnajwfk.js → websearch-a5sej8qd.js} +37 -37
- package/dist/chunks/{location-w4dn9kj3.js → websearch-a6t7wj3k.js} +73 -73
- package/dist/chunks/{location-4f5ax2dv.js → websearch-a7acfpr0.js} +22 -22
- package/dist/chunks/{location-hhaywkwm.js → websearch-afky2m1r.js} +11 -11
- package/dist/chunks/{location-3dbyenxe.js → websearch-afwz5ca7.js} +25 -25
- package/dist/chunks/{location-w67s4ywc.js → websearch-agqd6nxz.js} +8 -8
- package/dist/chunks/{location-et87mf2s.js → websearch-anjzen6g.js} +79 -79
- package/dist/chunks/{location-mt21hhzj.js → websearch-axsvjzs7.js} +6 -6
- package/dist/chunks/{location-9ahqkxsp.js → websearch-ayazxppv.js} +3 -3
- package/dist/chunks/{location-ayjs7tqn.js → websearch-ayjs7tqn.js} +2 -2
- package/dist/chunks/{location-2bwv8tnq.js → websearch-b394e4sz.js} +85 -85
- package/dist/chunks/{location-7gh51h4m.js → websearch-b4dtgbj0.js} +17 -17
- package/dist/chunks/{location-sh1my6rk.js → websearch-b5wswbrm.js} +44 -44
- package/dist/chunks/{location-fznmdakp.js → websearch-b6z35kmf.js} +4 -4
- package/dist/chunks/{location-z2vfz141.js → websearch-bbsqf6zc.js} +12 -12
- package/dist/chunks/{location-vwmyycjt.js → websearch-bj44k2p3.js} +9 -9
- package/dist/chunks/{location-q2kxgsvb.js → websearch-bkpt1p78.js} +7 -7
- package/dist/chunks/{location-bstexjd6.js → websearch-bstexjd6.js} +1 -1
- package/dist/chunks/{location-nva9eqjm.js → websearch-bze7nnp8.js} +5 -5
- package/dist/chunks/{location-v2yyptek.js → websearch-c00n6d2r.js} +8 -8
- package/dist/chunks/{location-7kqn30mb.js → websearch-c0mz4e8v.js} +37 -37
- package/dist/chunks/{location-zhh0qxkb.js → websearch-c1d6cwky.js} +38 -38
- package/dist/chunks/{location-2spvqkt6.js → websearch-c8fek3cb.js} +13 -13
- package/dist/chunks/{location-d2887f8n.js → websearch-c9t2ty9q.js} +4 -4
- package/dist/chunks/{location-44vsgcd8.js → websearch-cak2hj2r.js} +7 -7
- package/dist/chunks/{location-j1pnkskb.js → websearch-cb0vw9jn.js} +9 -9
- package/dist/chunks/{location-q6jmyack.js → websearch-cet60sqk.js} +16 -16
- package/dist/chunks/{location-49bazr4g.js → websearch-cg0asdpn.js} +25 -25
- package/dist/chunks/{location-336ptya5.js → websearch-cg7m4wmk.js} +9 -9
- package/dist/chunks/{location-4bbpqcw3.js → websearch-ch0dnrxm.js} +20 -20
- package/dist/chunks/{location-dgambtz7.js → websearch-ckgb0pw7.js} +29 -29
- package/dist/chunks/{location-yg79hbqn.js → websearch-cm79raxa.js} +3 -3
- package/dist/chunks/{location-3sg64nxm.js → websearch-cqx7qe96.js} +11 -11
- package/dist/chunks/{location-cwrgdav8.js → websearch-cwrgdav8.js} +2 -2
- package/dist/chunks/{location-d4v9tmah.js → websearch-d4v9tmah.js} +2 -2
- package/dist/chunks/{location-9eh5kz8z.js → websearch-d529wksv.js} +17 -17
- package/dist/chunks/{location-bgd12eww.js → websearch-d84g1cdm.js} +178 -178
- package/dist/chunks/{location-wpkqvnzq.js → websearch-decdgbhs.js} +9 -9
- package/dist/chunks/{location-662rk1k7.js → websearch-djm2v0tf.js} +4 -4
- package/dist/chunks/{location-yh2v5kew.js → websearch-dmp7nhr3.js} +45 -45
- package/dist/chunks/{location-dt77769w.js → websearch-dt77769w.js} +1 -1
- package/dist/chunks/{location-akkhd0hr.js → websearch-dwx6m9pn.js} +6 -6
- package/dist/chunks/{location-e834z07m.js → websearch-e834z07m.js} +1 -1
- package/dist/chunks/{location-kv1pxpnb.js → websearch-eahpwh8e.js} +4 -4
- package/dist/chunks/{location-011mqk6m.js → websearch-egqmg6zc.js} +10 -10
- package/dist/chunks/{location-9p40vjn2.js → websearch-ennbv05t.js} +6 -6
- package/dist/chunks/{location-agx6da5f.js → websearch-eps2nw42.js} +42 -42
- package/dist/chunks/{location-gprb4n4c.js → websearch-es257x3q.js} +5 -5
- package/dist/chunks/{location-2f6y3wyx.js → websearch-esezyxfc.js} +7 -7
- package/dist/chunks/{location-74n62q8p.js → websearch-evtwgc13.js} +3 -3
- package/dist/chunks/{location-07bhy05n.js → websearch-ew7k5fkp.js} +4 -4
- package/dist/chunks/{location-tfgkb3f6.js → websearch-exxbh7hn.js} +42 -42
- package/dist/chunks/{location-5wsenn9a.js → websearch-f370vvdy.js} +13 -13
- package/dist/chunks/{location-536gnnhd.js → websearch-fcy5scan.js} +30 -30
- package/dist/chunks/{location-y0xdaqa2.js → websearch-fd89c18j.js} +11 -11
- package/dist/chunks/{location-fffv3p7h.js → websearch-fffv3p7h.js} +1 -1
- package/dist/chunks/{location-r20zdgj9.js → websearch-fhv2xxmr.js} +5 -5
- package/dist/chunks/{location-gm0ycg18.js → websearch-fj4pg97n.js} +15 -15
- package/dist/chunks/{location-x07fr6ah.js → websearch-gda836e9.js} +11 -11
- package/dist/chunks/websearch-grzehpz7.js +18 -0
- package/dist/chunks/{location-r440h8qp.js → websearch-gt9mjs97.js} +11 -11
- package/dist/chunks/{location-m89858wj.js → websearch-gynv5cx7.js} +3 -3
- package/dist/chunks/{location-e45fk36t.js → websearch-h0rg6s60.js} +4 -4
- package/dist/chunks/{location-jgw0ez2q.js → websearch-h22vpgky.js} +33 -33
- package/dist/chunks/{location-c3qstxzp.js → websearch-h5f52kj0.js} +4 -4
- package/dist/chunks/{location-cm18kf9d.js → websearch-h91vt6m9.js} +18 -18
- package/dist/chunks/{location-62s3a18k.js → websearch-ha7h766f.js} +27 -27
- package/dist/chunks/{location-98n7hra1.js → websearch-hctaejxs.js} +24 -24
- package/dist/chunks/{location-hh7kjqtw.js → websearch-hh7kjqtw.js} +1 -1
- package/dist/chunks/{location-qnghve6e.js → websearch-hhw78a7m.js} +8 -8
- package/dist/chunks/{location-hpg1pkwy.js → websearch-hpg1pkwy.js} +1 -1
- package/dist/chunks/{location-vze99txj.js → websearch-hpss8xr5.js} +15 -15
- package/dist/chunks/{location-hqxkkta1.js → websearch-hqxkkta1.js} +1 -1
- package/dist/chunks/{location-nbm7yy57.js → websearch-hvthv3an.js} +12 -12
- package/dist/chunks/{location-nkbs8pm4.js → websearch-j6ca1eyx.js} +17 -17
- package/dist/chunks/{location-djd49kbm.js → websearch-j8ry5sc9.js} +2 -2
- package/dist/chunks/{location-dbmp929s.js → websearch-ja63h2sr.js} +5 -5
- package/dist/chunks/{location-jfaecv01.js → websearch-jfaecv01.js} +1 -1
- package/dist/chunks/{location-sh2m58zd.js → websearch-jpb38nt4.js} +43 -43
- package/dist/chunks/{location-cvsegsfy.js → websearch-jqbem4ax.js} +25 -25
- package/dist/chunks/{location-kawgm7c0.js → websearch-js8kstzt.js} +7 -7
- package/dist/chunks/{location-jtnps1zs.js → websearch-jtnps1zs.js} +2 -2
- package/dist/chunks/{location-r0pyvz6f.js → websearch-jv00a4x0.js} +14 -14
- package/dist/chunks/{location-zb0eyyj7.js → websearch-k30agw6x.js} +8 -8
- package/dist/chunks/{location-k814nvkf.js → websearch-k814nvkf.js} +1 -1
- package/dist/chunks/{location-de6znanw.js → websearch-k9xqezxa.js} +31 -31
- package/dist/chunks/{location-kcg78dnn.js → websearch-kcg78dnn.js} +2 -2
- package/dist/chunks/{location-kt3bjfbg.js → websearch-kt3bjfbg.js} +1 -1
- package/dist/chunks/{location-esh8axw0.js → websearch-kv38zb04.js} +17 -17
- package/dist/chunks/{location-5j5yn56v.js → websearch-kvvgry96.js} +4 -4
- package/dist/chunks/{location-cmkpv6mv.js → websearch-kxrajph7.js} +8 -8
- package/dist/chunks/{location-kytj30gb.js → websearch-m0w8gjtc.js} +11 -11
- package/dist/chunks/{location-m1714858.js → websearch-m1714858.js} +1 -1
- package/dist/chunks/{location-eqmd2tfz.js → websearch-m37sd98t.js} +7 -7
- package/dist/chunks/{location-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-rerwg0b9.js → websearch-mam69wf9.js} +12 -12
- package/dist/chunks/{location-mb7mbhnz.js → websearch-mb7mbhnz.js} +3 -3
- package/dist/chunks/{location-jrbmxwcc.js → websearch-mctmh0ex.js} +6 -6
- package/dist/chunks/{location-w510rxtp.js → websearch-mk1833rf.js} +5 -5
- package/dist/chunks/{location-qxhe8vts.js → websearch-mn9ce29r.js} +11 -11
- package/dist/chunks/{location-147wqxjy.js → websearch-mnapyyeq.js} +7 -7
- package/dist/chunks/{location-7a4v4c26.js → websearch-mnnh7rc9.js} +11 -11
- package/dist/chunks/{location-spehfrkg.js → websearch-mvkxka7a.js} +21 -21
- package/dist/chunks/{location-8jjf20rn.js → websearch-n5da3r9v.js} +11 -11
- package/dist/chunks/{location-jcqm84fr.js → websearch-n7bnkb3p.js} +9 -9
- package/dist/chunks/{location-2znspyh0.js → websearch-n938yph4.js} +13 -13
- package/dist/chunks/{location-nah043kf.js → websearch-nah043kf.js} +1 -1
- package/dist/chunks/{location-3jwa21mm.js → websearch-nm8qr2s2.js} +20 -20
- package/dist/chunks/{location-26x8chrq.js → websearch-nrtygxmh.js} +3 -3
- package/dist/chunks/{location-f6bwzamp.js → websearch-ntn1kyat.js} +12 -12
- package/dist/chunks/{location-p015t6z3.js → websearch-p015t6z3.js} +2 -2
- package/dist/chunks/{location-vpndcmkw.js → websearch-pgwm13mx.js} +30 -30
- package/dist/chunks/{location-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{location-fg9p65nk.js → websearch-prq7xxp2.js} +6 -6
- package/dist/chunks/{location-ms8gjsg9.js → websearch-pxv94apm.js} +19 -19
- package/dist/chunks/{location-zqbg2s7f.js → websearch-q1gdkkzj.js} +42 -42
- package/dist/chunks/{location-g32ax1nd.js → websearch-qh2mmm7f.js} +17 -17
- package/dist/chunks/{location-nesyvdwa.js → websearch-qkvepbme.js} +1 -1
- package/dist/chunks/{location-qp7r0hxv.js → websearch-qp7r0hxv.js} +1 -1
- package/dist/chunks/{location-qqvy8y24.js → websearch-qqvy8y24.js} +1 -1
- package/dist/chunks/{location-efbqjxxv.js → websearch-qzmk9h6g.js} +12 -12
- package/dist/chunks/{location-ghrzdqqx.js → websearch-r2jew814.js} +5 -5
- package/dist/chunks/{location-qf791z7a.js → websearch-r37dw65n.js} +21 -21
- package/dist/chunks/{location-v3h869xg.js → websearch-r408tz4r.js} +8 -8
- package/dist/chunks/{location-r542h3bh.js → websearch-r542h3bh.js} +1 -1
- package/dist/chunks/{location-rb9dy4dg.js → websearch-rb9dy4dg.js} +1 -1
- package/dist/chunks/{location-fdjpgvma.js → websearch-rd77kc48.js} +21 -21
- package/dist/chunks/{location-rt5dr6hb.js → websearch-rt5dr6hb.js} +1 -1
- package/dist/chunks/{location-f5vve9yn.js → websearch-rwabqwx1.js} +8 -8
- package/dist/chunks/{location-fffxyf18.js → websearch-rxqyg3qh.js} +13 -13
- package/dist/chunks/{location-e71bb87j.js → websearch-ry7kp2db.js} +8 -8
- package/dist/chunks/{location-9xnamytp.js → websearch-s0s8b06r.js} +22 -22
- package/dist/chunks/{location-w3ee0mms.js → websearch-s2tqrscs.js} +2 -2
- package/dist/chunks/{location-vha2yqec.js → websearch-s40bz38f.js} +6 -6
- package/dist/chunks/{location-s7kyse9r.js → websearch-s7kyse9r.js} +1 -1
- package/dist/chunks/{location-sa3fpqfw.js → websearch-sa3fpqfw.js} +2 -2
- package/dist/chunks/{location-s2pfznc4.js → websearch-sbegqkxp.js} +6 -6
- package/dist/chunks/{location-tjspe09c.js → websearch-sdnx44eq.js} +10 -10
- package/dist/chunks/{location-dxrghr56.js → websearch-sem18y2v.js} +28 -28
- package/dist/chunks/{location-g8tf0a0n.js → websearch-sjjzadcb.js} +22 -22
- package/dist/chunks/{location-jzgtnw1d.js → websearch-sp56nfnr.js} +6 -6
- package/dist/chunks/{location-svcy3p9a.js → websearch-svcy3p9a.js} +1 -1
- package/dist/chunks/{location-5pq7k0xn.js → websearch-sz4f9hgk.js} +22 -22
- package/dist/chunks/{location-mw7rhp6d.js → websearch-t0hjt5vr.js} +44 -44
- package/dist/chunks/{location-xwswqzhk.js → websearch-t0v7rh8b.js} +6 -6
- package/dist/chunks/{location-7j88ajzy.js → websearch-t391rd3g.js} +23 -23
- package/dist/chunks/{location-w62z9fyd.js → websearch-t3gc9rvy.js} +3 -3
- package/dist/chunks/{location-tczq8hjw.js → websearch-tczq8hjw.js} +1 -1
- package/dist/chunks/{location-tg1vr1qt.js → websearch-tg1vr1qt.js} +1 -1
- package/dist/chunks/{location-4h609sqz.js → websearch-tmdtawbd.js} +29 -29
- package/dist/chunks/{location-twssxy5n.js → websearch-twssxy5n.js} +2 -2
- package/dist/chunks/{location-78m9g99c.js → websearch-tznvtk94.js} +34 -34
- package/dist/chunks/{location-scgs57d2.js → websearch-v256hjtv.js} +15 -15
- package/dist/chunks/{location-v2r1d0zg.js → websearch-v2r1d0zg.js} +1 -1
- package/dist/chunks/{location-tkxe7v6f.js → websearch-v3xbvhj5.js} +22 -22
- package/dist/chunks/websearch-v63ad6sj.js +26 -0
- package/dist/chunks/{location-pqs4b36k.js → websearch-v6e9b7k7.js} +23 -23
- package/dist/chunks/{location-gd3reat4.js → websearch-vgjkn7gb.js} +15 -15
- package/dist/chunks/{location-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-hh67hv7z.js → websearch-w49gf5e8.js} +34 -34
- package/dist/chunks/{location-ym7mkmya.js → websearch-w7p07vyz.js} +16 -16
- package/dist/chunks/{location-76cb1hcw.js → websearch-w8qtt4th.js} +4 -4
- package/dist/chunks/{location-wakvkjy4.js → websearch-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{location-wegkxhrn.js → websearch-wegkxhrn.js} +2 -2
- package/dist/chunks/{location-z896zmsn.js → websearch-wem7v335.js} +42 -42
- package/dist/chunks/{location-rw03ft0n.js → websearch-wf9zfwe6.js} +5 -5
- package/dist/chunks/{location-gk8yz1wb.js → websearch-wjr22wj6.js} +13 -13
- package/dist/chunks/{location-wnhgecwx.js → websearch-wnhgecwx.js} +1 -1
- package/dist/chunks/{location-wrd39zd3.js → websearch-wrd39zd3.js} +2 -2
- package/dist/chunks/{location-35bjdts5.js → websearch-wvq4p2vf.js} +11 -11
- package/dist/chunks/{location-fr9j7gn6.js → websearch-wxvzs469.js} +58 -58
- package/dist/chunks/{location-2y347c6b.js → websearch-x7anyec9.js} +2 -2
- package/dist/chunks/{location-5dcrg5my.js → websearch-xbav9adg.js} +5 -5
- package/dist/chunks/{location-bfhbctn3.js → websearch-xesqy162.js} +23 -23
- package/dist/chunks/{location-ysnxehz4.js → websearch-xgg53m61.js} +23 -23
- package/dist/chunks/{location-efswkf52.js → websearch-xntjjzbv.js} +33 -33
- package/dist/chunks/{location-bqxm09jz.js → websearch-xpvy2n9z.js} +49 -49
- package/dist/chunks/{location-brd5eeq0.js → websearch-xt0z8zst.js} +8 -8
- package/dist/chunks/{location-3sty8408.js → websearch-xzwjndvp.js} +9 -9
- package/dist/chunks/{location-4c0eh56a.js → websearch-y13v0twb.js} +7 -7
- package/dist/chunks/{location-vnqrb8rh.js → websearch-y4da5gg3.js} +22 -22
- package/dist/chunks/{location-xhz7bc8m.js → websearch-y82rcgeg.js} +8 -8
- package/dist/chunks/{location-yara3q77.js → websearch-yara3q77.js} +2 -2
- package/dist/chunks/{location-yb20nhc3.js → websearch-yb20nhc3.js} +1 -1
- package/dist/chunks/{location-3jqxp1k9.js → websearch-yf89mf0m.js} +17 -17
- package/dist/chunks/{location-gxt6edwm.js → websearch-yqvckjfp.js} +21 -21
- package/dist/chunks/{location-0d0e2qqj.js → websearch-yy556f5x.js} +9 -9
- package/dist/chunks/{location-hhdnbsvt.js → websearch-z8ctesq9.js} +17 -17
- package/dist/chunks/{location-my54cbqv.js → websearch-zbbm2e96.js} +5 -5
- package/dist/chunks/{location-zzc7mygy.js → websearch-zcvfbtr9.js} +50 -50
- package/dist/chunks/{location-y4n6pw34.js → websearch-zfyb5tr4.js} +4 -4
- package/dist/chunks/{location-q2571jsw.js → websearch-ztfj0krh.js} +9 -9
- package/dist/chunks/{location-28365gvt.js → websearch-zv5zc9gt.js} +29 -29
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +149 -149
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +93 -93
- 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 +129 -129
- package/dist/config/plugin/command.js +226 -226
- 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 +129 -129
- package/dist/config/plugin/mcp.js +136 -136
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +129 -129
- 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 +150 -150
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +130 -130
- 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 +87 -87
- 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 +239 -239
- 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 +90 -90
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +99 -99
- package/dist/generate.js +121 -121
- 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 +111 -111
- 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 +96 -96
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- 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 +121 -121
- package/dist/mcp/instructions.js +179 -179
- package/dist/mcp/oauth.js +85 -85
- 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 +111 -111
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- 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 +84 -84
- package/dist/plugin/command.js +112 -112
- 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 +1 -1
- 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 +4 -4
- 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 +131 -131
- 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 +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +146 -146
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- 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 +109 -109
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +110 -110
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +102 -102
- 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 +251 -251
- 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 -196
- 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 +198 -198
- 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 +136 -136
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- 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 +3 -3
- package/dist/session/runner/step.js +159 -159
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +179 -179
- 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 +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +196 -196
- 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 +232 -232
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +155 -155
- 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 -176
- 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 +145 -145
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +230 -230
- package/dist/tool/plugin/skill.js +154 -154
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +144 -144
- package/dist/tool/plugin/webfetch.js +146 -146
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +163 -163
- 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 -159
- package/dist/usage-limits.js +97 -97
- 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 +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +1 -1
- 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 +100 -100
- package/dist/websearch.js +94 -94
- package/dist/wellknown/plugin.js +84 -84
- 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 +106 -106
- package/package.json +8 -8
- package/dist/chunks/location-ev660z6k.js +0 -18
- package/dist/chunks/location-hwkge4a4.js +0 -26
- package/dist/chunks/location-n30bqkse.js +0 -257
- /package/dist/chunks/{location-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kah00gy.js → websearch-1kah00gy.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2bv980vf.js → websearch-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-5w3e23ze.js → websearch-5w3e23ze.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{location-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-7stb81gk.js → websearch-7stb81gk.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{location-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a058387c.js → websearch-a058387c.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-beh6qq61.js → websearch-beh6qq61.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cqv5kn06.js → websearch-cqv5kn06.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ean2d8b5.js → websearch-ean2d8b5.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fkpq3x5p.js → websearch-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hcxmzztb.js → websearch-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jwr30sdr.js → websearch-jwr30sdr.js} +0 -0
- /package/dist/chunks/{location-jze0r7bz.js → websearch-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-m18g726c.js → websearch-m18g726c.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-ncqqe42p.js → websearch-ncqqe42p.js} +0 -0
- /package/dist/chunks/{location-nh4v3znn.js → websearch-nh4v3znn.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-p71gwv9c.js → websearch-p71gwv9c.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-stkk57rt.js → websearch-stkk57rt.js} +0 -0
- /package/dist/chunks/{location-t03h4f5z.js → websearch-t03h4f5z.js} +0 -0
- /package/dist/chunks/{location-ty7weeps.js → websearch-ty7weeps.js} +0 -0
- /package/dist/chunks/{location-ve7vex1e.js → websearch-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./websearch-xesqy162.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-0bbqvs7k.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-60qgg6x4.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { isArrayNonEmpty } from "effect/Array";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Form } from "@opencode/schema/form";
|
|
17
|
-
var providerID =
|
|
17
|
+
var providerID = ID14.make("cloudflare-ai-gateway");
|
|
18
18
|
var accountIdField = Form.StringField.make({
|
|
19
19
|
type: "string",
|
|
20
20
|
key: "accountId",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-v3xbvhj5.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
11
|
var exports_agent = {};
|
|
12
12
|
__export(exports_agent, {
|
|
13
13
|
AgentPlugin: () => exports_agent,
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin14
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin14 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin12 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID8.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID8.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID8.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID8.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID8.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin12 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin14, exports_agent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-kvvgry96.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-122fevtz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
Event14
|
|
10
|
+
} from "./websearch-a5sej8qd.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
41
|
+
const modelsDev = yield* Service72;
|
|
42
42
|
const bus = yield* Service86;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event14.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./websearch-t0hjt5vr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./websearch-9z9tayqc.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-hpg1pkwy.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service59;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin44 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin35, exports_location_watcher };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-kvvgry96.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
14
|
var exports_command4 = {};
|
|
15
15
|
__export(exports_command4, {
|
|
16
16
|
Command: () => exports_command4,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event6,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
|
-
Info: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
Info: () => Info11,
|
|
20
|
+
NotFoundError: () => NotFoundError6,
|
|
21
|
+
Service: () => Service44,
|
|
22
|
+
layer: () => layer18,
|
|
23
|
+
node: () => node46
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event6 } from "@opencode/schema/command";
|
|
29
|
+
var Info11 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service44 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service86;
|
|
47
|
-
const info = (definition) =>
|
|
47
|
+
const info = (definition) => Info11.make({
|
|
48
48
|
name: definition.name,
|
|
49
49
|
description: definition.description
|
|
50
50
|
});
|
|
@@ -56,7 +56,7 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service44.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,14 +67,14 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node46 = makeLocationNode({
|
|
76
|
+
service: Service44,
|
|
77
|
+
layer: layer18,
|
|
78
78
|
deps: [node90]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Info11, NotFoundError6, ExecutionError2, Service44, layer18, node46, exports_command4, Event6 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID12,
|
|
6
|
+
Service74
|
|
7
|
+
} from "./websearch-5sev5bhn.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-gynv5cx7.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-557537gg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-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* Service74;
|
|
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: ID12.make(from),
|
|
91
|
+
to: ID12.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service5,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node6
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service5 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service5.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node6 = makeGlobalNode({ service: Service5, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service5, node6, exports_discovery };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-x7anyec9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service59
|
|
9
|
+
} from "./websearch-t0hjt5vr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service24
|
|
12
|
+
} from "./websearch-8tbnpqt6.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-hpg1pkwy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin50
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin50 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service59;
|
|
34
34
|
const location = yield* Service83;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service24;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin47 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin50, exports_worktree };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-kvvgry96.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID17,
|
|
20
|
+
Info: () => Info28,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service82,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer27,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node86,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID17 = Form.ID;
|
|
39
|
+
var Info28 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID17
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID17
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID17
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID17,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service82 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer27 = Layer.effect(
|
|
84
|
+
var layer27 = Layer.effect(Service82, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service86;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID17.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service82.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node86 = makeLocationNode({ service: Service82, layer: layer27, deps: [node90] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID17, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service82, layer27, node86, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-wnhgecwx.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-2yspc50g.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-mb7mbhnz.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load5
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-4tcdce07.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-j8ry5sc9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/store.ts
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service56,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node58
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service56 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service87;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service56.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node58 = makeGlobalNode({ service: Service56, layer, deps: [node91] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service56, node58, exports_store };
|