@opencode-ai/core 0.0.0-beta-19157 → 0.0.0-beta-19187
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +82 -82
- package/dist/chunks/{wellknown-wctfcgtb.js → snapshot-020j3mp2.js} +6 -6
- package/dist/chunks/{wellknown-w8hr26yt.js → snapshot-024d3rq7.js} +16 -16
- package/dist/chunks/{wellknown-0e0xafbb.js → snapshot-0e0xafbb.js} +2 -2
- package/dist/chunks/{wellknown-0paq2nw3.js → snapshot-0paq2nw3.js} +1 -1
- package/dist/chunks/{wellknown-0s9ayhjt.js → snapshot-0s9ayhjt.js} +1 -1
- package/dist/chunks/{wellknown-mfmy0k16.js → snapshot-1372cpk1.js} +8 -8
- package/dist/chunks/{wellknown-a4bdw771.js → snapshot-15m9k394.js} +25 -25
- package/dist/chunks/{wellknown-yw9364ag.js → snapshot-16r38w9g.js} +4 -4
- package/dist/chunks/{wellknown-sx1n432n.js → snapshot-1a6p2twq.js} +4 -4
- package/dist/chunks/{wellknown-dapwfvd2.js → snapshot-1apakymg.js} +41 -41
- package/dist/chunks/{wellknown-xnxegkmr.js → snapshot-1c8x35y2.js} +52 -52
- package/dist/chunks/{wellknown-1ct4r87x.js → snapshot-1ct4r87x.js} +1 -1
- package/dist/chunks/{wellknown-8s80arjs.js → snapshot-1e7rwcw0.js} +12 -12
- package/dist/chunks/{wellknown-6ba29tk2.js → snapshot-1hj0ecw2.js} +22 -22
- package/dist/chunks/{wellknown-5zc2x0sb.js → snapshot-1hy241bm.js} +3 -3
- package/dist/chunks/{wellknown-m5045k8y.js → snapshot-1n116cmy.js} +9 -9
- package/dist/chunks/{wellknown-c7s9k239.js → snapshot-1p8bnmch.js} +4 -4
- package/dist/chunks/{wellknown-h5xdhsym.js → snapshot-1rm0drdm.js} +4 -2
- package/dist/chunks/{wellknown-2j3d2w2t.js → snapshot-1tbefb4e.js} +13 -13
- package/dist/chunks/{wellknown-n95nq84g.js → snapshot-1ydgq2r4.js} +5 -5
- package/dist/chunks/{wellknown-na7k47ng.js → snapshot-21kgjbv4.js} +8 -8
- package/dist/chunks/{wellknown-21r38tys.js → snapshot-21r38tys.js} +1 -1
- package/dist/chunks/{wellknown-0krgqetd.js → snapshot-23dqznfd.js} +46 -46
- package/dist/chunks/{wellknown-g94f0f01.js → snapshot-23vtnxct.js} +18 -18
- package/dist/chunks/{wellknown-ba723ajb.js → snapshot-24hkfxm1.js} +8 -8
- package/dist/chunks/{wellknown-2a5m3afh.js → snapshot-2a5m3afh.js} +1 -1
- package/dist/chunks/{wellknown-2d57kztd.js → snapshot-2d57kztd.js} +1 -1
- package/dist/chunks/{wellknown-2ht70gj7.js → snapshot-2ht70gj7.js} +1 -1
- package/dist/chunks/{wellknown-jxc8y161.js → snapshot-2j3vet75.js} +31 -30
- package/dist/chunks/{wellknown-gbmaq3ra.js → snapshot-2m3ere56.js} +46 -46
- package/dist/chunks/{wellknown-3n69mpxt.js → snapshot-2n9af97f.js} +4 -4
- package/dist/chunks/{wellknown-6ta01fq9.js → snapshot-2w6bfmvf.js} +1 -1
- package/dist/chunks/{wellknown-c2j3fvxb.js → snapshot-30gfay9h.js} +16 -16
- package/dist/chunks/{wellknown-hhfqndnr.js → snapshot-38dpc6qc.js} +24 -24
- package/dist/chunks/{wellknown-kbndngdv.js → snapshot-3ew6g826.js} +23 -23
- package/dist/chunks/{wellknown-bfdnm1te.js → snapshot-3f2705k6.js} +9 -9
- package/dist/chunks/{wellknown-3fc6dm20.js → snapshot-3fc6dm20.js} +1 -1
- package/dist/chunks/{wellknown-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-3qzbfqsy.js → snapshot-3qzbfqsy.js} +2 -2
- package/dist/chunks/{wellknown-3smtnn6g.js → snapshot-3smtnn6g.js} +1 -1
- package/dist/chunks/{wellknown-q7805caa.js → snapshot-3szn5xn9.js} +4 -4
- package/dist/chunks/{wellknown-3tvqynh2.js → snapshot-3tvqynh2.js} +1 -1
- package/dist/chunks/{wellknown-nmdpg4hr.js → snapshot-40t5htn2.js} +30 -30
- package/dist/chunks/{wellknown-41mncz27.js → snapshot-41mncz27.js} +2 -2
- package/dist/chunks/{wellknown-454k5vzh.js → snapshot-454k5vzh.js} +1 -1
- package/dist/chunks/{wellknown-g5wgwrzw.js → snapshot-4c61nftm.js} +2 -2
- package/dist/chunks/{wellknown-kjm195mv.js → snapshot-4d2pz62c.js} +20 -20
- package/dist/chunks/{wellknown-zmye7hbx.js → snapshot-4gc90xj1.js} +20 -20
- package/dist/chunks/{wellknown-4r2nyarf.js → snapshot-4r2nyarf.js} +1 -1
- package/dist/chunks/{wellknown-jfvmqd5d.js → snapshot-4vch2zdd.js} +11 -11
- package/dist/chunks/{wellknown-mhyp03ce.js → snapshot-55snk687.js} +8 -8
- package/dist/chunks/{wellknown-7wp9r7ba.js → snapshot-5725naen.js} +32 -32
- package/dist/chunks/{wellknown-5daktx2q.js → snapshot-5daktx2q.js} +1 -1
- package/dist/chunks/{wellknown-5fmxt4p5.js → snapshot-5fmxt4p5.js} +1 -1
- package/dist/chunks/{wellknown-187zhppa.js → snapshot-5gkgjc9e.js} +10 -10
- package/dist/chunks/{wellknown-z9d8dnaf.js → snapshot-5hk7d8ve.js} +9 -9
- package/dist/chunks/{wellknown-5jvc5tg2.js → snapshot-5jvc5tg2.js} +1 -1
- package/dist/chunks/{wellknown-m1c4gy78.js → snapshot-5pbfg4es.js} +33 -33
- package/dist/chunks/{wellknown-4br8j3xe.js → snapshot-5s5s3mdf.js} +38 -38
- package/dist/chunks/{wellknown-3n75mgw6.js → snapshot-5vbsxe1b.js} +19 -19
- package/dist/chunks/{wellknown-j3pby61b.js → snapshot-67dbm4zp.js} +4 -4
- package/dist/chunks/{wellknown-avahfm6t.js → snapshot-6ggr1646.js} +26 -26
- package/dist/chunks/{wellknown-2402vzrj.js → snapshot-6h73sxmp.js} +5 -5
- package/dist/chunks/{wellknown-wz4fbqay.js → snapshot-6m616b53.js} +34 -34
- package/dist/chunks/{wellknown-n149779n.js → snapshot-6wsw2by1.js} +16 -16
- package/dist/chunks/{wellknown-jbzwckha.js → snapshot-6y030jv9.js} +22 -22
- package/dist/chunks/{wellknown-6abnk40k.js → snapshot-6z5bwd8g.js} +9 -9
- package/dist/chunks/{wellknown-3e5q22gm.js → snapshot-703t54qh.js} +28 -28
- package/dist/chunks/{wellknown-711hfp6y.js → snapshot-711hfp6y.js} +2 -2
- package/dist/chunks/{wellknown-72nftnjy.js → snapshot-72nftnjy.js} +2 -2
- package/dist/chunks/{wellknown-28pcbh69.js → snapshot-75yf2d83.js} +8 -8
- package/dist/chunks/{wellknown-0n6t9trj.js → snapshot-768z0hjh.js} +1 -1
- package/dist/chunks/{wellknown-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-rszzns79.js → snapshot-7re8x0er.js} +24 -24
- package/dist/chunks/{wellknown-bth0hr76.js → snapshot-7ts527p8.js} +23 -23
- package/dist/chunks/snapshot-7wsg6hf8.js +247 -0
- package/dist/chunks/{wellknown-kademwqx.js → snapshot-880d1yvd.js} +11 -11
- package/dist/chunks/{wellknown-r8w8bq91.js → snapshot-8cwz8zkd.js} +26 -26
- package/dist/chunks/{wellknown-9e966tng.js → snapshot-8cxqnk20.js} +27 -27
- package/dist/chunks/{wellknown-vhg4wxph.js → snapshot-8n7pcwmv.js} +28 -28
- package/dist/chunks/{wellknown-dmwgd9rj.js → snapshot-8rfm27zh.js} +11 -11
- package/dist/chunks/{wellknown-93wzm26s.js → snapshot-8z5rgnjd.js} +8 -8
- package/dist/chunks/{wellknown-rsvs0vjg.js → snapshot-909grfy1.js} +11 -11
- package/dist/chunks/{wellknown-r6cgjeqn.js → snapshot-91ze4v0n.js} +10 -10
- package/dist/chunks/{wellknown-y2cqme3r.js → snapshot-93a8yfjt.js} +5 -5
- package/dist/chunks/{wellknown-adysj9cr.js → snapshot-96yjb8st.js} +13 -13
- package/dist/chunks/{wellknown-q1md1zjj.js → snapshot-988pjtx7.js} +7 -7
- package/dist/chunks/{wellknown-n52mxx0b.js → snapshot-9cm69fc1.js} +24 -24
- package/dist/chunks/{wellknown-ry16e5g7.js → snapshot-9kbsf2gn.js} +11 -11
- package/dist/chunks/{wellknown-9qm9egsn.js → snapshot-9qm9egsn.js} +2 -2
- package/dist/chunks/{wellknown-37ct2frz.js → snapshot-9vsg5cp7.js} +2 -2
- package/dist/chunks/{wellknown-7thqmzsc.js → snapshot-a16zj9be.js} +80 -80
- package/dist/chunks/{wellknown-pxc9rw6c.js → snapshot-a1earc5n.js} +39 -39
- package/dist/chunks/{wellknown-aaet6srn.js → snapshot-aaet6srn.js} +2 -2
- package/dist/chunks/{wellknown-t2az9yje.js → snapshot-ag4rn41e.js} +4 -4
- package/dist/chunks/{wellknown-rae26gbb.js → snapshot-ajphwd6y.js} +8 -8
- package/dist/chunks/{wellknown-ajtjthsy.js → snapshot-ajtjthsy.js} +2 -2
- package/dist/chunks/{wellknown-aaf6tv83.js → snapshot-ar56ndp2.js} +4 -4
- package/dist/chunks/{wellknown-jenf2w30.js → snapshot-arf90xej.js} +23 -23
- package/dist/chunks/{wellknown-y55kwzvm.js → snapshot-avc0zheg.js} +8 -8
- package/dist/chunks/{wellknown-3g2y1byn.js → snapshot-awqyf91x.js} +5 -5
- package/dist/chunks/{wellknown-6jdg21kp.js → snapshot-b3n2eqtx.js} +45 -36
- package/dist/chunks/{wellknown-2jqmte8w.js → snapshot-b3vyfvjr.js} +43 -12
- package/dist/chunks/{wellknown-sba2xw4p.js → snapshot-b4dzx2gd.js} +11 -11
- package/dist/chunks/{wellknown-b6gygkdw.js → snapshot-b6gygkdw.js} +2 -2
- package/dist/chunks/{wellknown-b9wsbatv.js → snapshot-b9wsbatv.js} +1 -1
- package/dist/chunks/{wellknown-hnyf01b0.js → snapshot-bcezcar3.js} +5 -5
- package/dist/chunks/{wellknown-hnpt5b9g.js → snapshot-bgn4bef1.js} +36 -36
- package/dist/chunks/{wellknown-03z534ys.js → snapshot-bgw31bhk.js} +9 -9
- package/dist/chunks/{wellknown-mt6mcg2h.js → snapshot-bpnz08mb.js} +2 -2
- package/dist/chunks/{wellknown-rhwwv70e.js → snapshot-c92n51tt.js} +11 -11
- package/dist/chunks/{wellknown-987p19s4.js → snapshot-cb49kykp.js} +13 -13
- package/dist/chunks/{wellknown-sxrpqsmr.js → snapshot-cfgww4x1.js} +9 -9
- package/dist/chunks/{wellknown-r7t96r8n.js → snapshot-cjr8pdvn.js} +39 -39
- package/dist/chunks/{wellknown-917dq7d6.js → snapshot-d1a1bt21.js} +5 -5
- package/dist/chunks/{wellknown-e9z9h9yy.js → snapshot-d6n0x6yy.js} +14 -14
- package/dist/chunks/{wellknown-d72308c8.js → snapshot-d72308c8.js} +2 -2
- package/dist/chunks/{wellknown-z3njjm07.js → snapshot-d7z6y9ja.js} +21 -21
- package/dist/chunks/{wellknown-5d17xbav.js → snapshot-d9wzmzc3.js} +5 -5
- package/dist/chunks/{wellknown-jk4n7dck.js → snapshot-dcxt3b0h.js} +11 -11
- package/dist/chunks/{wellknown-6w9g96bv.js → snapshot-dext7g0m.js} +24 -24
- package/dist/chunks/{wellknown-jwcy2c2z.js → snapshot-dpkg50ah.js} +4 -4
- package/dist/chunks/snapshot-dxj72tfx.js +18 -0
- package/dist/chunks/{wellknown-9wt3tsrn.js → snapshot-e0h0gh3e.js} +28 -28
- package/dist/chunks/{wellknown-174menj9.js → snapshot-e81fpqd0.js} +28 -28
- package/dist/chunks/{wellknown-23ym420b.js → snapshot-en9d43be.js} +31 -31
- package/dist/chunks/snapshot-enw72f67.js +20 -0
- package/dist/chunks/{wellknown-frb89zj9.js → snapshot-etzd0975.js} +15 -15
- package/dist/chunks/{wellknown-q961dm7m.js → snapshot-f0zn10rw.js} +161 -161
- package/dist/chunks/{wellknown-kcz3kyzp.js → snapshot-f52kkt2b.js} +23 -23
- package/dist/chunks/{wellknown-vy9axbw1.js → snapshot-fc9k9wz0.js} +17 -17
- package/dist/chunks/{wellknown-2k8khapm.js → snapshot-fcrkznn8.js} +5 -5
- package/dist/chunks/{wellknown-ny9q6q4v.js → snapshot-fnvew4yj.js} +20 -20
- package/dist/chunks/{wellknown-fxbjtjnd.js → snapshot-fxbjtjnd.js} +1 -1
- package/dist/chunks/{wellknown-fxypknc8.js → snapshot-fxypknc8.js} +1 -1
- package/dist/chunks/{wellknown-hwhktdy4.js → snapshot-g8e0epaw.js} +24 -24
- package/dist/chunks/{wellknown-fkwg44rt.js → snapshot-g9wx1hct.js} +15 -15
- package/dist/chunks/{wellknown-nykyeqwq.js → snapshot-gafyc7gz.js} +7 -7
- package/dist/chunks/{wellknown-mp00anfa.js → snapshot-ganjyh73.js} +6 -6
- package/dist/chunks/{wellknown-gd4qta3r.js → snapshot-gd4qta3r.js} +1 -1
- package/dist/chunks/{wellknown-1a0y61fc.js → snapshot-gfym1ca3.js} +11 -11
- package/dist/chunks/{wellknown-ycfbty71.js → snapshot-gmj1gppr.js} +12 -12
- package/dist/chunks/{wellknown-sr0zn850.js → snapshot-gndhbexs.js} +7 -7
- package/dist/chunks/{wellknown-rfq7xs4d.js → snapshot-gxc000b8.js} +9 -9
- package/dist/chunks/{wellknown-4afpmjwz.js → snapshot-gya8cf0v.js} +48 -42
- package/dist/chunks/{wellknown-qw8c6yqg.js → snapshot-h5vhzp21.js} +35 -35
- package/dist/chunks/{wellknown-h6vf3j39.js → snapshot-h6vf3j39.js} +1 -1
- package/dist/chunks/{wellknown-q0xzcr7f.js → snapshot-h8xjeven.js} +295 -295
- package/dist/chunks/{wellknown-nhjpgrh4.js → snapshot-haknmdce.js} +20 -20
- package/dist/chunks/{wellknown-gw5qc7da.js → snapshot-hcfyj39r.js} +13 -13
- package/dist/chunks/{wellknown-heyhwy2w.js → snapshot-heyhwy2w.js} +1 -1
- package/dist/chunks/{wellknown-w5a8z9r2.js → snapshot-hf8ns2dd.js} +4 -4
- package/dist/chunks/{wellknown-qbzb1j1c.js → snapshot-hg6q2aep.js} +11 -11
- package/dist/chunks/{wellknown-v50e20c6.js → snapshot-hh1d3sxx.js} +32 -32
- package/dist/chunks/{wellknown-xkxektkz.js → snapshot-hkfxbmge.js} +21 -21
- package/dist/chunks/{wellknown-hrvm11jt.js → snapshot-hrvm11jt.js} +3 -3
- package/dist/chunks/{wellknown-j8fxhnqh.js → snapshot-ht2crakh.js} +22 -22
- package/dist/chunks/{wellknown-yqzjyyxs.js → snapshot-hvey9wt0.js} +21 -21
- package/dist/chunks/{wellknown-hw4pv20g.js → snapshot-hw4pv20g.js} +2 -2
- package/dist/chunks/{wellknown-pgt0fkwt.js → snapshot-hwvag5jb.js} +15 -15
- package/dist/chunks/{wellknown-vk9s0zr3.js → snapshot-hzhsscf8.js} +23 -23
- package/dist/chunks/{wellknown-k2kb66cj.js → snapshot-hzymbmey.js} +3 -3
- package/dist/chunks/snapshot-j1vjmznv.js +22 -0
- package/dist/chunks/{wellknown-ngabqghr.js → snapshot-j58zjd36.js} +17 -17
- package/dist/chunks/{wellknown-tmfnh1q5.js → snapshot-jd3azxa6.js} +82 -82
- package/dist/chunks/{wellknown-8a3y5q1n.js → snapshot-jdk5bzr4.js} +30 -30
- package/dist/chunks/{wellknown-cmdp56dw.js → snapshot-jnmmvqjs.js} +1 -1
- package/dist/chunks/{wellknown-bwm9kjcw.js → snapshot-jsrm0jes.js} +47 -47
- package/dist/chunks/{wellknown-hcx11q7e.js → snapshot-jxzd6v7d.js} +44 -44
- package/dist/chunks/{wellknown-s3rbnf14.js → snapshot-k2r69zh9.js} +14 -14
- package/dist/chunks/{wellknown-k4bwy1x5.js → snapshot-k4bwy1x5.js} +1 -1
- package/dist/chunks/{wellknown-041mrh4x.js → snapshot-ka43tmws.js} +21 -21
- package/dist/chunks/{wellknown-2w4chj1g.js → snapshot-ka5snxjp.js} +4 -4
- package/dist/chunks/{wellknown-99m4pprq.js → snapshot-kahjggx0.js} +10 -10
- package/dist/chunks/{wellknown-smy8j9tb.js → snapshot-kfs2vgth.js} +17 -17
- package/dist/chunks/{wellknown-kg06axw8.js → snapshot-kg06axw8.js} +1 -1
- package/dist/chunks/{wellknown-76xf8n6j.js → snapshot-kk60f5rs.js} +4 -4
- package/dist/chunks/{wellknown-d2x6rcjx.js → snapshot-kp5z882f.js} +12 -12
- package/dist/chunks/{wellknown-xtmm7gkk.js → snapshot-kvqvfjxg.js} +10 -10
- package/dist/chunks/{wellknown-8r5whp28.js → snapshot-kx5cpq08.js} +4 -4
- package/dist/chunks/{wellknown-s06xe5v4.js → snapshot-m2j9w2q8.js} +13 -13
- package/dist/chunks/{wellknown-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mvfsc1pv.js → snapshot-mhkvc446.js} +3 -3
- package/dist/chunks/{wellknown-jbhh2rmh.js → snapshot-mkeycc06.js} +11 -11
- package/dist/chunks/{wellknown-a4cbam25.js → snapshot-mp5abn5e.js} +20 -20
- package/dist/chunks/{wellknown-bmr4rzrd.js → snapshot-mq9r6drf.js} +3 -3
- package/dist/chunks/{wellknown-888k7gfv.js → snapshot-mycvpxn8.js} +10 -10
- package/dist/chunks/{wellknown-mafkkaev.js → snapshot-n6wnzfnt.js} +6 -6
- package/dist/chunks/{wellknown-t1d80fqj.js → snapshot-nexs1z18.js} +6 -6
- package/dist/chunks/{wellknown-x545et0z.js → snapshot-nmycpjj8.js} +3 -3
- package/dist/chunks/{wellknown-024e4rjz.js → snapshot-p6yzb5ay.js} +7 -7
- package/dist/chunks/{wellknown-wa6q3vex.js → snapshot-p81w81mb.js} +54 -54
- package/dist/chunks/{wellknown-nn46x40y.js → snapshot-p8tabr57.js} +3 -3
- package/dist/chunks/{wellknown-sfyg8jca.js → snapshot-pa6mt9gp.js} +17 -17
- package/dist/chunks/{wellknown-njfaq3nk.js → snapshot-pan7s928.js} +28 -28
- package/dist/chunks/{wellknown-j935v87r.js → snapshot-paphc93g.js} +2 -2
- package/dist/chunks/{wellknown-p7eywz5b.js → snapshot-pawcwqnj.js} +22 -22
- package/dist/chunks/{wellknown-n2dzf7ax.js → snapshot-pdv7zmmj.js} +11 -11
- package/dist/chunks/{wellknown-pjvnvgmy.js → snapshot-pjvnvgmy.js} +1 -1
- package/dist/chunks/{wellknown-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-9ttajpzr.js → snapshot-pp0xeafz.js} +18 -18
- package/dist/chunks/{wellknown-zf2mdqhr.js → snapshot-pqy10p6r.js} +10 -10
- package/dist/chunks/{wellknown-yk5chycy.js → snapshot-pt7wq7x0.js} +1 -1
- package/dist/chunks/{wellknown-nz7wfeq1.js → snapshot-q8vzjd10.js} +37 -37
- package/dist/chunks/{wellknown-3z627vwq.js → snapshot-qqk5wyw8.js} +9 -9
- package/dist/chunks/{wellknown-96tsfsen.js → snapshot-qs4avvkb.js} +1 -1
- package/dist/chunks/{wellknown-qsdy395h.js → snapshot-qsdy395h.js} +1 -1
- package/dist/chunks/{wellknown-tph2mkjf.js → snapshot-qw2p7f7e.js} +7 -7
- package/dist/chunks/{wellknown-4a5fwm7b.js → snapshot-qyahze0k.js} +16 -16
- package/dist/chunks/{wellknown-rhbe1v15.js → snapshot-r2aw8hfz.js} +18 -18
- package/dist/chunks/{wellknown-2kj0pn7y.js → snapshot-r38jmka9.js} +14 -14
- package/dist/chunks/{wellknown-rz31k017.js → snapshot-r5w2ssxe.js} +9 -9
- package/dist/chunks/{wellknown-r8dhm0tv.js → snapshot-r8dhm0tv.js} +1 -1
- package/dist/chunks/{wellknown-v5dkyp31.js → snapshot-ratrq7cm.js} +4 -4
- package/dist/chunks/{wellknown-46v7nc60.js → snapshot-re6cjhs8.js} +14 -14
- package/dist/chunks/{wellknown-pmnt38wb.js → snapshot-rnzmhn3n.js} +14 -14
- package/dist/chunks/{wellknown-nga86p6q.js → snapshot-rvb2zp0m.js} +6 -6
- package/dist/chunks/{wellknown-663b6dh9.js → snapshot-rwszmxta.js} +7 -7
- package/dist/chunks/{wellknown-qm8ev4wm.js → snapshot-rxez074z.js} +8 -8
- package/dist/chunks/{wellknown-g585tkj2.js → snapshot-rz7hn0qq.js} +4 -4
- package/dist/chunks/{wellknown-q9792xnb.js → snapshot-rzbakfyr.js} +1 -1
- package/dist/chunks/{wellknown-gqy8qs28.js → snapshot-s3f6t33f.js} +11 -11
- package/dist/chunks/{wellknown-sba4qhjf.js → snapshot-sba4qhjf.js} +1 -1
- package/dist/chunks/{wellknown-dk9a5vne.js → snapshot-skd000tr.js} +5 -5
- package/dist/chunks/{wellknown-gb89bdhv.js → snapshot-swmjfjpy.js} +15 -15
- package/dist/chunks/{wellknown-98rh1jc3.js → snapshot-t3ba3m2z.js} +11 -11
- package/dist/chunks/{wellknown-7nh4ntd5.js → snapshot-t50egam6.js} +14 -14
- package/dist/chunks/{wellknown-qqvjzcxr.js → snapshot-t840r6y8.js} +29 -29
- package/dist/chunks/{wellknown-tazgh4e4.js → snapshot-tazgh4e4.js} +1 -1
- package/dist/chunks/{wellknown-tcezcvh9.js → snapshot-tcezcvh9.js} +1 -1
- package/dist/chunks/{wellknown-h0ehx5mk.js → snapshot-te6rn4e4.js} +11 -11
- package/dist/chunks/{wellknown-6jcrhkhg.js → snapshot-thf49529.js} +14 -14
- package/dist/chunks/{wellknown-tjykrgmx.js → snapshot-tjykrgmx.js} +1 -1
- package/dist/chunks/{wellknown-0nk2sz5z.js → snapshot-tnbsa9ys.js} +23 -23
- package/dist/chunks/{wellknown-tppvcy65.js → snapshot-tppvcy65.js} +2 -2
- package/dist/chunks/{wellknown-rtm4n6fb.js → snapshot-tt4wv3c1.js} +3 -3
- package/dist/chunks/{wellknown-nqmxhx1w.js → snapshot-txc69p28.js} +27 -27
- package/dist/chunks/{wellknown-66y1b5dw.js → snapshot-veapvh03.js} +9 -9
- package/dist/chunks/{wellknown-djtdz80w.js → snapshot-vep9yay1.js} +4 -4
- package/dist/chunks/{wellknown-h7shmymb.js → snapshot-vky4d6kn.js} +15 -15
- package/dist/chunks/{wellknown-39sgaahe.js → snapshot-vprecwf5.js} +27 -27
- package/dist/chunks/{wellknown-920cr0mh.js → snapshot-w10c8kxq.js} +18 -18
- package/dist/chunks/{wellknown-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-pgnp76q4.js → snapshot-wcwzqypc.js} +22 -22
- package/dist/chunks/{wellknown-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-mjzbwbtj.js → snapshot-wn4t0eg6.js} +32 -32
- package/dist/chunks/{wellknown-apn8f15b.js → snapshot-wnmqtqbz.js} +4 -4
- package/dist/chunks/{wellknown-pedw5n3n.js → snapshot-wqnpacsy.js} +66 -66
- package/dist/chunks/{wellknown-hha4zry8.js → snapshot-wtm3m4mv.js} +4 -4
- package/dist/chunks/{wellknown-49hz62j1.js → snapshot-wzs3fvsw.js} +22 -22
- package/dist/chunks/{wellknown-x1ezjp6w.js → snapshot-x1ezjp6w.js} +1 -1
- package/dist/chunks/{wellknown-3d43f50e.js → snapshot-xgm6gat2.js} +6 -6
- package/dist/chunks/{wellknown-hhvbpypa.js → snapshot-xyz60e6p.js} +13 -13
- package/dist/chunks/{wellknown-pwnnz8en.js → snapshot-xzpf9br7.js} +39 -39
- package/dist/chunks/{wellknown-barxnhzp.js → snapshot-y08fmh3j.js} +4 -4
- package/dist/chunks/{wellknown-y1fvbwt7.js → snapshot-y1fvbwt7.js} +1 -1
- package/dist/chunks/snapshot-y86ghdgz.js +51 -0
- package/dist/chunks/{wellknown-bskj9zs2.js → snapshot-ycv9gdpt.js} +9 -9
- package/dist/chunks/{wellknown-raycc6w1.js → snapshot-ydp0xqxw.js} +3 -3
- package/dist/chunks/{wellknown-yanbnw58.js → snapshot-yenvjmh1.js} +10 -10
- package/dist/chunks/{wellknown-kk3rr3qh.js → snapshot-yfbd16n1.js} +5 -5
- package/dist/chunks/{wellknown-vj82my2s.js → snapshot-yj3e99fm.js} +1 -1
- package/dist/chunks/{wellknown-qxe975hr.js → snapshot-ymaccxa6.js} +15 -15
- package/dist/chunks/{wellknown-67gs2z40.js → snapshot-z1ggamk1.js} +15 -15
- package/dist/chunks/{wellknown-z1k01bn4.js → snapshot-z1k01bn4.js} +2 -2
- package/dist/chunks/{wellknown-75ws2xfr.js → snapshot-z5f26pen.js} +7 -7
- package/dist/chunks/{wellknown-z63w68vq.js → snapshot-z63w68vq.js} +2 -2
- package/dist/chunks/{wellknown-4hh0p0ng.js → snapshot-zajwd6at.js} +5 -5
- package/dist/chunks/{wellknown-zywh7q6e.js → snapshot-zazfhf2t.js} +29 -29
- package/dist/chunks/{wellknown-0z4qk8xt.js → snapshot-zdagzmws.js} +4 -4
- package/dist/chunks/{wellknown-1zjgdmhv.js → snapshot-zejwj74g.js} +16 -16
- package/dist/chunks/{wellknown-ceqnmb02.js → snapshot-zh1vshbg.js} +5 -5
- package/dist/chunks/{wellknown-tz1mz783.js → snapshot-zhn53cwh.js} +29 -29
- package/dist/chunks/{wellknown-rhp4699a.js → snapshot-zsa9p6rj.js} +7 -7
- package/dist/chunks/{wellknown-wbvq8g8t.js → snapshot-zvz3f5e8.js} +13 -13
- package/dist/chunks/{wellknown-zxq2ej10.js → snapshot-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +117 -117
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +88 -88
- 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 +3 -3
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +7 -7
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +86 -86
- package/dist/location-mutation.js +77 -77
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +346 -346
- package/dist/location.js +76 -76
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +83 -83
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +320 -320
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -4
- package/dist/plugin/optimize.js +21 -0
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +79 -79
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +75 -75
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +337 -337
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +75 -75
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +216 -216
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +117 -117
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- 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 +117 -117
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +113 -113
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/plugin/module.d.ts +36 -34
- package/dist/types/plugin/{system-prompt.d.ts → optimize.d.ts} +3 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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 +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +338 -338
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -9
- package/dist/chunks/wellknown-5310qyg9.js +0 -18
- package/dist/chunks/wellknown-5hannepb.js +0 -103
- package/dist/chunks/wellknown-bxw8fhk8.js +0 -247
- package/dist/chunks/wellknown-kpe4sfyz.js +0 -20
- package/dist/chunks/wellknown-te378a9x.js +0 -22
- package/dist/plugin/system-prompt.js +0 -17
- /package/dist/chunks/{wellknown-0fabt78z.js → snapshot-0fabt78z.js} +0 -0
- /package/dist/chunks/{wellknown-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kg9ymc8.js → snapshot-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2axfhc9x.js → snapshot-2axfhc9x.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3t738kvx.js → snapshot-3t738kvx.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-41nvscxy.js → snapshot-41nvscxy.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-7zk4hah4.js → snapshot-7zk4hah4.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-982e01ww.js → snapshot-982e01ww.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a1tpkmh4.js → snapshot-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → snapshot-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fxgpk5d8.js → snapshot-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-mntxs535.js → snapshot-mntxs535.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-p8qxwesx.js → snapshot-p8qxwesx.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-se0s1eqw.js → snapshot-se0s1eqw.js} +0 -0
- /package/dist/chunks/{wellknown-sk3qaz4a.js → snapshot-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-twg0f83k.js → snapshot-twg0f83k.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x1b8g1yb.js → snapshot-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8cydn3q.js → snapshot-y8cydn3q.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
- /package/dist/chunks/{wellknown-zbjnn3ac.js → snapshot-zbjnn3ac.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./snapshot-zazfhf2t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./snapshot-1c8x35y2.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service24
|
|
14
|
+
} from "./snapshot-ka43tmws.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input9,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin40,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name9 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
|
-
var
|
|
35
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
36
36
|
|
|
37
37
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
38
|
-
var
|
|
38
|
+
var Input9 = Schema.Struct({
|
|
39
39
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
40
40
|
});
|
|
41
41
|
var Output = Schema.Struct({
|
|
42
42
|
provider: ID4,
|
|
43
43
|
results: Schema.Array(Result2)
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Plugin40 = {
|
|
46
46
|
id: "opencode.tool.websearch",
|
|
47
47
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
48
|
-
const permission = yield*
|
|
49
|
-
const forms = yield*
|
|
50
|
-
const websearch = yield*
|
|
48
|
+
const permission = yield* Service67;
|
|
49
|
+
const forms = yield* Service54;
|
|
50
|
+
const websearch = yield* Service24;
|
|
51
51
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
52
|
-
name:
|
|
52
|
+
name: name9,
|
|
53
53
|
options: { codemode: false },
|
|
54
|
-
description:
|
|
55
|
-
input:
|
|
54
|
+
description: description3,
|
|
55
|
+
input: Input9,
|
|
56
56
|
output: Output,
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name9,
|
|
60
60
|
resources: [input.query],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: input,
|
|
@@ -193,9 +193,9 @@ ${result.content}` : ""}`;
|
|
|
193
193
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
194
194
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
195
195
|
if (disabled)
|
|
196
|
-
delete event.tools[
|
|
196
|
+
delete event.tools[name9];
|
|
197
197
|
}));
|
|
198
198
|
})
|
|
199
199
|
};
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { name9, NO_RESULTS2, description3, Input9, Plugin40, exports_websearch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Service76,
|
|
7
7
|
node81
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-9vsg5cp7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service15,
|
|
11
|
+
node18
|
|
12
|
+
} from "./snapshot-15m9k394.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event3,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service14,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node17
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event3 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service14 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
81
|
const location = yield* Service76;
|
|
82
|
-
const search = yield*
|
|
82
|
+
const search = yield* Service15;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service14.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node17 = makeLocationNode({
|
|
126
|
+
service: Service14,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node, node81,
|
|
128
|
+
deps: [FSUtil.node, node81, node18]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service14, node17, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./snapshot-gmj1gppr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./snapshot-kvqvfjxg.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service31,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-dxj72tfx.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./snapshot-f0zn10rw.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service31,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node22
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode-ai/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode-ai/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service78;
|
|
45
|
+
const kv = yield* Service73;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -67,7 +67,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
67
67
|
const list = Effect.fn("Plugin.list")(function* () {
|
|
68
68
|
return inventory;
|
|
69
69
|
});
|
|
70
|
-
const host = yield*
|
|
70
|
+
const host = yield* make11({ list });
|
|
71
71
|
const load = Effect.fnUntraced(function* (plugin) {
|
|
72
72
|
const activation = { plugin, scope: yield* Scope.fork(scope) };
|
|
73
73
|
const inherit = yield* inherit2();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service31.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node22 = Node.makeLocationNode({
|
|
226
|
+
service: Service31,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node22, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service79,
|
|
3
|
-
node84
|
|
4
|
-
} from "./wellknown-ycfbty71.js";
|
|
5
1
|
import {
|
|
6
2
|
Service78,
|
|
7
3
|
node83
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./snapshot-gmj1gppr.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
7
|
+
node84
|
|
8
|
+
} from "./snapshot-mycvpxn8.js";
|
|
9
9
|
import {
|
|
10
10
|
Service76,
|
|
11
11
|
node81
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-9vsg5cp7.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-dxj72tfx.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service61,
|
|
18
|
+
node65
|
|
19
|
+
} from "./snapshot-38dpc6qc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node22
|
|
22
|
+
} from "./snapshot-wcwzqypc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node15
|
|
26
|
+
} from "./snapshot-1n116cmy.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher2 = {};
|
|
33
|
+
__export(exports_location_watcher2, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher2,
|
|
35
|
+
Service: () => Service11,
|
|
36
|
+
node: () => node14
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode-ai/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service11 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service76;
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
47
|
+
const watcher = yield* Service61;
|
|
48
|
+
const bus = yield* Service78;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service11.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node14 = makeLocationNode({
|
|
106
|
+
service: Service11,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node65, FSUtil.node, node81, node84, node83, node22, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service11, node14, exports_location_watcher2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter2 = {};
|
|
7
7
|
__export(exports_formatter2, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter2,
|
|
9
9
|
Entry: () => Entry4,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info21
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
13
|
var Entry4 = Schema.Struct({
|
|
@@ -16,6 +16,6 @@ var Entry4 = Schema.Struct({
|
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info21 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export { Entry4,
|
|
21
|
+
export { Entry4, Info21, exports_formatter2 };
|
|
@@ -1,112 +1,112 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-p8tabr57.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./snapshot-gmj1gppr.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-mntxs535.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMessageTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-hrvm11jt.js";
|
|
15
15
|
import {
|
|
16
16
|
prepare4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-rz7hn0qq.js";
|
|
18
18
|
import {
|
|
19
19
|
llmClient2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-0e0xafbb.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessage2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./snapshot-982e01ww.js";
|
|
24
24
|
import {
|
|
25
25
|
StepFailedError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./snapshot-n6wnzfnt.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./snapshot-yenvjmh1.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service69,
|
|
33
|
+
node74
|
|
34
|
+
} from "./snapshot-r38jmka9.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service38,
|
|
37
|
+
node41
|
|
38
|
+
} from "./snapshot-c92n51tt.js";
|
|
39
39
|
import {
|
|
40
40
|
baseTranscript2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./snapshot-zhn53cwh.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
} from "./
|
|
43
|
+
make8
|
|
44
|
+
} from "./snapshot-bcezcar3.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service6,
|
|
47
|
+
node9
|
|
48
|
+
} from "./snapshot-hzhsscf8.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service32,
|
|
51
|
+
node35
|
|
52
|
+
} from "./snapshot-jd3azxa6.js";
|
|
53
53
|
import {
|
|
54
54
|
serialized2,
|
|
55
55
|
nextPromotable2,
|
|
56
56
|
promote2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./snapshot-7ts527p8.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
59
|
+
Service2,
|
|
60
60
|
isUntitled2,
|
|
61
|
-
|
|
62
|
-
} from "./
|
|
61
|
+
node3
|
|
62
|
+
} from "./snapshot-8cxqnk20.js";
|
|
63
63
|
import {
|
|
64
64
|
DrainResult2,
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
65
|
+
Service29
|
|
66
|
+
} from "./snapshot-ag4rn41e.js";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node68
|
|
69
|
+
} from "./snapshot-t840r6y8.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
71
|
+
node62
|
|
72
|
+
} from "./snapshot-kp5z882f.js";
|
|
73
73
|
import {
|
|
74
74
|
Outcome2,
|
|
75
75
|
make3
|
|
76
|
-
} from "./
|
|
76
|
+
} from "./snapshot-j58zjd36.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
Service31
|
|
79
|
+
} from "./snapshot-dxj72tfx.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
81
|
+
node22
|
|
82
|
+
} from "./snapshot-wcwzqypc.js";
|
|
83
83
|
import {
|
|
84
84
|
MAX_STEPS_PROMPT2
|
|
85
|
-
} from "./
|
|
85
|
+
} from "./snapshot-y44na4kk.js";
|
|
86
86
|
import {
|
|
87
87
|
__export
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
89
89
|
|
|
90
90
|
// src/session/runner/llm.ts
|
|
91
91
|
var exports_llm = {};
|
|
92
92
|
__export(exports_llm, {
|
|
93
93
|
SessionRunnerLLM: () => exports_llm,
|
|
94
|
-
node: () =>
|
|
94
|
+
node: () => node2
|
|
95
95
|
});
|
|
96
96
|
import { Message } from "@opencode-ai/ai";
|
|
97
97
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
98
98
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
99
99
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
100
100
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
101
|
-
var layer = Layer.effect(
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const store = yield*
|
|
104
|
-
const context = yield*
|
|
105
|
-
const modelTransport = yield*
|
|
101
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
102
|
+
const bus = yield* Service78;
|
|
103
|
+
const store = yield* Service69;
|
|
104
|
+
const context = yield* Service32;
|
|
105
|
+
const modelTransport = yield* Service38;
|
|
106
106
|
const db = (yield* Service80).db;
|
|
107
|
-
const compaction = yield*
|
|
108
|
-
const plugins = yield*
|
|
109
|
-
const title = yield*
|
|
107
|
+
const compaction = yield* Service6;
|
|
108
|
+
const plugins = yield* Service31;
|
|
109
|
+
const title = yield* Service2;
|
|
110
110
|
const steps = yield* make3;
|
|
111
111
|
const titles = yield* FiberMap.make();
|
|
112
112
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
228
228
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
229
229
|
const sessionID = first.session.id;
|
|
230
230
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
231
|
-
const retry = yield*
|
|
231
|
+
const retry = yield* make8(bus, sessionID);
|
|
232
232
|
let initial = first;
|
|
233
233
|
let recoverOverflow = true;
|
|
234
234
|
let recoverContinuation = true;
|
|
@@ -346,24 +346,24 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
});
|
|
349
|
-
return
|
|
349
|
+
return Service29.of({ drain });
|
|
350
350
|
}));
|
|
351
|
-
var
|
|
352
|
-
service:
|
|
351
|
+
var node2 = makeLocationNode({
|
|
352
|
+
service: Service29,
|
|
353
353
|
layer,
|
|
354
354
|
deps: [
|
|
355
|
-
|
|
355
|
+
node83,
|
|
356
356
|
llmClient2,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
357
|
+
node35,
|
|
358
|
+
node41,
|
|
359
|
+
node74,
|
|
360
|
+
node9,
|
|
361
|
+
node22,
|
|
362
|
+
node3,
|
|
363
|
+
node68,
|
|
364
|
+
node62,
|
|
365
365
|
node85
|
|
366
366
|
]
|
|
367
367
|
});
|
|
368
368
|
|
|
369
|
-
export {
|
|
369
|
+
export { node2, exports_llm };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info20,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info20 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info20, exports_permission };
|