@opencode/core 0.0.0-dev-20829 → 0.0.0-dev-20830
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{pty-tsf8s7tw.js → state-0557p3be.js} +31 -31
- package/dist/chunks/{pty-zmhzecev.js → state-0cg871e2.js} +5 -5
- package/dist/chunks/{pty-4wp3e6bz.js → state-0dfgejyr.js} +8 -8
- package/dist/chunks/{pty-2k8khapm.js → state-0jwsre1p.js} +5 -5
- package/dist/chunks/{pty-djsf3ra4.js → state-0nafeyy2.js} +17 -17
- package/dist/chunks/{pty-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-b674v2dg.js → state-0r3c1bmw.js} +5 -5
- package/dist/chunks/{pty-3h6fbjms.js → state-0sakkys5.js} +10 -10
- package/dist/chunks/{pty-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{pty-pdz1473m.js → state-0ww3hhrw.js} +4 -4
- package/dist/chunks/{pty-qcya3rg4.js → state-11ca2t5k.js} +46 -46
- package/dist/chunks/{pty-y94gemam.js → state-171hx01y.js} +15 -15
- package/dist/chunks/{pty-yp2x3t23.js → state-1acjjqhc.js} +4 -4
- package/dist/chunks/{pty-pdc17wm4.js → state-1hrrgg86.js} +326 -326
- package/dist/chunks/{pty-az7915bh.js → state-1jpgqh2z.js} +20 -20
- package/dist/chunks/{pty-819j0yj5.js → state-1msdpkf3.js} +23 -23
- package/dist/chunks/{pty-1rh4yqvv.js → state-1nzh38e4.js} +9 -9
- package/dist/chunks/{pty-803mzads.js → state-1p1kcw92.js} +8 -8
- package/dist/chunks/{pty-fzep1s2p.js → state-1v5f3sf1.js} +13 -13
- package/dist/chunks/{pty-9m0tzg6a.js → state-1xzgq0dt.js} +17 -17
- package/dist/chunks/{pty-s9435745.js → state-1yceajqh.js} +24 -24
- package/dist/chunks/{pty-508e6s6p.js → state-24myjta5.js} +6 -6
- package/dist/chunks/{pty-8fqzmfzp.js → state-29c6hkck.js} +8 -8
- package/dist/chunks/{pty-vqwz5fgy.js → state-2fr77vvd.js} +25 -25
- package/dist/chunks/{pty-3qddgp4y.js → state-2j0vym9z.js} +24 -24
- package/dist/chunks/{pty-fqtvmpfq.js → state-2ktf0ed2.js} +8 -8
- package/dist/chunks/{pty-c84f5e61.js → state-2p5arddx.js} +13 -13
- package/dist/chunks/{pty-ngvyj94h.js → state-2qhyej25.js} +21 -21
- package/dist/chunks/{pty-m329mjby.js → state-2r93mh4x.js} +5 -5
- package/dist/chunks/{pty-2vvh33eb.js → state-2vvh33eb.js} +2 -2
- package/dist/chunks/{pty-5e3qmt7f.js → state-2wy3czpc.js} +1 -1
- package/dist/chunks/{pty-kr6f0vqs.js → state-2zxcz0hw.js} +25 -25
- package/dist/chunks/{pty-8ppnx5kq.js → state-35rvysyk.js} +6 -6
- package/dist/chunks/{pty-p0anqt4a.js → state-36n3adjp.js} +35 -35
- package/dist/chunks/{pty-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{pty-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
- package/dist/chunks/{pty-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-9qgy8jr1.js → state-3y03j49s.js} +9 -9
- package/dist/chunks/{pty-kxkrnkd5.js → state-3yqqv8dh.js} +37 -37
- package/dist/chunks/{pty-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{pty-281xas1t.js → state-42y89c4e.js} +20 -20
- package/dist/chunks/{pty-x24b9x88.js → state-4g85bg4y.js} +20 -20
- package/dist/chunks/{pty-0vygd7f8.js → state-4gbdxvwm.js} +17 -17
- package/dist/chunks/{pty-yj1m88h6.js → state-4tm360fx.js} +11 -11
- package/dist/chunks/{pty-4ts7tf6z.js → state-4ts7tf6z.js} +2 -2
- package/dist/chunks/{pty-a9vjqg87.js → state-4v653aq5.js} +4 -4
- package/dist/chunks/{pty-qazrcecv.js → state-50jyrsbn.js} +17 -17
- package/dist/chunks/{pty-6q9eydss.js → state-51wkfrt1.js} +5 -5
- package/dist/chunks/{pty-r94pvvab.js → state-54ma36ye.js} +4 -4
- package/dist/chunks/{pty-ev663pnx.js → state-58peq4z0.js} +3 -3
- package/dist/chunks/{pty-k1zym2rk.js → state-5av0yrf2.js} +23 -23
- package/dist/chunks/{pty-f3zadn6b.js → state-5jsc8r4j.js} +11 -11
- package/dist/chunks/{pty-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/{pty-gskmna2p.js → state-5zrs708t.js} +20 -20
- package/dist/chunks/{pty-drnf6xwf.js → state-63db42yp.js} +2 -2
- package/dist/chunks/{pty-jf6x9176.js → state-6ee6mja4.js} +11 -11
- package/dist/chunks/{pty-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{pty-q2v8m3fk.js → state-6xpm1twa.js} +10 -10
- package/dist/chunks/{pty-5xfmpj1j.js → state-72cj47zm.js} +8 -8
- package/dist/chunks/{pty-75ejmma1.js → state-72xps0ff.js} +28 -28
- package/dist/chunks/{pty-rqjzxqxs.js → state-77nza94r.js} +13 -13
- package/dist/chunks/{pty-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-32tw229e.js → state-7mtsxbrk.js} +17 -17
- package/dist/chunks/{pty-pnzf6mjf.js → state-7zt5x37y.js} +1 -1
- package/dist/chunks/{pty-7twrzkxr.js → state-82qb1t6x.js} +22 -22
- package/dist/chunks/{pty-62gtt4vs.js → state-83exb234.js} +26 -26
- package/dist/chunks/{pty-g8yq79xy.js → state-83tfp6t6.js} +17 -17
- package/dist/chunks/{pty-nfs59v65.js → state-8472ey6f.js} +29 -29
- package/dist/chunks/{pty-w1eejvng.js → state-84txncab.js} +5 -5
- package/dist/chunks/{pty-r44wx0p4.js → state-87bedf94.js} +11 -11
- package/dist/chunks/{pty-3pq4wa5c.js → state-88xma3a9.js} +11 -11
- package/dist/chunks/{pty-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{pty-hpfvhvya.js → state-8aaqm6qj.js} +8 -8
- package/dist/chunks/{pty-wjtb6svr.js → state-8enzew06.js} +34 -34
- package/dist/chunks/{pty-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{pty-7fkffz83.js → state-8sze2n9a.js} +8 -8
- package/dist/chunks/{pty-pzfg0ztk.js → state-8v02gd0t.js} +11 -11
- package/dist/chunks/{pty-j09zfasm.js → state-91qna3x0.js} +3 -3
- package/dist/chunks/{pty-n8xxfej3.js → state-944h6gfv.js} +29 -29
- package/dist/chunks/{pty-na80sj88.js → state-9a7pyw65.js} +30 -30
- package/dist/chunks/{pty-fqq9xsk7.js → state-9bm5c0md.js} +19 -19
- package/dist/chunks/{pty-0f36crf5.js → state-9bxt77bv.js} +54 -54
- package/dist/chunks/{pty-thtzhryg.js → state-9f40cav3.js} +12 -12
- package/dist/chunks/{pty-s08bddtt.js → state-9ndy2hht.js} +15 -15
- package/dist/chunks/{pty-mxcn0d43.js → state-9qd4mbdw.js} +71 -71
- package/dist/chunks/{pty-34dz50e5.js → state-9rbc7h43.js} +16 -16
- package/dist/chunks/state-9zdhvgqs.js +18 -0
- package/dist/chunks/{pty-sdmzpsns.js → state-a0x3wzs7.js} +31 -31
- package/dist/chunks/{pty-dxx87avg.js → state-a5ah3nzf.js} +23 -23
- package/dist/chunks/{pty-axbkptea.js → state-a7e5kesa.js} +2 -2
- package/dist/chunks/{pty-k1y0s7m5.js → state-adnxhg2x.js} +34 -34
- package/dist/chunks/{pty-7g19e4tp.js → state-adrw5mdv.js} +85 -85
- package/dist/chunks/{pty-vynmhvtw.js → state-ahqtxjpt.js} +13 -13
- package/dist/chunks/{pty-fd80m7p3.js → state-ayty09pp.js} +34 -34
- package/dist/chunks/{pty-re8fv4z8.js → state-b3d5k4tq.js} +11 -11
- package/dist/chunks/{pty-3s8fpsh7.js → state-b7ag9snz.js} +42 -42
- package/dist/chunks/{pty-gwkq74jr.js → state-b7e85k7b.js} +26 -26
- package/dist/chunks/{pty-0cnykqaq.js → state-b8zqr6yd.js} +11 -11
- package/dist/chunks/{pty-736mwy1a.js → state-b96c8sgz.js} +45 -45
- package/dist/chunks/{pty-zjm5cem5.js → state-bgvakscb.js} +15 -15
- package/dist/chunks/{pty-4qb8ma89.js → state-bh3znjnz.js} +28 -28
- package/dist/chunks/{pty-dxep3sqh.js → state-bxkmvfck.js} +26 -26
- package/dist/chunks/{pty-rj3eygr5.js → state-c41wscbt.js} +2 -2
- package/dist/chunks/{pty-5d607bsg.js → state-c765mh8b.js} +9 -9
- package/dist/chunks/{pty-sa8ekw3f.js → state-c8ax2afj.js} +2 -2
- package/dist/chunks/{pty-h64c4a83.js → state-ccx2wqdd.js} +8 -8
- package/dist/chunks/{pty-jvcn2d3z.js → state-cfnx7scx.js} +50 -50
- package/dist/chunks/{pty-g8e6zt8f.js → state-cfyzhaat.js} +11 -11
- package/dist/chunks/{pty-jbt4rr2d.js → state-cg9scsxc.js} +44 -44
- package/dist/chunks/{pty-gnp9y88q.js → state-ckxmgpbg.js} +21 -21
- package/dist/chunks/{pty-fzd7gkan.js → state-cnv8w6dz.js} +88 -88
- package/dist/chunks/{pty-mrhpe6wz.js → state-cwmk4gds.js} +7 -7
- package/dist/chunks/{pty-g7g2pdja.js → state-cyzep8tn.js} +4 -4
- package/dist/chunks/{pty-d5h7yrcx.js → state-d2m5w5xb.js} +43 -43
- package/dist/chunks/{pty-62g730j6.js → state-d5nwps6r.js} +4 -4
- package/dist/chunks/{pty-mxvxcxwy.js → state-db2wf4at.js} +4 -4
- package/dist/chunks/{pty-32cjn77w.js → state-dfam6ca0.js} +7 -7
- package/dist/chunks/{pty-7e6328vk.js → state-djj1n09f.js} +7 -7
- package/dist/chunks/{pty-af1eyefv.js → state-dp1z867b.js} +27 -27
- package/dist/chunks/{pty-3zg7z3bw.js → state-dyabj6q8.js} +13 -13
- package/dist/chunks/{pty-ebqxd2ph.js → state-e5wg3wb1.js} +21 -21
- package/dist/chunks/{pty-razh9zgp.js → state-e6g20vae.js} +16 -16
- package/dist/chunks/{pty-1gpb38yh.js → state-e8vwfchq.js} +6 -6
- package/dist/chunks/{pty-s8d7rejh.js → state-eaj1djv9.js} +6 -6
- package/dist/chunks/{pty-ryr25ayn.js → state-edrmdtr5.js} +7 -7
- package/dist/chunks/{pty-eej6y6fw.js → state-eej6y6fw.js} +2 -2
- package/dist/chunks/{pty-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{pty-61r3a0pq.js → state-efpar2mq.js} +3 -3
- package/dist/chunks/state-ej0jrn3e.js +26 -0
- package/dist/chunks/{pty-3rqkssp8.js → state-emzsebxx.js} +8 -8
- package/dist/chunks/{pty-c1fqxshp.js → state-es1vcfrp.js} +3 -3
- package/dist/chunks/{pty-3pkc36ya.js → state-esc9b6cf.js} +7 -7
- package/dist/chunks/{pty-rwa6rxfx.js → state-f06gwrsq.js} +8 -8
- package/dist/chunks/{pty-816wh8nz.js → state-f80x16a8.js} +13 -13
- package/dist/chunks/{pty-28rwbfbs.js → state-fbw9agv5.js} +29 -29
- package/dist/chunks/{pty-8bzfeptx.js → state-fdqap5k5.js} +176 -176
- package/dist/chunks/{pty-m2ca2kay.js → state-ftz7pznp.js} +10 -10
- package/dist/chunks/{pty-wze0qs61.js → state-gaabptfq.js} +23 -23
- package/dist/chunks/{pty-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-688cz1j9.js → state-ghhxwymr.js} +10 -10
- package/dist/chunks/{pty-ma48de29.js → state-ghrzdqqx.js} +5 -5
- package/dist/chunks/{pty-1qxv4gah.js → state-ghsw8zx7.js} +13 -13
- package/dist/chunks/{pty-gk8qb678.js → state-gk8qb678.js} +1 -1
- package/dist/chunks/{pty-kf5rw7j4.js → state-gtx4ax2e.js} +48 -48
- package/dist/chunks/{pty-yrcj3v3g.js → state-gw7cjrad.js} +4 -4
- package/dist/chunks/{pty-jtgbyr4a.js → state-h40gvhgm.js} +22 -22
- package/dist/chunks/{pty-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-h7s7r6s9.js → state-h7s7r6s9.js} +2 -2
- package/dist/chunks/{pty-rrcp1k08.js → state-h93dctaq.js} +11 -11
- package/dist/chunks/{pty-s17w1n1e.js → state-h986hd8g.js} +20 -20
- package/dist/chunks/{pty-c2z82zd3.js → state-hazngtky.js} +4 -4
- package/dist/chunks/{pty-dys7k0s0.js → state-hcv80w8f.js} +8 -8
- package/dist/chunks/{pty-ynnr5y5c.js → state-hd86p3k8.js} +4 -4
- package/dist/chunks/{pty-nyczhf3x.js → state-hdn8e5hd.js} +4 -4
- package/dist/chunks/{pty-g3er6je0.js → state-hdxgsgcv.js} +5 -5
- package/dist/chunks/{pty-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
- package/dist/chunks/{pty-kne8f3cn.js → state-hn57h045.js} +4 -4
- package/dist/chunks/{pty-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-jzg6w2y0.js → state-j9z6me7c.js} +9 -9
- package/dist/chunks/{pty-vkp0w3yf.js → state-jjneh92f.js} +14 -14
- package/dist/chunks/{pty-3fbg59cn.js → state-jjw261ry.js} +13 -13
- package/dist/chunks/{pty-6ma4rgg5.js → state-jnft9wxv.js} +8 -8
- package/dist/chunks/{pty-5n9cp24j.js → state-jqd3eecq.js} +9 -9
- package/dist/chunks/{pty-tbr92r1g.js → state-jqpbgzsk.js} +10 -10
- package/dist/chunks/{pty-w0y00tyh.js → state-jvmjd6nh.js} +17 -17
- package/dist/chunks/{pty-gn2rf22p.js → state-jznafckq.js} +11 -11
- package/dist/chunks/{pty-835y4q1g.js → state-k0b9ft2z.js} +11 -11
- package/dist/chunks/{pty-cyfy6ny6.js → state-k6dq7md3.js} +20 -20
- package/dist/chunks/{pty-gjscf0hp.js → state-k8ktzaxx.js} +14 -14
- package/dist/chunks/{pty-s0c7z8s7.js → state-k9jq8a9f.js} +24 -24
- package/dist/chunks/{pty-e920mvbt.js → state-kg8sbxbz.js} +23 -23
- package/dist/chunks/{pty-khmqacep.js → state-khmqacep.js} +1 -1
- package/dist/chunks/{pty-a89e0tac.js → state-kkp8zx71.js} +4 -4
- package/dist/chunks/{pty-4zyzs0ed.js → state-krdw763r.js} +38 -38
- package/dist/chunks/{pty-s8qr3ezm.js → state-krjewr0x.js} +31 -31
- package/dist/chunks/{pty-0xcfrkz9.js → state-krmj6tzy.js} +20 -20
- package/dist/chunks/{pty-7ssckh79.js → state-m3gr93j5.js} +14 -14
- package/dist/chunks/{pty-drmqggy3.js → state-m93cgr6s.js} +3 -3
- package/dist/chunks/{pty-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-5315f502.js → state-mnvbn3nr.js} +6 -6
- package/dist/chunks/{pty-ngjdjm4k.js → state-mxwkr8w2.js} +12 -12
- package/dist/chunks/{pty-z2sr2ytx.js → state-n5my2xp1.js} +15 -15
- package/dist/chunks/{pty-2n79zsqk.js → state-n8axfj05.js} +5 -5
- package/dist/chunks/{pty-nrekvyfh.js → state-ndkkganb.js} +22 -22
- package/dist/chunks/{pty-33gphc4y.js → state-nh7hmz05.js} +5 -5
- package/dist/chunks/{pty-pxj76zhh.js → state-ny5dcp87.js} +27 -27
- package/dist/chunks/{pty-vh716j4k.js → state-nza4bhrq.js} +8 -8
- package/dist/chunks/{pty-1ajx6rf5.js → state-pa8pe2x7.js} +8 -8
- package/dist/chunks/{pty-dcy4apwd.js → state-pdhsfkgt.js} +11 -11
- package/dist/chunks/{pty-bxqk5pf5.js → state-phz50fbd.js} +9 -9
- package/dist/chunks/{pty-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{pty-4rd96g3b.js → state-px6rtfw4.js} +16 -16
- package/dist/chunks/{pty-hkffa77z.js → state-pyg4v0b6.js} +4 -4
- package/dist/chunks/{pty-mzw0q7vr.js → state-pz9yt98x.js} +9 -9
- package/dist/chunks/{pty-q0xm7vwc.js → state-q0xm7vwc.js} +2 -2
- package/dist/chunks/{pty-jefh3zb1.js → state-qjcd7mbq.js} +19 -19
- package/dist/chunks/{pty-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{pty-9q77khpg.js → state-qp0mnk5r.js} +5 -5
- package/dist/chunks/{pty-pey5f48j.js → state-qp1byhys.js} +1 -1
- package/dist/chunks/{pty-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-m632hd4m.js → state-qv34d5f9.js} +13 -13
- package/dist/chunks/{pty-j7d1263c.js → state-r02hbddp.js} +18 -18
- package/dist/chunks/{pty-g2x3q6j9.js → state-r96659h9.js} +37 -37
- package/dist/chunks/{pty-6dp5gy92.js → state-rc1szs54.js} +6 -6
- package/dist/chunks/{pty-xbt9ga98.js → state-rccpv2ye.js} +18 -18
- package/dist/chunks/{pty-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{pty-4rt7dqfm.js → state-rg9sha5m.js} +7 -7
- package/dist/chunks/{pty-dffyxrs7.js → state-rjjk3vjj.js} +19 -19
- package/dist/chunks/{pty-v68v43a8.js → state-rpgyk1wb.js} +16 -16
- package/dist/chunks/{pty-extdh6e7.js → state-rxg074bj.js} +22 -22
- package/dist/chunks/{pty-f2mw6jyj.js → state-s5qxm7c2.js} +11 -11
- package/dist/chunks/{pty-r6pqh68g.js → state-sc2t89x6.js} +12 -12
- package/dist/chunks/{pty-my4zabxr.js → state-ss358qx3.js} +3 -3
- package/dist/chunks/{pty-e80seqcp.js → state-sxcaecc0.js} +3 -3
- package/dist/chunks/{pty-syv4x271.js → state-syv4x271.js} +1 -1
- package/dist/chunks/{pty-k4ek9np0.js → state-t2y7bdcw.js} +18 -18
- package/dist/chunks/{pty-sh68mvxb.js → state-t8neg7x7.js} +33 -33
- package/dist/chunks/{pty-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{pty-rert0e01.js → state-tkb22qbm.js} +2 -2
- package/dist/chunks/{pty-yak2w91k.js → state-tvwsnpay.js} +5 -5
- package/dist/chunks/{pty-waskdk5r.js → state-txm3e8qz.js} +4 -4
- package/dist/chunks/{pty-tyytaxap.js → state-tyytaxap.js} +1 -1
- package/dist/chunks/{pty-v0es1rhs.js → state-v0es1rhs.js} +2 -2
- package/dist/chunks/{pty-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
- package/dist/chunks/{pty-6h6xfm99.js → state-vbv3keym.js} +11 -11
- package/dist/chunks/{pty-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-mx9vqzsb.js → state-vqfzq50h.js} +6 -6
- package/dist/chunks/{pty-cnhye612.js → state-vv5tc97j.js} +2 -2
- package/dist/chunks/{pty-1dmh880y.js → state-vvdwz8bp.js} +4 -4
- package/dist/chunks/{pty-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{pty-1sheza49.js → state-vztm24v3.js} +43 -43
- package/dist/chunks/{pty-1pxz8ven.js → state-w39jehkq.js} +5 -5
- package/dist/chunks/{pty-es811akx.js → state-w3ajezp3.js} +14 -14
- package/dist/chunks/{pty-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-0hbbthgq.js → state-w88g6rmw.js} +5 -5
- package/dist/chunks/{pty-82ayfpam.js → state-w8zb7k19.js} +11 -11
- package/dist/chunks/{pty-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{pty-xrpg47n6.js → state-wjqb2vp5.js} +9 -9
- package/dist/chunks/{pty-s1sr5m6z.js → state-wm17x2yg.js} +15 -15
- package/dist/chunks/{pty-rwc2pc3v.js → state-wrt27mz2.js} +11 -11
- package/dist/chunks/{pty-efbe88xk.js → state-wtdq1xvb.js} +18 -18
- package/dist/chunks/{pty-gncde6fa.js → state-wzkn9px2.js} +6 -6
- package/dist/chunks/{pty-xkb1khsr.js → state-x119eg88.js} +30 -30
- package/dist/chunks/{pty-nv00r1cz.js → state-x1hcexjc.js} +3 -3
- package/dist/chunks/{pty-5zkvyedw.js → state-x372j2ps.js} +27 -27
- package/dist/chunks/{pty-d57w54x3.js → state-x39s0e6k.js} +16 -16
- package/dist/chunks/{pty-kj20kd1j.js → state-x4adhrm2.js} +43 -43
- package/dist/chunks/{pty-p8aeyc23.js → state-x52x10kp.js} +25 -25
- package/dist/chunks/{pty-hnym75r4.js → state-x63y8anf.js} +4 -4
- package/dist/chunks/{pty-qz98z2ah.js → state-xbg4wfgw.js} +9 -9
- package/dist/chunks/{pty-qqeeq2t9.js → state-xfkkasph.js} +7 -7
- package/dist/chunks/{pty-v01rw2zy.js → state-xjk7skpn.js} +23 -23
- package/dist/chunks/{pty-ks0ccrx6.js → state-xsmtq4qf.js} +8 -8
- package/dist/chunks/{pty-py0hhzem.js → state-xw7yq2vg.js} +32 -32
- package/dist/chunks/{pty-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/state-y2yc1hmv.js +253 -0
- package/dist/chunks/{pty-6rm5yzkt.js → state-y5rf7nzv.js} +4 -4
- package/dist/chunks/{pty-dpkg50ah.js → state-y71avatq.js} +4 -4
- package/dist/chunks/{pty-3f2jm17j.js → state-ybtjykms.js} +11 -11
- package/dist/chunks/{pty-pwzbey2q.js → state-yknhy38n.js} +50 -50
- package/dist/chunks/{pty-a053vxgn.js → state-ykry54sk.js} +30 -30
- package/dist/chunks/{pty-h6ztf8yp.js → state-ywszk2jg.js} +5 -5
- package/dist/chunks/{pty-wjr9rjd7.js → state-ywt8jp22.js} +6 -6
- package/dist/chunks/{pty-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-s80jrect.js → state-z0xmsghh.js} +22 -22
- package/dist/chunks/{pty-2kpekj74.js → state-z3a8mnsb.js} +45 -45
- package/dist/chunks/{pty-9xf5g41x.js → state-z88250gw.js} +26 -26
- package/dist/chunks/{pty-2rqksdxh.js → state-z89zfw7h.js} +28 -28
- package/dist/chunks/{pty-ypeaesjs.js → state-zcwza7b0.js} +6 -6
- package/dist/chunks/{pty-k3m00qb7.js → state-zj4r7vbk.js} +3 -3
- package/dist/chunks/{pty-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-9p8g6ccm.js → state-zx4tn7qt.js} +3 -3
- package/dist/chunks/{pty-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{pty-scgrse2b.js → state-zyk1yjk8.js} +5 -5
- 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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +130 -130
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- 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 +94 -94
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/pty-882ve7ed.js +0 -253
- package/dist/chunks/pty-gb9jrr1j.js +0 -26
- package/dist/chunks/pty-qc068m1q.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-bw78ga2c.js → state-bw78ga2c.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{pty-pyv0edze.js → state-pyv0edze.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-vv5tc97j.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./state-x4adhrm2.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./state-5jsc8r4j.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make4
|
|
12
|
+
} from "./state-sxcaecc0.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin19
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin19 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service51;
|
|
36
|
+
const formatter = yield* Service36;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service81;
|
|
@@ -44,7 +44,7 @@ var Plugin9 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make4({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin19, exports_formatter };
|
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-zj4r7vbk.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-vvdwz8bp.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-e8vwfchq.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-es1vcfrp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-pyg4v0b6.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-gw7cjrad.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-1p1kcw92.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service78,
|
|
33
|
+
node82
|
|
34
|
+
} from "./state-w3ajezp3.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service42,
|
|
37
|
+
node44
|
|
38
|
+
} from "./state-ny5dcp87.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-2vvh33eb.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service27,
|
|
44
|
+
node31
|
|
45
|
+
} from "./state-ybtjykms.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./state-36n3adjp.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make5
|
|
51
|
+
} from "./state-zyk1yjk8.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./state-w88g6rmw.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service11,
|
|
57
|
+
node13,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./state-b7ag9snz.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service21,
|
|
62
|
+
node25
|
|
63
|
+
} from "./state-adrw5mdv.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./state-h986hd8g.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service3,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node4
|
|
73
|
+
} from "./state-b7e85k7b.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service38
|
|
77
|
+
} from "./state-hn57h045.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node35
|
|
80
|
+
} from "./state-z88250gw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
node52
|
|
83
|
+
} from "./state-s5qxm7c2.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
make3
|
|
87
|
+
} from "./state-k6dq7md3.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
89
|
+
Service30
|
|
90
|
+
} from "./state-9zdhvgqs.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
92
|
+
node18
|
|
93
|
+
} from "./state-rjjk3vjj.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./state-y44na4kk.js";
|
|
97
97
|
import {
|
|
98
98
|
__export
|
|
99
|
-
} from "./
|
|
99
|
+
} from "./state-9rqn6x4v.js";
|
|
100
100
|
|
|
101
101
|
// src/session/runner/llm.ts
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node3
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
109
109
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
|
-
var layer = Layer.effect(
|
|
112
|
+
var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
113
113
|
const bus = yield* Service84;
|
|
114
|
-
const lifecycle = yield*
|
|
115
|
-
const store = yield*
|
|
116
|
-
const context = yield*
|
|
117
|
-
const modelTransport = yield*
|
|
114
|
+
const lifecycle = yield* Service42;
|
|
115
|
+
const store = yield* Service78;
|
|
116
|
+
const context = yield* Service21;
|
|
117
|
+
const modelTransport = yield* Service27;
|
|
118
118
|
const db = (yield* Service85).db;
|
|
119
|
-
const compaction = yield*
|
|
120
|
-
const plugins = yield*
|
|
121
|
-
const title = yield*
|
|
122
|
-
const steps = yield*
|
|
119
|
+
const compaction = yield* Service11;
|
|
120
|
+
const plugins = yield* Service30;
|
|
121
|
+
const title = yield* Service3;
|
|
122
|
+
const steps = yield* make3;
|
|
123
123
|
const titles = yield* FiberMap.make();
|
|
124
124
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
125
125
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make5(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -356,25 +356,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
});
|
|
359
|
-
return
|
|
359
|
+
return Service38.of({ drain });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
362
|
-
service:
|
|
361
|
+
var node3 = makeLocationNode({
|
|
362
|
+
service: Service38,
|
|
363
363
|
layer,
|
|
364
364
|
deps: [
|
|
365
365
|
node88,
|
|
366
|
-
|
|
366
|
+
node44,
|
|
367
367
|
llmClient2,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
368
|
+
node25,
|
|
369
|
+
node31,
|
|
370
|
+
node82,
|
|
371
|
+
node13,
|
|
372
|
+
node18,
|
|
373
|
+
node4,
|
|
374
|
+
node35,
|
|
375
|
+
node52,
|
|
376
376
|
node89
|
|
377
377
|
]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export {
|
|
380
|
+
export { node3, exports_llm };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-vvdwz8bp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-vv5tc97j.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node82
|
|
15
|
+
} from "./state-w3ajezp3.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service10,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node12
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service84;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service78;
|
|
41
41
|
const location = yield* Service81;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service10.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node88, FSUtil.node, node85,
|
|
101
|
+
deps: [node88, FSUtil.node, node85, node82]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service10, node12, exports_instructions };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service30,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service30 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service30, awaitActivation2, exports_service };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-vvdwz8bp.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-vv5tc97j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service49,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node51
|
|
13
|
+
} from "./state-9bm5c0md.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput2,
|
|
25
|
+
Event: () => Event2,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID2,
|
|
28
|
+
Info: () => Info2,
|
|
29
|
+
NotFoundError: () => NotFoundError2,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service14,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node16
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID2 = Pty.ID;
|
|
43
|
+
var Info2 = Pty.Info;
|
|
44
|
+
var CreateInput2 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID2
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID2
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service14 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
60
60
|
const bus = yield* Service84;
|
|
61
61
|
const location = yield* Service81;
|
|
62
|
-
const shell = yield*
|
|
62
|
+
const shell = yield* Service49;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID2.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service14.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node16 = makeLocationNode({
|
|
273
|
+
service: Service14,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [node88, node85,
|
|
275
|
+
deps: [node88, node85, node51]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node16, exports_pty, Event2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./state-9bxt77bv.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin27,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin27 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service76;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin47 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input9, Plugin27, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-esc9b6cf.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|