@opencode/core 0.0.0-dev-20791 → 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 +76 -76
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{provider-emrckeyb.js → file-mutation-001v9px8.js} +31 -31
- package/dist/chunks/{provider-b65scesz.js → file-mutation-08pekkkp.js} +33 -33
- package/dist/chunks/{provider-xasyx0as.js → file-mutation-08w4ybrc.js} +4 -4
- package/dist/chunks/{provider-03g00rc2.js → file-mutation-0bqktbhr.js} +9 -9
- package/dist/chunks/{provider-0vbcp93d.js → file-mutation-0emb60td.js} +2 -2
- package/dist/chunks/{provider-3vyzva02.js → file-mutation-0kj4k1tc.js} +39 -39
- package/dist/chunks/{provider-3hrm5za2.js → file-mutation-0mez6xtb.js} +15 -15
- package/dist/chunks/{provider-cscw30g0.js → file-mutation-0nchd41w.js} +18 -18
- package/dist/chunks/{provider-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-zec2tej3.js → file-mutation-0pfnnq19.js} +4 -4
- package/dist/chunks/{provider-rf8f0yt3.js → file-mutation-0xvjdmzv.js} +5 -5
- package/dist/chunks/{provider-62vm8mpr.js → file-mutation-0xwjverx.js} +24 -24
- package/dist/chunks/{provider-td1bkjex.js → file-mutation-16p3pjs3.js} +20 -20
- package/dist/chunks/{provider-vk40tmth.js → file-mutation-1795xh8n.js} +10 -10
- package/dist/chunks/{provider-92vpqabm.js → file-mutation-1er3e6yx.js} +25 -25
- package/dist/chunks/{provider-e5bq21fb.js → file-mutation-1jk66z4d.js} +38 -38
- package/dist/chunks/{provider-2cbec54g.js → file-mutation-1ptst37f.js} +42 -42
- package/dist/chunks/{provider-1z89szcw.js → file-mutation-1rfarsz2.js} +17 -17
- package/dist/chunks/{provider-nggw558s.js → file-mutation-1v97ydhe.js} +32 -32
- package/dist/chunks/{provider-8xxzf2da.js → file-mutation-1wjt2sv4.js} +2 -2
- package/dist/chunks/{provider-4jgvg5sf.js → file-mutation-1zr2pts9.js} +39 -39
- package/dist/chunks/{provider-dj10tw80.js → file-mutation-22vr6xcz.js} +7 -7
- package/dist/chunks/{provider-85b4mqzk.js → file-mutation-2a12y9bg.js} +6 -6
- package/dist/chunks/{provider-fxgpk5d8.js → file-mutation-2bv980vf.js} +2 -2
- package/dist/chunks/{provider-4xpgt2w9.js → file-mutation-2cjv1swf.js} +5 -5
- package/dist/chunks/{provider-a2qe2ev9.js → file-mutation-2ktf0ed2.js} +8 -8
- package/dist/chunks/{provider-6p4dxar3.js → file-mutation-2p9rsret.js} +11 -11
- package/dist/chunks/{provider-vee0vrgv.js → file-mutation-2pg08m5e.js} +9 -9
- package/dist/chunks/{provider-bvmsv81p.js → file-mutation-2tnztyb4.js} +18 -18
- package/dist/chunks/{provider-2vvh33eb.js → file-mutation-2vvh33eb.js} +2 -2
- package/dist/chunks/{provider-8r1jb4je.js → file-mutation-2vwxxgve.js} +1 -1
- package/dist/chunks/{provider-45hw2ke2.js → file-mutation-30c1nq7z.js} +8 -8
- package/dist/chunks/{provider-qjqmwmzb.js → file-mutation-31prma8q.js} +8 -8
- package/dist/chunks/{provider-fj6865vy.js → file-mutation-347k46de.js} +20 -20
- package/dist/chunks/{provider-ke3v7s92.js → file-mutation-35s76chf.js} +4 -4
- package/dist/chunks/{provider-3cegwx68.js → file-mutation-3cegwx68.js} +2 -2
- package/dist/chunks/{provider-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{provider-ck5v4t4h.js → file-mutation-3rg2w6xv.js} +13 -13
- package/dist/chunks/{provider-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-cd6yk4zv.js → file-mutation-3z5acqv0.js} +5 -5
- package/dist/chunks/{provider-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-1281thgj.js → file-mutation-413zckkp.js} +11 -11
- package/dist/chunks/{provider-ws53rjxg.js → file-mutation-4an6wz3e.js} +30 -30
- package/dist/chunks/{provider-8k33st31.js → file-mutation-4b4qgg5c.js} +27 -27
- package/dist/chunks/{provider-thm5q0xs.js → file-mutation-4bxnfknc.js} +16 -16
- package/dist/chunks/{provider-apq16njp.js → file-mutation-4ffk7hnv.js} +36 -36
- package/dist/chunks/{provider-4spa2hfp.js → file-mutation-4jfbp8dd.js} +5 -5
- package/dist/chunks/{provider-zjtrsxny.js → file-mutation-4m4myvej.js} +5 -5
- package/dist/chunks/{provider-fwwk8vbp.js → file-mutation-4nj4bn9q.js} +9 -9
- package/dist/chunks/{provider-4ts7tf6z.js → file-mutation-4ts7tf6z.js} +2 -2
- package/dist/chunks/{provider-7ev5skf9.js → file-mutation-4xfmg39d.js} +13 -13
- package/dist/chunks/{provider-1pb85ckn.js → file-mutation-511hp0pk.js} +3 -3
- package/dist/chunks/{provider-mp6d0dty.js → file-mutation-52fpbh6z.js} +8 -8
- package/dist/chunks/{provider-a9gv15q4.js → file-mutation-55c2f9sd.js} +31 -31
- package/dist/chunks/{provider-3f6waj75.js → file-mutation-5ezk1j40.js} +27 -27
- package/dist/chunks/{provider-t91hcw5k.js → file-mutation-5hqd4evq.js} +22 -22
- package/dist/chunks/{provider-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-q2zbepsx.js → file-mutation-5nhcs1gc.js} +22 -22
- package/dist/chunks/{provider-wcgx21r5.js → file-mutation-5r0361rz.js} +15 -15
- package/dist/chunks/{provider-vsnf9nwj.js → file-mutation-5t8ewn7s.js} +11 -11
- package/dist/chunks/{provider-mv3a9vfa.js → file-mutation-5y9r66cr.js} +19 -19
- package/dist/chunks/{provider-kkq6mwcr.js → file-mutation-5z6x68ky.js} +14 -14
- package/dist/chunks/{provider-wh8ssgqw.js → file-mutation-5zm63kxk.js} +18 -18
- package/dist/chunks/{provider-ebwxn0bv.js → file-mutation-6128rfg2.js} +8 -8
- package/dist/chunks/{provider-pr7pa2x1.js → file-mutation-6159pc4w.js} +8 -8
- package/dist/chunks/{provider-63db42yp.js → file-mutation-63db42yp.js} +2 -2
- package/dist/chunks/{provider-wt1nksa6.js → file-mutation-66hgkdkn.js} +12 -12
- package/dist/chunks/{provider-2kqaa06v.js → file-mutation-6gfcack1.js} +26 -26
- package/dist/chunks/{provider-w4jn1cxa.js → file-mutation-6k82atfh.js} +11 -11
- package/dist/chunks/{provider-0xqyf95c.js → file-mutation-6t4hr8r6.js} +4 -4
- package/dist/chunks/{provider-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-xnfh7z4s.js → file-mutation-6xsva56f.js} +10 -10
- package/dist/chunks/file-mutation-775h0p7n.js +26 -0
- package/dist/chunks/{provider-9hgbqvyk.js → file-mutation-792fxttk.js} +17 -17
- package/dist/chunks/{provider-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-fcrkznn8.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{provider-xa42b6m5.js → file-mutation-7q7krz9g.js} +11 -11
- package/dist/chunks/{provider-6m6pfhdc.js → file-mutation-7qxkbnsm.js} +4 -4
- package/dist/chunks/{provider-660vws5y.js → file-mutation-7sh3javy.js} +11 -11
- package/dist/chunks/{provider-32qtf6eh.js → file-mutation-7vmkqt70.js} +36 -36
- package/dist/chunks/{provider-37rmtkzf.js → file-mutation-7x9mkh61.js} +9 -9
- package/dist/chunks/{provider-mxc9h5jw.js → file-mutation-7xkbz91v.js} +11 -11
- package/dist/chunks/{provider-q5e7cmwt.js → file-mutation-7zt5x37y.js} +1 -1
- package/dist/chunks/{provider-avqctdqx.js → file-mutation-80c2enrh.js} +10 -10
- package/dist/chunks/{provider-82v73sw7.js → file-mutation-82v73sw7.js} +3 -3
- package/dist/chunks/{provider-84h8c373.js → file-mutation-84h8c373.js} +2 -2
- package/dist/chunks/{provider-84txncab.js → file-mutation-84txncab.js} +1 -1
- package/dist/chunks/{provider-2aftvdxj.js → file-mutation-895hwfaf.js} +18 -18
- package/dist/chunks/{provider-c59j4z19.js → file-mutation-8gnbq3mq.js} +49 -49
- package/dist/chunks/{provider-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-6rf3xdqr.js → file-mutation-8n3kfz9t.js} +5 -5
- package/dist/chunks/{provider-y7f9yaqr.js → file-mutation-8spzkyqz.js} +11 -11
- package/dist/chunks/{provider-8sze2n9a.js → file-mutation-8sze2n9a.js} +2 -2
- package/dist/chunks/{provider-0vtm6bxs.js → file-mutation-8tma8yk9.js} +8 -8
- package/dist/chunks/{provider-xxbftrs5.js → file-mutation-8vmqdhw3.js} +7 -7
- package/dist/chunks/{provider-6an8s7fn.js → file-mutation-8ws6ad5b.js} +4 -4
- package/dist/chunks/{provider-q5xvhvda.js → file-mutation-8x85sx4p.js} +7 -14
- package/dist/chunks/{provider-76geegwy.js → file-mutation-96fkfqj2.js} +30 -30
- package/dist/chunks/{provider-waskdk5r.js → file-mutation-97aeaand.js} +4 -4
- package/dist/chunks/{provider-fff0xyha.js → file-mutation-97x6zpcg.js} +19 -19
- package/dist/chunks/{provider-6e3qzxz7.js → file-mutation-987t3db3.js} +41 -41
- package/dist/chunks/{provider-95fdcy0x.js → file-mutation-9j45sp9y.js} +3 -3
- package/dist/chunks/{provider-0d84vz2x.js → file-mutation-9p0ppmpk.js} +11 -11
- package/dist/chunks/{provider-6dktpyb5.js → file-mutation-a2zbpae8.js} +34 -34
- package/dist/chunks/{provider-x0q5m72f.js → file-mutation-a9ztvwgh.js} +6 -6
- package/dist/chunks/{provider-cjggxxw5.js → file-mutation-abyvteg4.js} +5 -5
- package/dist/chunks/{provider-9h4qydt5.js → file-mutation-arkxpnc7.js} +10 -10
- package/dist/chunks/{provider-vvccsdf3.js → file-mutation-b02gegf9.js} +6 -6
- package/dist/chunks/{provider-p2kw5rbw.js → file-mutation-br43j30r.js} +6 -6
- package/dist/chunks/{provider-pssynsjy.js → file-mutation-br5x8hm0.js} +13 -13
- package/dist/chunks/{provider-0hb4wmm5.js → file-mutation-brkb82jv.js} +3 -3
- package/dist/chunks/{provider-fjw2kstf.js → file-mutation-bx3a7gm0.js} +30 -30
- package/dist/chunks/{provider-by5v678g.js → file-mutation-by5v678g.js} +1 -1
- package/dist/chunks/{provider-1fgp8xwn.js → file-mutation-c3nph5qn.js} +19 -19
- package/dist/chunks/{provider-8saax5z0.js → file-mutation-cb73d6eg.js} +3 -3
- package/dist/chunks/{provider-w144htxh.js → file-mutation-cpa5tgd0.js} +4 -4
- package/dist/chunks/{provider-pawgp0r2.js → file-mutation-cxyknwdq.js} +26 -26
- package/dist/chunks/{provider-pt6k7v6r.js → file-mutation-czrk7eqc.js} +13 -13
- package/dist/chunks/{provider-g7758hjd.js → file-mutation-d1rwsgz6.js} +31 -31
- package/dist/chunks/{provider-s9qpn53w.js → file-mutation-d3sj2eet.js} +15 -15
- package/dist/chunks/{provider-49q5ax9f.js → file-mutation-dfd436bf.js} +22 -22
- package/dist/chunks/{provider-dpkg50ah.js → file-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{provider-bfsxa3aj.js → file-mutation-dvnvp1s2.js} +9 -9
- package/dist/chunks/{provider-t1ab5pxs.js → file-mutation-dx0zwnzh.js} +11 -11
- package/dist/chunks/{provider-5xd5tp9x.js → file-mutation-e0rj9m82.js} +30 -30
- package/dist/chunks/{provider-myz3c1x1.js → file-mutation-e2f8ga9k.js} +17 -17
- package/dist/chunks/{provider-3xks077t.js → file-mutation-e4xjgbbt.js} +9 -9
- package/dist/chunks/{provider-e80seqcp.js → file-mutation-e80seqcp.js} +1 -1
- package/dist/chunks/{provider-e8vwfchq.js → file-mutation-e8vwfchq.js} +3 -3
- package/dist/chunks/{provider-k621mz99.js → file-mutation-e9myf44w.js} +12 -12
- package/dist/chunks/{provider-eaj1djv9.js → file-mutation-eaj1djv9.js} +1 -1
- package/dist/chunks/{provider-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/file-mutation-ekpbha00.js +513 -0
- package/dist/chunks/{provider-b42z8asq.js → file-mutation-emh6xp50.js} +18 -18
- package/dist/chunks/{provider-wzwfmfap.js → file-mutation-emjccja6.js} +4 -4
- package/dist/chunks/{provider-s26hbv8p.js → file-mutation-ermxvwhp.js} +4 -4
- package/dist/chunks/{provider-zxjj126v.js → file-mutation-ev47m0c9.js} +12 -12
- package/dist/chunks/{provider-weqgmzm7.js → file-mutation-f63qcbt6.js} +8 -8
- package/dist/chunks/{provider-t7n9q6bq.js → file-mutation-f73rjn58.js} +4 -4
- package/dist/chunks/{provider-f75zav2x.js → file-mutation-f75zav2x.js} +2 -2
- package/dist/chunks/{provider-zdj1medq.js → file-mutation-fmcyb5kn.js} +11 -11
- package/dist/chunks/{provider-x2arpr3q.js → file-mutation-frjx316d.js} +32 -32
- package/dist/chunks/{provider-4gnvd7qm.js → file-mutation-fvhg8gw5.js} +5 -5
- package/dist/chunks/{provider-mkdknv6v.js → file-mutation-fx15w7g6.js} +82 -82
- package/dist/chunks/{provider-m30y0s1n.js → file-mutation-fyme91p9.js} +7 -7
- package/dist/chunks/{provider-0xwgk9vz.js → file-mutation-g6cjcx64.js} +11 -11
- package/dist/chunks/{provider-62jnxtzq.js → file-mutation-g7m5jc3s.js} +13 -13
- package/dist/chunks/{provider-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-gk8qb678.js → file-mutation-gk8qb678.js} +1 -1
- package/dist/chunks/{provider-zw2hpfmh.js → file-mutation-gqtdsdt7.js} +4 -4
- package/dist/chunks/{provider-f29mbr7f.js → file-mutation-gw7cjrad.js} +4 -4
- package/dist/chunks/{provider-047jqq3p.js → file-mutation-gw9kxxex.js} +16 -16
- package/dist/chunks/{provider-kmyvz7s7.js → file-mutation-h2cxmyv6.js} +146 -146
- package/dist/chunks/{provider-0ftbr9pt.js → file-mutation-h3kajr6j.js} +4 -4
- package/dist/chunks/{provider-y6fmmag9.js → file-mutation-h6cmthvy.js} +14 -14
- package/dist/chunks/{provider-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-h7s7r6s9.js → file-mutation-h7s7r6s9.js} +2 -2
- package/dist/chunks/{provider-nk5pjz5k.js → file-mutation-h8ev6gqr.js} +25 -25
- package/dist/chunks/file-mutation-h9wkgsjp.js +253 -0
- package/dist/chunks/{provider-amxsreew.js → file-mutation-hdwqhw82.js} +3 -3
- package/dist/chunks/{provider-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{provider-zkzvxy35.js → file-mutation-hkvdrpa0.js} +18 -18
- package/dist/chunks/{provider-h7a371x4.js → file-mutation-hm8d1c19.js} +24 -24
- package/dist/chunks/{provider-6t6v4r2b.js → file-mutation-hpz1ef6d.js} +29 -29
- package/dist/chunks/{provider-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-3403f573.js → file-mutation-j6g3s69e.js} +11 -11
- package/dist/chunks/{provider-d883x9cj.js → file-mutation-jmb3v5n8.js} +26 -26
- package/dist/chunks/{provider-bkec5w72.js → file-mutation-jn8pq3zr.js} +13 -13
- package/dist/chunks/{provider-cngbv4vx.js → file-mutation-jxy38crn.js} +15 -15
- package/dist/chunks/{provider-dvf4d4yx.js → file-mutation-k6geg3g4.js} +7 -7
- package/dist/chunks/{provider-kb9j3d72.js → file-mutation-kb9j3d72.js} +3 -3
- package/dist/chunks/{provider-2h977fq8.js → file-mutation-kng38vy9.js} +27 -27
- package/dist/chunks/{provider-ashwz6j6.js → file-mutation-krr416t2.js} +21 -21
- package/dist/chunks/{provider-n9henkkh.js → file-mutation-ks1x06j6.js} +27 -27
- package/dist/chunks/{provider-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-2e7wrvcp.js → file-mutation-m4bedved.js} +5 -5
- package/dist/chunks/{provider-9cppds89.js → file-mutation-m8kxqagj.js} +14 -14
- package/dist/chunks/{provider-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-1zvzsdwq.js → file-mutation-ma3c0nra.js} +4 -4
- package/dist/chunks/{provider-hhgjrq7n.js → file-mutation-mb650nvc.js} +6 -6
- package/dist/chunks/{provider-29wxprpz.js → file-mutation-mbytadxt.js} +11 -11
- package/dist/chunks/{provider-yykvs157.js → file-mutation-mfae1c65.js} +11 -11
- package/dist/chunks/{provider-dtkcvn89.js → file-mutation-mkpy3z2x.js} +11 -11
- package/dist/chunks/{provider-vejsh113.js → file-mutation-mmwgr206.js} +27 -27
- package/dist/chunks/{provider-4wbp889g.js → file-mutation-mr2053vn.js} +8 -8
- package/dist/chunks/{provider-70kn96kt.js → file-mutation-n75va8h4.js} +14 -14
- package/dist/chunks/{provider-9kc6pycg.js → file-mutation-n9735yat.js} +27 -27
- package/dist/chunks/{provider-52y26bc1.js → file-mutation-n9b0e670.js} +11 -11
- package/dist/chunks/{provider-dg0xkvw5.js → file-mutation-nc2e17ej.js} +37 -37
- package/dist/chunks/{provider-4yyqrevp.js → file-mutation-ncceg1m1.js} +16 -16
- package/dist/chunks/{provider-gtkn8gkd.js → file-mutation-nfmcnngg.js} +17 -17
- package/dist/chunks/{provider-g686f6pq.js → file-mutation-ngt4szzp.js} +9 -9
- package/dist/chunks/{provider-4b6t6vp9.js → file-mutation-nk8pyrqt.js} +11 -11
- package/dist/chunks/{provider-2ptgxraj.js → file-mutation-nm2znq5e.js} +12 -12
- package/dist/chunks/{provider-s1dh365q.js → file-mutation-nmc82f5r.js} +5 -5
- package/dist/chunks/{provider-zee0z0hh.js → file-mutation-ns2ffs2h.js} +8 -8
- package/dist/chunks/{provider-1ajx6rf5.js → file-mutation-p37cw4rj.js} +8 -8
- package/dist/chunks/{provider-b674v2dg.js → file-mutation-pcj7teyq.js} +2 -2
- package/dist/chunks/{provider-nzqd0z95.js → file-mutation-pdt2jafh.js} +17 -17
- package/dist/chunks/{provider-qwgxfp2a.js → file-mutation-pjbxg7y6.js} +3 -3
- package/dist/chunks/{provider-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{provider-9yq3t2hf.js → file-mutation-pnhxssdf.js} +1 -1
- package/dist/chunks/{provider-rmjt2b52.js → file-mutation-pqzs1kgy.js} +20 -20
- package/dist/chunks/{provider-335g9ndw.js → file-mutation-pttfvfkm.js} +40 -40
- package/dist/chunks/{provider-26zrht65.js → file-mutation-q0dpqjr6.js} +5 -5
- package/dist/chunks/{provider-q0xm7vwc.js → file-mutation-q0xm7vwc.js} +2 -2
- package/dist/chunks/{provider-dv078rhj.js → file-mutation-q1v2ecrg.js} +20 -20
- package/dist/chunks/{provider-7feea0h6.js → file-mutation-q4bmetfh.js} +11 -11
- package/dist/chunks/{provider-tby2y51h.js → file-mutation-q53wc5d1.js} +5 -5
- package/dist/chunks/{provider-jxjmkhwe.js → file-mutation-q53z4mp6.js} +67 -67
- package/dist/chunks/{provider-q95xegsv.js → file-mutation-q7mz9q6q.js} +44 -44
- package/dist/chunks/{provider-dzzj39sc.js → file-mutation-qmav61fh.js} +25 -25
- package/dist/chunks/{provider-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-atm02tjg.js → file-mutation-r29xnvpy.js} +23 -23
- package/dist/chunks/{provider-cwa6csj7.js → file-mutation-r2m716tb.js} +9 -9
- package/dist/chunks/{provider-30405gqp.js → file-mutation-r2rtbtrq.js} +11 -11
- package/dist/chunks/{provider-54ma36ye.js → file-mutation-r94pvvab.js} +4 -4
- package/dist/chunks/{provider-fmp9231c.js → file-mutation-raq2v0bx.js} +3 -3
- package/dist/chunks/{provider-g249fj17.js → file-mutation-rcm8yqz1.js} +5 -5
- package/dist/chunks/{provider-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-kancfa1f.js → file-mutation-rejzs90v.js} +13 -13
- package/dist/chunks/{provider-cn00qjjk.js → file-mutation-rxnjmc3f.js} +31 -31
- package/dist/chunks/{provider-ryr25ayn.js → file-mutation-ryr25ayn.js} +1 -1
- package/dist/chunks/{provider-scgrse2b.js → file-mutation-scgrse2b.js} +2 -2
- package/dist/chunks/{provider-sds13m34.js → file-mutation-sds13m34.js} +3 -3
- package/dist/chunks/{provider-h2jbhxpy.js → file-mutation-sj77aade.js} +8 -8
- package/dist/chunks/{provider-f3njbn8g.js → file-mutation-sv7n11b0.js} +22 -22
- package/dist/chunks/{provider-qrhkshcm.js → file-mutation-svfda40e.js} +23 -23
- package/dist/chunks/{provider-n5yd7gvm.js → file-mutation-swfq2ggm.js} +8 -8
- package/dist/chunks/{provider-tjnp7r6e.js → file-mutation-t1s1k5yy.js} +11 -11
- package/dist/chunks/{provider-p6hhy8bg.js → file-mutation-t88w3btv.js} +22 -22
- package/dist/chunks/{provider-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-1sw2bjqg.js → file-mutation-tb0p0v3w.js} +25 -25
- package/dist/chunks/{provider-4d2ssmng.js → file-mutation-tbe3ncrs.js} +16 -16
- package/dist/chunks/{provider-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{provider-r5w6n4cv.js → file-mutation-tgnk2hj2.js} +24 -24
- package/dist/chunks/{provider-t6waa6vr.js → file-mutation-tmh2szjd.js} +6 -6
- package/dist/chunks/{provider-sv3kqa3f.js → file-mutation-tx6et3w6.js} +79 -79
- package/dist/chunks/{provider-r4kk7qr4.js → file-mutation-tygvv2hj.js} +15 -15
- package/dist/chunks/{provider-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{provider-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{provider-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-pv6pvbp0.js → file-mutation-vkaebcec.js} +16 -16
- package/dist/chunks/{provider-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-38adaqc0.js → file-mutation-w8xr7nv8.js} +5 -5
- package/dist/chunks/{provider-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{provider-j9cyargr.js → file-mutation-wd9rzwsc.js} +8 -8
- package/dist/chunks/{provider-1ffvrpkg.js → file-mutation-wjr9rjd7.js} +9 -9
- package/dist/chunks/{provider-7f2fthed.js → file-mutation-wqpqtk9p.js} +8 -8
- package/dist/chunks/{provider-jthxwa51.js → file-mutation-wwk9s6gm.js} +4 -4
- package/dist/chunks/{provider-shrjyxtz.js → file-mutation-x3j07sqv.js} +1 -1
- package/dist/chunks/{provider-eh0k18hk.js → file-mutation-x555xz49.js} +16 -16
- package/dist/chunks/{provider-bnhfyrbt.js → file-mutation-x6gzkr09.js} +2 -2
- package/dist/chunks/{provider-v0es1rhs.js → file-mutation-xecxzrdp.js} +2 -2
- package/dist/chunks/{provider-xfkkasph.js → file-mutation-xfkkasph.js} +1 -1
- package/dist/chunks/{provider-9v6yecg3.js → file-mutation-y029vxmf.js} +9 -9
- package/dist/chunks/{provider-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-rc8hhhh7.js → file-mutation-y2p23j5v.js} +15 -15
- package/dist/chunks/{provider-f78dsz6n.js → file-mutation-y8wcetdn.js} +11 -11
- package/dist/chunks/{provider-5zageasv.js → file-mutation-y9s6fa94.js} +11 -11
- package/dist/chunks/{provider-j9sn2hmy.js → file-mutation-y9tr1e68.js} +52 -52
- package/dist/chunks/{provider-1acjjqhc.js → file-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{provider-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-880p7epb.js → file-mutation-z3nay82g.js} +9 -9
- package/dist/chunks/{provider-14y0d454.js → file-mutation-zh9hhqtd.js} +16 -16
- package/dist/chunks/{provider-8gn0smby.js → file-mutation-zpqaydr5.js} +14 -14
- package/dist/chunks/{provider-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-m98yqj1g.js → file-mutation-zz6a9v66.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- 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 +119 -119
- 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 +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- 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 +71 -71
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- 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 +80 -80
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- 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 +132 -132
- 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 +82 -82
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +130 -130
- 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 +95 -95
- package/dist/models-dev.js +102 -102
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- 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 +118 -118
- package/dist/plugin/optimize.js +2 -2
- 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 +94 -94
- 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 +75 -75
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- 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 +85 -85
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +215 -215
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- 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 +132 -132
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- 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 +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +163 -163
- 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 +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +206 -206
- 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 +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +94 -94
- 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 +104 -104
- 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 +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +123 -123
- 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 +14 -14
- 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 +1 -1
- 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 +2 -2
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +86 -86
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/provider-58247qtm.js +0 -26
- package/dist/chunks/provider-ejhexyp6.js +0 -253
- package/dist/chunks/provider-r7jvaf8c.js +0 -513
- /package/dist/chunks/{provider-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-bw78ga2c.js → file-mutation-bw78ga2c.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ss358qx3.js → file-mutation-ss358qx3.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-2vvh33eb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service65,
|
|
6
|
+
node67
|
|
7
|
+
} from "./file-mutation-4ffk7hnv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service64,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer23,
|
|
20
|
+
node: () => node66
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service64 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer23 = Layer.effect(Service64, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service65;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service64.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node66 = makeLocationNode({
|
|
74
|
+
service: Service64,
|
|
75
|
+
layer: layer23,
|
|
76
|
+
deps: [node67, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service64, layer23, node66, exports_generate2 };
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node83
|
|
3
|
+
} from "./file-mutation-6xsva56f.js";
|
|
4
|
+
import {
|
|
5
|
+
node77
|
|
6
|
+
} from "./file-mutation-mkpy3z2x.js";
|
|
7
|
+
import {
|
|
8
|
+
node76
|
|
9
|
+
} from "./file-mutation-jmb3v5n8.js";
|
|
10
|
+
import {
|
|
11
|
+
node85,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./file-mutation-x6gzkr09.js";
|
|
14
|
+
import {
|
|
15
|
+
node75
|
|
16
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
17
|
+
import {
|
|
18
|
+
node68
|
|
19
|
+
} from "./file-mutation-8vmqdhw3.js";
|
|
20
|
+
import {
|
|
21
|
+
node69
|
|
22
|
+
} from "./file-mutation-5y9r66cr.js";
|
|
23
|
+
import {
|
|
24
|
+
node43
|
|
25
|
+
} from "./file-mutation-nfmcnngg.js";
|
|
26
|
+
import {
|
|
27
|
+
configured8,
|
|
28
|
+
node54
|
|
29
|
+
} from "./file-mutation-7vmkqt70.js";
|
|
30
|
+
import {
|
|
31
|
+
node71
|
|
32
|
+
} from "./file-mutation-krr416t2.js";
|
|
33
|
+
import {
|
|
34
|
+
node70
|
|
35
|
+
} from "./file-mutation-zz6a9v66.js";
|
|
36
|
+
import {
|
|
37
|
+
node27
|
|
38
|
+
} from "./file-mutation-dx0zwnzh.js";
|
|
39
|
+
import {
|
|
40
|
+
node19
|
|
41
|
+
} from "./file-mutation-ncceg1m1.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node18
|
|
45
|
+
} from "./file-mutation-n9735yat.js";
|
|
46
|
+
import {
|
|
47
|
+
node67
|
|
48
|
+
} from "./file-mutation-4ffk7hnv.js";
|
|
49
|
+
import {
|
|
50
|
+
node66
|
|
51
|
+
} from "./file-mutation-h8ev6gqr.js";
|
|
52
|
+
import {
|
|
53
|
+
node58
|
|
54
|
+
} from "./file-mutation-z3nay82g.js";
|
|
55
|
+
import {
|
|
56
|
+
node40
|
|
57
|
+
} from "./file-mutation-0kj4k1tc.js";
|
|
58
|
+
import {
|
|
59
|
+
Service60,
|
|
60
|
+
node62
|
|
61
|
+
} from "./file-mutation-b02gegf9.js";
|
|
62
|
+
import {
|
|
63
|
+
node35
|
|
64
|
+
} from "./file-mutation-h6cmthvy.js";
|
|
65
|
+
import {
|
|
66
|
+
node84
|
|
67
|
+
} from "./file-mutation-2ktf0ed2.js";
|
|
68
|
+
import {
|
|
69
|
+
node80
|
|
70
|
+
} from "./file-mutation-kng38vy9.js";
|
|
71
|
+
import {
|
|
72
|
+
node61
|
|
73
|
+
} from "./file-mutation-g7m5jc3s.js";
|
|
74
|
+
import {
|
|
75
|
+
configured6,
|
|
76
|
+
node47
|
|
77
|
+
} from "./file-mutation-gw9kxxex.js";
|
|
78
|
+
import {
|
|
79
|
+
node42
|
|
80
|
+
} from "./file-mutation-80c2enrh.js";
|
|
81
|
+
import {
|
|
82
|
+
node45
|
|
83
|
+
} from "./file-mutation-tgnk2hj2.js";
|
|
84
|
+
import {
|
|
85
|
+
node39
|
|
86
|
+
} from "./file-mutation-6gfcack1.js";
|
|
87
|
+
import {
|
|
88
|
+
node46
|
|
89
|
+
} from "./file-mutation-0xwjverx.js";
|
|
90
|
+
import {
|
|
91
|
+
node34
|
|
92
|
+
} from "./file-mutation-mfae1c65.js";
|
|
93
|
+
import {
|
|
94
|
+
node79
|
|
95
|
+
} from "./file-mutation-5hqd4evq.js";
|
|
96
|
+
import {
|
|
97
|
+
node41
|
|
98
|
+
} from "./file-mutation-emh6xp50.js";
|
|
99
|
+
import {
|
|
100
|
+
node33
|
|
101
|
+
} from "./file-mutation-tx6et3w6.js";
|
|
102
|
+
import {
|
|
103
|
+
node44
|
|
104
|
+
} from "./file-mutation-4an6wz3e.js";
|
|
105
|
+
import {
|
|
106
|
+
node51
|
|
107
|
+
} from "./file-mutation-tbe3ncrs.js";
|
|
108
|
+
import {
|
|
109
|
+
node52
|
|
110
|
+
} from "./file-mutation-y8wcetdn.js";
|
|
111
|
+
import {
|
|
112
|
+
node49
|
|
113
|
+
} from "./file-mutation-1zr2pts9.js";
|
|
114
|
+
import {
|
|
115
|
+
node26
|
|
116
|
+
} from "./file-mutation-413zckkp.js";
|
|
117
|
+
import {
|
|
118
|
+
node57
|
|
119
|
+
} from "./file-mutation-1rfarsz2.js";
|
|
120
|
+
import {
|
|
121
|
+
node29
|
|
122
|
+
} from "./file-mutation-x555xz49.js";
|
|
123
|
+
import {
|
|
124
|
+
node25
|
|
125
|
+
} from "./file-mutation-f63qcbt6.js";
|
|
126
|
+
import {
|
|
127
|
+
node22
|
|
128
|
+
} from "./file-mutation-5t8ewn7s.js";
|
|
129
|
+
import {
|
|
130
|
+
node7
|
|
131
|
+
} from "./file-mutation-bx3a7gm0.js";
|
|
132
|
+
import {
|
|
133
|
+
Service13,
|
|
134
|
+
node15
|
|
135
|
+
} from "./file-mutation-5ezk1j40.js";
|
|
136
|
+
import {
|
|
137
|
+
node28
|
|
138
|
+
} from "./file-mutation-y2p23j5v.js";
|
|
139
|
+
import {
|
|
140
|
+
node5,
|
|
141
|
+
bound2
|
|
142
|
+
} from "./file-mutation-p37cw4rj.js";
|
|
143
|
+
import {
|
|
144
|
+
node11
|
|
145
|
+
} from "./file-mutation-nc2e17ej.js";
|
|
146
|
+
import {
|
|
147
|
+
node13
|
|
148
|
+
} from "./file-mutation-4bxnfknc.js";
|
|
149
|
+
import {
|
|
150
|
+
node14
|
|
151
|
+
} from "./file-mutation-d3sj2eet.js";
|
|
152
|
+
import {
|
|
153
|
+
node2
|
|
154
|
+
} from "./file-mutation-pttfvfkm.js";
|
|
155
|
+
import {
|
|
156
|
+
node17
|
|
157
|
+
} from "./file-mutation-sv7n11b0.js";
|
|
158
|
+
import {
|
|
159
|
+
node10
|
|
160
|
+
} from "./file-mutation-hpz1ef6d.js";
|
|
161
|
+
import {
|
|
162
|
+
node9
|
|
163
|
+
} from "./file-mutation-q53z4mp6.js";
|
|
164
|
+
import {
|
|
165
|
+
__export
|
|
166
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
167
|
+
|
|
168
|
+
// src/instance.ts
|
|
169
|
+
var exports_instance = {};
|
|
170
|
+
__export(exports_instance, {
|
|
171
|
+
Instance: () => exports_instance,
|
|
172
|
+
Service: () => Service60,
|
|
173
|
+
graph: () => graph2,
|
|
174
|
+
layer: () => layer2,
|
|
175
|
+
node: () => node62
|
|
176
|
+
});
|
|
177
|
+
import { Context, Effect, Layer } from "effect";
|
|
178
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
179
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
180
|
+
var nodes = [
|
|
181
|
+
node85,
|
|
182
|
+
node15,
|
|
183
|
+
node71,
|
|
184
|
+
node54,
|
|
185
|
+
node83,
|
|
186
|
+
node43,
|
|
187
|
+
node46,
|
|
188
|
+
node26,
|
|
189
|
+
node29,
|
|
190
|
+
node76,
|
|
191
|
+
node75,
|
|
192
|
+
node69,
|
|
193
|
+
node67,
|
|
194
|
+
node68,
|
|
195
|
+
node22,
|
|
196
|
+
node84,
|
|
197
|
+
node5,
|
|
198
|
+
node2,
|
|
199
|
+
node25,
|
|
200
|
+
node19,
|
|
201
|
+
node18,
|
|
202
|
+
node51,
|
|
203
|
+
node17,
|
|
204
|
+
node49,
|
|
205
|
+
node79,
|
|
206
|
+
node42,
|
|
207
|
+
node47,
|
|
208
|
+
node28,
|
|
209
|
+
node70,
|
|
210
|
+
node27,
|
|
211
|
+
node40,
|
|
212
|
+
node80,
|
|
213
|
+
node45,
|
|
214
|
+
node52,
|
|
215
|
+
node58,
|
|
216
|
+
node41,
|
|
217
|
+
node34,
|
|
218
|
+
node35,
|
|
219
|
+
node77,
|
|
220
|
+
node66,
|
|
221
|
+
node14,
|
|
222
|
+
node39,
|
|
223
|
+
node13,
|
|
224
|
+
node61,
|
|
225
|
+
node11,
|
|
226
|
+
node10,
|
|
227
|
+
node33,
|
|
228
|
+
node44,
|
|
229
|
+
node9,
|
|
230
|
+
node57,
|
|
231
|
+
node7
|
|
232
|
+
];
|
|
233
|
+
var graph2 = LayerNode.group(nodes);
|
|
234
|
+
var vanillaReplacements = [
|
|
235
|
+
node54.replace(configured8({ project: false, global: false })),
|
|
236
|
+
node47.replace(configured6({ project: false, global: false }))
|
|
237
|
+
];
|
|
238
|
+
function layer2(ref, options = {}) {
|
|
239
|
+
const startedAt = performance.now();
|
|
240
|
+
const replacements = [
|
|
241
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
242
|
+
...options.replacements ?? [],
|
|
243
|
+
node85.replace(boundNode2(ref)),
|
|
244
|
+
node5.replace(bound2(options.plugins ?? []))
|
|
245
|
+
];
|
|
246
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service13).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
247
|
+
directory: ref.directory,
|
|
248
|
+
workspaceID: ref.workspaceID,
|
|
249
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
250
|
+
})));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-4b4qgg5c.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-5y9r66cr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./file-mutation-g6cjcx64.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./file-mutation-b02gegf9.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-gw7cjrad.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-6159pc4w.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-08pekkkp.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./file-mutation-tx6et3w6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate = {};
|
|
28
|
+
__export(exports_generate, {
|
|
29
|
+
SessionGenerate: () => exports_generate,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
36
|
-
const database = yield*
|
|
35
|
+
const instances = yield* Service60;
|
|
36
|
+
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service29;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service52,
|
|
3
|
+
node55
|
|
4
|
+
} from "./file-mutation-t88w3btv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-mutation-x6gzkr09.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node54
|
|
12
|
+
} from "./file-mutation-7vmkqt70.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service51;
|
|
40
|
+
const watcher = yield* Service52;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node54, FSUtil.node, node55, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node3, empty2, exports_source };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./file-mutation-g6cjcx64.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-8tma8yk9.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-2vvh33eb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-6159pc4w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service78,
|
|
21
|
+
node82
|
|
22
|
+
} from "./file-mutation-e2f8ga9k.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service29,
|
|
25
|
+
node33
|
|
26
|
+
} from "./file-mutation-tx6et3w6.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service8,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer6,
|
|
42
|
+
node: () => node10
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service8 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer6 = Layer.effect(Service8, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
66
|
-
const db = (yield*
|
|
64
|
+
const context = yield* Service29;
|
|
65
|
+
const store = yield* Service78;
|
|
66
|
+
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
69
69
|
let failed = false;
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service8.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node10 = makeLocationNode({
|
|
151
|
+
service: Service8,
|
|
152
|
+
layer: layer6,
|
|
153
|
+
deps: [node87, llmClient2, node33, node82, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service8, isUntitled2, layer6, node10, exports_title };
|