@opencode/core 0.0.0-dev-20792 → 0.0.0-dev-20794
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{git-pan6pma5.js → file-mutation-001v9px8.js} +25 -25
- package/dist/chunks/{git-15k6ffdt.js → file-mutation-08pekkkp.js} +35 -35
- package/dist/chunks/{git-rx9ava5n.js → file-mutation-08w4ybrc.js} +4 -4
- package/dist/chunks/{git-rqk1fa9v.js → file-mutation-0bqktbhr.js} +11 -11
- package/dist/chunks/{git-0vbcp93d.js → file-mutation-0emb60td.js} +2 -2
- package/dist/chunks/{git-ey18w044.js → file-mutation-0kj4k1tc.js} +54 -54
- package/dist/chunks/{git-hgtyqm20.js → file-mutation-0mez6xtb.js} +19 -19
- package/dist/chunks/{git-vvtbyngz.js → file-mutation-0nchd41w.js} +23 -23
- package/dist/chunks/{git-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-sbcdpbwn.js → file-mutation-0pfnnq19.js} +9 -9
- package/dist/chunks/{git-sjysn7g8.js → file-mutation-0xvjdmzv.js} +8 -8
- package/dist/chunks/{git-w20e8fcc.js → file-mutation-0xwjverx.js} +23 -23
- package/dist/chunks/{git-vfdxn3h0.js → file-mutation-16p3pjs3.js} +22 -22
- package/dist/chunks/{git-azy71b5p.js → file-mutation-1795xh8n.js} +10 -10
- package/dist/chunks/{git-63k8pmst.js → file-mutation-1er3e6yx.js} +38 -38
- package/dist/chunks/{git-b2zceas0.js → file-mutation-1jk66z4d.js} +42 -42
- package/dist/chunks/{git-sj5qkpbh.js → file-mutation-1ptst37f.js} +48 -48
- package/dist/chunks/{git-7ys7tymf.js → file-mutation-1rfarsz2.js} +24 -24
- package/dist/chunks/{git-2wy543en.js → file-mutation-1v97ydhe.js} +26 -26
- package/dist/chunks/{git-fpvxm61y.js → file-mutation-1wjt2sv4.js} +2 -2
- package/dist/chunks/{git-4p3fqmky.js → file-mutation-1zr2pts9.js} +51 -51
- package/dist/chunks/{git-vyn3fbe9.js → file-mutation-22vr6xcz.js} +9 -9
- package/dist/chunks/{git-2z3ts8x2.js → file-mutation-2a12y9bg.js} +6 -6
- package/dist/chunks/{git-g6yfr6ja.js → file-mutation-2cjv1swf.js} +5 -5
- package/dist/chunks/{git-pnaxc6j9.js → file-mutation-2ktf0ed2.js} +8 -8
- package/dist/chunks/{git-pgn4sp2k.js → file-mutation-2p9rsret.js} +11 -11
- package/dist/chunks/{git-tq912ctx.js → file-mutation-2pg08m5e.js} +9 -9
- package/dist/chunks/{git-0nh12e3w.js → file-mutation-2tnztyb4.js} +20 -20
- package/dist/chunks/{git-2vvh33eb.js → file-mutation-2vvh33eb.js} +2 -2
- package/dist/chunks/{git-r17tmn3b.js → file-mutation-2vwxxgve.js} +3 -3
- package/dist/chunks/{git-7qq3ahcc.js → file-mutation-30c1nq7z.js} +6 -6
- package/dist/chunks/{git-ygewtjhv.js → file-mutation-31prma8q.js} +10 -10
- package/dist/chunks/{git-t29ezq2f.js → file-mutation-347k46de.js} +20 -20
- package/dist/chunks/{git-zendj55v.js → file-mutation-35s76chf.js} +4 -4
- package/dist/chunks/{git-3cegwx68.js → file-mutation-3cegwx68.js} +2 -2
- package/dist/chunks/{git-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{git-ba6dhfmr.js → file-mutation-3rg2w6xv.js} +13 -13
- package/dist/chunks/{git-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-kgkgbtzn.js → file-mutation-3z5acqv0.js} +12 -12
- package/dist/chunks/{git-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-n6ywrw5r.js → file-mutation-413zckkp.js} +18 -18
- package/dist/chunks/{git-0sj5yny1.js → file-mutation-4an6wz3e.js} +20 -20
- package/dist/chunks/{git-qsy7xj6s.js → file-mutation-4b4qgg5c.js} +35 -35
- package/dist/chunks/{git-d95qzp3c.js → file-mutation-4bxnfknc.js} +22 -22
- package/dist/chunks/{git-9pk1vssy.js → file-mutation-4ffk7hnv.js} +45 -45
- package/dist/chunks/{git-9wdmpm2y.js → file-mutation-4jfbp8dd.js} +5 -5
- package/dist/chunks/{git-4ekscj25.js → file-mutation-4m4myvej.js} +5 -5
- package/dist/chunks/{git-r9w3djhf.js → file-mutation-4nj4bn9q.js} +9 -9
- package/dist/chunks/{git-4ts7tf6z.js → file-mutation-4ts7tf6z.js} +2 -2
- package/dist/chunks/{git-y1e2eb1c.js → file-mutation-4xfmg39d.js} +15 -15
- package/dist/chunks/{git-bfa8f5s9.js → file-mutation-511hp0pk.js} +3 -3
- package/dist/chunks/{git-ms93yq6r.js → file-mutation-52fpbh6z.js} +8 -8
- package/dist/chunks/{git-e1vkjn76.js → file-mutation-55c2f9sd.js} +38 -38
- package/dist/chunks/{git-0tp1tt1j.js → file-mutation-5ezk1j40.js} +36 -36
- package/dist/chunks/{git-qp3kq2y9.js → file-mutation-5hqd4evq.js} +28 -28
- package/dist/chunks/{git-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-arv02hz5.js → file-mutation-5nhcs1gc.js} +26 -26
- package/dist/chunks/{git-a1hjsv5v.js → file-mutation-5r0361rz.js} +22 -22
- package/dist/chunks/{git-05p6bsrn.js → file-mutation-5t8ewn7s.js} +20 -20
- package/dist/chunks/{git-9vy95dxc.js → file-mutation-5y9r66cr.js} +33 -33
- package/dist/chunks/{git-fj7bh802.js → file-mutation-5z6x68ky.js} +11 -11
- package/dist/chunks/{git-y9et92tf.js → file-mutation-5zm63kxk.js} +24 -24
- package/dist/chunks/{git-npw39rc8.js → file-mutation-6128rfg2.js} +8 -8
- package/dist/chunks/{git-z7fpb30e.js → file-mutation-6159pc4w.js} +8 -8
- package/dist/chunks/{git-nqxj0yn4.js → file-mutation-63db42yp.js} +2 -2
- package/dist/chunks/{git-0jvn049w.js → file-mutation-66hgkdkn.js} +12 -12
- package/dist/chunks/{git-0pyctmxn.js → file-mutation-6gfcack1.js} +32 -32
- package/dist/chunks/{git-61b845kx.js → file-mutation-6k82atfh.js} +11 -11
- package/dist/chunks/{git-zy43x3f1.js → file-mutation-6t4hr8r6.js} +4 -4
- package/dist/chunks/{git-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-prqsh0gh.js → file-mutation-6xsva56f.js} +24 -24
- package/dist/chunks/file-mutation-775h0p7n.js +26 -0
- package/dist/chunks/{git-e54sm1p5.js → file-mutation-792fxttk.js} +20 -20
- package/dist/chunks/{git-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-0jwsre1p.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{git-va0fbs7b.js → file-mutation-7q7krz9g.js} +13 -13
- package/dist/chunks/{git-yvap468f.js → file-mutation-7qxkbnsm.js} +4 -4
- package/dist/chunks/{git-samkme8z.js → file-mutation-7sh3javy.js} +11 -11
- package/dist/chunks/{git-mj33qvve.js → file-mutation-7vmkqt70.js} +49 -49
- package/dist/chunks/{git-6rsa73sz.js → file-mutation-7x9mkh61.js} +13 -13
- package/dist/chunks/{git-18rx02e6.js → file-mutation-7xkbz91v.js} +11 -11
- package/dist/chunks/{git-3g8j9he4.js → file-mutation-7zt5x37y.js} +1 -1
- package/dist/chunks/{git-v30kbkq4.js → file-mutation-80c2enrh.js} +16 -16
- package/dist/chunks/{git-72sxpf59.js → file-mutation-82v73sw7.js} +3 -3
- package/dist/chunks/{git-84h8c373.js → file-mutation-84h8c373.js} +2 -2
- package/dist/chunks/{git-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{git-y8y7y9jr.js → file-mutation-895hwfaf.js} +23 -23
- package/dist/chunks/{git-qrqn981e.js → file-mutation-8gnbq3mq.js} +49 -49
- package/dist/chunks/{git-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{git-2p7nscxg.js → file-mutation-8n3kfz9t.js} +7 -7
- package/dist/chunks/{git-kbh69d3n.js → file-mutation-8spzkyqz.js} +13 -13
- package/dist/chunks/{git-rkprpv83.js → file-mutation-8sze2n9a.js} +6 -6
- package/dist/chunks/{git-4cj6mfq5.js → file-mutation-8tma8yk9.js} +16 -16
- package/dist/chunks/{git-60xqjdyw.js → file-mutation-8vmqdhw3.js} +11 -11
- package/dist/chunks/{git-qvz5vvt5.js → file-mutation-8ws6ad5b.js} +4 -4
- package/dist/chunks/{git-r1qq3cts.js → file-mutation-8x85sx4p.js} +6 -6
- package/dist/chunks/{git-3danyvha.js → file-mutation-96fkfqj2.js} +32 -32
- package/dist/chunks/{git-sz15zhhw.js → file-mutation-97aeaand.js} +4 -4
- package/dist/chunks/{git-yt8g5aa9.js → file-mutation-97x6zpcg.js} +22 -22
- package/dist/chunks/{git-36m4j9rs.js → file-mutation-987t3db3.js} +40 -40
- package/dist/chunks/{git-mx3e9kbd.js → file-mutation-9j45sp9y.js} +3 -3
- package/dist/chunks/{git-9dd12mjb.js → file-mutation-9p0ppmpk.js} +17 -17
- package/dist/chunks/{git-epde7s1t.js → file-mutation-a2zbpae8.js} +36 -36
- package/dist/chunks/{git-p32a36b2.js → file-mutation-a9ztvwgh.js} +8 -8
- package/dist/chunks/{git-q0se85t4.js → file-mutation-abyvteg4.js} +5 -5
- package/dist/chunks/{git-t44gf9cv.js → file-mutation-arkxpnc7.js} +16 -16
- package/dist/chunks/{git-j5w2yx54.js → file-mutation-b02gegf9.js} +6 -6
- package/dist/chunks/{git-j0k9182s.js → file-mutation-br43j30r.js} +9 -9
- package/dist/chunks/{git-vmgrvd8m.js → file-mutation-br5x8hm0.js} +13 -13
- package/dist/chunks/{git-ra4xyxax.js → file-mutation-brkb82jv.js} +3 -3
- package/dist/chunks/{git-twy5v6rf.js → file-mutation-bx3a7gm0.js} +33 -33
- package/dist/chunks/file-mutation-by5v678g.js +18 -0
- package/dist/chunks/{git-054q1sxb.js → file-mutation-c3nph5qn.js} +26 -26
- package/dist/chunks/{git-m9gwdyxg.js → file-mutation-cb73d6eg.js} +3 -3
- package/dist/chunks/{git-4mdqemj8.js → file-mutation-cpa5tgd0.js} +4 -4
- package/dist/chunks/{git-3vpz37r5.js → file-mutation-cxyknwdq.js} +30 -30
- package/dist/chunks/{git-r0wqwj5k.js → file-mutation-czrk7eqc.js} +15 -15
- package/dist/chunks/{git-jhfavzp9.js → file-mutation-d1rwsgz6.js} +35 -35
- package/dist/chunks/{git-n4jactnr.js → file-mutation-d3sj2eet.js} +17 -17
- package/dist/chunks/{git-pk16sceg.js → file-mutation-dfd436bf.js} +21 -21
- package/dist/chunks/{git-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{git-3cskn803.js → file-mutation-dvnvp1s2.js} +9 -9
- package/dist/chunks/{git-w1w80knf.js → file-mutation-dx0zwnzh.js} +15 -15
- package/dist/chunks/{git-338vv87z.js → file-mutation-e0rj9m82.js} +36 -36
- package/dist/chunks/{git-936t622p.js → file-mutation-e2f8ga9k.js} +15 -15
- package/dist/chunks/{git-xrg0ka6s.js → file-mutation-e4xjgbbt.js} +6 -6
- package/dist/chunks/{git-nma959mg.js → file-mutation-e80seqcp.js} +3 -3
- package/dist/chunks/{git-1n632r5x.js → file-mutation-e8vwfchq.js} +6 -6
- package/dist/chunks/{git-9b0xmrgy.js → file-mutation-e9myf44w.js} +12 -12
- package/dist/chunks/{git-s8d7rejh.js → file-mutation-eaj1djv9.js} +6 -6
- package/dist/chunks/{git-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{git-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/file-mutation-ekpbha00.js +513 -0
- package/dist/chunks/{git-hgrbd8h2.js → file-mutation-emh6xp50.js} +22 -22
- package/dist/chunks/{git-t11fnep0.js → file-mutation-emjccja6.js} +4 -4
- package/dist/chunks/{git-z0aj456m.js → file-mutation-ermxvwhp.js} +4 -4
- package/dist/chunks/{git-fapm90ze.js → file-mutation-ev47m0c9.js} +18 -18
- package/dist/chunks/{git-dvdpagf6.js → file-mutation-f63qcbt6.js} +21 -21
- package/dist/chunks/{git-ca7w653e.js → file-mutation-f73rjn58.js} +4 -4
- package/dist/chunks/{git-f75zav2x.js → file-mutation-f75zav2x.js} +2 -2
- package/dist/chunks/{git-nj4y9v71.js → file-mutation-fmcyb5kn.js} +11 -11
- package/dist/chunks/{git-57g2ppnc.js → file-mutation-frjx316d.js} +34 -34
- package/dist/chunks/{git-kjvgn7cb.js → file-mutation-fvhg8gw5.js} +9 -9
- package/dist/chunks/{git-j3d60m5d.js → file-mutation-fx15w7g6.js} +98 -98
- package/dist/chunks/{git-4e4wxq1q.js → file-mutation-fyme91p9.js} +7 -7
- package/dist/chunks/{git-gb1kdh0r.js → file-mutation-g6cjcx64.js} +11 -11
- package/dist/chunks/{git-5gne999t.js → file-mutation-g7m5jc3s.js} +13 -13
- package/dist/chunks/{git-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-gk8qb678.js → file-mutation-gk8qb678.js} +1 -1
- package/dist/chunks/{git-x661k3y3.js → file-mutation-gqtdsdt7.js} +4 -4
- package/dist/chunks/{git-n1n192bv.js → file-mutation-gw7cjrad.js} +4 -4
- package/dist/chunks/{git-8af82va7.js → file-mutation-gw9kxxex.js} +26 -26
- package/dist/chunks/{git-z2p2vv02.js → file-mutation-h2cxmyv6.js} +185 -185
- package/dist/chunks/{git-87nprvex.js → file-mutation-h3kajr6j.js} +4 -4
- package/dist/chunks/{git-sa9zrgkt.js → file-mutation-h6cmthvy.js} +18 -18
- package/dist/chunks/{git-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-h7s7r6s9.js → file-mutation-h7s7r6s9.js} +2 -2
- package/dist/chunks/{git-68cr4y1w.js → file-mutation-h8ev6gqr.js} +20 -20
- package/dist/chunks/file-mutation-h9wkgsjp.js +253 -0
- package/dist/chunks/{git-53jdsm2k.js → file-mutation-hdwqhw82.js} +6 -6
- package/dist/chunks/{git-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{git-d7y267ps.js → file-mutation-hkvdrpa0.js} +14 -14
- package/dist/chunks/{git-3qahdm0h.js → file-mutation-hm8d1c19.js} +27 -27
- package/dist/chunks/{git-cg75ja73.js → file-mutation-hpz1ef6d.js} +30 -30
- package/dist/chunks/{git-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{git-bg8br9r2.js → file-mutation-j6g3s69e.js} +11 -11
- package/dist/chunks/{git-jnv35ebs.js → file-mutation-jmb3v5n8.js} +33 -33
- package/dist/chunks/{git-mb3de71v.js → file-mutation-jn8pq3zr.js} +17 -17
- package/dist/chunks/{git-b2we9szf.js → file-mutation-jxy38crn.js} +15 -15
- package/dist/chunks/{git-87r11qxp.js → file-mutation-k6geg3g4.js} +7 -7
- package/dist/chunks/{git-kb9j3d72.js → file-mutation-kb9j3d72.js} +3 -3
- package/dist/chunks/{git-xerck34f.js → file-mutation-kng38vy9.js} +58 -58
- package/dist/chunks/{git-vwd6rghw.js → file-mutation-krr416t2.js} +24 -24
- package/dist/chunks/{git-005h5010.js → file-mutation-ks1x06j6.js} +33 -33
- package/dist/chunks/{git-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-0zd0p9vj.js → file-mutation-m4bedved.js} +5 -5
- package/dist/chunks/{git-rfx9ekrq.js → file-mutation-m8kxqagj.js} +18 -18
- package/dist/chunks/{git-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-jsj7r8tb.js → file-mutation-ma3c0nra.js} +4 -4
- package/dist/chunks/{git-5q6cycwa.js → file-mutation-mb650nvc.js} +6 -6
- package/dist/chunks/{git-5q0gmhc9.js → file-mutation-mbytadxt.js} +13 -13
- package/dist/chunks/{git-0ak58yta.js → file-mutation-mfae1c65.js} +15 -15
- package/dist/chunks/{git-r95pf28y.js → file-mutation-mkpy3z2x.js} +26 -26
- package/dist/chunks/{git-3pyamhks.js → file-mutation-mmwgr206.js} +29 -29
- package/dist/chunks/{git-m9t1q5g7.js → file-mutation-mr2053vn.js} +8 -8
- package/dist/chunks/{git-0fmvb2b0.js → file-mutation-n75va8h4.js} +14 -14
- package/dist/chunks/{git-2trnmt9t.js → file-mutation-n9735yat.js} +34 -34
- package/dist/chunks/{git-mn51j4dq.js → file-mutation-n9b0e670.js} +8 -8
- package/dist/chunks/{git-pfbtahck.js → file-mutation-nc2e17ej.js} +45 -45
- package/dist/chunks/{git-zrb6st9f.js → file-mutation-ncceg1m1.js} +32 -32
- package/dist/chunks/{git-q0n429jm.js → file-mutation-nfmcnngg.js} +28 -28
- package/dist/chunks/{git-v1vh7s4p.js → file-mutation-ngt4szzp.js} +9 -9
- package/dist/chunks/{git-5kvcaca5.js → file-mutation-nk8pyrqt.js} +11 -11
- package/dist/chunks/{git-bhsmb1tr.js → file-mutation-nm2znq5e.js} +15 -15
- package/dist/chunks/{git-8cjeyp9d.js → file-mutation-nmc82f5r.js} +5 -5
- package/dist/chunks/{git-vfyehk9r.js → file-mutation-ns2ffs2h.js} +14 -14
- package/dist/chunks/{git-9hn6k4tm.js → file-mutation-p37cw4rj.js} +8 -8
- package/dist/chunks/{git-ygdna4kr.js → file-mutation-pcj7teyq.js} +5 -5
- package/dist/chunks/{git-aevwv9my.js → file-mutation-pdt2jafh.js} +21 -21
- package/dist/chunks/{git-v5c0f40n.js → file-mutation-pjbxg7y6.js} +3 -3
- package/dist/chunks/{git-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{git-3d0jer83.js → file-mutation-pnhxssdf.js} +1 -1
- package/dist/chunks/{git-cgpds6rt.js → file-mutation-pqzs1kgy.js} +39 -39
- package/dist/chunks/{git-f2pfreyh.js → file-mutation-pttfvfkm.js} +38 -38
- package/dist/chunks/{git-4vy44jd7.js → file-mutation-q0dpqjr6.js} +5 -5
- package/dist/chunks/{git-q0xm7vwc.js → file-mutation-q0xm7vwc.js} +2 -2
- package/dist/chunks/{git-mq9b3447.js → file-mutation-q1v2ecrg.js} +22 -22
- package/dist/chunks/{git-n94jt7k6.js → file-mutation-q4bmetfh.js} +11 -11
- package/dist/chunks/{git-ehbmtb60.js → file-mutation-q53wc5d1.js} +5 -5
- package/dist/chunks/{git-hypva3mf.js → file-mutation-q53z4mp6.js} +76 -76
- package/dist/chunks/{git-jj5pmedj.js → file-mutation-q7mz9q6q.js} +46 -46
- package/dist/chunks/{git-nks4h03n.js → file-mutation-qmav61fh.js} +27 -27
- package/dist/chunks/{git-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{git-72apfe7j.js → file-mutation-r29xnvpy.js} +23 -23
- package/dist/chunks/{git-gjwgx2c5.js → file-mutation-r2m716tb.js} +9 -9
- package/dist/chunks/{git-x6xwpcb6.js → file-mutation-r2rtbtrq.js} +14 -14
- package/dist/chunks/{git-54ma36ye.js → file-mutation-r94pvvab.js} +4 -4
- package/dist/chunks/{git-ev5twtdq.js → file-mutation-raq2v0bx.js} +10 -10
- package/dist/chunks/{git-hevyx578.js → file-mutation-rcm8yqz1.js} +5 -5
- package/dist/chunks/{git-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-xk53et4p.js → file-mutation-rejzs90v.js} +13 -13
- package/dist/chunks/{git-6nxrzbtn.js → file-mutation-rxnjmc3f.js} +35 -35
- package/dist/chunks/{git-edrmdtr5.js → file-mutation-ryr25ayn.js} +7 -7
- package/dist/chunks/{git-b3f8fkhc.js → file-mutation-scgrse2b.js} +5 -5
- package/dist/chunks/{git-ay8pchpw.js → file-mutation-sds13m34.js} +11 -11
- package/dist/chunks/{git-0dejx7qs.js → file-mutation-sj77aade.js} +10 -10
- package/dist/chunks/{git-arz7hw7x.js → file-mutation-ss358qx3.js} +3 -3
- package/dist/chunks/{git-hebgbgn9.js → file-mutation-sv7n11b0.js} +25 -25
- package/dist/chunks/{git-sjcsfe4s.js → file-mutation-svfda40e.js} +35 -35
- package/dist/chunks/{git-n5yd7gvm.js → file-mutation-swfq2ggm.js} +8 -8
- package/dist/chunks/{git-df6n04fa.js → file-mutation-t1s1k5yy.js} +15 -15
- package/dist/chunks/{git-nn81w468.js → file-mutation-t88w3btv.js} +22 -22
- package/dist/chunks/{git-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-s7d29e54.js → file-mutation-tb0p0v3w.js} +25 -25
- package/dist/chunks/{git-amzhydp5.js → file-mutation-tbe3ncrs.js} +22 -22
- package/dist/chunks/{git-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{git-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{git-6p4h1e3w.js → file-mutation-tgnk2hj2.js} +25 -25
- package/dist/chunks/{git-kj5pxtse.js → file-mutation-tmh2szjd.js} +11 -11
- package/dist/chunks/{git-6jr8wev5.js → file-mutation-tx6et3w6.js} +92 -92
- package/dist/chunks/{git-e1kk85xw.js → file-mutation-tygvv2hj.js} +35 -35
- package/dist/chunks/{git-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{git-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{git-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{git-dwf7v6w9.js → file-mutation-vkaebcec.js} +16 -16
- package/dist/chunks/{git-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-3tt1qkhr.js → file-mutation-w8xr7nv8.js} +5 -5
- package/dist/chunks/{git-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{git-zz93myh2.js → file-mutation-wd9rzwsc.js} +8 -8
- package/dist/chunks/{git-1ffvrpkg.js → file-mutation-wjr9rjd7.js} +9 -9
- package/dist/chunks/{git-atr81m35.js → file-mutation-wqpqtk9p.js} +18 -18
- package/dist/chunks/{git-yrhvba5s.js → file-mutation-wwk9s6gm.js} +4 -4
- package/dist/chunks/{git-zgkba261.js → file-mutation-x3j07sqv.js} +1 -1
- package/dist/chunks/{git-7enz7xcv.js → file-mutation-x555xz49.js} +28 -28
- package/dist/chunks/{git-zknpef82.js → file-mutation-x6gzkr09.js} +16 -16
- package/dist/chunks/{git-tg7bkhef.js → file-mutation-xecxzrdp.js} +7 -7
- package/dist/chunks/{git-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
- package/dist/chunks/{git-e81wkxmg.js → file-mutation-y029vxmf.js} +9 -9
- package/dist/chunks/{git-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-8d17r613.js → file-mutation-y2p23j5v.js} +18 -18
- package/dist/chunks/{git-6fjvkjmf.js → file-mutation-y8wcetdn.js} +11 -11
- package/dist/chunks/{git-pf3z77yb.js → file-mutation-y9s6fa94.js} +11 -11
- package/dist/chunks/{git-9kx1kxek.js → file-mutation-y9tr1e68.js} +60 -60
- package/dist/chunks/{git-f2n192rq.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{git-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-t6qketva.js → file-mutation-z3nay82g.js} +9 -9
- package/dist/chunks/{git-btaae2v7.js → file-mutation-zh9hhqtd.js} +16 -16
- package/dist/chunks/{git-91qqg4w4.js → file-mutation-zpqaydr5.js} +11 -11
- package/dist/chunks/{git-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{git-emgz884k.js → file-mutation-zz6a9v66.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +71 -71
- 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.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +92 -92
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +92 -92
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +88 -88
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/git-5whb5ts8.js +0 -513
- package/dist/chunks/git-9gv5xd61.js +0 -253
- package/dist/chunks/git-9zdhvgqs.js +0 -18
- package/dist/chunks/git-w3nk0s7b.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{git-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-bw78ga2c.js → file-mutation-bw78ga2c.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID5,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./file-mutation-4an6wz3e.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-ss358qx3.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-e8vwfchq.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-kb9j3d72.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ 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* Service41;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./git-gb1kdh0r.js";
|
|
5
1
|
import {
|
|
6
2
|
Service84,
|
|
7
3
|
node88
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-g6cjcx64.js";
|
|
5
|
+
import {
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID15,
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./file-mutation-6xsva56f.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-2vvh33eb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service67,
|
|
22
|
+
node69
|
|
23
|
+
} from "./file-mutation-5y9r66cr.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./file-mutation-gw7cjrad.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-6159pc4w.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./file-mutation-7zt5x37y.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service32,
|
|
47
|
+
node36
|
|
48
|
+
} from "./file-mutation-08pekkkp.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service59,
|
|
51
|
+
node61
|
|
52
|
+
} from "./file-mutation-g7m5jc3s.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./file-mutation-scgrse2b.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./file-mutation-nmc82f5r.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./file-mutation-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service9,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
78
|
layer: () => layer7,
|
|
79
|
-
node: () =>
|
|
79
|
+
node: () => node11,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var layer7 = Layer.effect(
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service79;
|
|
176
|
+
const bus = yield* Service83;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
180
|
-
const db = (yield*
|
|
181
|
-
const requests = yield*
|
|
178
|
+
const catalog = yield* Service67;
|
|
179
|
+
const models = yield* Service59;
|
|
180
|
+
const db = (yield* Service84).db;
|
|
181
|
+
const requests = yield* Service32;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -196,7 +196,7 @@ var layer7 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
196
196
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
197
197
|
return { status: "skipped" };
|
|
198
198
|
const native = context.model.compaction?.type === "native";
|
|
199
|
-
const agent = native ? undefined : yield* agents.get(
|
|
199
|
+
const agent = native ? undefined : yield* agents.get(ID15.make("compaction"));
|
|
200
200
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
201
201
|
return;
|
|
202
202
|
})))) ?? context.model;
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service9.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
481
|
+
var node11 = makeLocationNode({
|
|
482
|
+
service: Service9,
|
|
483
483
|
layer: layer7,
|
|
484
|
-
deps: [
|
|
484
|
+
deps: [node83, node87, node88, llmClient2, node69, node36, node61]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./file-mutation-x6gzkr09.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service18,
|
|
10
|
+
node20
|
|
11
|
+
} from "./file-mutation-wqpqtk9p.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./file-mutation-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service17,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service81;
|
|
63
|
+
const ripgrep = yield* Service18;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service17.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service81;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service17.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service17.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service81;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service17, layer: layer8(options), deps: [node85, node20] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service17, ripgrepLayer2, fffLayer2, layer8, configured2, node19, exports_search };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info6,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service40,
|
|
21
|
+
layer: () => layer16,
|
|
22
|
+
node: () => node43
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
+
var Info6 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service40 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer26 = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info6.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service40.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer26 = Layer.effect(Service83, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
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) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node43 = makeLocationNode({
|
|
75
|
+
service: Service40,
|
|
76
|
+
layer: layer16,
|
|
77
|
+
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info6, NotFoundError6, ExecutionError2, Service40, layer16, node43, exports_command4, Event8 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service14,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node16
|
|
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 Service14 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service14, 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(Service7, 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 Service14.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(Service7, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node16 = makeGlobalNode({ service: Service14, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service14, node16, exports_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./file-mutation-7vmkqt70.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./file-mutation-z3nay82g.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin18
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
|
+
const image = yield* Service55;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin35 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin18, exports_image };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-gqtdsdt7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event17
|
|
9
|
+
} from "./file-mutation-svfda40e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID9
|
|
12
|
+
} from "./file-mutation-jmb3v5n8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID8,
|
|
15
|
+
Service71
|
|
16
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
17
17
|
import {
|
|
18
18
|
load2,
|
|
19
19
|
derive2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-mutation-3z5acqv0.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID8.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service71;
|
|
30
|
+
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-e8vwfchq.js";
|
|
5
5
|
import {
|
|
6
6
|
CorrectedError2,
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-kng38vy9.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-mutation-jmb3v5n8.js";
|
|
12
12
|
import {
|
|
13
13
|
VariantUnavailableError2,
|
|
14
14
|
UnsupportedPackageError2,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
ModelInitializationError2,
|
|
17
17
|
UnresolvedProviderVariablesError2,
|
|
18
18
|
UnsupportedCompactionError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-4ffk7hnv.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelNotSelectedError2,
|
|
22
22
|
ModelUnavailableError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-mutation-g7m5jc3s.js";
|
|
24
24
|
|
|
25
25
|
// src/session/to-session-error.ts
|
|
26
26
|
import { AIError, ToolFailure } from "@opencode/ai";
|