@opencode/core 0.0.0-dev-19399 → 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 +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-retention-eaj1djv9.js → worktree-02nrjc1r.js} +4 -4
- package/dist/chunks/{file-retention-azbeba8p.js → worktree-07h6kd27.js} +17 -17
- package/dist/chunks/{file-retention-3n0zfn8x.js → worktree-09xs0kpr.js} +36 -36
- package/dist/chunks/{file-retention-cyhq2t1m.js → worktree-0bqrjw7h.js} +6 -6
- package/dist/chunks/{file-retention-3pbjq009.js → worktree-0c6ktq3y.js} +8 -8
- package/dist/chunks/{file-retention-sra9araw.js → worktree-0f9afca0.js} +5 -5
- package/dist/chunks/{file-retention-dh5w6jnr.js → worktree-0fyqfvqt.js} +11 -11
- package/dist/chunks/worktree-0mesazry.js +4 -0
- package/dist/chunks/{file-retention-sgvet7nx.js → worktree-0nz9pv5r.js} +20 -20
- package/dist/chunks/{file-retention-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-bs9f176v.js → worktree-0pnwce6d.js} +23 -23
- package/dist/chunks/{file-retention-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-j0bxb4ah.js → worktree-0rstx4q2.js} +3 -3
- package/dist/chunks/{file-retention-sxjpata1.js → worktree-1afrw49r.js} +13 -13
- package/dist/chunks/{file-retention-y7vx5bzy.js → worktree-1c2y2rkk.js} +10 -10
- package/dist/chunks/{file-retention-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-8zpsgj2b.js → worktree-1dhk6hmk.js} +15 -15
- package/dist/chunks/{file-retention-n5mjs6e9.js → worktree-1ery4yfq.js} +9 -9
- package/dist/chunks/{file-retention-1eyaby9q.js → worktree-1eyaby9q.js} +2 -2
- package/dist/chunks/{file-retention-qyc89c7d.js → worktree-1k4ezpe5.js} +16 -16
- package/dist/chunks/{file-retention-gzdzd9hw.js → worktree-1z0pzthf.js} +2 -2
- package/dist/chunks/{file-retention-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-48dytv8w.js → worktree-2310gy7k.js} +15 -15
- package/dist/chunks/{file-retention-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
- package/dist/chunks/{file-retention-xfk4x188.js → worktree-244mw7cq.js} +32 -32
- package/dist/chunks/{file-retention-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-tng3m0ce.js → worktree-2bbm4yb8.js} +31 -31
- package/dist/chunks/{file-retention-6jnybvqn.js → worktree-2bt6bea8.js} +9 -9
- package/dist/chunks/{file-retention-bqe02a37.js → worktree-2eadnc11.js} +24 -24
- package/dist/chunks/{file-retention-t5e54489.js → worktree-2ggpg6at.js} +26 -26
- package/dist/chunks/{file-retention-0ngeez3a.js → worktree-2gydx7a7.js} +10 -10
- package/dist/chunks/{file-retention-64fks2yw.js → worktree-2h5ywktg.js} +10 -10
- package/dist/chunks/{file-retention-q3tktawz.js → worktree-2njfwjb2.js} +34 -34
- package/dist/chunks/{file-retention-mtbzr4rz.js → worktree-2zjkjrap.js} +22 -22
- package/dist/chunks/{file-retention-mfqp6xfm.js → worktree-33w4ejhs.js} +9 -9
- package/dist/chunks/{file-retention-jfqtm2ew.js → worktree-34rkz0x9.js} +7 -7
- package/dist/chunks/{file-retention-qqtwvk4z.js → worktree-35agz59w.js} +4 -4
- package/dist/chunks/{file-retention-6pn6hsyv.js → worktree-3a69nzm4.js} +43 -43
- package/dist/chunks/{file-retention-gdvy8fx6.js → worktree-3fc6dm20.js} +4 -4
- package/dist/chunks/{file-retention-68q29sss.js → worktree-3gdgz9fc.js} +6 -6
- package/dist/chunks/{file-retention-cvktwkpw.js → worktree-3h1qna2c.js} +13 -13
- package/dist/chunks/{file-retention-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-ywc1rzzj.js → worktree-3qdqgmdj.js} +11 -11
- package/dist/chunks/{file-retention-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-kmv022h3.js → worktree-3trbxeqx.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3bs74w5s.js → worktree-3y4zrqv5.js} +16 -16
- package/dist/chunks/{file-retention-8g9sv97x.js → worktree-44baxtt9.js} +24 -24
- package/dist/chunks/{file-retention-b9qrp43n.js → worktree-468dtmg8.js} +7 -7
- package/dist/chunks/{file-retention-vx5ha92z.js → worktree-47b9yvnx.js} +20 -20
- package/dist/chunks/{file-retention-2f9a9pt2.js → worktree-47t1zbrj.js} +7 -7
- package/dist/chunks/{file-retention-wsp1wrmp.js → worktree-4y7f1htk.js} +27 -27
- package/dist/chunks/{file-retention-j7wq2tw5.js → worktree-539jk4fq.js} +3 -3
- package/dist/chunks/{file-retention-8d7y8amr.js → worktree-54cxa91y.js} +8 -8
- package/dist/chunks/{file-retention-q0bhfncr.js → worktree-5ak723ww.js} +11 -11
- package/dist/chunks/{file-retention-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-dqw4nh5k.js → worktree-5tapvk4p.js} +13 -13
- package/dist/chunks/{file-retention-jdh6s7jq.js → worktree-5trk58xb.js} +8 -8
- package/dist/chunks/{file-retention-xfr3vftw.js → worktree-5xyve7h3.js} +28 -28
- package/dist/chunks/{file-retention-h6w9c8ra.js → worktree-63rqrmz1.js} +13 -13
- package/dist/chunks/{file-retention-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-wvcagc7b.js → worktree-6a5c1xrn.js} +8 -8
- package/dist/chunks/{file-retention-qtkc3jn9.js → worktree-6cnhqcb5.js} +32 -32
- package/dist/chunks/{file-retention-5rg25712.js → worktree-6fdj6kdr.js} +4 -4
- package/dist/chunks/{file-retention-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-xwy71eq2.js → worktree-6t3tdbke.js} +13 -13
- package/dist/chunks/{file-retention-93nrt0m8.js → worktree-6wc2ywbc.js} +13 -13
- package/dist/chunks/{file-retention-71q4at8m.js → worktree-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-nywecryx.js → worktree-72bhgy2p.js} +24 -24
- package/dist/chunks/{file-retention-73tb2d7t.js → worktree-73tb2d7t.js} +1 -1
- package/dist/chunks/{file-retention-28135z1y.js → worktree-74argw2a.js} +30 -30
- package/dist/chunks/{file-retention-asmz7wyz.js → worktree-7b15y959.js} +8 -8
- package/dist/chunks/{file-retention-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-hzbc4891.js → worktree-7f1zm8xr.js} +11 -11
- package/dist/chunks/{file-retention-q2t36530.js → worktree-7qq57c1m.js} +9 -9
- package/dist/chunks/{file-retention-28wz5byj.js → worktree-7wbb1zn6.js} +23 -23
- package/dist/chunks/{file-retention-f20n632k.js → worktree-81enad2h.js} +1 -1
- package/dist/chunks/{file-retention-9pv0dm11.js → worktree-81swgkk7.js} +9 -9
- package/dist/chunks/{file-retention-s6t0rwsm.js → worktree-81zaz4ac.js} +44 -44
- package/dist/chunks/{file-retention-t69nnh3p.js → worktree-84tssp1s.js} +8 -8
- package/dist/chunks/{file-retention-mfqd8mcm.js → worktree-884je023.js} +54 -54
- package/dist/chunks/{file-retention-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-7qf46qjz.js → worktree-8fp5w46m.js} +15 -15
- package/dist/chunks/{file-retention-7cgw87zy.js → worktree-8gy8zqjj.js} +30 -30
- package/dist/chunks/{file-retention-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-retention-d9sn21bc.js → worktree-93x798nw.js} +2 -2
- package/dist/chunks/{file-retention-ce5fknq2.js → worktree-9b00c1fb.js} +5 -5
- package/dist/chunks/{file-retention-3473k6gv.js → worktree-9cdxmsp5.js} +39 -39
- package/dist/chunks/{file-retention-c3kepfq8.js → worktree-9k2v62xn.js} +1 -1
- package/dist/chunks/{file-retention-y0sfg4mt.js → worktree-9qj7dh1c.js} +18 -18
- package/dist/chunks/{file-retention-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-retention-b40gkt47.js → worktree-a31gkhvw.js} +11 -11
- package/dist/chunks/{file-retention-9ea8tgpj.js → worktree-a4wsc5ch.js} +11 -11
- package/dist/chunks/{file-retention-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-3gfm5d6h.js → worktree-arv4s5vt.js} +44 -44
- package/dist/chunks/{file-retention-64jggb9x.js → worktree-atxwy4st.js} +17 -17
- package/dist/chunks/{file-retention-2sc17e8p.js → worktree-axcvnh6x.js} +22 -22
- package/dist/chunks/{file-retention-qr8hg4qd.js → worktree-b293fxw2.js} +43 -43
- package/dist/chunks/{file-retention-t93xqn98.js → worktree-b2a3xspp.js} +18 -18
- package/dist/chunks/{file-retention-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-9w51vf9e.js → worktree-bb7ds5b0.js} +15 -15
- package/dist/chunks/{file-retention-vncycja5.js → worktree-bct739vz.js} +4 -4
- package/dist/chunks/{file-retention-fzbpccza.js → worktree-bf84bve4.js} +158 -158
- package/dist/chunks/{file-retention-gw4m2xfm.js → worktree-bqd37ks9.js} +9 -9
- package/dist/chunks/{file-retention-7wqh3n39.js → worktree-byda3mc6.js} +8 -8
- package/dist/chunks/{file-retention-vmb5wq5w.js → worktree-c0ewq7ys.js} +20 -20
- package/dist/chunks/{file-retention-0hrcbwcb.js → worktree-c2bnm6k2.js} +5 -5
- package/dist/chunks/{file-retention-21ryf78v.js → worktree-c34h00rm.js} +20 -20
- package/dist/chunks/{file-retention-3w0fmcng.js → worktree-c78bbtc9.js} +5 -5
- package/dist/chunks/{file-retention-c3703spx.js → worktree-c8r0p240.js} +14 -14
- package/dist/chunks/{file-retention-khze3a3k.js → worktree-cewmsarv.js} +26 -26
- package/dist/chunks/{file-retention-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-retention-3zqhk2eq.js → worktree-cht86wkj.js} +26 -26
- package/dist/chunks/{file-retention-xn49a5qb.js → worktree-cpaskrdq.js} +28 -28
- package/dist/chunks/{file-retention-kyk1sghh.js → worktree-cqja50m8.js} +4 -4
- package/dist/chunks/{file-retention-6q7bn63r.js → worktree-crm0qphm.js} +11 -11
- package/dist/chunks/{file-retention-6zb5z6tv.js → worktree-dc6hwzzt.js} +53 -53
- package/dist/chunks/{file-retention-8fyn7nbd.js → worktree-dp88awst.js} +16 -16
- package/dist/chunks/{file-retention-134j3eet.js → worktree-dxag5rg4.js} +7 -7
- package/dist/chunks/{file-retention-kpxhgmm5.js → worktree-dykjtkm6.js} +9 -9
- package/dist/chunks/{file-retention-dycay7z3.js → worktree-e79axaby.js} +11 -11
- package/dist/chunks/{file-retention-9y2tr22s.js → worktree-e9x29tk8.js} +17 -17
- package/dist/chunks/{file-retention-n8c291r7.js → worktree-edme2h3e.js} +7 -7
- package/dist/chunks/{file-retention-jgn25pc6.js → worktree-erjxbtfh.js} +15 -15
- package/dist/chunks/{file-retention-dcj77ap2.js → worktree-esdnemd6.js} +1 -1
- package/dist/chunks/{file-retention-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-42932dp7.js → worktree-ev46nrf8.js} +30 -30
- package/dist/chunks/{file-retention-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{file-retention-f828m53h.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{file-retention-xen8hk45.js → worktree-fdhw24dr.js} +36 -36
- package/dist/chunks/worktree-fe4ks3ds.js +462 -0
- package/dist/chunks/{file-retention-z7xj2rat.js → worktree-fq1h1v14.js} +3 -3
- package/dist/chunks/{file-retention-h85c66kh.js → worktree-fs5d0kpm.js} +27 -27
- package/dist/chunks/{file-retention-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-bha4atvq.js → worktree-fxqygnfa.js} +4 -4
- package/dist/chunks/{file-retention-2zw7ecjk.js → worktree-g2r6x3tk.js} +11 -11
- package/dist/chunks/{file-retention-2xdev6fn.js → worktree-g44j0cq6.js} +41 -41
- package/dist/chunks/{file-retention-p3ev5vff.js → worktree-gbk988mc.js} +22 -22
- package/dist/chunks/{file-retention-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-t399q2xj.js → worktree-ge649byp.js} +14 -14
- package/dist/chunks/worktree-gm7vsq7q.js +247 -0
- package/dist/chunks/{file-retention-kdde0hy3.js → worktree-gngqx6ca.js} +25 -25
- package/dist/chunks/{file-retention-zcrspsvn.js → worktree-gst7axd9.js} +4 -4
- package/dist/chunks/{file-retention-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-4066mr2m.js → worktree-h2gyv3sg.js} +1 -1
- package/dist/chunks/{file-retention-sxvk7k3m.js → worktree-h48cjffy.js} +18 -18
- package/dist/chunks/{file-retention-dagpktc6.js → worktree-h538v51m.js} +22 -22
- package/dist/chunks/{file-retention-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-zv9rb9jf.js → worktree-hb79c5eb.js} +9 -9
- package/dist/chunks/{file-retention-epk4gxbx.js → worktree-hch7hs3h.js} +11 -11
- package/dist/chunks/{file-retention-8hbfdwcy.js → worktree-hm24pp5g.js} +6 -6
- package/dist/chunks/{file-retention-kh9sx4kg.js → worktree-hpfvhvya.js} +8 -8
- package/dist/chunks/worktree-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-retention-yc76z00v.js → worktree-j0eba36x.js} +39 -39
- package/dist/chunks/{file-retention-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-1e9w7pgh.js → worktree-jefma2gq.js} +10 -10
- package/dist/chunks/{file-retention-668fh7ad.js → worktree-jqdzd9z8.js} +9 -9
- package/dist/chunks/{file-retention-n5er4yqr.js → worktree-jrf7w1sk.js} +2 -2
- package/dist/chunks/{file-retention-f3ngv102.js → worktree-k2h4r4s0.js} +4 -4
- package/dist/chunks/{file-retention-qwkytnft.js → worktree-k6z6zgfk.js} +6 -6
- package/dist/chunks/{file-retention-t8scngtx.js → worktree-kd5sw36g.js} +9 -9
- package/dist/chunks/{file-retention-kg06axw8.js → worktree-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-9zswys26.js → worktree-kpvyk30t.js} +9 -9
- package/dist/chunks/{file-retention-46x4mgr1.js → worktree-kqd2wwpf.js} +4 -4
- package/dist/chunks/{file-retention-bq1qrpc4.js → worktree-kt1ecy0s.js} +35 -35
- package/dist/chunks/{file-retention-f26rrdg0.js → worktree-m5y0j72z.js} +18 -18
- package/dist/chunks/{file-retention-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-mkcjrzeh.js → worktree-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-yfw68w0d.js → worktree-mn22b81s.js} +16 -16
- package/dist/chunks/{file-retention-dy6apmh8.js → worktree-mqy0jkn2.js} +4 -4
- package/dist/chunks/{file-retention-qcfsefxz.js → worktree-mrw4weg4.js} +5 -5
- package/dist/chunks/{file-retention-1827chwd.js → worktree-msdm1bd1.js} +16 -16
- package/dist/chunks/{file-retention-tqn298vm.js → worktree-mz61je2n.js} +8 -8
- package/dist/chunks/{file-retention-gv5ht3x9.js → worktree-mzcj9rt6.js} +23 -23
- package/dist/chunks/{file-retention-6jpkznw2.js → worktree-n6a4148r.js} +3 -3
- package/dist/chunks/{file-retention-2ccb660r.js → worktree-n8fan464.js} +25 -25
- package/dist/chunks/{file-retention-zds35jxt.js → worktree-nfnn75e4.js} +20 -20
- package/dist/chunks/{file-retention-wa9n8nyq.js → worktree-nhvhf6q8.js} +4 -4
- package/dist/chunks/{file-retention-47gsdddb.js → worktree-nhy5jxhy.js} +5 -5
- package/dist/chunks/{file-retention-5we933ec.js → worktree-nj8r009v.js} +16 -16
- package/dist/chunks/{file-retention-6z5pzs7n.js → worktree-nnn1sa7c.js} +27 -27
- package/dist/chunks/{file-retention-tnhmpjvz.js → worktree-nqdxr6ky.js} +3 -3
- package/dist/chunks/{file-retention-cqbh4pdx.js → worktree-nwbet28h.js} +9 -9
- package/dist/chunks/{file-retention-yj7xg7hy.js → worktree-nx4935gj.js} +12 -12
- package/dist/chunks/{file-retention-6q28cnrn.js → worktree-nyy8pdp4.js} +28 -28
- package/dist/chunks/{file-retention-bjgxqrgx.js → worktree-nzwz8brh.js} +21 -21
- package/dist/chunks/{file-retention-twy35tz0.js → worktree-p1wf2k30.js} +9 -9
- package/dist/chunks/{file-retention-80kybxvs.js → worktree-pdjr2yqz.js} +30 -30
- package/dist/chunks/{file-retention-2xd4yy55.js → worktree-pdyh4aae.js} +20 -20
- package/dist/chunks/{file-retention-wk8t53d4.js → worktree-pg7qm28t.js} +10 -10
- package/dist/chunks/{file-retention-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-ymqytbem.js → worktree-pyakq9xe.js} +12 -12
- package/dist/chunks/{file-retention-r920brwh.js → worktree-q5xvhvda.js} +6 -6
- package/dist/chunks/{file-retention-a5axy371.js → worktree-q6r44qt1.js} +2 -2
- package/dist/chunks/{file-retention-q6c7we53.js → worktree-q9h22sj1.js} +30 -30
- package/dist/chunks/{file-retention-crejgqmn.js → worktree-qc69zkx6.js} +27 -27
- package/dist/chunks/{file-retention-bkew1va1.js → worktree-qezjrgcf.js} +25 -25
- package/dist/chunks/{file-retention-hwe7x4em.js → worktree-qfzde7bh.js} +6 -6
- package/dist/chunks/{file-retention-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-retention-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-3szmpfme.js → worktree-qzkqxs9z.js} +9 -9
- package/dist/chunks/{file-retention-119b7byg.js → worktree-r7kds8hk.js} +4 -4
- package/dist/chunks/{file-retention-wgczap0h.js → worktree-rk0ywbkq.js} +4 -4
- package/dist/chunks/{file-retention-b527npp7.js → worktree-rme689gw.js} +5 -5
- package/dist/chunks/{file-retention-rz0qknjf.js → worktree-rs226bz6.js} +5 -5
- package/dist/chunks/{file-retention-w1k39n5e.js → worktree-rsdf2nvv.js} +4 -4
- package/dist/chunks/{file-retention-sxpd662g.js → worktree-s1ht2sg9.js} +24 -24
- package/dist/chunks/{file-retention-0t7z760j.js → worktree-sadxt2pa.js} +46 -46
- package/dist/chunks/{file-retention-4t6k5kna.js → worktree-sehhrc3t.js} +6 -6
- package/dist/chunks/{file-retention-3q5jhvr0.js → worktree-swhf355t.js} +18 -18
- package/dist/chunks/{file-retention-jwd32b9n.js → worktree-sxs9szdh.js} +32 -32
- package/dist/chunks/{file-retention-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-gv6a8nnw.js → worktree-th5km1p3.js} +5 -5
- package/dist/chunks/{file-retention-45jzk59f.js → worktree-tn4hkw1v.js} +37 -37
- package/dist/chunks/{file-retention-1k2tnacp.js → worktree-tqfdrk91.js} +11 -11
- package/dist/chunks/{file-retention-avhah0e4.js → worktree-tsc6q5nc.js} +35 -35
- package/dist/chunks/{file-retention-c89xx54h.js → worktree-tsjq9kym.js} +21 -21
- package/dist/chunks/{file-retention-ys9khkza.js → worktree-ttqfmzkf.js} +4 -4
- package/dist/chunks/{file-retention-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-hd0nvtm3.js → worktree-tw3b2c1y.js} +92 -92
- package/dist/chunks/{file-retention-8xy1c3m6.js → worktree-twrvq24m.js} +34 -34
- package/dist/chunks/{file-retention-t58cf551.js → worktree-typy0p4q.js} +88 -88
- package/dist/chunks/{file-retention-d6cvva1z.js → worktree-v2xpgazf.js} +8 -8
- package/dist/chunks/{file-retention-ct6nrw4p.js → worktree-v3psvfd1.js} +27 -27
- package/dist/chunks/{file-retention-79r1wrqa.js → worktree-vabb23s0.js} +1 -1
- package/dist/chunks/{file-retention-92fdtcd2.js → worktree-vdc5d1rg.js} +19 -19
- package/dist/chunks/{file-retention-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-dezkjabv.js → worktree-vxsx0exv.js} +45 -45
- package/dist/chunks/{file-retention-00mqm9kf.js → worktree-vypqtakx.js} +1 -1
- package/dist/chunks/{file-retention-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-3fqa324q.js → worktree-w418y777.js} +15 -15
- package/dist/chunks/{file-retention-sb3f9prf.js → worktree-w74v902z.js} +24 -24
- package/dist/chunks/{file-retention-hnr5yq9h.js → worktree-wbkyxrgf.js} +5 -5
- package/dist/chunks/{file-retention-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-d892y9cf.js → worktree-we8gksts.js} +19 -19
- package/dist/chunks/{file-retention-sgwh5nyn.js → worktree-wewgh3cc.js} +8 -8
- package/dist/chunks/{file-retention-3xgpxwfp.js → worktree-wgr81hh0.js} +25 -25
- package/dist/chunks/{file-retention-gq3znaq8.js → worktree-wk4gand9.js} +6 -6
- package/dist/chunks/{file-retention-sbbkemrk.js → worktree-wsgy8dtq.js} +60 -60
- package/dist/chunks/{file-retention-czg3njfj.js → worktree-wtez2wwh.js} +5 -5
- package/dist/chunks/{file-retention-sr2tjpn6.js → worktree-wtf4ezaw.js} +4 -4
- package/dist/chunks/{file-retention-rfnzy394.js → worktree-wx9wy1qm.js} +1 -1
- package/dist/chunks/{file-retention-4b4nd6ae.js → worktree-x1b4jc5q.js} +25 -25
- package/dist/chunks/{file-retention-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-x43y2vfs.js → worktree-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-retention-pfn03z7w.js → worktree-xaqsqef1.js} +15 -15
- package/dist/chunks/worktree-xc139tzx.js +22 -0
- package/dist/chunks/{file-retention-dafzyq9v.js → worktree-xd2p8b6x.js} +11 -11
- package/dist/chunks/{file-retention-as0z8btd.js → worktree-xe1bsykz.js} +17 -17
- package/dist/chunks/{file-retention-49cgsf1b.js → worktree-xjqvt66n.js} +14 -14
- package/dist/chunks/{file-retention-nqs1mevv.js → worktree-y13khpec.js} +12 -12
- package/dist/chunks/{file-retention-5yes1xn6.js → worktree-y1f8q6kf.js} +70 -70
- package/dist/chunks/{file-retention-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-kvx48ts1.js → worktree-y5p6jryx.js} +4 -4
- package/dist/chunks/{file-retention-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{file-retention-9j3xz1zz.js → worktree-y869hese.js} +28 -28
- package/dist/chunks/{file-retention-n0d0h331.js → worktree-ya8x3fj2.js} +14 -14
- package/dist/chunks/{file-retention-hxsmq6gn.js → worktree-yapytcgw.js} +9 -9
- package/dist/chunks/{file-retention-gb71afdr.js → worktree-yhrpggw5.js} +9 -9
- package/dist/chunks/{file-retention-w620p5yr.js → worktree-yj5yszst.js} +15 -15
- package/dist/chunks/{file-retention-cffkaee3.js → worktree-yn5pc3yf.js} +20 -20
- package/dist/chunks/{file-retention-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-eaymd3ha.js → worktree-yve3c8px.js} +47 -47
- package/dist/chunks/{file-retention-a9x5dmer.js → worktree-z027aptg.js} +42 -42
- package/dist/chunks/{file-retention-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-mjbqgqxy.js → worktree-z3g4xrj9.js} +21 -21
- package/dist/chunks/{file-retention-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-s62ct2st.js → worktree-zfm6bwvs.js} +23 -23
- package/dist/chunks/{file-retention-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-0c7cgf78.js → worktree-zr3qrszr.js} +18 -18
- package/dist/chunks/{file-retention-mggny1x7.js → worktree-zsedakp3.js} +8 -8
- package/dist/chunks/{file-retention-t24p7ex1.js → worktree-zxkpyd1k.js} +6 -6
- package/dist/chunks/{file-retention-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-4a5dcn9p.js → worktree-zxq47b82.js} +11 -11
- 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 +118 -118
- 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 +115 -115
- 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 +77 -77
- package/dist/database/database.js +68 -68
- 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 +77 -77
- 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 +86 -86
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +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 +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +85 -85
- 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 +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- 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 +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- 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 +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- 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 +95 -95
- 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 +117 -117
- 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 +131 -131
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +74 -74
- package/dist/repository.js +3 -3
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- 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 +113 -113
- package/dist/session/model-transport.js +9 -9
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- 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 +121 -121
- 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 +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +109 -109
- 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 +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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 +85 -85
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- 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 +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-retention-1tmdjs9t.js +0 -462
- package/dist/chunks/file-retention-5ame8c7x.js +0 -247
- package/dist/chunks/file-retention-jqh9b0xq.js +0 -18
- package/dist/chunks/file-retention-qapv375x.js +0 -4
- package/dist/chunks/file-retention-vmv0g9k6.js +0 -22
- /package/dist/chunks/{file-retention-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → worktree-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-paphc93g.js → worktree-paphc93g.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./worktree-g2r6x3tk.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node84,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service79 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
84
|
-
deps: [
|
|
85
|
-
layer: Layer.effect(
|
|
83
|
+
service: Service79,
|
|
84
|
+
deps: [node85],
|
|
85
|
+
layer: Layer.effect(Service79, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -93,7 +93,7 @@ function configured12(options) {
|
|
|
93
93
|
const projectors = new Map;
|
|
94
94
|
const listeners = new Array;
|
|
95
95
|
const durableLocks = makeUnsafe2();
|
|
96
|
-
const { db } = yield*
|
|
96
|
+
const { db } = yield* Service80;
|
|
97
97
|
const logReadPageSize = options?.logReadPageSize ?? 512;
|
|
98
98
|
const persist = options?.persist ?? false;
|
|
99
99
|
const sessions = new Map;
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service79.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node84 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service79, configured12, node84, exports_bus };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-84tssp1s.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./worktree-mn22b81s.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-02nrjc1r.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service31,
|
|
19
19
|
node: () => node35
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service76;
|
|
29
|
+
return Service31.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make20({
|
|
53
53
|
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var node35 = makeLocationNode({ service:
|
|
64
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service31, node35, exports_builtins };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-84tssp1s.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID15
|
|
8
|
+
} from "./worktree-nx4935gj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service79
|
|
11
|
+
} from "./worktree-1k4ezpe5.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event14
|
|
15
|
+
} from "./worktree-wgr81hh0.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID5,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-x1b4jc5q.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service44
|
|
22
|
+
} from "./worktree-y869hese.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get3
|
|
25
|
+
} from "./worktree-e9x29tk8.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-hch7hs3h.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID5.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service44;
|
|
159
|
+
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID16.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get3(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID16.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID15.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID16.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID16.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID16.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./worktree-jefma2gq.js";
|
|
11
|
+
import {
|
|
8
12
|
Service76,
|
|
9
13
|
node81
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service74,
|
|
13
|
-
node79
|
|
14
|
-
} from "./file-retention-yfw68w0d.js";
|
|
14
|
+
} from "./worktree-mn22b81s.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID8,
|
|
27
|
+
Service: () => Service48,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node51,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID8 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service48 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID8.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node51 = makeLocationNode({
|
|
139
|
+
service: Service48,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer3 = Layer.succeed(
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service48, Service48.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service46, Service46.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error4({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID8, Error4, Service48, node51, noopLayer3, exports_snapshot2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node14, exports_discovery };
|