@opencode/core 0.0.0-dev-20489 → 0.0.0-dev-20497
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{plugin-qvb3nf84.js → state-00x4qneg.js} +8 -8
- package/dist/chunks/{plugin-3ag6mk8n.js → state-036v1hvj.js} +6 -6
- package/dist/chunks/{plugin-hgqax4q6.js → state-0evtapph.js} +25 -25
- package/dist/chunks/{plugin-xn3aq1vn.js → state-0habsvra.js} +38 -38
- package/dist/chunks/{plugin-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{plugin-m6g91zyk.js → state-0t6gahkk.js} +15 -15
- package/dist/chunks/{plugin-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{plugin-q553k2y0.js → state-0vmmzasy.js} +18 -18
- package/dist/chunks/{plugin-h2mrpd9j.js → state-1184ktb1.js} +45 -45
- package/dist/chunks/{plugin-0st2k7bp.js → state-11jr2j0r.js} +8 -8
- package/dist/chunks/{plugin-jagbr6h4.js → state-156pf76f.js} +24 -24
- package/dist/chunks/{plugin-p9dr31ta.js → state-1bqfkzv3.js} +10 -10
- package/dist/chunks/{plugin-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{plugin-6vge9h39.js → state-1dqwkdsj.js} +26 -26
- package/dist/chunks/{plugin-84h8c373.js → state-1dvck2a7.js} +2 -2
- package/dist/chunks/{plugin-552dhgzm.js → state-1e734s2r.js} +5 -5
- package/dist/chunks/{plugin-y5f3qdbg.js → state-1gpb38yh.js} +6 -6
- package/dist/chunks/{plugin-c7s4vxbp.js → state-1nn5drgz.js} +5 -5
- package/dist/chunks/{plugin-tbdf39ae.js → state-1qqsgqx8.js} +19 -19
- package/dist/chunks/{plugin-wbhkz6w4.js → state-1sv0vpv6.js} +15 -15
- package/dist/chunks/{plugin-b00njkv4.js → state-2227vqj9.js} +20 -20
- package/dist/chunks/{plugin-2sjdad61.js → state-2318s8bz.js} +30 -30
- package/dist/chunks/{plugin-aqcsk7k7.js → state-25fpdh8d.js} +12 -12
- package/dist/chunks/{plugin-88wfbx9b.js → state-28hqs9y2.js} +32 -32
- package/dist/chunks/{plugin-a9bdmzgt.js → state-2a2w6e8b.js} +22 -22
- package/dist/chunks/{plugin-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{plugin-y7cqqg6m.js → state-2a67ew1x.js} +16 -16
- package/dist/chunks/state-2dkqpbz0.js +26 -0
- package/dist/chunks/{plugin-w224pj40.js → state-2dmzcsnk.js} +12 -12
- package/dist/chunks/{plugin-snnkctvy.js → state-2gjcxze4.js} +16 -16
- package/dist/chunks/{plugin-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{plugin-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{plugin-gdgk23je.js → state-3hewh51z.js} +22 -22
- package/dist/chunks/{plugin-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{plugin-sk3qaz4a.js → state-3t0ybcrp.js} +58 -20
- package/dist/chunks/{plugin-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{plugin-8am2xe2c.js → state-3wbg2ndj.js} +89 -89
- package/dist/chunks/{plugin-h4ckqw4f.js → state-3zbwexce.js} +8 -8
- package/dist/chunks/{plugin-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{plugin-dbmc5gjs.js → state-4bm5ja14.js} +4 -4
- package/dist/chunks/{plugin-9tv1ghsx.js → state-4dqr7rbq.js} +4 -4
- package/dist/chunks/{plugin-5w1jn6g6.js → state-4gdcnkn7.js} +30 -30
- package/dist/chunks/{plugin-pte6hzve.js → state-4h35skqa.js} +33 -33
- package/dist/chunks/{plugin-6ncs3jcp.js → state-4kzv2d1h.js} +29 -29
- package/dist/chunks/{plugin-q4aqwj73.js → state-4q6hdv07.js} +19 -19
- package/dist/chunks/{plugin-jhmdvha7.js → state-4r5b2nkg.js} +18 -18
- package/dist/chunks/{plugin-4ts7tf6z.js → state-4ts7tf6z.js} +2 -2
- package/dist/chunks/{plugin-engkm2d6.js → state-4v4bfvma.js} +5 -5
- package/dist/chunks/{plugin-0he9bta8.js → state-4vqt517m.js} +10 -10
- package/dist/chunks/{plugin-5qwkxp89.js → state-4wwqnvbr.js} +4 -4
- package/dist/chunks/{plugin-9dbt7z73.js → state-4xrh0rhr.js} +20 -20
- package/dist/chunks/{plugin-2920kkda.js → state-4yajm3g0.js} +32 -32
- package/dist/chunks/{plugin-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{plugin-33w4ejhs.js → state-56gdpj1q.js} +6 -6
- package/dist/chunks/{plugin-ywp84kpb.js → state-5a1vmb6m.js} +9 -9
- package/dist/chunks/{plugin-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{plugin-qe2mh3tq.js → state-5qm7xrem.js} +6 -6
- package/dist/chunks/{plugin-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{plugin-qf3mq4ra.js → state-624q30ze.js} +30 -30
- package/dist/chunks/{plugin-bh48mnt2.js → state-62j9fngz.js} +26 -26
- package/dist/chunks/{plugin-xqb26yp8.js → state-644qpva7.js} +15 -15
- package/dist/chunks/{plugin-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{plugin-sqmzwr9m.js → state-66fqs2ya.js} +9 -9
- package/dist/chunks/{plugin-gxer4289.js → state-6axd00vm.js} +2 -2
- package/dist/chunks/{plugin-jgaj827t.js → state-6b2hcgdj.js} +26 -26
- package/dist/chunks/{plugin-eneefzjq.js → state-6ysrkrkr.js} +8 -8
- package/dist/chunks/{plugin-f75zav2x.js → state-71az546q.js} +2 -2
- package/dist/chunks/{plugin-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{plugin-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
- package/dist/chunks/{plugin-mzpqzxtj.js → state-7e0wtkms.js} +18 -18
- package/dist/chunks/{plugin-w25fr9f9.js → state-7tfh8s6m.js} +32 -32
- package/dist/chunks/{plugin-w1eejvng.js → state-84txncab.js} +5 -5
- package/dist/chunks/{plugin-c59ctwfg.js → state-86pzz8c4.js} +9 -9
- package/dist/chunks/{plugin-9ck34fdg.js → state-88sjpthe.js} +7 -7
- package/dist/chunks/{plugin-zpd5qt32.js → state-89hqkma4.js} +16 -16
- package/dist/chunks/{plugin-wsw9xjjb.js → state-8c0dth6r.js} +31 -31
- package/dist/chunks/{plugin-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{plugin-z6e4akrq.js → state-8eyw4fk8.js} +10 -10
- package/dist/chunks/{plugin-g99crknm.js → state-8h1j60r2.js} +20 -20
- package/dist/chunks/{plugin-e4qyxvqk.js → state-8ntxr6aa.js} +11 -11
- package/dist/chunks/{plugin-ydgym1xa.js → state-8pngkf8q.js} +17 -17
- package/dist/chunks/{plugin-n389n8yy.js → state-8qc73tc2.js} +185 -185
- package/dist/chunks/{plugin-g2qsvwwh.js → state-8snfv42w.js} +28 -28
- package/dist/chunks/{plugin-jebqk7jw.js → state-8t6qyhyp.js} +25 -25
- package/dist/chunks/{plugin-bqq66rcm.js → state-8vnprxe7.js} +4 -4
- package/dist/chunks/{plugin-nge6e8t3.js → state-909kf17w.js} +17 -17
- package/dist/chunks/{plugin-aqg4cax4.js → state-93gtw0bd.js} +11 -11
- package/dist/chunks/{plugin-qj72p9h2.js → state-94wqyd0k.js} +3 -3
- package/dist/chunks/{plugin-rhwq70n6.js → state-973dr9hw.js} +11 -11
- package/dist/chunks/{plugin-gkj81yr6.js → state-9b8xxv86.js} +15 -15
- package/dist/chunks/{plugin-kb9j3d72.js → state-9e5bzkjp.js} +3 -3
- package/dist/chunks/{plugin-ndp479ha.js → state-9fre5sse.js} +25 -25
- package/dist/chunks/{plugin-ygdna4kr.js → state-9hwaqfsw.js} +5 -5
- package/dist/chunks/state-9zdhvgqs.js +18 -0
- package/dist/chunks/{plugin-rghnzapf.js → state-9zsw43zy.js} +28 -28
- package/dist/chunks/{plugin-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{plugin-mhnyy3p3.js → state-ac3w4tg1.js} +11 -11
- package/dist/chunks/{plugin-a1tj4w97.js → state-b0m0sqtv.js} +17 -17
- package/dist/chunks/{plugin-a546qe5c.js → state-b5f29xgx.js} +21 -21
- package/dist/chunks/{plugin-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{plugin-hh2jxtdr.js → state-b762k26z.js} +68 -68
- package/dist/chunks/{plugin-9bk9cnp5.js → state-b9j1h4rt.js} +36 -36
- package/dist/chunks/{plugin-n7fvg6tv.js → state-bfs290yx.js} +11 -11
- package/dist/chunks/{plugin-p37cw4rj.js → state-br0tr5aq.js} +8 -8
- package/dist/chunks/{plugin-bxwnqnzf.js → state-bv6pjsgs.js} +23 -23
- package/dist/chunks/{plugin-jvq0khv9.js → state-byvwhsqc.js} +18 -18
- package/dist/chunks/{plugin-afabwxgp.js → state-c71c51b7.js} +6 -6
- package/dist/chunks/{plugin-a8bn8zg0.js → state-cavr175a.js} +4 -4
- package/dist/chunks/{plugin-0ghtmzcp.js → state-cbmd897h.js} +48 -48
- package/dist/chunks/{plugin-mpfqpskx.js → state-csm73x4e.js} +10 -10
- package/dist/chunks/{plugin-maheee0q.js → state-d5cem32y.js} +35 -35
- package/dist/chunks/{plugin-58avdj84.js → state-d945dqfg.js} +23 -23
- package/dist/chunks/{plugin-bwwwqt94.js → state-dan13dt5.js} +10 -10
- package/dist/chunks/{plugin-s2rhz4ah.js → state-dbmreddm.js} +3 -3
- package/dist/chunks/{plugin-g5nesaam.js → state-dn8q5098.js} +14 -14
- package/dist/chunks/{plugin-530jjp36.js → state-dpdfbyc3.js} +10 -10
- package/dist/chunks/{plugin-dpkg50ah.js → state-dpkg50ah.js} +1 -1
- package/dist/chunks/{plugin-4a2kvcyx.js → state-drnf6xwf.js} +2 -2
- package/dist/chunks/{plugin-8x81hhm0.js → state-dtjwaa49.js} +36 -36
- package/dist/chunks/{plugin-1xw4ekgp.js → state-e971aeta.js} +29 -29
- package/dist/chunks/{plugin-dmrh8gvy.js → state-e9vvwa2x.js} +24 -24
- package/dist/chunks/{plugin-gcbvw9h7.js → state-e9zkcnq0.js} +326 -326
- package/dist/chunks/{plugin-kh2dz1qf.js → state-ea7tr73m.js} +13 -13
- package/dist/chunks/{plugin-p4k59x61.js → state-ecx4enea.js} +26 -26
- package/dist/chunks/{plugin-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{plugin-zy43x3f1.js → state-espax8zg.js} +4 -4
- package/dist/chunks/{plugin-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{plugin-42ada8tk.js → state-eydxt9pj.js} +17 -17
- package/dist/chunks/{plugin-nje5s9z6.js → state-f21xsg09.js} +13 -13
- package/dist/chunks/{plugin-s4vv33mq.js → state-f5hm9jph.js} +36 -36
- package/dist/chunks/{plugin-pn55wrwy.js → state-f8tsdbed.js} +30 -30
- package/dist/chunks/{plugin-s66tm1sq.js → state-fmcpxxk1.js} +5 -5
- package/dist/chunks/{plugin-knqt1fk3.js → state-fp0qye03.js} +3 -3
- package/dist/chunks/{plugin-1rpvqjb2.js → state-fwxwf8vc.js} +29 -29
- package/dist/chunks/{plugin-k3kq5fdz.js → state-fy6qjb7w.js} +3 -3
- package/dist/chunks/{plugin-mmha00yr.js → state-g1fss3aa.js} +23 -23
- package/dist/chunks/{plugin-gvf59224.js → state-g7djzk09.js} +13 -13
- package/dist/chunks/{plugin-vdgc7sk8.js → state-g8j3nkq1.js} +3 -3
- package/dist/chunks/{plugin-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{plugin-3ah5pgmr.js → state-gdgwqvb1.js} +51 -51
- package/dist/chunks/{plugin-xqkkqd5t.js → state-gqngt8w2.js} +3 -3
- package/dist/chunks/{plugin-sk5hrgtc.js → state-gs3s1a1g.js} +8 -8
- package/dist/chunks/{plugin-aby4nxsj.js → state-h0ax5cdq.js} +30 -32
- package/dist/chunks/{plugin-3cegwx68.js → state-h2b79v29.js} +2 -2
- package/dist/chunks/{plugin-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{plugin-vpgtgc27.js → state-h8m34f5a.js} +4 -4
- package/dist/chunks/{plugin-q5sv98z1.js → state-hd6j8gz4.js} +15 -15
- package/dist/chunks/{plugin-b3f8fkhc.js → state-hdkng2sj.js} +5 -5
- package/dist/chunks/{plugin-svykb2th.js → state-hsyrampd.js} +32 -32
- package/dist/chunks/{plugin-vxh2w9az.js → state-hv7bcywx.js} +24 -24
- package/dist/chunks/{plugin-vjx4dhe3.js → state-hxwjf4m1.js} +11 -11
- package/dist/chunks/{plugin-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{plugin-prq7hedt.js → state-j58c5xyq.js} +9 -9
- package/dist/chunks/{plugin-seybfen1.js → state-j9sjb22p.js} +87 -87
- package/dist/chunks/{plugin-3gmgegrq.js → state-jfdg5rtg.js} +20 -20
- package/dist/chunks/{plugin-w8zxs343.js → state-jhc49e06.js} +16 -16
- package/dist/chunks/{plugin-fy55jrv2.js → state-jhqcthf8.js} +7 -7
- package/dist/chunks/{plugin-cfymty4z.js → state-jj2sh7zv.js} +30 -30
- package/dist/chunks/{plugin-ttn9g19g.js → state-jngrqr67.js} +17 -17
- package/dist/chunks/{plugin-keq0amzm.js → state-jrzdhf5b.js} +13 -13
- package/dist/chunks/{plugin-r44petzp.js → state-jte75k51.js} +12 -12
- package/dist/chunks/{plugin-592e04rw.js → state-k1ga895a.js} +24 -24
- package/dist/chunks/{plugin-qvreyy9g.js → state-kbqjp078.js} +5 -5
- package/dist/chunks/{plugin-wpfn465e.js → state-kqcenne1.js} +4 -4
- package/dist/chunks/state-kqps6bad.js +253 -0
- package/dist/chunks/{plugin-n0qch2gr.js → state-kqq88ggn.js} +17 -17
- package/dist/chunks/{plugin-py01hhmc.js → state-kt2nv8m7.js} +11 -11
- package/dist/chunks/{plugin-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{plugin-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{plugin-pr301zdv.js → state-mbaznf29.js} +55 -55
- package/dist/chunks/{plugin-e2ts7srd.js → state-mc3v3pa2.js} +30 -30
- package/dist/chunks/{plugin-29eykq4v.js → state-mj0s41ck.js} +18 -18
- package/dist/chunks/{plugin-btfhnvjh.js → state-my4zabxr.js} +3 -3
- package/dist/chunks/{plugin-cnvcdvk7.js → state-mypwhdkk.js} +6 -6
- package/dist/chunks/{plugin-4j4tgtq5.js → state-n1n192bv.js} +4 -4
- package/dist/chunks/{plugin-59t371j7.js → state-n4qnjn2y.js} +3 -3
- package/dist/chunks/{plugin-k9wzpze3.js → state-n8p82dhe.js} +29 -29
- package/dist/chunks/{plugin-7k9nbph5.js → state-n9phctzh.js} +22 -22
- package/dist/chunks/{plugin-ns6nxdj3.js → state-nqz1z0h7.js} +1 -1
- package/dist/chunks/{plugin-hd8vw2pw.js → state-ns3eape4.js} +1 -1
- package/dist/chunks/{plugin-g6tzv9ct.js → state-ny88m09p.js} +14 -14
- package/dist/chunks/{plugin-gf5746j9.js → state-p231z86d.js} +11 -11
- package/dist/chunks/{plugin-32hdvsd1.js → state-p3ywy9md.js} +9 -9
- package/dist/chunks/{plugin-w4dx7hzn.js → state-p46w8f27.js} +3 -3
- package/dist/chunks/{plugin-5eqgw8nb.js → state-p4eehdyd.js} +8 -8
- package/dist/chunks/{plugin-h3gq0wn1.js → state-p7e0sywk.js} +44 -44
- package/dist/chunks/{plugin-g3khgvgp.js → state-p9gcp42t.js} +54 -54
- package/dist/chunks/{plugin-9f659gft.js → state-pfw3e90a.js} +9 -9
- package/dist/chunks/{plugin-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{plugin-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{plugin-4p82swk3.js → state-pkzjbd09.js} +5 -5
- package/dist/chunks/{plugin-7bwettt8.js → state-pmykgg8c.js} +8 -8
- package/dist/chunks/{plugin-gm6expwy.js → state-px82hka4.js} +25 -25
- package/dist/chunks/{plugin-py3kkmfq.js → state-py3kkmfq.js} +2 -2
- package/dist/chunks/{plugin-aepc0ehj.js → state-pz5sph25.js} +25 -25
- package/dist/chunks/{plugin-q0xm7vwc.js → state-q0xm7vwc.js} +2 -2
- package/dist/chunks/{plugin-6b8kbxwq.js → state-q1ee63dc.js} +9 -9
- package/dist/chunks/{plugin-9j62v1na.js → state-q6khfqja.js} +5 -5
- package/dist/chunks/{plugin-bn6g6p4n.js → state-qc1gh2j1.js} +10 -10
- package/dist/chunks/{plugin-djszqvmq.js → state-qmqgtz8f.js} +9 -9
- package/dist/chunks/{plugin-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{plugin-0bg0bx69.js → state-qr6f2pwv.js} +7 -7
- package/dist/chunks/{plugin-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{plugin-xyafkbt0.js → state-qxjc9qry.js} +3 -3
- package/dist/chunks/{plugin-hgt7erew.js → state-r40bckrt.js} +8 -8
- package/dist/chunks/{plugin-2a6rn6yr.js → state-r5wgqceq.js} +6 -6
- package/dist/chunks/{plugin-mhkvc446.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{plugin-xk6sbjp1.js → state-raw9brj8.js} +9 -9
- package/dist/chunks/{plugin-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{plugin-wc1qr0sj.js → state-rew73zxc.js} +11 -11
- package/dist/chunks/{plugin-9m5s7xmk.js → state-rhgpg4e0.js} +37 -37
- package/dist/chunks/{plugin-yp2x3t23.js → state-rhraev7y.js} +4 -4
- package/dist/chunks/{plugin-y6kccm89.js → state-rtathh62.js} +8 -8
- package/dist/chunks/{plugin-xp6rvhe2.js → state-rvs38pn0.js} +9 -9
- package/dist/chunks/{plugin-wv396vej.js → state-s8d7rejh.js} +8 -8
- package/dist/chunks/{plugin-te665yay.js → state-s95j5qxz.js} +15 -15
- package/dist/chunks/{plugin-rkse2x0j.js → state-sa6q0sr8.js} +17 -17
- package/dist/chunks/{plugin-qes05c22.js → state-sg9fmgqt.js} +44 -44
- package/dist/chunks/{plugin-whbvrzaq.js → state-sn21bnb2.js} +20 -20
- package/dist/chunks/{plugin-h7zfyhdd.js → state-sp8t9wc6.js} +13 -13
- package/dist/chunks/{plugin-5xs2yarg.js → state-sraxnq5r.js} +26 -26
- package/dist/chunks/{plugin-7cr7kbfa.js → state-st3bvm3z.js} +1 -1
- package/dist/chunks/{plugin-9njedpex.js → state-sy0mtapm.js} +8 -8
- package/dist/chunks/{plugin-qm0v3jhh.js → state-t2fc4mz5.js} +7 -7
- package/dist/chunks/{plugin-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{plugin-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{plugin-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{plugin-pt41nrzb.js → state-tjw6xf46.js} +26 -26
- package/dist/chunks/{plugin-62hsdztg.js → state-tk1fp2k0.js} +10 -10
- package/dist/chunks/{plugin-sjhf83m2.js → state-tw9sy4ky.js} +11 -11
- package/dist/chunks/{plugin-g0eqw7vj.js → state-v03amwsg.js} +16 -16
- package/dist/chunks/{plugin-6nam3y6a.js → state-v3kds7by.js} +21 -21
- package/dist/chunks/{plugin-mdwkzxwq.js → state-v9gds4fw.js} +46 -46
- package/dist/chunks/{plugin-w43yw030.js → state-vaj4218p.js} +5 -5
- package/dist/chunks/{plugin-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{plugin-p8v7gray.js → state-vfsag6yk.js} +9 -9
- package/dist/chunks/{plugin-29g2crnb.js → state-vg7wcjck.js} +14 -14
- package/dist/chunks/{plugin-ak9msbxp.js → state-vhk0cnae.js} +6 -6
- package/dist/chunks/{plugin-gy1e9esd.js → state-vktb4bc8.js} +18 -18
- package/dist/chunks/{plugin-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{plugin-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{plugin-7x15szr3.js → state-w0pbycsx.js} +11 -11
- package/dist/chunks/{plugin-1pxz8ven.js → state-w39jehkq.js} +5 -5
- package/dist/chunks/{plugin-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{plugin-bz068n2q.js → state-w8r2knnq.js} +21 -21
- package/dist/chunks/{plugin-7mvfv48b.js → state-wa8c4pwg.js} +5 -5
- package/dist/chunks/{plugin-yssjxqzx.js → state-wby16mgw.js} +8 -8
- package/dist/chunks/{plugin-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{plugin-qkb64swz.js → state-wqa2ds3j.js} +11 -11
- package/dist/chunks/{plugin-yz16v67g.js → state-wsb67xeh.js} +11 -11
- package/dist/chunks/{plugin-r2s5mzj1.js → state-wt1200yk.js} +4 -4
- package/dist/chunks/{plugin-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{plugin-08tmw935.js → state-x1y3x1aj.js} +5 -5
- package/dist/chunks/{plugin-k22b66k8.js → state-x661k3y3.js} +4 -4
- package/dist/chunks/{plugin-b6h23dgp.js → state-x9e8217n.js} +12 -12
- package/dist/chunks/{plugin-xfkkasph.js → state-xfkkasph.js} +1 -1
- package/dist/chunks/{plugin-xkntkrq7.js → state-xkntkrq7.js} +2 -2
- package/dist/chunks/{plugin-8wvbgzhc.js → state-xpzvwsxq.js} +9 -9
- package/dist/chunks/{plugin-9v7q5m1c.js → state-xxtx82bf.js} +15 -15
- package/dist/chunks/{plugin-k4wmp9nh.js → state-xxyjb3m7.js} +36 -36
- package/dist/chunks/{plugin-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{plugin-yy6k95dt.js → state-ybgh13y4.js} +38 -38
- package/dist/chunks/{plugin-wpvpdrjr.js → state-ymz5hgvb.js} +4 -4
- package/dist/chunks/{plugin-js7acmhb.js → state-ypzxwbyd.js} +3 -3
- package/dist/chunks/{plugin-37n8qkst.js → state-yq5dzq7s.js} +11 -11
- package/dist/chunks/{plugin-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{plugin-6ne101av.js → state-yrxxtv3n.js} +27 -27
- package/dist/chunks/{plugin-7sjb06ew.js → state-ys6344d6.js} +11 -11
- package/dist/chunks/{plugin-w81m6cf9.js → state-ysd7vb1z.js} +25 -25
- package/dist/chunks/{plugin-cn6q53zc.js → state-yxwprvvc.js} +11 -11
- package/dist/chunks/{plugin-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{plugin-g7pyd2xg.js → state-z3tfttx3.js} +25 -25
- package/dist/chunks/{plugin-53751w34.js → state-zawmcqxv.js} +32 -32
- package/dist/chunks/{plugin-t7n9q6bq.js → state-zee1rnkq.js} +4 -4
- package/dist/chunks/{plugin-0me0fk48.js → state-zfs8ae4p.js} +4 -4
- package/dist/chunks/{plugin-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{plugin-na8rrp7m.js → state-ztn91se7.js} +35 -35
- package/dist/chunks/{plugin-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{plugin-w758s7nv.js → state-zyznzm79.js} +39 -39
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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 +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- 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 +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 +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +89 -89
- 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 +128 -128
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/persistent-pty/daemon.d.ts +4 -4
- package/dist/types/persistent-pty/index.d.ts +2 -0
- 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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +10 -10
- package/dist/chunks/plugin-619r8v3y.js +0 -18
- package/dist/chunks/plugin-9pk6az91.js +0 -26
- package/dist/chunks/plugin-pjqdv965.js +0 -253
- /package/dist/chunks/{plugin-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{plugin-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{plugin-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{plugin-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{plugin-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{plugin-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{plugin-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{plugin-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{plugin-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{plugin-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{plugin-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{plugin-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{plugin-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{plugin-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{plugin-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{plugin-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{plugin-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{plugin-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{plugin-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{plugin-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{plugin-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{plugin-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{plugin-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{plugin-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{plugin-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{plugin-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{plugin-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{plugin-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{plugin-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{plugin-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{plugin-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{plugin-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{plugin-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{plugin-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{plugin-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{plugin-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{plugin-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{plugin-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{plugin-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{plugin-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{plugin-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{plugin-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{plugin-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{plugin-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{plugin-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{plugin-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{plugin-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{plugin-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{plugin-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{plugin-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{plugin-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{plugin-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{plugin-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{plugin-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{plugin-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{plugin-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{plugin-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{plugin-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{plugin-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{plugin-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{plugin-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{plugin-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{plugin-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{plugin-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{plugin-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{plugin-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{plugin-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{plugin-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{plugin-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{plugin-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{plugin-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{plugin-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{plugin-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{plugin-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{plugin-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{plugin-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{plugin-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{plugin-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{plugin-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{plugin-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{plugin-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{plugin-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{plugin-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{plugin-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{plugin-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{plugin-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{plugin-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{plugin-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{plugin-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{plugin-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{plugin-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{plugin-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{plugin-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{plugin-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{plugin-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{plugin-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./state-w8r2knnq.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./state-3zbwexce.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-ymz5hgvb.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./state-0habsvra.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent = {};
|
|
26
|
+
__export(exports_agent, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
+
Plugin: () => Plugin4
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin4 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service51;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin38 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID9.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID9.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin4, exports_agent };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service72,
|
|
3
|
+
node75
|
|
4
|
+
} from "./state-sg9fmgqt.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-my4zabxr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service62,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node65,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service62 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service72;
|
|
59
|
+
return Service62.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node65 = makeLocationNode({ service: Service62, layer, deps: [node75] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service62, resolved2, node65, exports_model };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-n4qnjn2y.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node85
|
|
12
|
+
} from "./state-vhk0cnae.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID17,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service81,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID17 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info28 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID17,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID17 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID17,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service81 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service81,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node88,
|
|
64
|
+
deps: [node88, node85]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info28({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service81.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID17.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node84 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID17, Info28, NotFound3, CreateConflict2, Service81, configured11, node84, exports_workspace };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service37
|
|
3
|
+
} from "./state-e9vvwa2x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./state-r5wgqceq.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9zdhvgqs.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service63;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service37), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info8 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command5 };
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-n4qnjn2y.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-wt1200yk.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
16
|
estimate2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-h6vf3j39.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionEvent2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-ec1grn59.js";
|
|
21
21
|
import {
|
|
22
22
|
provenance2,
|
|
23
23
|
compatible2,
|
|
24
24
|
isCheckpoint2,
|
|
25
25
|
encode2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-n1n192bv.js";
|
|
27
27
|
import {
|
|
28
28
|
load5
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./state-r40bckrt.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./state-ns3eape4.js";
|
|
33
33
|
import {
|
|
34
34
|
baseTranscript2,
|
|
35
35
|
unsupportedParts2,
|
|
36
36
|
boundImages2,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service24,
|
|
38
|
+
node28
|
|
39
|
+
} from "./state-8c0dth6r.js";
|
|
40
40
|
import {
|
|
41
41
|
isRetryable2,
|
|
42
42
|
policy2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./state-hdkng2sj.js";
|
|
44
44
|
import {
|
|
45
45
|
toSessionError2,
|
|
46
46
|
contentFilterError2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./state-1e734s2r.js";
|
|
48
48
|
import {
|
|
49
49
|
calculateCost2,
|
|
50
50
|
record2,
|
|
51
51
|
add2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./state-tdstcens.js";
|
|
53
53
|
import {
|
|
54
54
|
__export
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./state-9rqn6x4v.js";
|
|
56
56
|
|
|
57
57
|
// src/session/compaction.ts
|
|
58
58
|
var exports_compaction2 = {};
|
|
59
59
|
__export(exports_compaction2, {
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service6,
|
|
61
61
|
SessionCompaction: () => exports_compaction2,
|
|
62
62
|
buildPrompt: () => buildPrompt2,
|
|
63
63
|
estimateContext: () => estimateContext2,
|
|
64
64
|
estimatePrompt: () => estimatePrompt2,
|
|
65
65
|
layer: () => layer6,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node8,
|
|
67
67
|
recentUserMessages: () => recentUserMessages2
|
|
68
68
|
});
|
|
69
69
|
import {
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "@opencode/ai";
|
|
80
80
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
81
81
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
82
|
-
class
|
|
82
|
+
class Service6 extends Context.Service()("@opencode/SessionCompaction") {
|
|
83
83
|
}
|
|
84
84
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
85
85
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -158,11 +158,11 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
158
158
|
};
|
|
159
159
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
160
160
|
var LEGACY_HEADING = "## Additional Context";
|
|
161
|
-
var layer6 = Layer.effect(
|
|
161
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
162
162
|
const bus = yield* Service83;
|
|
163
163
|
const llm = yield* LLMClient.Service;
|
|
164
164
|
const db = (yield* Service84).db;
|
|
165
|
-
const requests = yield*
|
|
165
|
+
const requests = yield* Service24;
|
|
166
166
|
const state = create3({
|
|
167
167
|
name: "session-compaction",
|
|
168
168
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -450,16 +450,16 @@ ${text}`;
|
|
|
450
450
|
}, { metadata: outcome.metadata });
|
|
451
451
|
return { status: "completed" };
|
|
452
452
|
});
|
|
453
|
-
return
|
|
453
|
+
return Service6.of({
|
|
454
454
|
transform: state.transform,
|
|
455
455
|
reload: state.reload,
|
|
456
456
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
457
457
|
});
|
|
458
458
|
}));
|
|
459
|
-
var
|
|
460
|
-
service:
|
|
459
|
+
var node8 = makeLocationNode({
|
|
460
|
+
service: Service6,
|
|
461
461
|
layer: layer6,
|
|
462
|
-
deps: [node87, node88, llmClient2,
|
|
462
|
+
deps: [node87, node88, llmClient2, node28]
|
|
463
463
|
});
|
|
464
464
|
var previousCompaction = (messages) => {
|
|
465
465
|
const [first] = messages;
|
|
@@ -664,4 +664,4 @@ var estimateMedia = (mime) => {
|
|
|
664
664
|
return 0;
|
|
665
665
|
};
|
|
666
666
|
|
|
667
|
-
export {
|
|
667
|
+
export { Service6, buildPrompt2, layer6, node8, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-4yajm3g0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./state-0habsvra.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-036v1hvj.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make11(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service51;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID11.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make11();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make11, LMStudioPlugin2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./state-0habsvra.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-qsdy395h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin10
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin10 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service51;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin47 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin10, exports_websearch };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node82
|
|
4
|
+
} from "./state-ybgh13y4.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./state-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info25,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service78,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node81,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info25, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service78 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node81 = LayerNode.unbound(Service78, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service78, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service79;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service78.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service78,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node82]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info25, Ref4, response2, Service78, node81, boundNode2, exports_location };
|