@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,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID5,
|
|
3
|
+
Service45
|
|
4
|
+
} from "./worktree-x1b4jc5q.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-84tssp1s.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
13
13
|
var LLMGatewayPlugin2 = define({
|
|
14
14
|
id: "opencode.provider.llmgateway",
|
|
15
15
|
effect: Effect.fn(function* (ctx) {
|
|
16
|
-
const integrations = yield*
|
|
16
|
+
const integrations = yield* Service45;
|
|
17
17
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
18
18
|
yield* ctx.catalog.transform((evt) => {
|
|
19
19
|
for (const item of evt.provider.list()) {
|
|
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
25
25
|
continue;
|
|
26
26
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
27
27
|
continue;
|
|
28
|
-
if (!configured.has(
|
|
28
|
+
if (!configured.has(ID5.make(item.provider.id)))
|
|
29
29
|
continue;
|
|
30
30
|
evt.provider.update(item.provider.id, (provider) => {
|
|
31
31
|
provider.headers = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info20
|
|
6
|
+
} from "./worktree-k2h4r4s0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
13
13
|
__export(exports_agent3, {
|
|
14
14
|
ConfigAgentV1: () => exports_agent3,
|
|
15
|
-
Info: () =>
|
|
15
|
+
Info: () => Info12
|
|
16
16
|
});
|
|
17
17
|
import { Schema, SchemaGetter } from "effect";
|
|
18
18
|
var Color = Schema.Union([
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info20)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -66,9 +66,9 @@ var normalize = (agent) => {
|
|
|
66
66
|
const steps = agent.steps ?? agent.maxSteps;
|
|
67
67
|
return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
|
|
68
68
|
};
|
|
69
|
-
var
|
|
69
|
+
var Info12 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
|
|
70
70
|
decode: SchemaGetter.transform(normalize),
|
|
71
71
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
72
72
|
})).annotate({ identifier: "AgentConfig" });
|
|
73
73
|
|
|
74
|
-
export {
|
|
74
|
+
export { Info12, exports_agent3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service43,
|
|
6
|
+
node46
|
|
7
|
+
} from "./worktree-j0eba36x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate = {};
|
|
14
14
|
__export(exports_generate, {
|
|
15
15
|
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service20,
|
|
18
18
|
UnavailableError: () => UnavailableError2,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer9,
|
|
20
|
+
node: () => node24
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service20 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer9 = Layer.effect(Service20, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service43;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -61,12 +61,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service20.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node24 = makeLocationNode({
|
|
67
|
+
service: Service20,
|
|
68
|
+
layer: layer9,
|
|
69
|
+
deps: [node46, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError2,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError2, Service20, layer9, node24, exports_generate };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./worktree-c34h00rm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-y13khpec.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./worktree-9qj7dh1c.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service67
|
|
14
|
+
} from "./worktree-884je023.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./worktree-zr3qrszr.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input2,
|
|
29
|
+
Output: () => Output2,
|
|
30
|
+
Plugin: () => Plugin2,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name2,
|
|
33
|
+
toModelContent: () => toModelContent2
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name2 = "write";
|
|
39
|
+
var Input2 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output2 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin2 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service18;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service58;
|
|
58
|
+
const formatter = yield* Service75;
|
|
59
|
+
const permission = yield* Service67;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name2,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input2,
|
|
69
|
+
output: Output2,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_write };
|
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-1k4ezpe5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./worktree-3h1qna2c.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event13,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service63,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node67,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service63 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event13 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service74;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event13.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service63.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event13.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event13.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node67 = makeGlobalNode({ service: Service63, layer, deps: [httpClient, node78, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service63, Event13, inspect2, resolve2, node67, exports_wellknown };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-81enad2h.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-n6a4148r.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,38 +1,38 @@
|
|
|
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
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-gngqx6ca.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin31
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin31 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service56;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin31, exports_reference };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./worktree-mn22b81s.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service62,
|
|
13
|
+
canonical: () => canonical2,
|
|
14
|
+
node: () => node66
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service62 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service62, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
26
|
+
var node66 = LayerNode.unbound(Service62, Node.tags.values.global);
|
|
27
|
+
function canonical2(ref) {
|
|
28
|
+
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service62, node66, canonical2, exports_location_service_map };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-w74v902z.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-884je023.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin22
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin22 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin39 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID13.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID13.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin39 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID13.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID13.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID13.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin39 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin22, exports_agent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-1k4ezpe5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service63,
|
|
6
|
+
Event13
|
|
7
|
+
} from "./worktree-0pnwce6d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -21,7 +21,7 @@ var Plugin44 = define({
|
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service63;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin44 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|