@opencode/core 0.0.0-dev-19503 → 0.0.0-dev-19506
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{file-t550f9t1.js → catalog-02nrjc1r.js} +8 -8
- package/dist/chunks/{file-embw8kgh.js → catalog-06x8he3q.js} +4 -4
- package/dist/chunks/{file-4y66k410.js → catalog-0ajdgxne.js} +5 -5
- package/dist/chunks/{file-6djd1gzm.js → catalog-0d9x3d3d.js} +6 -6
- package/dist/chunks/{file-f4d4r4a6.js → catalog-0eh3yka3.js} +19 -19
- package/dist/chunks/{file-7ebn0nc0.js → catalog-0ft9cg2j.js} +6 -6
- package/dist/chunks/{file-0paq2nw3.js → catalog-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → catalog-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-jfqp9qt8.js → catalog-0st9n7we.js} +3 -3
- package/dist/chunks/{file-jtq2znwy.js → catalog-100840d2.js} +24 -24
- package/dist/chunks/{file-4p8799rk.js → catalog-1d8nyk1s.js} +14 -14
- package/dist/chunks/{file-1dazxqgg.js → catalog-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-2nv7jv6x.js → catalog-1ghwhpxv.js} +15 -15
- package/dist/chunks/{file-88sz8qcd.js → catalog-1hc11dc4.js} +4 -4
- package/dist/chunks/{file-fzsrmebp.js → catalog-1q930z6k.js} +22 -22
- package/dist/chunks/{file-7ek6x336.js → catalog-20tp6ykn.js} +167 -167
- package/dist/chunks/{file-21r38tys.js → catalog-21r38tys.js} +1 -1
- package/dist/chunks/{file-6h73sxmp.js → catalog-2402vzrj.js} +5 -5
- package/dist/chunks/{file-qpcnk2ce.js → catalog-27kynfr9.js} +68 -68
- package/dist/chunks/{file-2a5m3afh.js → catalog-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-9fvpfb58.js → catalog-2c9abtxg.js} +11 -11
- package/dist/chunks/{file-f8vm562w.js → catalog-2k536ypt.js} +5 -5
- package/dist/chunks/{file-pg0dvyvk.js → catalog-2k9t5jt1.js} +12 -12
- package/dist/chunks/{file-9p11ca5c.js → catalog-2pvk2fw9.js} +25 -25
- package/dist/chunks/{file-fschw3aw.js → catalog-2q8xpyyd.js} +4 -4
- package/dist/chunks/{file-2ve45fd6.js → catalog-2ve45fd6.js} +2 -2
- package/dist/chunks/{file-g4adkwgc.js → catalog-2vxstxdz.js} +4 -4
- package/dist/chunks/{file-7s83vr9a.js → catalog-2x7cych0.js} +23 -23
- package/dist/chunks/{file-9524tstc.js → catalog-33mewpyb.js} +3 -3
- package/dist/chunks/{file-nze65y9n.js → catalog-34dxdks9.js} +25 -25
- package/dist/chunks/{file-1j7qs22q.js → catalog-35kk67hj.js} +36 -36
- package/dist/chunks/{file-j9n5fxav.js → catalog-35pk5389.js} +18 -18
- package/dist/chunks/{file-fzxbqhyn.js → catalog-39t56ws4.js} +39 -39
- package/dist/chunks/{file-7j62yvdk.js → catalog-39yh2y93.js} +17 -17
- package/dist/chunks/{file-hq8zt1th.js → catalog-3c1tgrea.js} +6 -6
- package/dist/chunks/{file-r12ptjs8.js → catalog-3d1cjsm7.js} +27 -27
- package/dist/chunks/{file-3fc6dm20.js → catalog-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-3hepkmqq.js → catalog-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-t83d2b0d.js → catalog-3k53vc2x.js} +9 -9
- package/dist/chunks/{file-b3wkxfg9.js → catalog-3q1jyqhd.js} +1 -1
- package/dist/chunks/{file-3smtnn6g.js → catalog-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → catalog-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-fepbzpny.js → catalog-46ctkvr6.js} +20 -20
- package/dist/chunks/{file-4786se8r.js → catalog-4786se8r.js} +1 -1
- package/dist/chunks/{file-737983wq.js → catalog-49hrpkdk.js} +4 -4
- package/dist/chunks/{file-7yzymgne.js → catalog-4b30a42t.js} +17 -17
- package/dist/chunks/{file-v4cav7rx.js → catalog-4cmb9enr.js} +30 -30
- package/dist/chunks/{file-ea0j55ct.js → catalog-4kdhngev.js} +2 -2
- package/dist/chunks/{file-5f2tz19k.js → catalog-4tdnxzbn.js} +17 -17
- package/dist/chunks/{file-g6nh8byg.js → catalog-4vs6efvm.js} +7 -7
- package/dist/chunks/{file-v65drjb8.js → catalog-54zaz3g6.js} +8 -8
- package/dist/chunks/{file-56gdpj1q.js → catalog-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-fxtthhfd.js → catalog-5a6m8f9a.js} +23 -23
- package/dist/chunks/{file-5daktx2q.js → catalog-5daktx2q.js} +1 -1
- package/dist/chunks/{file-j6frhm8p.js → catalog-5h3w3d4e.js} +5 -5
- package/dist/chunks/{file-g3n6es57.js → catalog-5kptn8c0.js} +9 -9
- package/dist/chunks/{file-5t3nmthw.js → catalog-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-vmtte7pc.js → catalog-615v7cwf.js} +53 -53
- package/dist/chunks/{file-b4ssmz4r.js → catalog-6178vqjw.js} +9 -9
- package/dist/chunks/{file-669tq793.js → catalog-669tq793.js} +1 -1
- package/dist/chunks/{file-y9n3sh8b.js → catalog-6az0k8v4.js} +11 -11
- package/dist/chunks/{file-5trk58xb.js → catalog-6m8y77r5.js} +8 -8
- package/dist/chunks/{file-6msgmcgs.js → catalog-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-dc8d22k9.js → catalog-6qvnkqyv.js} +19 -19
- package/dist/chunks/{file-631z4xzt.js → catalog-6sr2ffg0.js} +44 -44
- package/dist/chunks/{file-1sxt24ag.js → catalog-6t8hcs61.js} +33 -33
- package/dist/chunks/{file-q4jqhhxd.js → catalog-70tpys2p.js} +86 -86
- package/dist/chunks/{file-71q4at8m.js → catalog-71q4at8m.js} +1 -1
- package/dist/chunks/{file-j7w4f3hr.js → catalog-77kgmss4.js} +27 -27
- package/dist/chunks/{file-7bmhse3q.js → catalog-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-cwq9bbm8.js → catalog-7cp3ngcm.js} +27 -27
- package/dist/chunks/{file-8trdseqr.js → catalog-7hxs3egg.js} +32 -32
- package/dist/chunks/{file-9bj2cvf7.js → catalog-7qq57c1m.js} +9 -9
- package/dist/chunks/{file-r6x8jqph.js → catalog-7s08acyf.js} +26 -26
- package/dist/chunks/{file-4sv526vh.js → catalog-80tbned8.js} +11 -11
- package/dist/chunks/{file-81swgkk7.js → catalog-81swgkk7.js} +2 -2
- package/dist/chunks/{file-0p2zh9q8.js → catalog-82pt8syc.js} +30 -30
- package/dist/chunks/{file-844ef7ks.js → catalog-844ef7ks.js} +1 -1
- package/dist/chunks/{file-ktw3pdy7.js → catalog-85255ppm.js} +25 -25
- package/dist/chunks/{file-egqavg4q.js → catalog-87r09b0p.js} +15 -15
- package/dist/chunks/{file-4nwkg5vr.js → catalog-8a0b7fze.js} +2 -2
- package/dist/chunks/{file-rq9x2xtg.js → catalog-8d02t69k.js} +25 -25
- package/dist/chunks/{file-8d7r5vzw.js → catalog-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-0x6jhfyd.js → catalog-8dwx0wyg.js} +36 -36
- package/dist/chunks/{file-z51k40g3.js → catalog-8e2be5x3.js} +2 -2
- package/dist/chunks/{file-4zj9va87.js → catalog-8g83qwz1.js} +28 -28
- package/dist/chunks/{file-2rnktxfb.js → catalog-8ncxre87.js} +44 -44
- package/dist/chunks/{file-8p4f9s12.js → catalog-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-tw0jne9w.js → catalog-8s4wrv6z.js} +19 -19
- package/dist/chunks/{file-bw0vgseb.js → catalog-97h7kfy1.js} +8 -8
- package/dist/chunks/{file-hp075dpy.js → catalog-9d8v8ke2.js} +7 -7
- package/dist/chunks/{file-2zpcf09p.js → catalog-9dhyqv6n.js} +11 -11
- package/dist/chunks/{file-hp277x20.js → catalog-9jd6gdwh.js} +31 -31
- package/dist/chunks/{file-7r53ar6y.js → catalog-9mc00xsa.js} +9 -9
- package/dist/chunks/{file-r9030hxj.js → catalog-9ndgejs0.js} +9 -9
- package/dist/chunks/{file-3yjg5mh2.js → catalog-9vs0xtad.js} +3 -3
- package/dist/chunks/{file-nd9hg1xj.js → catalog-a06z6dg8.js} +24 -24
- package/dist/chunks/{file-a1bz86dw.js → catalog-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-gptjq5xf.js → catalog-a3457skp.js} +26 -26
- package/dist/chunks/{file-aaet6srn.js → catalog-aaet6srn.js} +2 -2
- package/dist/chunks/{file-qrdc2j4b.js → catalog-ansp9v5s.js} +23 -23
- package/dist/chunks/{file-km5917gx.js → catalog-ar7d2gdc.js} +51 -51
- package/dist/chunks/{file-qryaexwa.js → catalog-as21fg6w.js} +35 -35
- package/dist/chunks/{file-qbejwr8p.js → catalog-av1vdf1t.js} +32 -32
- package/dist/chunks/{file-d678zc2k.js → catalog-axqcdv2d.js} +3 -3
- package/dist/chunks/{file-e3z6xmzm.js → catalog-ayhdv494.js} +9 -9
- package/dist/chunks/{file-5dmv5s4a.js → catalog-b24n8q6t.js} +34 -34
- package/dist/chunks/{file-b6gygkdw.js → catalog-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-0p4j4cv0.js → catalog-b8b3f19r.js} +9 -9
- package/dist/chunks/{file-8n54f2ta.js → catalog-bwqemmcy.js} +20 -20
- package/dist/chunks/{file-v32yr9d8.js → catalog-c5erwwx0.js} +3 -3
- package/dist/chunks/{file-3yycxr83.js → catalog-c8ybyaw7.js} +13 -13
- package/dist/chunks/{file-14vdq9mv.js → catalog-cb98cfvp.js} +14 -14
- package/dist/chunks/{file-cvfevwhc.js → catalog-cdhqkse9.js} +11 -11
- package/dist/chunks/{file-cfpkc3c9.js → catalog-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-8cbmhaq5.js → catalog-cg45paqr.js} +1 -1
- package/dist/chunks/{file-epq9ds0r.js → catalog-cmjccx99.js} +60 -60
- package/dist/chunks/{file-3tc3fw1n.js → catalog-crm7m9ze.js} +20 -20
- package/dist/chunks/{file-0gw11f53.js → catalog-cyzajxxm.js} +23 -23
- package/dist/chunks/{file-7hkvzewv.js → catalog-cz2rt84b.js} +10 -10
- package/dist/chunks/{file-cza9j1er.js → catalog-cza9j1er.js} +1 -1
- package/dist/chunks/{file-wjtjjmd0.js → catalog-d3h909cw.js} +11 -11
- package/dist/chunks/{file-y67y16g8.js → catalog-d4tx6er0.js} +22 -22
- package/dist/chunks/{file-cyf7cx3n.js → catalog-dhjmfj2m.js} +18 -18
- package/dist/chunks/{file-3w2b2yj4.js → catalog-dj9sq318.js} +5 -5
- package/dist/chunks/{file-aksfce1s.js → catalog-dmy52nw1.js} +14 -14
- package/dist/chunks/{file-jwcy2c2z.js → catalog-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-2t17ewj5.js → catalog-drrcka83.js} +18 -18
- package/dist/chunks/{file-dw1fjyb0.js → catalog-dw1fjyb0.js} +1 -1
- package/dist/chunks/{file-dxpt5v4a.js → catalog-dywb0nnh.js} +297 -297
- package/dist/chunks/{file-neb913ap.js → catalog-dzyasay6.js} +8 -8
- package/dist/chunks/{file-e17bkqjz.js → catalog-e17bkqjz.js} +1 -1
- package/dist/chunks/{file-ea8nv0r7.js → catalog-ea8nv0r7.js} +2 -2
- package/dist/chunks/{file-ec8389mk.js → catalog-ec8389mk.js} +1 -1
- package/dist/chunks/{file-jjcqt8zt.js → catalog-en5qyw6g.js} +7 -7
- package/dist/chunks/{file-z91f3yc5.js → catalog-enw6c2wm.js} +29 -29
- package/dist/chunks/{file-zjsxw8xc.js → catalog-erhy9pk7.js} +23 -23
- package/dist/chunks/{file-fcnjngqh.js → catalog-esvwx42b.js} +33 -33
- package/dist/chunks/{file-etq0c3wd.js → catalog-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-2n6t0d3f.js → catalog-evpex7pv.js} +13 -13
- package/dist/chunks/{file-wpmxaqyc.js → catalog-f2gse5fy.js} +6 -6
- package/dist/chunks/{file-yp2x3t23.js → catalog-f2n192rq.js} +4 -4
- package/dist/chunks/{file-f828m53h.js → catalog-f828m53h.js} +2 -2
- package/dist/chunks/{file-zbqyvn6w.js → catalog-ferwhf5k.js} +18 -18
- package/dist/chunks/{file-fxbjtjnd.js → catalog-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-szgy4byf.js → catalog-fxqygnfa.js} +4 -4
- package/dist/chunks/{file-g14zqp48.js → catalog-g14zqp48.js} +1 -1
- package/dist/chunks/{file-t8eheybj.js → catalog-g2s678q8.js} +35 -35
- package/dist/chunks/{file-3fj0ehej.js → catalog-g3hefyhg.js} +43 -43
- package/dist/chunks/{file-pp59n8pp.js → catalog-g40785jx.js} +24 -24
- package/dist/chunks/{file-pfjv880m.js → catalog-gbn0488z.js} +46 -46
- package/dist/chunks/{file-gd4qta3r.js → catalog-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-h03wrkyp.js → catalog-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-axvk3tbf.js → catalog-h2mv4fvy.js} +16 -16
- package/dist/chunks/{file-h6vf3j39.js → catalog-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-0pnmq97r.js → catalog-hb54p5yb.js} +16 -16
- package/dist/chunks/{file-d4jn0akt.js → catalog-hcbgn65v.js} +27 -27
- package/dist/chunks/{file-wpqth83p.js → catalog-hs6emqb7.js} +4 -4
- package/dist/chunks/{file-j56e64zr.js → catalog-j56e64zr.js} +1 -1
- package/dist/chunks/{file-jeanpfns.js → catalog-jeanpfns.js} +1 -1
- package/dist/chunks/{file-1r0yq1wn.js → catalog-jrekdh0e.js} +17 -17
- package/dist/chunks/{file-c9n252bm.js → catalog-kc1sdjz6.js} +11 -11
- package/dist/chunks/{file-rry1cpvn.js → catalog-ke2e09m8.js} +13 -13
- package/dist/chunks/{file-kg06axw8.js → catalog-kg06axw8.js} +1 -1
- package/dist/chunks/{file-ax4359t5.js → catalog-krfa0jkh.js} +22 -22
- package/dist/chunks/{file-y2vrj84a.js → catalog-kt5w8vxh.js} +10 -10
- package/dist/chunks/{file-vsp1fds9.js → catalog-kvvk39gs.js} +21 -21
- package/dist/chunks/{file-w727stb0.js → catalog-kzm76jg0.js} +31 -31
- package/dist/chunks/{file-da2mbxce.js → catalog-m6he0ab9.js} +17 -17
- package/dist/chunks/{file-h60zwq4m.js → catalog-m7y3f53v.js} +4 -4
- package/dist/chunks/{file-6jnybvqn.js → catalog-m86bnw2c.js} +9 -9
- package/dist/chunks/{file-m9w0rfyh.js → catalog-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-akadabsh.js → catalog-mfbjfwhw.js} +15 -15
- package/dist/chunks/{file-s3h59be2.js → catalog-mm236x98.js} +24 -24
- package/dist/chunks/{file-ah6b56rd.js → catalog-mvs8a40b.js} +9 -9
- package/dist/chunks/{file-szbdehq3.js → catalog-mwy0n3d8.js} +31 -31
- package/dist/chunks/{file-hbakxq5y.js → catalog-naxpjzwf.js} +17 -17
- package/dist/chunks/{file-j3ktvrzf.js → catalog-nd7e7p6j.js} +26 -26
- package/dist/chunks/{file-gzbkpp9m.js → catalog-ndqtf2h8.js} +6 -6
- package/dist/chunks/{file-nhy5jxhy.js → catalog-nhy5jxhy.js} +1 -1
- package/dist/chunks/{file-aq71ck84.js → catalog-npdjprar.js} +13 -13
- package/dist/chunks/{file-nv5vn7qx.js → catalog-nv5vn7qx.js} +2 -2
- package/dist/chunks/{file-24a117tm.js → catalog-nvddp2jr.js} +9 -9
- package/dist/chunks/{file-79xwf2jn.js → catalog-nww7dr0b.js} +12 -12
- package/dist/chunks/{file-9m3d1h1h.js → catalog-nzqeca5y.js} +4 -4
- package/dist/chunks/{file-yt0fqk68.js → catalog-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-j935v87r.js → catalog-paphc93g.js} +2 -2
- package/dist/chunks/{file-yq0x5dd5.js → catalog-pc2bv4aw.js} +15 -15
- package/dist/chunks/{file-verq85zk.js → catalog-pf9p9b3r.js} +4 -4
- package/dist/chunks/{file-yz3h3ntp.js → catalog-ph51feyp.js} +15 -15
- package/dist/chunks/{file-pjvnvgmy.js → catalog-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → catalog-pknna89w.js} +1 -1
- package/dist/chunks/{file-an7cqtb7.js → catalog-pmr4s4kc.js} +4 -4
- package/dist/chunks/{file-hnjcq03z.js → catalog-pnr6823z.js} +23 -23
- package/dist/chunks/{file-y4x12v72.js → catalog-ppht2n4g.js} +12 -12
- package/dist/chunks/{file-r1m6q3fm.js → catalog-prnbh1rd.js} +16 -16
- package/dist/chunks/{file-9pgc3c9f.js → catalog-ptdkvqj8.js} +3 -3
- package/dist/chunks/{file-gbe8bvty.js → catalog-q8v8tnc1.js} +8 -8
- package/dist/chunks/{file-egqspz5t.js → catalog-qb80b4fh.js} +14 -14
- package/dist/chunks/{file-7dqw4kz8.js → catalog-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-0gjrpm4q.js → catalog-qgzmpy9d.js} +19 -19
- package/dist/chunks/{file-qefhz522.js → catalog-qh5p97jn.js} +11 -11
- package/dist/chunks/{file-qmy7xtej.js → catalog-qmy7xtej.js} +1 -1
- package/dist/chunks/{file-vczh7xgt.js → catalog-qncbnjry.js} +20 -20
- package/dist/chunks/{file-qsdy395h.js → catalog-qsdy395h.js} +1 -1
- package/dist/chunks/{file-7yh4e7ss.js → catalog-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-r9mregkx.js → catalog-r9mregkx.js} +2 -2
- package/dist/chunks/catalog-rap9a73h.js +18 -0
- package/dist/chunks/{file-cn0yhb7k.js → catalog-rhjznqe6.js} +11 -11
- package/dist/chunks/{file-91p1v22t.js → catalog-rmdyxgmk.js} +8 -8
- package/dist/chunks/{file-3yknbgq7.js → catalog-rrbzdy6m.js} +13 -13
- package/dist/chunks/{file-865r9qcv.js → catalog-rw3yshec.js} +8 -8
- package/dist/chunks/{file-yqfy31rq.js → catalog-spj4rg7b.js} +13 -13
- package/dist/chunks/{file-rxe92ft5.js → catalog-svkvn5vy.js} +26 -26
- package/dist/chunks/{file-ydn3gg3r.js → catalog-szd80md9.js} +5 -5
- package/dist/chunks/{file-ma15yhyh.js → catalog-t71v2ka4.js} +5 -5
- package/dist/chunks/{file-pnfpsavj.js → catalog-t7c4qe2q.js} +5 -5
- package/dist/chunks/{file-gt8btckc.js → catalog-t9b942h9.js} +32 -32
- package/dist/chunks/{file-tazgh4e4.js → catalog-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → catalog-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → catalog-tdstcens.js} +1 -1
- package/dist/chunks/{file-tgqjfyja.js → catalog-tgqjfyja.js} +1 -1
- package/dist/chunks/{file-gv6a8nnw.js → catalog-th5km1p3.js} +5 -5
- package/dist/chunks/{file-8x96bj0m.js → catalog-tkmwgdpd.js} +4 -4
- package/dist/chunks/{file-xv4b1b4q.js → catalog-tpf47t0n.js} +47 -47
- package/dist/chunks/{file-6fex6vem.js → catalog-tsyh7etm.js} +4 -4
- package/dist/chunks/{file-tvtrv512.js → catalog-tvtrv512.js} +1 -1
- package/dist/chunks/{file-bd7brtc3.js → catalog-ty93vz5r.js} +9 -9
- package/dist/chunks/{file-svxygcjw.js → catalog-v2f6dcv3.js} +2 -2
- package/dist/chunks/{file-2hpfm54d.js → catalog-v7a36af2.js} +8 -8
- package/dist/chunks/{file-vsctkjm2.js → catalog-vchs5s93.js} +18 -18
- package/dist/chunks/{file-veqvce7d.js → catalog-veqvce7d.js} +1 -1
- package/dist/chunks/{file-zpjvc3ac.js → catalog-vm2qaa3d.js} +12 -12
- package/dist/chunks/{file-wgpg5g3d.js → catalog-vm9a092s.js} +18 -18
- package/dist/chunks/{file-6jyhw6dt.js → catalog-vnk10vcz.js} +24 -24
- package/dist/chunks/{file-9gy04t1n.js → catalog-vphz6f65.js} +63 -63
- package/dist/chunks/{file-x9vpcgg3.js → catalog-vq366y3r.js} +30 -30
- package/dist/chunks/{file-dcbb9xhy.js → catalog-vqf9e0dc.js} +10 -10
- package/dist/chunks/{file-vzcthcp8.js → catalog-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-w3wsvvr9.js → catalog-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-g0m6rrr1.js → catalog-w7pn3sr0.js} +23 -23
- package/dist/chunks/{file-2kpnaqjr.js → catalog-wadkepq2.js} +21 -21
- package/dist/chunks/{file-p1nm93x7.js → catalog-wbkyxrgf.js} +5 -5
- package/dist/chunks/{file-wd87259q.js → catalog-wd87259q.js} +1 -1
- package/dist/chunks/{file-sp0cj90t.js → catalog-wnvd00xx.js} +21 -21
- package/dist/chunks/{file-87deq66t.js → catalog-wtz46evs.js} +8 -8
- package/dist/chunks/{file-3kff94q5.js → catalog-wxmbf8jb.js} +11 -11
- package/dist/chunks/{file-x1ezjp6w.js → catalog-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-4j7j5868.js → catalog-x2gqbzrc.js} +3 -3
- package/dist/chunks/{file-qp9w0mn5.js → catalog-x609r0mq.js} +13 -13
- package/dist/chunks/{file-map7vc9e.js → catalog-x77cb90n.js} +4 -4
- package/dist/chunks/{file-4d8pxj8c.js → catalog-xhbedwbw.js} +31 -31
- package/dist/chunks/{file-zts5fb25.js → catalog-xn9jxgmv.js} +11 -11
- package/dist/chunks/{file-x060fdep.js → catalog-xr2f4p5f.js} +91 -91
- package/dist/chunks/{file-5m8ed8y5.js → catalog-xr6neyrm.js} +25 -25
- package/dist/chunks/catalog-xtpdeg7b.js +247 -0
- package/dist/chunks/{file-y1fvbwt7.js → catalog-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-c4a2d4g2.js → catalog-y27a5n37.js} +5 -5
- package/dist/chunks/{file-vj15hgm9.js → catalog-y52vz011.js} +8 -8
- package/dist/chunks/{file-z9qams9d.js → catalog-ycpjmz0e.js} +9 -9
- package/dist/chunks/{file-4t8p017q.js → catalog-ycth0a37.js} +13 -13
- package/dist/chunks/{file-fbm4qtpf.js → catalog-yhvahxsm.js} +13 -13
- package/dist/chunks/{file-pndtw5qe.js → catalog-yp72p6ry.js} +46 -46
- package/dist/chunks/{file-yrhqyw5v.js → catalog-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-s4enseaf.js → catalog-yrznvahk.js} +2 -2
- package/dist/chunks/{file-cf9snega.js → catalog-yw61z5xf.js} +29 -29
- package/dist/chunks/{file-8cypfrbh.js → catalog-yyszrz3j.js} +4 -4
- package/dist/chunks/{file-z0bkrqjs.js → catalog-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-1ac4bme3.js → catalog-z2yczqcp.js} +5 -5
- package/dist/chunks/{file-29x78va6.js → catalog-z63w68vq.js} +6 -6
- package/dist/chunks/{file-3ra6k2ma.js → catalog-z7hdpy7x.js} +9 -9
- package/dist/chunks/{file-q043d12m.js → catalog-z8rw9kn4.js} +11 -11
- package/dist/chunks/{file-zeh9ct20.js → catalog-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-drjkjrg9.js → catalog-zf2hrsja.js} +6 -6
- package/dist/chunks/{file-t6xdqw2p.js → catalog-zfkj2kxx.js} +9 -9
- package/dist/chunks/{file-n3ehebhz.js → catalog-zq81vz9n.js} +12 -12
- package/dist/chunks/{file-zr2ceqn5.js → catalog-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-amkbtr58.js → catalog-zr5scsq3.js} +15 -15
- package/dist/chunks/{file-zxq2ej10.js → catalog-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +73 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +360 -360
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +73 -73
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +117 -117
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +93 -93
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +1 -1
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- 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/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +111 -111
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +1 -1
- 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 +89 -89
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +99 -99
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +7 -7
- 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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/file-h591h6nq.js +0 -247
- package/dist/chunks/file-ht5y0zrb.js +0 -18
- /package/dist/chunks/{file-0mesazry.js → catalog-0mesazry.js} +0 -0
- /package/dist/chunks/{file-0qkdqm5v.js → catalog-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → catalog-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → catalog-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → catalog-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → catalog-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → catalog-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → catalog-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → catalog-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → catalog-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → catalog-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → catalog-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → catalog-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → catalog-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → catalog-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → catalog-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → catalog-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → catalog-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → catalog-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → catalog-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → catalog-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → catalog-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → catalog-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → catalog-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → catalog-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → catalog-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → catalog-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → catalog-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → catalog-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → catalog-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → catalog-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → catalog-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → catalog-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → catalog-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → catalog-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → catalog-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → catalog-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → catalog-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → catalog-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → catalog-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → catalog-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → catalog-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → catalog-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → catalog-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → catalog-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → catalog-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → catalog-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → catalog-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → catalog-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → catalog-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → catalog-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → catalog-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → catalog-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → catalog-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → catalog-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → catalog-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → catalog-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → catalog-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → catalog-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → catalog-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → catalog-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → catalog-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → catalog-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → catalog-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → catalog-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → catalog-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → catalog-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → catalog-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → catalog-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → catalog-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → catalog-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → catalog-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → catalog-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → catalog-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → catalog-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → catalog-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → catalog-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → catalog-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → catalog-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → catalog-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → catalog-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → catalog-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → catalog-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → catalog-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → catalog-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → catalog-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → catalog-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → catalog-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → catalog-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → catalog-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → catalog-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → catalog-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → catalog-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./catalog-vchs5s93.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./catalog-6t8hcs61.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./catalog-mm236x98.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./catalog-zq81vz9n.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./catalog-6178vqjw.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./catalog-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./catalog-x77cb90n.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./catalog-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./catalog-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./catalog-zf2hrsja.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./catalog-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service79;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service59;
|
|
58
|
+
const toolOutput = yield* Service52;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./catalog-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./catalog-kt5w8vxh.js";
|
|
8
8
|
import {
|
|
9
9
|
ID18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./catalog-81swgkk7.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./catalog-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node85
|
|
17
|
+
} from "./catalog-ph51feyp.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node84
|
|
21
|
+
} from "./catalog-vchs5s93.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./catalog-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./catalog-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node81
|
|
31
|
+
} from "./catalog-jrekdh0e.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./catalog-th5km1p3.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make19
|
|
38
|
+
} from "./catalog-wxmbf8jb.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./catalog-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./catalog-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event11,
|
|
53
|
+
Info: () => Info21,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service58,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node62
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,7 +82,7 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info21 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event11 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service58 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service76;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make19;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event11.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical3(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical3(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical3(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service58.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node62 = makeLocationNode({
|
|
273
|
+
service: Service58,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info21, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event11, Service58, node62, exports_worktree2, OperationError2 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./catalog-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node83
|
|
10
|
+
} from "./catalog-kt5w8vxh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node81
|
|
14
|
+
} from "./catalog-jrekdh0e.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./catalog-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./catalog-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: () => Error5,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service59,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node63,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
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 ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 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 Service59 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service59, 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(Service42, 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 Error5({ 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(Service42, 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 Error5({ 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(Service42, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.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(Service42, 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 Error5({ 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 Error5({ 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 Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node63 = makeLocationNode({
|
|
139
|
+
service: Service59,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error5({
|
|
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 { ID6, Error5, Service59, node63, noopLayer3, exports_snapshot2 };
|
|
@@ -1,117 +1,117 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./catalog-ph51feyp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./catalog-jrekdh0e.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID13,
|
|
11
|
+
Service71,
|
|
12
|
+
node75
|
|
13
|
+
} from "./catalog-3d1cjsm7.js";
|
|
14
14
|
import {
|
|
15
15
|
AgentNotFoundError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./catalog-6178vqjw.js";
|
|
17
17
|
import {
|
|
18
18
|
combine2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./catalog-02nrjc1r.js";
|
|
20
20
|
import {
|
|
21
21
|
provenance2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./catalog-1hc11dc4.js";
|
|
23
23
|
import {
|
|
24
24
|
entriesForRunner2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./catalog-2c9abtxg.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service70,
|
|
28
|
+
node74
|
|
29
|
+
} from "./catalog-qgzmpy9d.js";
|
|
30
30
|
import {
|
|
31
31
|
merge2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./catalog-cmjccx99.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service61,
|
|
35
|
+
node65
|
|
36
|
+
} from "./catalog-5a6m8f9a.js";
|
|
37
37
|
import {
|
|
38
38
|
make13
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./catalog-qb80b4fh.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service34,
|
|
42
|
+
node38
|
|
43
|
+
} from "./catalog-hcbgn65v.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service28,
|
|
46
|
+
node32
|
|
47
|
+
} from "./catalog-8s4wrv6z.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service48,
|
|
50
|
+
node51
|
|
51
|
+
} from "./catalog-mm236x98.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
Service26,
|
|
54
54
|
node30
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./catalog-8g83qwz1.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
57
|
+
Service24,
|
|
58
58
|
node28
|
|
59
|
-
} from "./
|
|
59
|
+
} from "./catalog-46ctkvr6.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
61
|
+
Service25,
|
|
62
|
+
node29
|
|
63
|
+
} from "./catalog-qncbnjry.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
65
|
+
Service27,
|
|
66
66
|
node31
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./catalog-h2mv4fvy.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service31,
|
|
70
|
+
node36
|
|
71
|
+
} from "./catalog-bwqemmcy.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service29,
|
|
74
|
+
node33
|
|
75
|
+
} from "./catalog-vq366y3r.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service40,
|
|
78
|
+
node43
|
|
79
|
+
} from "./catalog-ycth0a37.js";
|
|
80
80
|
import {
|
|
81
81
|
__export
|
|
82
|
-
} from "./
|
|
82
|
+
} from "./catalog-9rqn6x4v.js";
|
|
83
83
|
|
|
84
84
|
// src/session/context.ts
|
|
85
85
|
var exports_context = {};
|
|
86
86
|
__export(exports_context, {
|
|
87
|
-
Service: () =>
|
|
87
|
+
Service: () => Service23,
|
|
88
88
|
SessionContext: () => exports_context,
|
|
89
|
-
node: () =>
|
|
89
|
+
node: () => node27
|
|
90
90
|
});
|
|
91
91
|
import { Model } from "@opencode/schema/model";
|
|
92
92
|
import { Context, Effect, Layer } from "effect";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
|
-
class
|
|
94
|
+
class Service23 extends Context.Service()("@opencode/SessionContext") {
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
97
|
-
const agents = yield*
|
|
98
|
-
const builtins = yield*
|
|
99
|
-
const catalog = yield*
|
|
100
|
-
const db = (yield*
|
|
101
|
-
const discovery = yield*
|
|
102
|
-
const entries = yield*
|
|
103
|
-
const location = yield*
|
|
104
|
-
const mcpInstructions = yield*
|
|
105
|
-
const mcpTools = yield*
|
|
106
|
-
const models = yield*
|
|
107
|
-
const request = yield*
|
|
108
|
-
const referenceInstructions = yield*
|
|
109
|
-
const skillInstructions = yield*
|
|
110
|
-
const store = yield*
|
|
111
|
-
const registry = yield*
|
|
96
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
97
|
+
const agents = yield* Service71;
|
|
98
|
+
const builtins = yield* Service28;
|
|
99
|
+
const catalog = yield* Service61;
|
|
100
|
+
const db = (yield* Service80).db;
|
|
101
|
+
const discovery = yield* Service34;
|
|
102
|
+
const entries = yield* Service31;
|
|
103
|
+
const location = yield* Service76;
|
|
104
|
+
const mcpInstructions = yield* Service24;
|
|
105
|
+
const mcpTools = yield* Service26;
|
|
106
|
+
const models = yield* Service40;
|
|
107
|
+
const request = yield* Service29;
|
|
108
|
+
const referenceInstructions = yield* Service25;
|
|
109
|
+
const skillInstructions = yield* Service27;
|
|
110
|
+
const store = yield* Service70;
|
|
111
|
+
const registry = yield* Service48;
|
|
112
112
|
const resolveModel = (session) => models.resolve(session, catalog.model.available);
|
|
113
113
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
114
|
-
const agent = yield* agents.get(
|
|
114
|
+
const agent = yield* agents.get(ID13.make("title"));
|
|
115
115
|
if (!agent)
|
|
116
116
|
return;
|
|
117
117
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -186,29 +186,29 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
186
186
|
tools: selection.tools
|
|
187
187
|
};
|
|
188
188
|
});
|
|
189
|
-
return
|
|
189
|
+
return Service23.of({ select, load, resolveModel, selectTitle, request });
|
|
190
190
|
}));
|
|
191
191
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => Model.VariantID.make(id));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node27 = makeLocationNode({
|
|
193
|
+
service: Service23,
|
|
194
194
|
layer,
|
|
195
195
|
deps: [
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
196
|
+
node75,
|
|
197
|
+
node65,
|
|
198
|
+
node85,
|
|
199
|
+
node32,
|
|
200
|
+
node38,
|
|
201
|
+
node36,
|
|
202
|
+
node81,
|
|
203
203
|
node28,
|
|
204
204
|
node30,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
node29,
|
|
206
|
+
node43,
|
|
207
|
+
node33,
|
|
208
|
+
node74,
|
|
209
209
|
node31,
|
|
210
|
-
|
|
210
|
+
node51
|
|
211
211
|
]
|
|
212
212
|
});
|
|
213
213
|
|
|
214
|
-
export {
|
|
214
|
+
export { Service23, node27, exports_context };
|