@opencode/core 0.0.0-dev-19506 → 0.0.0-dev-19509
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{catalog-ar7d2gdc.js → worktree-0940wtvk.js} +51 -51
- package/dist/chunks/{catalog-615v7cwf.js → worktree-0ctm8j7h.js} +56 -56
- package/dist/chunks/{catalog-8e2be5x3.js → worktree-0npjq9jf.js} +2 -2
- package/dist/chunks/{catalog-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-nd7e7p6j.js → worktree-0tzb1dzm.js} +26 -26
- package/dist/chunks/{catalog-f2n192rq.js → worktree-1acjjqhc.js} +4 -4
- package/dist/chunks/{catalog-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-ansp9v5s.js → worktree-1dpnrefp.js} +28 -28
- package/dist/chunks/{catalog-bwqemmcy.js → worktree-1fzw0h16.js} +16 -16
- package/dist/chunks/{catalog-9dhyqv6n.js → worktree-1smds1mj.js} +11 -11
- package/dist/chunks/{catalog-b8b3f19r.js → worktree-1tjg7tvh.js} +9 -9
- package/dist/chunks/{catalog-56gdpj1q.js → worktree-1ygqh575.js} +9 -9
- package/dist/chunks/{catalog-xr6neyrm.js → worktree-215v1k75.js} +17 -17
- package/dist/chunks/{catalog-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{catalog-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-yp72p6ry.js → worktree-2c9cavng.js} +34 -34
- package/dist/chunks/{catalog-c5erwwx0.js → worktree-2dtw8x15.js} +3 -3
- package/dist/chunks/{catalog-vm2qaa3d.js → worktree-2j5ah8jf.js} +15 -15
- package/dist/chunks/{catalog-tgqjfyja.js → worktree-2t72zxyz.js} +3 -3
- package/dist/chunks/{catalog-ycpjmz0e.js → worktree-339ss3x3.js} +11 -11
- package/dist/chunks/{catalog-6t8hcs61.js → worktree-39pb4tj2.js} +30 -30
- package/dist/chunks/{catalog-39t56ws4.js → worktree-39z097b6.js} +41 -41
- package/dist/chunks/{catalog-f2gse5fy.js → worktree-3cdjp2z1.js} +6 -6
- package/dist/chunks/{catalog-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{catalog-82pt8syc.js → worktree-3sdww6fp.js} +36 -36
- package/dist/chunks/{catalog-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-2x7cych0.js → worktree-3sz5ktbs.js} +8 -8
- package/dist/chunks/{catalog-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-ferwhf5k.js → worktree-40be3fby.js} +14 -14
- package/dist/chunks/{catalog-2ve45fd6.js → worktree-42424m2k.js} +5 -5
- package/dist/chunks/{catalog-cyzajxxm.js → worktree-46947paf.js} +23 -23
- package/dist/chunks/{catalog-2k536ypt.js → worktree-4x24p3x4.js} +5 -5
- package/dist/chunks/{catalog-0ajdgxne.js → worktree-4y66k410.js} +5 -5
- package/dist/chunks/{catalog-vnk10vcz.js → worktree-4zktfs0e.js} +35 -35
- package/dist/chunks/{catalog-npdjprar.js → worktree-59h2sd9w.js} +13 -13
- package/dist/chunks/{catalog-8a0b7fze.js → worktree-5cvc0nrh.js} +4 -4
- package/dist/chunks/{catalog-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-pmr4s4kc.js → worktree-5q02cxx3.js} +4 -4
- package/dist/chunks/{catalog-wtz46evs.js → worktree-5sdemcz3.js} +8 -8
- package/dist/chunks/{catalog-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-39yh2y93.js → worktree-5y5thrnn.js} +23 -23
- package/dist/chunks/{catalog-34dxdks9.js → worktree-61rrve2h.js} +23 -23
- package/dist/chunks/{catalog-cdhqkse9.js → worktree-61sb7bcr.js} +12 -12
- package/dist/chunks/{catalog-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{catalog-9jd6gdwh.js → worktree-69t96w4v.js} +27 -27
- package/dist/chunks/{catalog-5h3w3d4e.js → worktree-6g16d2bh.js} +5 -5
- package/dist/chunks/{catalog-m86bnw2c.js → worktree-6jnybvqn.js} +9 -9
- package/dist/chunks/{catalog-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{catalog-pf9p9b3r.js → worktree-6npnztgt.js} +4 -4
- package/dist/chunks/{catalog-ppht2n4g.js → worktree-6sfzc8j3.js} +8 -8
- package/dist/chunks/{catalog-qmy7xtej.js → worktree-6shvhte3.js} +1 -1
- package/dist/chunks/{catalog-8ncxre87.js → worktree-6tpyx64t.js} +43 -43
- package/dist/chunks/{catalog-tpf47t0n.js → worktree-6xv9zrws.js} +47 -47
- package/dist/chunks/{catalog-dw1fjyb0.js → worktree-6ygcjmn6.js} +5 -5
- package/dist/chunks/{catalog-jrekdh0e.js → worktree-6zfbav3y.js} +14 -14
- package/dist/chunks/{catalog-mm236x98.js → worktree-6zzmvhm0.js} +24 -24
- package/dist/chunks/{catalog-71q4at8m.js → worktree-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-nzqeca5y.js → worktree-721cw5cc.js} +4 -4
- package/dist/chunks/{catalog-cz2rt84b.js → worktree-73483k7j.js} +13 -13
- package/dist/chunks/{catalog-r5x6zcsm.js → worktree-73tb2d7t.js} +3 -3
- package/dist/chunks/{catalog-z2yczqcp.js → worktree-73xy8fsw.js} +5 -5
- package/dist/chunks/{catalog-0eh3yka3.js → worktree-77nksagb.js} +20 -20
- package/dist/chunks/{catalog-axqcdv2d.js → worktree-78n98qb4.js} +18 -18
- package/dist/chunks/{catalog-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-vchs5s93.js → worktree-7gf7znvm.js} +16 -16
- package/dist/chunks/{catalog-rmdyxgmk.js → worktree-7m5f9412.js} +8 -8
- package/dist/chunks/{catalog-g3hefyhg.js → worktree-7x1jk2s0.js} +40 -40
- package/dist/chunks/{catalog-x2gqbzrc.js → worktree-7xv0edjs.js} +5 -5
- package/dist/chunks/{catalog-81swgkk7.js → worktree-81swgkk7.js} +2 -2
- package/dist/chunks/{catalog-wxmbf8jb.js → worktree-84esvpjp.js} +8 -8
- package/dist/chunks/{catalog-2q8xpyyd.js → worktree-86m78waa.js} +7 -7
- package/dist/chunks/{catalog-zf2hrsja.js → worktree-8a649t19.js} +6 -6
- package/dist/chunks/{catalog-1ghwhpxv.js → worktree-8c13b1f6.js} +15 -15
- package/dist/chunks/{catalog-z7hdpy7x.js → worktree-8c3x6q07.js} +9 -9
- package/dist/chunks/{catalog-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-rw3yshec.js → worktree-8grtj0b5.js} +8 -8
- package/dist/chunks/{catalog-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{catalog-4b30a42t.js → worktree-8x177ym8.js} +17 -17
- package/dist/chunks/{catalog-a3457skp.js → worktree-97n9g1za.js} +37 -37
- package/dist/chunks/{catalog-qb80b4fh.js → worktree-9abatgz1.js} +15 -15
- package/dist/chunks/{catalog-t71v2ka4.js → worktree-9w4ppqge.js} +5 -5
- package/dist/chunks/{catalog-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{catalog-ke2e09m8.js → worktree-aa3dep6r.js} +15 -15
- package/dist/chunks/{catalog-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-35pk5389.js → worktree-adm5ft2x.js} +18 -18
- package/dist/chunks/{catalog-av1vdf1t.js → worktree-apxk5rve.js} +32 -32
- package/dist/chunks/{catalog-6qvnkqyv.js → worktree-aq5rptpm.js} +19 -19
- package/dist/chunks/{catalog-dhjmfj2m.js → worktree-asz5pcm8.js} +13 -13
- package/dist/chunks/{catalog-krfa0jkh.js → worktree-awhv1hxp.js} +22 -22
- package/dist/chunks/{catalog-m6he0ab9.js → worktree-b0pfq9rw.js} +17 -17
- package/dist/chunks/{catalog-tsyh7etm.js → worktree-b3psc49m.js} +6 -6
- package/dist/chunks/{catalog-4vs6efvm.js → worktree-b46p56xf.js} +7 -7
- package/dist/chunks/{catalog-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-2pvk2fw9.js → worktree-ba58znz1.js} +21 -21
- package/dist/chunks/{catalog-06x8he3q.js → worktree-baaqp4zd.js} +4 -4
- package/dist/chunks/{catalog-vm9a092s.js → worktree-bc078hx2.js} +21 -21
- package/dist/chunks/{catalog-fxqygnfa.js → worktree-bha4atvq.js} +4 -4
- package/dist/chunks/{catalog-8d02t69k.js → worktree-bjhqm2jc.js} +22 -22
- package/dist/chunks/{catalog-mwy0n3d8.js → worktree-bxss1q04.js} +29 -29
- package/dist/chunks/{catalog-9mc00xsa.js → worktree-cafdv0ym.js} +9 -9
- package/dist/chunks/{catalog-kvvk39gs.js → worktree-cavr175a.js} +4 -4
- package/dist/chunks/{catalog-mfbjfwhw.js → worktree-cbbnw05y.js} +15 -15
- package/dist/chunks/{catalog-c8ybyaw7.js → worktree-cfk5fh02.js} +13 -13
- package/dist/chunks/{catalog-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{catalog-jeanpfns.js → worktree-csayd5d3.js} +1 -1
- package/dist/chunks/{catalog-ayhdv494.js → worktree-csebhh29.js} +9 -9
- package/dist/chunks/{catalog-szd80md9.js → worktree-cx7w19tq.js} +10 -10
- package/dist/chunks/{catalog-vq366y3r.js → worktree-d807hzdp.js} +32 -32
- package/dist/chunks/{catalog-yyszrz3j.js → worktree-dbyd747x.js} +6 -6
- package/dist/chunks/{catalog-enw6c2wm.js → worktree-ddyp6dwd.js} +23 -23
- package/dist/chunks/{catalog-ph51feyp.js → worktree-dvgdgw3v.js} +11 -11
- package/dist/chunks/worktree-dxj72tfx.js +18 -0
- package/dist/chunks/{catalog-nhy5jxhy.js → worktree-e82z9tr0.js} +7 -7
- package/dist/chunks/{catalog-02nrjc1r.js → worktree-eaj1djv9.js} +4 -4
- package/dist/chunks/{catalog-7cp3ngcm.js → worktree-eb2th8mh.js} +27 -27
- package/dist/chunks/{catalog-49hrpkdk.js → worktree-ebc7h8jh.js} +4 -4
- package/dist/chunks/{catalog-tkmwgdpd.js → worktree-edrmdtr5.js} +4 -4
- package/dist/chunks/{catalog-y27a5n37.js → worktree-ej5ddtfv.js} +5 -5
- package/dist/chunks/{catalog-x77cb90n.js → worktree-ejdkdwzs.js} +4 -4
- package/dist/chunks/{catalog-gbn0488z.js → worktree-ert0es5w.js} +42 -42
- package/dist/chunks/{catalog-t7c4qe2q.js → worktree-et0ngb76.js} +8 -8
- package/dist/chunks/{catalog-1q930z6k.js → worktree-etbytr9f.js} +18 -18
- package/dist/chunks/{catalog-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-xhbedwbw.js → worktree-ewt4vtrb.js} +26 -26
- package/dist/chunks/{catalog-cza9j1er.js → worktree-f1mdy5hp.js} +1 -1
- package/dist/chunks/{catalog-h2mv4fvy.js → worktree-f3m2n1aw.js} +18 -18
- package/dist/chunks/{catalog-z8rw9kn4.js → worktree-f59qb7z8.js} +11 -11
- package/dist/chunks/{catalog-f828m53h.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{catalog-87r09b0p.js → worktree-fmskcfx8.js} +15 -15
- package/dist/chunks/{catalog-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-xr2f4p5f.js → worktree-g0rx3fxn.js} +85 -85
- package/dist/chunks/{catalog-prnbh1rd.js → worktree-g2ww2bbh.js} +16 -16
- package/dist/chunks/{catalog-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-9d8v8ke2.js → worktree-gda53zk6.js} +12 -12
- package/dist/chunks/{catalog-3fc6dm20.js → worktree-gdvy8fx6.js} +4 -4
- package/dist/chunks/{catalog-wbkyxrgf.js → worktree-gg7pg1rj.js} +5 -5
- package/dist/chunks/{catalog-4tdnxzbn.js → worktree-gm9ea5b0.js} +20 -20
- package/dist/chunks/{catalog-d3h909cw.js → worktree-gsa99s6r.js} +11 -11
- package/dist/chunks/{catalog-6sr2ffg0.js → worktree-gzswxrvt.js} +40 -40
- package/dist/chunks/{catalog-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-q8v8tnc1.js → worktree-h7n6nt9k.js} +8 -8
- package/dist/chunks/{catalog-3d1cjsm7.js → worktree-ha84e8c9.js} +24 -24
- package/dist/chunks/{catalog-b24n8q6t.js → worktree-hbe7nj0x.js} +32 -32
- package/dist/chunks/{catalog-g2s678q8.js → worktree-hbymah4p.js} +35 -35
- package/dist/chunks/{catalog-qh5p97jn.js → worktree-j47svp76.js} +11 -11
- package/dist/chunks/{catalog-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-9vs0xtad.js → worktree-j7wq2tw5.js} +3 -3
- package/dist/chunks/{catalog-6m8y77r5.js → worktree-jdh6s7jq.js} +8 -8
- package/dist/chunks/{catalog-erhy9pk7.js → worktree-jn9etapn.js} +20 -20
- package/dist/chunks/{catalog-35kk67hj.js → worktree-jnkjkfmr.js} +29 -29
- package/dist/chunks/{catalog-2vxstxdz.js → worktree-jv2bdre8.js} +4 -4
- package/dist/chunks/{catalog-9ndgejs0.js → worktree-ka3v088s.js} +6 -6
- package/dist/chunks/{catalog-kg06axw8.js → worktree-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-3c1tgrea.js → worktree-m2manvsf.js} +6 -6
- package/dist/chunks/{catalog-wnvd00xx.js → worktree-m33rf8wm.js} +21 -21
- package/dist/chunks/{catalog-80tbned8.js → worktree-m3x11w40.js} +11 -11
- package/dist/chunks/{catalog-97h7kfy1.js → worktree-m3zza4qd.js} +8 -8
- package/dist/chunks/{catalog-8s4wrv6z.js → worktree-m8avnk43.js} +16 -16
- package/dist/chunks/{catalog-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-mvs8a40b.js → worktree-mdbdsawz.js} +9 -9
- package/dist/chunks/{catalog-cb98cfvp.js → worktree-mja71egn.js} +20 -20
- package/dist/chunks/{catalog-g14zqp48.js → worktree-mm6ytk77.js} +8 -8
- package/dist/chunks/{catalog-yw61z5xf.js → worktree-myactzt4.js} +42 -42
- package/dist/chunks/{catalog-qgzmpy9d.js → worktree-n0efajb2.js} +15 -15
- package/dist/chunks/{catalog-evpex7pv.js → worktree-n4xj6hjn.js} +13 -13
- package/dist/chunks/{catalog-drrcka83.js → worktree-n5y107kn.js} +14 -14
- package/dist/chunks/{catalog-kt5w8vxh.js → worktree-nbddwgy7.js} +10 -10
- package/dist/chunks/{catalog-2k9t5jt1.js → worktree-nj09xgek.js} +12 -12
- package/dist/chunks/{catalog-0d9x3d3d.js → worktree-nx9eezaw.js} +6 -6
- package/dist/chunks/{catalog-70tpys2p.js → worktree-p2aekm07.js} +90 -90
- package/dist/chunks/{catalog-p44d8wdy.js → worktree-p44d8wdy.js} +2 -2
- package/dist/chunks/{catalog-dzyasay6.js → worktree-p7d99px1.js} +5 -5
- package/dist/chunks/{catalog-54zaz3g6.js → worktree-pemhtd8f.js} +11 -11
- package/dist/chunks/{catalog-esvwx42b.js → worktree-pjjrh1z1.js} +30 -30
- package/dist/chunks/{catalog-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-ndqtf2h8.js → worktree-pt3jfr41.js} +6 -6
- package/dist/chunks/{catalog-y52vz011.js → worktree-pvbb37c4.js} +10 -10
- package/dist/chunks/{catalog-5a6m8f9a.js → worktree-pyw57n7w.js} +28 -28
- package/dist/chunks/{catalog-x609r0mq.js → worktree-pz1grgc9.js} +13 -13
- package/dist/chunks/{catalog-7qq57c1m.js → worktree-q2t36530.js} +9 -9
- package/dist/chunks/{catalog-qgn6gcr1.js → worktree-qgn6gcr1.js} +1 -1
- package/dist/chunks/{catalog-2c9abtxg.js → worktree-qhrw8p3b.js} +8 -8
- package/dist/chunks/{catalog-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-6178vqjw.js → worktree-qwkytnft.js} +3 -3
- package/dist/chunks/{catalog-a06z6dg8.js → worktree-qyth7dhn.js} +21 -21
- package/dist/chunks/{catalog-v7a36af2.js → worktree-r1gh3j25.js} +10 -10
- package/dist/chunks/{catalog-7s08acyf.js → worktree-r4emgha1.js} +28 -28
- package/dist/chunks/{catalog-r9mregkx.js → worktree-r9mregkx.js} +2 -2
- package/dist/chunks/{catalog-dywb0nnh.js → worktree-rcjnff0b.js} +298 -298
- package/dist/chunks/{catalog-3q1jyqhd.js → worktree-rfnzy394.js} +1 -1
- package/dist/chunks/{catalog-qncbnjry.js → worktree-ryha7zpe.js} +18 -18
- package/dist/chunks/{catalog-27kynfr9.js → worktree-s4q1c2dk.js} +70 -70
- package/dist/chunks/{catalog-ec8389mk.js → worktree-shh6fz4q.js} +4 -4
- package/dist/chunks/{catalog-8g83qwz1.js → worktree-sj94bf0y.js} +28 -28
- package/dist/chunks/{catalog-20tp6ykn.js → worktree-sqwpcrch.js} +159 -159
- package/dist/chunks/{catalog-dj9sq318.js → worktree-t0fxg8b9.js} +5 -5
- package/dist/chunks/{catalog-5kptn8c0.js → worktree-t0x5rdq8.js} +9 -9
- package/dist/chunks/{catalog-spj4rg7b.js → worktree-t1ej9bcf.js} +18 -18
- package/dist/chunks/{catalog-pc2bv4aw.js → worktree-t56rw2gy.js} +27 -27
- package/dist/chunks/{catalog-7hxs3egg.js → worktree-t6bwgaqm.js} +29 -29
- package/dist/chunks/{catalog-zr5scsq3.js → worktree-t7bs0stv.js} +15 -15
- package/dist/chunks/{catalog-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{catalog-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-th5km1p3.js → worktree-th5km1p3.js} +2 -2
- package/dist/chunks/{catalog-wadkepq2.js → worktree-th62sywm.js} +26 -26
- package/dist/chunks/{catalog-naxpjzwf.js → worktree-thp4thqf.js} +19 -19
- package/dist/chunks/{catalog-cg45paqr.js → worktree-tjqe909z.js} +1 -1
- package/dist/chunks/{catalog-kzm76jg0.js → worktree-trkat1qx.js} +45 -45
- package/dist/chunks/{catalog-1d8nyk1s.js → worktree-tta2m7dp.js} +11 -11
- package/dist/chunks/{catalog-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-nvddp2jr.js → worktree-v30hr118.js} +9 -9
- package/dist/chunks/{catalog-vqf9e0dc.js → worktree-v51fjskz.js} +16 -16
- package/dist/chunks/{catalog-85255ppm.js → worktree-v600ka5t.js} +30 -30
- package/dist/chunks/{catalog-8dwx0wyg.js → worktree-v7t3chrs.js} +33 -33
- package/dist/chunks/{catalog-pnr6823z.js → worktree-v912edbj.js} +18 -18
- package/dist/chunks/{catalog-rhjznqe6.js → worktree-v9ht5xd0.js} +11 -11
- package/dist/chunks/{catalog-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-ty93vz5r.js → worktree-vjy2y45p.js} +11 -11
- package/dist/chunks/{catalog-hb54p5yb.js → worktree-vkz51m42.js} +32 -32
- package/dist/chunks/{catalog-zq81vz9n.js → worktree-vvgctfdq.js} +12 -12
- package/dist/chunks/{catalog-t9b942h9.js → worktree-vvsqdwqz.js} +34 -34
- package/dist/chunks/{catalog-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-1hc11dc4.js → worktree-w1k39n5e.js} +4 -4
- package/dist/chunks/{catalog-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-crm7m9ze.js → worktree-w428zktn.js} +18 -18
- package/dist/chunks/{catalog-dmy52nw1.js → worktree-w76gpamr.js} +18 -18
- package/dist/chunks/{catalog-ptdkvqj8.js → worktree-w90x3s5c.js} +17 -17
- package/dist/chunks/{catalog-6az0k8v4.js → worktree-w9najb13.js} +8 -8
- package/dist/chunks/{catalog-svkvn5vy.js → worktree-wbf78t6w.js} +27 -27
- package/dist/chunks/{catalog-nww7dr0b.js → worktree-wc3yqjej.js} +15 -15
- package/dist/chunks/{catalog-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-m7y3f53v.js → worktree-wkgmxye7.js} +4 -4
- package/dist/chunks/{catalog-kc1sdjz6.js → worktree-wrjmdcd7.js} +11 -11
- package/dist/chunks/{catalog-nv5vn7qx.js → worktree-wvmhx4nb.js} +8 -8
- package/dist/chunks/{catalog-vphz6f65.js → worktree-wyy37vyq.js} +58 -58
- package/dist/chunks/{catalog-g40785jx.js → worktree-wz5zt972.js} +24 -24
- package/dist/chunks/{catalog-4cmb9enr.js → worktree-x0041dth.js} +14 -14
- package/dist/chunks/{catalog-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-4786se8r.js → worktree-x1w6f45z.js} +1 -1
- package/dist/chunks/{catalog-zfkj2kxx.js → worktree-x3af3qht.js} +9 -9
- package/dist/chunks/{catalog-844ef7ks.js → worktree-x3et2xth.js} +8 -8
- package/dist/chunks/{catalog-d4tx6er0.js → worktree-xab957cg.js} +20 -20
- package/dist/chunks/{catalog-46ctkvr6.js → worktree-xbrnhvx4.js} +21 -21
- package/dist/chunks/{catalog-v2f6dcv3.js → worktree-xg9t41r3.js} +2 -2
- package/dist/chunks/{catalog-33mewpyb.js → worktree-xn8fxkx5.js} +6 -6
- package/dist/chunks/worktree-xptez47m.js +247 -0
- package/dist/chunks/{catalog-en5qyw6g.js → worktree-xwd0g7hm.js} +7 -7
- package/dist/chunks/{catalog-as21fg6w.js → worktree-xwjytmam.js} +35 -35
- package/dist/chunks/{catalog-hcbgn65v.js → worktree-xx24n8bp.js} +28 -28
- package/dist/chunks/{catalog-e17bkqjz.js → worktree-xx6cn220.js} +1 -1
- package/dist/chunks/{catalog-yhvahxsm.js → worktree-xx704vmn.js} +22 -22
- package/dist/chunks/{catalog-0st9n7we.js → worktree-xxmv8eye.js} +9 -9
- package/dist/chunks/{catalog-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-ycth0a37.js → worktree-y45pkspw.js} +13 -13
- package/dist/chunks/{catalog-dpkg50ah.js → worktree-y71avatq.js} +4 -4
- package/dist/chunks/{catalog-rrbzdy6m.js → worktree-yefxppqx.js} +15 -15
- package/dist/chunks/{catalog-0ft9cg2j.js → worktree-yr02nea7.js} +6 -6
- package/dist/chunks/{catalog-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{catalog-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{catalog-100840d2.js → worktree-z77pcmag.js} +24 -24
- package/dist/chunks/worktree-z926abd4.js +4 -0
- package/dist/chunks/{catalog-xn9jxgmv.js → worktree-za9cx4qh.js} +8 -8
- package/dist/chunks/{catalog-77kgmss4.js → worktree-zbjae951.js} +22 -22
- package/dist/chunks/{catalog-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{catalog-hs6emqb7.js → worktree-zhvsjxqr.js} +4 -4
- package/dist/chunks/{catalog-ea8nv0r7.js → worktree-zjf5xpx9.js} +2 -2
- package/dist/chunks/{catalog-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-4kdhngev.js → worktree-zsn9806r.js} +4 -4
- package/dist/chunks/{catalog-w7pn3sr0.js → worktree-zvnk3gn3.js} +23 -23
- package/dist/chunks/{catalog-cmjccx99.js → worktree-zw0bbc6p.js} +49 -49
- package/dist/chunks/worktree-zw6vqswj.js +22 -0
- package/dist/chunks/{catalog-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- 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 +80 -80
- 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 +118 -118
- package/dist/config/plugin/command.js +210 -210
- 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 +127 -127
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- 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 +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- 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 +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +361 -361
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +90 -90
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +91 -91
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +90 -90
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +81 -81
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +123 -123
- 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 +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +81 -81
- 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 +118 -118
- 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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- 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 +113 -113
- 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 +4 -4
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- 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 +3 -3
- 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 +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- 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 +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- 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 +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- 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 +116 -116
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +207 -207
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- 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 +5 -5
- 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 +2 -2
- 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 +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +83 -83
- 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 +77 -77
- package/dist/worktree/directory.js +2 -2
- 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 +92 -92
- package/package.json +8 -8
- package/dist/chunks/catalog-0mesazry.js +0 -4
- package/dist/chunks/catalog-3k53vc2x.js +0 -22
- package/dist/chunks/catalog-rap9a73h.js +0 -18
- package/dist/chunks/catalog-xtpdeg7b.js +0 -247
- /package/dist/chunks/{catalog-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → worktree-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-paphc93g.js → worktree-paphc93g.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./worktree-zw0bbc6p.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input9,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin23,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name9
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name9 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input9 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input9.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin23 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service71;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name9,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input9,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin4 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name9,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name9, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input9, Plugin23, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service80,
|
|
6
|
-
node85
|
|
7
|
-
} from "./catalog-ph51feyp.js";
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service79,
|
|
10
6
|
node84
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./worktree-dvgdgw3v.js";
|
|
12
8
|
import {
|
|
13
9
|
Service78,
|
|
14
10
|
node83
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./worktree-7gf7znvm.js";
|
|
12
|
+
import {
|
|
13
|
+
Service77,
|
|
14
|
+
node82
|
|
15
|
+
} from "./worktree-nbddwgy7.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./worktree-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node81,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service77;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service78;
|
|
102
|
+
const db = (yield* Service79).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service76.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node81 = makeGlobalNode({
|
|
277
|
+
service: Service76,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node83, node84, FSUtil.node, node82, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2,
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service76, node81, exports_project };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service40
|
|
3
|
+
} from "./worktree-ert0es5w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./worktree-t0x5rdq8.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
18
|
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -22,8 +22,8 @@ import { Effect } from "effect";
|
|
|
22
22
|
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service40;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin30 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { Plugin30,
|
|
38
|
+
export { Plugin30, exports_location_watcher };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./worktree-7gf7znvm.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node52
|
|
18
|
+
} from "./worktree-jn9etapn.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info17,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node51
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info17 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service78;
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info17.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info17.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node51 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node83, node52]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info17, Service45, node51, exports_reference2, Event8 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-zw0bbc6p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin9
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin9 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin9, exports_plan };
|
|
@@ -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: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
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 Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, 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(Service9, 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 Service10.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(Service9, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node13, exports_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-yefxppqx.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-6zfbav3y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service54,
|
|
13
13
|
canonical: () => canonical2,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node59
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service54 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service54, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node59 = LayerNode.unbound(Service54, Node.tags.values.global);
|
|
27
27
|
function canonical2(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical2(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service54, node59, canonical2, exports_location_service_map };
|