@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,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID15,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info29,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-nx4935gj.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID16.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID15.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID15.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info29.make({
|
|
92
|
+
...Info29.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID15.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./worktree-g44j0cq6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node81,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node81 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node82]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service76, node81, boundNode2, exports_location };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin23
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin23 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin42 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin23, exports_mcp_codemode_exclusion };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID16
|
|
3
|
+
} from "./worktree-84tssp1s.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID16.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID16.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node53
|
|
4
|
+
} from "./worktree-gngqx6ca.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service35,
|
|
20
|
+
node: () => node39
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service35 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service50;
|
|
64
|
+
return Service35.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make20({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node39 = makeLocationNode({ service: Service35, layer, deps: [node53] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service35, node39, exports_instructions5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-1k4ezpe5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
Event19
|
|
7
|
+
} from "./worktree-09xs0kpr.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service73;
|
|
33
33
|
const bus = yield* Service79;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event19.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
})
|
|
71
71
|
});
|
|
72
72
|
function environmentNames(provider) {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-1k4ezpe5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./worktree-mn22b81s.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_vcs, {
|
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
29
|
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service22,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node26
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service22 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service22.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node26 = makeLocationNode({
|
|
165
|
+
service: Service22,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service22, node26, exports_vcs };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-468dtmg8.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-81enad2h.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./worktree-884je023.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service47
|
|
10
|
+
} from "./worktree-cpaskrdq.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill = {};
|
|
17
17
|
__export(exports_skill, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input6,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin7,
|
|
21
21
|
SkillTool: () => exports_skill,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name6,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID7.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin7 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service47;
|
|
51
|
+
const permission = yield* Service67;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input6,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin11 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output4, description3, toModelOutput2, Plugin7, exports_skill };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-02nrjc1r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service47,
|
|
13
|
+
node50
|
|
14
|
+
} from "./worktree-cpaskrdq.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
24
|
-
node: () =>
|
|
20
|
+
var exports_instructions2 = {};
|
|
21
|
+
__export(exports_instructions2, {
|
|
22
|
+
Service: () => Service26,
|
|
23
|
+
SkillInstructions: () => exports_instructions2,
|
|
24
|
+
node: () => node31
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID7,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service26 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service47;
|
|
67
|
+
return Service26.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
74
|
-
key:
|
|
73
|
+
return make20({
|
|
74
|
+
key: Key4.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var
|
|
86
|
+
var node31 = makeLocationNode({ service: Service26, layer, deps: [node50] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service26, node31, exports_instructions2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render3
|
|
3
|
+
} from "./worktree-nhy5jxhy.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -412,7 +412,7 @@ function make(id, optimize) {
|
|
|
412
412
|
const system = event.system[0];
|
|
413
413
|
if (!system)
|
|
414
414
|
return;
|
|
415
|
-
event.system[0] = { ...system, text:
|
|
415
|
+
event.system[0] = { ...system, text: render3(template, Object.keys(event.tools)) };
|
|
416
416
|
}).pipe(Effect.catch(() => Effect.void)));
|
|
417
417
|
})
|
|
418
418
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make14(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make14,
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|