@opencode/core 0.0.0-dev-19396 → 0.0.0-dev-19400
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{aisdk-native-s8d7rejh.js → worktree-02nrjc1r.js} +8 -8
- package/dist/chunks/{aisdk-native-hz94527q.js → worktree-07h6kd27.js} +17 -17
- package/dist/chunks/{aisdk-native-4qprkdm7.js → worktree-09xs0kpr.js} +33 -33
- package/dist/chunks/{aisdk-native-f2enw7w8.js → worktree-0bqrjw7h.js} +6 -6
- package/dist/chunks/{aisdk-native-c1495ybz.js → worktree-0c6ktq3y.js} +8 -8
- package/dist/chunks/{aisdk-native-ead3g9p8.js → worktree-0f9afca0.js} +5 -5
- package/dist/chunks/{aisdk-native-x1pvcqkg.js → worktree-0fyqfvqt.js} +17 -17
- package/dist/chunks/{aisdk-native-eg6r3vdc.js → worktree-0nz9pv5r.js} +32 -32
- package/dist/chunks/{aisdk-native-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-c141fwr4.js → worktree-0pnwce6d.js} +18 -18
- package/dist/chunks/{aisdk-native-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{aisdk-native-njj173xf.js → worktree-0rstx4q2.js} +3 -3
- package/dist/chunks/{aisdk-native-fhsg8w19.js → worktree-1afrw49r.js} +13 -13
- package/dist/chunks/{aisdk-native-cxa6xx46.js → worktree-1c2y2rkk.js} +12 -12
- package/dist/chunks/{aisdk-native-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-spmx6c33.js → worktree-1dhk6hmk.js} +15 -15
- package/dist/chunks/{aisdk-native-twbgxrv5.js → worktree-1ery4yfq.js} +7 -7
- package/dist/chunks/{aisdk-native-1eyaby9q.js → worktree-1eyaby9q.js} +2 -2
- package/dist/chunks/{aisdk-native-afd5mpsr.js → worktree-1k4ezpe5.js} +4 -4
- package/dist/chunks/{aisdk-native-dcs00b5h.js → worktree-1z0pzthf.js} +5 -3
- package/dist/chunks/{aisdk-native-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-sd3s4jh3.js → worktree-2310gy7k.js} +19 -19
- package/dist/chunks/{aisdk-native-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{aisdk-native-9325j0hp.js → worktree-244mw7cq.js} +30 -30
- package/dist/chunks/{aisdk-native-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-dp7w54cz.js → worktree-2bbm4yb8.js} +32 -32
- package/dist/chunks/{aisdk-native-h7ygw6q4.js → worktree-2bt6bea8.js} +9 -9
- package/dist/chunks/{aisdk-native-vdqv04eb.js → worktree-2eadnc11.js} +26 -26
- package/dist/chunks/{aisdk-native-pbgmyhjp.js → worktree-2ggpg6at.js} +20 -20
- package/dist/chunks/{aisdk-native-s03bjz93.js → worktree-2gydx7a7.js} +10 -10
- package/dist/chunks/{aisdk-native-yecfwbey.js → worktree-2h5ywktg.js} +7 -7
- package/dist/chunks/{aisdk-native-fdgzdcvs.js → worktree-2njfwjb2.js} +23 -23
- package/dist/chunks/{aisdk-native-3h2mcac8.js → worktree-2zjkjrap.js} +16 -16
- package/dist/chunks/{aisdk-native-56gdpj1q.js → worktree-33w4ejhs.js} +6 -6
- package/dist/chunks/{aisdk-native-ratrq7cm.js → worktree-34rkz0x9.js} +7 -7
- package/dist/chunks/{aisdk-native-p0b4ytnr.js → worktree-35agz59w.js} +6 -6
- package/dist/chunks/{aisdk-native-n2ef2nc6.js → worktree-3a69nzm4.js} +40 -40
- package/dist/chunks/{aisdk-native-gdvy8fx6.js → worktree-3fc6dm20.js} +4 -4
- package/dist/chunks/{aisdk-native-s7v2e6ea.js → worktree-3gdgz9fc.js} +6 -6
- package/dist/chunks/{aisdk-native-pm84pnzg.js → worktree-3h1qna2c.js} +10 -10
- package/dist/chunks/{aisdk-native-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-7v84xmqr.js → worktree-3qdqgmdj.js} +11 -11
- package/dist/chunks/{aisdk-native-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-a5k42hjy.js → worktree-3trbxeqx.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-zr4k6nm6.js → worktree-3y4zrqv5.js} +14 -14
- package/dist/chunks/{aisdk-native-0hv51shb.js → worktree-44baxtt9.js} +24 -24
- package/dist/chunks/{aisdk-native-k7xkr3b6.js → worktree-468dtmg8.js} +7 -7
- package/dist/chunks/{aisdk-native-gymt5c6z.js → worktree-47b9yvnx.js} +18 -18
- package/dist/chunks/{aisdk-native-fnfbdfqx.js → worktree-47t1zbrj.js} +7 -7
- package/dist/chunks/{aisdk-native-hgw9y0dn.js → worktree-4y7f1htk.js} +27 -27
- package/dist/chunks/{aisdk-native-3ssf1kws.js → worktree-539jk4fq.js} +3 -3
- package/dist/chunks/{aisdk-native-bxd65j25.js → worktree-54cxa91y.js} +8 -8
- package/dist/chunks/{aisdk-native-sf0v5hsk.js → worktree-5ak723ww.js} +11 -11
- package/dist/chunks/{aisdk-native-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-v4gxqtqs.js → worktree-5tapvk4p.js} +13 -13
- package/dist/chunks/{aisdk-native-9pm6y0s1.js → worktree-5trk58xb.js} +8 -8
- package/dist/chunks/{aisdk-native-9qr1yc92.js → worktree-5xyve7h3.js} +25 -25
- package/dist/chunks/{aisdk-native-2d63f6xn.js → worktree-63rqrmz1.js} +13 -13
- package/dist/chunks/{aisdk-native-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-a16aswgc.js → worktree-6a5c1xrn.js} +8 -8
- package/dist/chunks/{aisdk-native-gpmwed4n.js → worktree-6cnhqcb5.js} +32 -32
- package/dist/chunks/{aisdk-native-8mv1h6jj.js → worktree-6fdj6kdr.js} +4 -4
- package/dist/chunks/{aisdk-native-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{aisdk-native-ngr2twat.js → worktree-6t3tdbke.js} +10 -10
- package/dist/chunks/{aisdk-native-4rqgqezq.js → worktree-6wc2ywbc.js} +14 -14
- package/dist/chunks/{aisdk-native-71q4at8m.js → worktree-71q4at8m.js} +1 -1
- package/dist/chunks/{aisdk-native-bj81vypt.js → worktree-72bhgy2p.js} +22 -22
- package/dist/chunks/{aisdk-native-mvfsc1pv.js → worktree-73tb2d7t.js} +3 -3
- package/dist/chunks/{aisdk-native-1f8tyb5n.js → worktree-74argw2a.js} +24 -24
- package/dist/chunks/{aisdk-native-2hyh68ab.js → worktree-7b15y959.js} +8 -8
- package/dist/chunks/{aisdk-native-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-dmxbrnz3.js → worktree-7f1zm8xr.js} +11 -11
- package/dist/chunks/{aisdk-native-pzh16mkn.js → worktree-7qq57c1m.js} +9 -9
- package/dist/chunks/{aisdk-native-9qhb8fgp.js → worktree-7wbb1zn6.js} +19 -19
- package/dist/chunks/{aisdk-native-hbntdrm1.js → worktree-81enad2h.js} +1 -1
- package/dist/chunks/{aisdk-native-ztyp0pbv.js → worktree-81swgkk7.js} +9 -9
- package/dist/chunks/{aisdk-native-mx4wa0qa.js → worktree-81zaz4ac.js} +43 -43
- package/dist/chunks/{aisdk-native-5kbk4f8q.js → worktree-84tssp1s.js} +6 -6
- package/dist/chunks/{aisdk-native-23cdnrcg.js → worktree-884je023.js} +47 -47
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-x603q4dc.js → worktree-8fp5w46m.js} +18 -18
- package/dist/chunks/{aisdk-native-1c5da01s.js → worktree-8gy8zqjj.js} +24 -24
- package/dist/chunks/{aisdk-native-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{aisdk-native-3yed7v7p.js → worktree-93x798nw.js} +2 -2
- package/dist/chunks/{aisdk-native-762r0j46.js → worktree-9b00c1fb.js} +5 -5
- package/dist/chunks/{aisdk-native-cpe1mt8c.js → worktree-9cdxmsp5.js} +41 -41
- package/dist/chunks/{aisdk-native-fnpwkbwy.js → worktree-9k2v62xn.js} +1 -1
- package/dist/chunks/{aisdk-native-52v448cf.js → worktree-9qj7dh1c.js} +18 -18
- package/dist/chunks/{aisdk-native-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{aisdk-native-9cq2d911.js → worktree-a31gkhvw.js} +11 -11
- package/dist/chunks/{aisdk-native-z2a3ac01.js → worktree-a4wsc5ch.js} +11 -11
- package/dist/chunks/{aisdk-native-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-x2p5vs46.js → worktree-arv4s5vt.js} +43 -43
- package/dist/chunks/{aisdk-native-p1v0c821.js → worktree-atxwy4st.js} +17 -17
- package/dist/chunks/{aisdk-native-pd5ak3pk.js → worktree-axcvnh6x.js} +22 -22
- package/dist/chunks/{aisdk-native-2sm40ydq.js → worktree-b293fxw2.js} +38 -38
- package/dist/chunks/{aisdk-native-mzmkmqf1.js → worktree-b2a3xspp.js} +17 -17
- package/dist/chunks/{aisdk-native-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-jr0vnyg6.js → worktree-bb7ds5b0.js} +15 -15
- package/dist/chunks/{aisdk-native-j83byb14.js → worktree-bct739vz.js} +4 -4
- package/dist/chunks/{aisdk-native-y55k5e5b.js → worktree-bf84bve4.js} +167 -167
- package/dist/chunks/{aisdk-native-5aptsapt.js → worktree-bqd37ks9.js} +6 -6
- package/dist/chunks/{aisdk-native-6fg3wpfk.js → worktree-byda3mc6.js} +5 -5
- package/dist/chunks/{aisdk-native-kfkgkahd.js → worktree-c0ewq7ys.js} +20 -20
- package/dist/chunks/{aisdk-native-8fce82a4.js → worktree-c2bnm6k2.js} +5 -5
- package/dist/chunks/{aisdk-native-f1x6p4ya.js → worktree-c34h00rm.js} +24 -24
- package/dist/chunks/{aisdk-native-evbgk2k8.js → worktree-c78bbtc9.js} +5 -5
- package/dist/chunks/{aisdk-native-nhyr4934.js → worktree-c8r0p240.js} +15 -15
- package/dist/chunks/{aisdk-native-2tg1sg0h.js → worktree-cewmsarv.js} +28 -28
- package/dist/chunks/{aisdk-native-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{aisdk-native-k21a9ffe.js → worktree-cht86wkj.js} +22 -22
- package/dist/chunks/{aisdk-native-fdhrs726.js → worktree-cpaskrdq.js} +22 -22
- package/dist/chunks/{aisdk-native-8kgsw5bp.js → worktree-cqja50m8.js} +4 -4
- package/dist/chunks/{aisdk-native-fffjabw0.js → worktree-crm0qphm.js} +11 -11
- package/dist/chunks/{aisdk-native-npj8n27k.js → worktree-dc6hwzzt.js} +51 -51
- package/dist/chunks/{aisdk-native-9zny117k.js → worktree-dp88awst.js} +16 -16
- package/dist/chunks/{aisdk-native-w3g6f7qa.js → worktree-dxag5rg4.js} +7 -7
- package/dist/chunks/{aisdk-native-8kr66qnn.js → worktree-dykjtkm6.js} +9 -9
- package/dist/chunks/{aisdk-native-8vygcvtq.js → worktree-e79axaby.js} +11 -11
- package/dist/chunks/{aisdk-native-xbf7nt6y.js → worktree-e9x29tk8.js} +17 -17
- package/dist/chunks/{aisdk-native-fjvydvzm.js → worktree-edme2h3e.js} +9 -9
- package/dist/chunks/{aisdk-native-ed9mrdfh.js → worktree-erjxbtfh.js} +17 -17
- package/dist/chunks/{aisdk-native-z3ykvfqy.js → worktree-esdnemd6.js} +1 -1
- package/dist/chunks/{aisdk-native-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-1jp0g19t.js → worktree-ev46nrf8.js} +24 -24
- package/dist/chunks/{aisdk-native-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{aisdk-native-f828m53h.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{aisdk-native-pyvbj5ab.js → worktree-fdhw24dr.js} +36 -36
- package/dist/chunks/worktree-fe4ks3ds.js +462 -0
- package/dist/chunks/{aisdk-native-sjvd53j5.js → worktree-fq1h1v14.js} +3 -3
- package/dist/chunks/{aisdk-native-z8az9z3j.js → worktree-fs5d0kpm.js} +26 -26
- package/dist/chunks/{aisdk-native-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{aisdk-native-hfdr1yjj.js → worktree-fxqygnfa.js} +4 -4
- package/dist/chunks/{aisdk-native-17faxaxv.js → worktree-g2r6x3tk.js} +3 -3
- package/dist/chunks/{aisdk-native-h1badfgy.js → worktree-g44j0cq6.js} +41 -41
- package/dist/chunks/{aisdk-native-dy51me0m.js → worktree-gbk988mc.js} +18 -18
- package/dist/chunks/{aisdk-native-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-zw7bxkcj.js → worktree-ge649byp.js} +16 -16
- package/dist/chunks/worktree-gm7vsq7q.js +247 -0
- package/dist/chunks/{aisdk-native-mgqysdjs.js → worktree-gngqx6ca.js} +24 -24
- package/dist/chunks/{aisdk-native-06x8he3q.js → worktree-gst7axd9.js} +4 -4
- package/dist/chunks/{aisdk-native-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
- package/dist/chunks/{aisdk-native-wxeb981z.js → worktree-h2gyv3sg.js} +1 -1
- package/dist/chunks/{aisdk-native-jan1h0z4.js → worktree-h48cjffy.js} +20 -20
- package/dist/chunks/{aisdk-native-m11bj6wh.js → worktree-h538v51m.js} +19 -19
- package/dist/chunks/{aisdk-native-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-ywctd6nq.js → worktree-hb79c5eb.js} +9 -9
- package/dist/chunks/{aisdk-native-zxbgq9vb.js → worktree-hch7hs3h.js} +11 -11
- package/dist/chunks/{aisdk-native-g8atgw3j.js → worktree-hm24pp5g.js} +6 -6
- package/dist/chunks/{aisdk-native-q7wajf8z.js → worktree-hpfvhvya.js} +8 -8
- package/dist/chunks/worktree-ht5y0zrb.js +18 -0
- package/dist/chunks/{aisdk-native-j9qtn0a7.js → worktree-j0eba36x.js} +41 -41
- package/dist/chunks/{aisdk-native-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-fmyvj1jr.js → worktree-jefma2gq.js} +10 -10
- package/dist/chunks/{aisdk-native-3580277f.js → worktree-jqdzd9z8.js} +11 -11
- package/dist/chunks/{aisdk-native-y0zcfdk7.js → worktree-jrf7w1sk.js} +5 -5
- package/dist/chunks/{aisdk-native-f3ngv102.js → worktree-k2h4r4s0.js} +4 -4
- package/dist/chunks/{aisdk-native-feb6dv9f.js → worktree-k6z6zgfk.js} +3 -3
- package/dist/chunks/{aisdk-native-pmz64938.js → worktree-kd5sw36g.js} +9 -9
- package/dist/chunks/{aisdk-native-kg06axw8.js → worktree-kg06axw8.js} +1 -1
- package/dist/chunks/{aisdk-native-xhmq8qgk.js → worktree-kpvyk30t.js} +9 -9
- package/dist/chunks/{aisdk-native-vze96k0n.js → worktree-kqd2wwpf.js} +4 -4
- package/dist/chunks/{aisdk-native-ca63t555.js → worktree-kt1ecy0s.js} +35 -35
- package/dist/chunks/{aisdk-native-04kv4r8s.js → worktree-m5y0j72z.js} +18 -18
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-mkcjrzeh.js → worktree-mkcjrzeh.js} +1 -1
- package/dist/chunks/{aisdk-native-tke13nxd.js → worktree-mn22b81s.js} +17 -17
- package/dist/chunks/{aisdk-native-18e56dsp.js → worktree-mqy0jkn2.js} +4 -4
- package/dist/chunks/{aisdk-native-4fk6bf9g.js → worktree-mrw4weg4.js} +5 -5
- package/dist/chunks/{aisdk-native-55f2a52s.js → worktree-msdm1bd1.js} +17 -17
- package/dist/chunks/{aisdk-native-9qynhkcx.js → worktree-mz61je2n.js} +6 -6
- package/dist/chunks/{aisdk-native-xck5pt99.js → worktree-mzcj9rt6.js} +17 -17
- package/dist/chunks/{aisdk-native-r0rathad.js → worktree-n6a4148r.js} +3 -3
- package/dist/chunks/{aisdk-native-3e13h338.js → worktree-n8fan464.js} +25 -25
- package/dist/chunks/{aisdk-native-c1k5sjr1.js → worktree-nfnn75e4.js} +22 -22
- package/dist/chunks/{aisdk-native-wa9n8nyq.js → worktree-nhvhf6q8.js} +4 -4
- package/dist/chunks/{aisdk-native-47gsdddb.js → worktree-nhy5jxhy.js} +5 -5
- package/dist/chunks/{aisdk-native-wny28rcs.js → worktree-nj8r009v.js} +14 -14
- package/dist/chunks/{aisdk-native-yq011xmt.js → worktree-nnn1sa7c.js} +22 -22
- package/dist/chunks/{aisdk-native-wcybda84.js → worktree-nqdxr6ky.js} +3 -3
- package/dist/chunks/{aisdk-native-7e3k99g8.js → worktree-nwbet28h.js} +9 -9
- package/dist/chunks/{aisdk-native-9c2fy9a2.js → worktree-nx4935gj.js} +12 -12
- package/dist/chunks/{aisdk-native-h5fpgb6t.js → worktree-nyy8pdp4.js} +24 -24
- package/dist/chunks/{aisdk-native-anv1hkd8.js → worktree-nzwz8brh.js} +20 -20
- package/dist/chunks/{aisdk-native-fjmrr6sh.js → worktree-p1wf2k30.js} +9 -9
- package/dist/chunks/{aisdk-native-gy44vzb3.js → worktree-pdjr2yqz.js} +30 -30
- package/dist/chunks/{aisdk-native-fyq1da64.js → worktree-pdyh4aae.js} +15 -15
- package/dist/chunks/{aisdk-native-vt3nbq0b.js → worktree-pg7qm28t.js} +10 -10
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-ns866pf5.js → worktree-pyakq9xe.js} +12 -12
- package/dist/chunks/{aisdk-native-4kr8d4zw.js → worktree-q5xvhvda.js} +6 -6
- package/dist/chunks/{aisdk-native-me1qs564.js → worktree-q6r44qt1.js} +2 -2
- package/dist/chunks/{aisdk-native-1bhgtrtq.js → worktree-q9h22sj1.js} +24 -24
- package/dist/chunks/{aisdk-native-77h0fa3y.js → worktree-qc69zkx6.js} +23 -23
- package/dist/chunks/{aisdk-native-319gwta3.js → worktree-qezjrgcf.js} +20 -20
- package/dist/chunks/{aisdk-native-81rrwt6s.js → worktree-qfzde7bh.js} +6 -6
- package/dist/chunks/{aisdk-native-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{aisdk-native-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-ksqezm8p.js → worktree-qzkqxs9z.js} +6 -6
- package/dist/chunks/{aisdk-native-szftbv8r.js → worktree-r7kds8hk.js} +4 -4
- package/dist/chunks/{aisdk-native-ae88fk5a.js → worktree-rk0ywbkq.js} +4 -4
- package/dist/chunks/{aisdk-native-mvbmyxpm.js → worktree-rme689gw.js} +5 -5
- package/dist/chunks/{aisdk-native-rgn0sbm6.js → worktree-rs226bz6.js} +5 -5
- package/dist/chunks/{aisdk-native-06dxphr1.js → worktree-rsdf2nvv.js} +4 -4
- package/dist/chunks/{aisdk-native-9s8d7x99.js → worktree-s1ht2sg9.js} +22 -22
- package/dist/chunks/{aisdk-native-38xvpsvz.js → worktree-sadxt2pa.js} +46 -46
- package/dist/chunks/{aisdk-native-dsgb7s9k.js → worktree-sehhrc3t.js} +6 -6
- package/dist/chunks/{aisdk-native-tppx2nxc.js → worktree-swhf355t.js} +18 -18
- package/dist/chunks/{aisdk-native-b9cc68wc.js → worktree-sxs9szdh.js} +20 -20
- package/dist/chunks/{aisdk-native-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → worktree-th5km1p3.js} +5 -5
- package/dist/chunks/{aisdk-native-snd0bfzm.js → worktree-tn4hkw1v.js} +31 -31
- package/dist/chunks/{aisdk-native-sw9rbvth.js → worktree-tqfdrk91.js} +11 -11
- package/dist/chunks/{aisdk-native-hc3exffh.js → worktree-tsc6q5nc.js} +35 -35
- package/dist/chunks/{aisdk-native-2wwszhkw.js → worktree-tsjq9kym.js} +25 -25
- package/dist/chunks/{aisdk-native-vvhv156y.js → worktree-ttqfmzkf.js} +4 -4
- package/dist/chunks/{aisdk-native-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-e7c3jk4t.js → worktree-tw3b2c1y.js} +77 -77
- package/dist/chunks/{aisdk-native-q8qg86eh.js → worktree-twrvq24m.js} +34 -34
- package/dist/chunks/{aisdk-native-13nhks0e.js → worktree-typy0p4q.js} +80 -80
- package/dist/chunks/{aisdk-native-3jtv889a.js → worktree-v2xpgazf.js} +8 -8
- package/dist/chunks/{aisdk-native-qar9xt1s.js → worktree-v3psvfd1.js} +21 -21
- package/dist/chunks/{aisdk-native-knxn0y4q.js → worktree-vabb23s0.js} +1 -1
- package/dist/chunks/{aisdk-native-ksxmc9x1.js → worktree-vdc5d1rg.js} +15 -15
- package/dist/chunks/{aisdk-native-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-1aczmqc6.js → worktree-vxsx0exv.js} +46 -46
- package/dist/chunks/{aisdk-native-e6ke6rjh.js → worktree-vypqtakx.js} +1 -1
- package/dist/chunks/{aisdk-native-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-d8s0zgrq.js → worktree-w418y777.js} +17 -17
- package/dist/chunks/{aisdk-native-c5777ed1.js → worktree-w74v902z.js} +21 -21
- package/dist/chunks/{aisdk-native-hnr5yq9h.js → worktree-wbkyxrgf.js} +5 -5
- package/dist/chunks/{aisdk-native-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-5xrqyw1b.js → worktree-we8gksts.js} +17 -17
- package/dist/chunks/{aisdk-native-zex37ywk.js → worktree-wewgh3cc.js} +5 -5
- package/dist/chunks/{aisdk-native-8vj00402.js → worktree-wgr81hh0.js} +30 -30
- package/dist/chunks/{aisdk-native-fdkge6kz.js → worktree-wk4gand9.js} +6 -6
- package/dist/chunks/{aisdk-native-x42qtfrs.js → worktree-wsgy8dtq.js} +53 -53
- package/dist/chunks/{aisdk-native-c2pgxnhh.js → worktree-wtez2wwh.js} +5 -5
- package/dist/chunks/{aisdk-native-qhbn037j.js → worktree-wtf4ezaw.js} +4 -4
- package/dist/chunks/{aisdk-native-d50f2zf5.js → worktree-wx9wy1qm.js} +1 -1
- package/dist/chunks/{aisdk-native-g74sxvtz.js → worktree-x1b4jc5q.js} +30 -30
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-x43y2vfs.js → worktree-x43y2vfs.js} +2 -2
- package/dist/chunks/{aisdk-native-7vx667rq.js → worktree-xaqsqef1.js} +13 -13
- package/dist/chunks/worktree-xc139tzx.js +22 -0
- package/dist/chunks/{aisdk-native-7cck070s.js → worktree-xd2p8b6x.js} +7 -7
- package/dist/chunks/{aisdk-native-7rbe0n40.js → worktree-xe1bsykz.js} +12 -12
- package/dist/chunks/{aisdk-native-xzz82xgq.js → worktree-xjqvt66n.js} +11 -11
- package/dist/chunks/{aisdk-native-6wgqt9fk.js → worktree-y13khpec.js} +13 -13
- package/dist/chunks/{aisdk-native-4ch1thhj.js → worktree-y1f8q6kf.js} +61 -61
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-fbt0fexc.js → worktree-y5p6jryx.js} +4 -4
- package/dist/chunks/{aisdk-native-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{aisdk-native-qptkk0fy.js → worktree-y869hese.js} +25 -25
- package/dist/chunks/{aisdk-native-cgz51jgp.js → worktree-ya8x3fj2.js} +12 -12
- package/dist/chunks/{aisdk-native-b1nxvtwh.js → worktree-yapytcgw.js} +9 -9
- package/dist/chunks/{aisdk-native-kt8hwr0v.js → worktree-yhrpggw5.js} +9 -9
- package/dist/chunks/{aisdk-native-9yd7dp5d.js → worktree-yj5yszst.js} +15 -15
- package/dist/chunks/{aisdk-native-338ndk0y.js → worktree-yn5pc3yf.js} +20 -20
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{aisdk-native-9pfkjth3.js → worktree-yve3c8px.js} +40 -40
- package/dist/chunks/{aisdk-native-fm1qwd3t.js → worktree-z027aptg.js} +36 -36
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-ptxpnts9.js → worktree-z3g4xrj9.js} +19 -19
- package/dist/chunks/{aisdk-native-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{aisdk-native-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{aisdk-native-pwygnad3.js → worktree-zfm6bwvs.js} +20 -20
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-687r8w3k.js → worktree-zr3qrszr.js} +18 -18
- package/dist/chunks/{aisdk-native-11s1rmee.js → worktree-zsedakp3.js} +11 -11
- package/dist/chunks/{aisdk-native-mctc11af.js → worktree-zxkpyd1k.js} +6 -6
- package/dist/chunks/{aisdk-native-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/chunks/{aisdk-native-rphyw1sq.js → worktree-zxq47b82.js} +8 -8
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +104 -104
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +117 -117
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +117 -117
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-2zp1sn7a.js +0 -22
- package/dist/chunks/aisdk-native-619r8v3y.js +0 -18
- package/dist/chunks/aisdk-native-p9w19rf3.js +0 -462
- package/dist/chunks/aisdk-native-wbtgwr8j.js +0 -247
- /package/dist/chunks/{aisdk-native-0mesazry.js → worktree-0mesazry.js} +0 -0
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-hrnqkpcd.js → worktree-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-paphc93g.js → worktree-paphc93g.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./worktree-c34h00rm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service58;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
Info30
|
|
5
|
+
} from "./worktree-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Info29
|
|
8
|
+
} from "./worktree-nx4935gj.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-1k4ezpe5.js";
|
|
13
13
|
import {
|
|
14
14
|
create3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-kg06axw8.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
ID5,
|
|
18
|
+
Service45,
|
|
19
|
+
node48
|
|
20
|
+
} from "./worktree-x1b4jc5q.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/catalog.ts
|
|
26
26
|
var exports_catalog2 = {};
|
|
27
27
|
__export(exports_catalog2, {
|
|
28
28
|
Catalog: () => exports_catalog2,
|
|
29
|
-
Event: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
|
+
Service: () => Service44,
|
|
31
|
+
node: () => node47
|
|
32
32
|
});
|
|
33
33
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
34
34
|
import { Array, Context, Effect, Layer, Order, pipe } from "effect";
|
|
35
35
|
import { Catalog } from "@opencode/schema/catalog";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event6 } from "@opencode/schema/catalog";
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service44 extends Context.Service()("@opencode/Catalog") {
|
|
39
39
|
}
|
|
40
|
-
var layer = Layer.effect(
|
|
40
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
41
41
|
const bus = yield* Service79;
|
|
42
|
-
const integrations = yield*
|
|
42
|
+
const integrations = yield* Service45;
|
|
43
43
|
const available = (provider, integration) => {
|
|
44
44
|
if (provider.activation === "disabled")
|
|
45
45
|
return false;
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
73
73
|
let current = editor.providers.get(providerID);
|
|
74
74
|
if (!current) {
|
|
75
75
|
current = {
|
|
76
|
-
provider:
|
|
76
|
+
provider: Info30.empty(providerID),
|
|
77
77
|
models: new Map
|
|
78
78
|
};
|
|
79
79
|
editor.providers.set(providerID, current);
|
|
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
91
91
|
let record = editor.providers.get(providerID);
|
|
92
92
|
if (!record) {
|
|
93
93
|
record = {
|
|
94
|
-
provider:
|
|
94
|
+
provider: Info30.empty(providerID),
|
|
95
95
|
models: new Map
|
|
96
96
|
};
|
|
97
97
|
editor.providers.set(providerID, record);
|
|
98
98
|
}
|
|
99
|
-
const model = record.models.get(modelID) ??
|
|
99
|
+
const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
|
|
100
100
|
if (!record.models.has(modelID))
|
|
101
101
|
record.models.set(modelID, model);
|
|
102
102
|
fn(model);
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
130
130
|
}),
|
|
131
131
|
available: Effect.fn("Catalog.provider.available")(function* () {
|
|
132
132
|
const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
|
|
133
|
-
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ??
|
|
133
|
+
return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID5.make(provider.id))));
|
|
134
134
|
})
|
|
135
135
|
},
|
|
136
136
|
model: {
|
|
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
185
185
|
})
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return Service44.of(result);
|
|
189
189
|
}));
|
|
190
190
|
var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
|
|
191
|
-
var
|
|
191
|
+
var node47 = makeLocationNode({ service: Service44, layer, deps: [node84, node48] });
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Service44, node47, exports_catalog2, Event6 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-g2r6x3tk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./worktree-qfzde7bh.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-ht5y0zrb.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-rsdf2nvv.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-v2xpgazf.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-ev46nrf8.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./worktree-typy0p4q.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service40;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./worktree-arv4s5vt.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin41
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin41 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service56;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin29 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin41, exports_policy };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./worktree-mn22b81s.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
DiffError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-mzcj9rt6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/vcs/git.ts
|
|
19
19
|
var exports_git = {};
|
|
20
20
|
__export(exports_git, {
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin15,
|
|
22
22
|
VcsGitPlugin: () => exports_git
|
|
23
23
|
});
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
25
|
import { Effect } from "effect";
|
|
26
26
|
import { ChildProcess } from "effect/unstable/process";
|
|
27
27
|
import { AppProcess } from "@opencode/util/process";
|
|
28
|
-
var
|
|
28
|
+
var Plugin15 = define({
|
|
29
29
|
id: "opencode.vcs.git",
|
|
30
30
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
31
|
-
const location = yield*
|
|
31
|
+
const location = yield* Service76;
|
|
32
32
|
if (location.vcs?.type !== "git")
|
|
33
33
|
return;
|
|
34
34
|
const processes = yield* AppProcess.Service;
|
|
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
467
467
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
468
468
|
});
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { Plugin15, exports_git };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./worktree-mn22b81s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./worktree-arv4s5vt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./worktree-yve3c8px.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin38
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin38 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service56;
|
|
34
|
+
const location = yield* Service76;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service66;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin18 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin38, exports_worktree };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./worktree-mn22b81s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service28
|
|
7
|
+
} from "./worktree-ht5y0zrb.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service66,
|
|
10
|
+
node70
|
|
11
|
+
} from "./worktree-yve3c8px.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node22
|
|
14
|
+
} from "./worktree-gbk988mc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node5
|
|
17
|
+
} from "./worktree-b293fxw2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node4
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service76;
|
|
32
|
+
const plugins = yield* Service28;
|
|
33
|
+
const worktrees = yield* Service66;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node4 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node70, node81, node22, node5]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node4, exports_refresh };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./worktree-jefma2gq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./worktree-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-g2r6x3tk.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-1k4ezpe5.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./worktree-mn22b81s.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./worktree-th5km1p3.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make19
|
|
38
|
+
} from "./worktree-a31gkhvw.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./worktree-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./worktree-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event15,
|
|
53
|
+
Info: () => Info23,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service66,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node70
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info23 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event15 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service66 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make19;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event15.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical3(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service66.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node70 = makeLocationNode({
|
|
273
|
+
service: Service66,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info23, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event15, Service66, node70, exports_worktree2, OperationError2 };
|