@opencode/core 0.0.0-dev-19517 → 0.0.0-dev-19518
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/{model-a5fqa70n.js → config-03tj29fc.js} +11 -11
- package/dist/chunks/{model-3q7h00b9.js → config-06gpdxnt.js} +27 -27
- package/dist/chunks/{model-bjgvxsns.js → config-0c6qpskm.js} +23 -23
- package/dist/chunks/{model-j11b5gx2.js → config-0d0dgjqj.js} +13 -13
- package/dist/chunks/{model-4wbg1ywa.js → config-0f25z0zc.js} +32 -32
- package/dist/chunks/{model-a5xy8rps.js → config-0h54jqbs.js} +8 -8
- package/dist/chunks/{model-xcs774s4.js → config-0jjy22eq.js} +9 -9
- package/dist/chunks/{model-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-0q0f95c6.js → config-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-pnsrke6y.js → config-0r2cj6n5.js} +17 -17
- package/dist/chunks/{model-e4dz0fmv.js → config-11zceq2r.js} +28 -28
- package/dist/chunks/{model-7yqnf43w.js → config-1d626cn7.js} +7 -7
- package/dist/chunks/{model-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-kfchwe9z.js → config-1edmbcdr.js} +22 -22
- package/dist/chunks/{model-sypghty7.js → config-1gsh612e.js} +7 -7
- package/dist/chunks/{model-ysj42rak.js → config-1ng2fnc2.js} +11 -11
- package/dist/chunks/{model-5mdrv3hm.js → config-1tq060df.js} +6 -6
- package/dist/chunks/{model-vs57cc1w.js → config-1vcqa5wr.js} +13 -13
- package/dist/chunks/{model-08y7zr51.js → config-1vhg4r3c.js} +15 -15
- package/dist/chunks/{model-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{model-c11jf028.js → config-22hkawpp.js} +10 -10
- package/dist/chunks/{model-2402vzrj.js → config-2402vzrj.js} +1 -1
- package/dist/chunks/{model-yyfky2bj.js → config-24zysf4r.js} +1 -1
- package/dist/chunks/{model-29x78va6.js → config-29x78va6.js} +2 -2
- package/dist/chunks/{model-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-2f0bjgcj.js → config-2f0bjgcj.js} +2 -2
- package/dist/chunks/{model-s9yxznb6.js → config-2hgjbaq7.js} +4 -4
- package/dist/chunks/{model-47ms443m.js → config-2trk0nf7.js} +7 -7
- package/dist/chunks/{model-cmm96jj5.js → config-2y9pqqb3.js} +25 -25
- package/dist/chunks/{model-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-hy1g3bgf.js → config-3ztdxds0.js} +1 -1
- package/dist/chunks/{model-s77a7x78.js → config-40es9cn4.js} +11 -11
- package/dist/chunks/{model-c23d720g.js → config-49w8mb30.js} +8 -8
- package/dist/chunks/{model-rbzvkf7k.js → config-4bjs7nez.js} +32 -32
- package/dist/chunks/{model-sn1q4jhb.js → config-4g5zjqyt.js} +11 -11
- package/dist/chunks/{model-1d13423j.js → config-4r6jt0gr.js} +11 -11
- package/dist/chunks/{model-0ajdgxne.js → config-4y66k410.js} +5 -5
- package/dist/chunks/{model-fs6bp36w.js → config-500m5zw2.js} +5 -5
- package/dist/chunks/{model-rsb1fe67.js → config-524b8jaz.js} +5 -5
- package/dist/chunks/{model-hm6af37m.js → config-57was9j6.js} +2 -2
- package/dist/chunks/{model-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{model-vvx5a9vg.js → config-5gb554bv.js} +21 -21
- package/dist/chunks/{model-7mv990wx.js → config-5kmgv739.js} +16 -16
- package/dist/chunks/{model-3j9mgshd.js → config-5svkr433.js} +24 -24
- package/dist/chunks/{model-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-f8ndr4p9.js → config-6028kv6n.js} +22 -22
- package/dist/chunks/config-662xge47.js +22 -0
- package/dist/chunks/{model-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{model-6ten4jdj.js → config-67nnzeww.js} +8 -8
- package/dist/chunks/{model-nq6g47t1.js → config-6e7x5tab.js} +35 -35
- package/dist/chunks/{model-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-fxd0s1jx.js → config-6s1e1kc4.js} +8 -8
- package/dist/chunks/{model-9wc403zm.js → config-6txkt4xs.js} +3 -3
- package/dist/chunks/{model-y5aw8mtm.js → config-6zpeh5ef.js} +12 -12
- package/dist/chunks/{model-71q4at8m.js → config-71q4at8m.js} +1 -1
- package/dist/chunks/{model-nwywsssq.js → config-71rg6xx2.js} +16 -16
- package/dist/chunks/{model-1bbkgx8g.js → config-73tb2d7t.js} +3 -3
- package/dist/chunks/{model-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-0dbz5dpj.js → config-7cst06m3.js} +6 -6
- package/dist/chunks/{model-qgn6gcr1.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{model-89z7vhwa.js → config-7e96baxm.js} +37 -37
- package/dist/chunks/{model-afw0evk7.js → config-7g37pjt1.js} +20 -20
- package/dist/chunks/{model-avm8jn6n.js → config-7gvwkz6m.js} +5 -5
- package/dist/chunks/{model-e09967m1.js → config-7zdx8nxd.js} +18 -18
- package/dist/chunks/{model-1wtaecq5.js → config-88e20h4f.js} +7 -7
- package/dist/chunks/{model-26ym7a2d.js → config-88sz8qcd.js} +4 -4
- package/dist/chunks/{model-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-8p4f9s12.js → config-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-jg0hsq4w.js → config-8sf41kz2.js} +18 -18
- package/dist/chunks/{model-dwax96b2.js → config-92k859we.js} +2 -2
- package/dist/chunks/{model-5vtpc8vp.js → config-93d817ps.js} +24 -24
- package/dist/chunks/{model-k9scmdec.js → config-9ecaftbj.js} +147 -147
- package/dist/chunks/{model-j55g5gc5.js → config-9edcvf27.js} +10 -10
- package/dist/chunks/{model-rwdp7x1n.js → config-9j0f6msb.js} +9 -9
- package/dist/chunks/{model-7wdjtyr9.js → config-9ky66zz9.js} +3 -3
- package/dist/chunks/{model-rsym84ch.js → config-9pv0dm11.js} +5 -5
- package/dist/chunks/{model-47th8ec4.js → config-9zfc7dfc.js} +8 -8
- package/dist/chunks/{model-a1bz86dw.js → config-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-4crb2xwh.js → config-a5tbwcpe.js} +9 -9
- package/dist/chunks/{model-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{model-sp4p9hk5.js → config-abmqkkp1.js} +27 -27
- package/dist/chunks/{model-cnkpq623.js → config-akfj6bkv.js} +9 -9
- package/dist/chunks/{model-an7cqtb7.js → config-an7cqtb7.js} +1 -1
- package/dist/chunks/{model-kjcjq4b3.js → config-ananwaz5.js} +28 -28
- package/dist/chunks/{model-0hw9gmp4.js → config-apr7yhtx.js} +64 -64
- package/dist/chunks/{model-34ytdzas.js → config-as02qwds.js} +1 -1
- package/dist/chunks/{model-19vf66h0.js → config-at5d07az.js} +4 -4
- package/dist/chunks/{model-aa9jsfqg.js → config-b037pt3h.js} +296 -296
- package/dist/chunks/{model-18ercc3f.js → config-b3cthcd0.js} +45 -45
- package/dist/chunks/{model-b10jyp57.js → config-b3wkxfg9.js} +1 -1
- package/dist/chunks/{model-6h7ssv2c.js → config-b53k7nra.js} +14 -14
- package/dist/chunks/{model-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-7925xp00.js → config-bdnmvxp8.js} +19 -19
- package/dist/chunks/{model-v2bqrexr.js → config-btpj8paq.js} +7 -7
- package/dist/chunks/{model-00pw3h10.js → config-bzr21bb0.js} +27 -27
- package/dist/chunks/{model-ndaxx38h.js → config-c2e2kqp2.js} +18 -18
- package/dist/chunks/{model-qqt871ed.js → config-ca4pzekc.js} +25 -25
- package/dist/chunks/{model-cfpkc3c9.js → config-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-4s650q2q.js → config-chn16zvr.js} +4 -4
- package/dist/chunks/{model-tyhtmtb1.js → config-chv1jva4.js} +18 -18
- package/dist/chunks/{model-zzsqbm8r.js → config-cyh7fw84.js} +11 -11
- package/dist/chunks/{model-7qq57c1m.js → config-d4eh0prg.js} +9 -9
- package/dist/chunks/{model-x5wa15pd.js → config-d96gh7mt.js} +21 -21
- package/dist/chunks/{model-wn601hgc.js → config-dg3w4ggv.js} +11 -11
- package/dist/chunks/{model-q0awa4pk.js → config-dggcr3pv.js} +6 -6
- package/dist/chunks/{model-jwvj9vdn.js → config-dhd4eaqs.js} +20 -20
- package/dist/chunks/{model-ddt2bs9e.js → config-dhmh7aw6.js} +4 -4
- package/dist/chunks/{model-hdbg4dz4.js → config-dm96vh24.js} +20 -20
- package/dist/chunks/{model-6s4by8s0.js → config-dmbf89sn.js} +13 -13
- package/dist/chunks/{model-frrmzkpb.js → config-dp3nd3hs.js} +17 -17
- package/dist/chunks/{model-jwcy2c2z.js → config-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-cmwkp3r5.js → config-dv1qgsyq.js} +8 -8
- package/dist/chunks/{model-d5c48xqa.js → config-dzwrky7c.js} +8 -8
- package/dist/chunks/{model-nhy5jxhy.js → config-e82z9tr0.js} +7 -7
- package/dist/chunks/{model-cgtmrgbf.js → config-e9anbn9n.js} +10 -10
- package/dist/chunks/{model-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-1acjjqhc.js → config-f2n192rq.js} +4 -4
- package/dist/chunks/{model-jvz76js5.js → config-f6ydgv65.js} +3 -3
- package/dist/chunks/{model-f828m53h.js → config-f828m53h.js} +2 -2
- package/dist/chunks/{model-stbyfcvy.js → config-fdypcd13.js} +17 -17
- package/dist/chunks/{model-kx7xa2sp.js → config-fex1r3p4.js} +4 -4
- package/dist/chunks/{model-r608fp9k.js → config-fgf2dbrw.js} +9 -9
- package/dist/chunks/{model-z1cqpf8w.js → config-fj7e7hth.js} +32 -32
- package/dist/chunks/{model-pw609sjz.js → config-fkx4c0gs.js} +21 -21
- package/dist/chunks/{model-yqbkvtfa.js → config-fm9rw644.js} +29 -29
- package/dist/chunks/{model-9wt1dgrq.js → config-fmc2g6nv.js} +15 -15
- package/dist/chunks/{model-49dhn78k.js → config-fnem5a14.js} +7 -7
- package/dist/chunks/{model-ggcxy6ha.js → config-fptn8mvr.js} +25 -25
- package/dist/chunks/{model-bzfw32px.js → config-fv2f4h05.js} +9 -9
- package/dist/chunks/{model-fxbjtjnd.js → config-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-j8hv5r0n.js → config-g0xjha3d.js} +13 -13
- package/dist/chunks/{model-pagpqc31.js → config-g1bjk10t.js} +31 -31
- package/dist/chunks/{model-5m0dtv2d.js → config-g3wmjmt9.js} +6 -6
- package/dist/chunks/{model-9p7k60b1.js → config-ga2gmxwj.js} +4 -4
- package/dist/chunks/{model-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-3fc6dm20.js → config-gdvy8fx6.js} +4 -4
- package/dist/chunks/{model-fnnbcqtc.js → config-ge7mz5hd.js} +20 -20
- package/dist/chunks/{model-bev58rz9.js → config-gxr0t54p.js} +22 -22
- package/dist/chunks/{model-h03wrkyp.js → config-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-zde5750y.js → config-hfs8yx7p.js} +6 -6
- package/dist/chunks/{model-a8hpxnmk.js → config-hktst2rm.js} +13 -13
- package/dist/chunks/{model-2g4vvh0x.js → config-j4a1nx2y.js} +25 -25
- package/dist/chunks/{model-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{model-427hzfby.js → config-j8vmgnn0.js} +6 -6
- package/dist/chunks/{model-95a4nxen.js → config-jc11nwvx.js} +9 -9
- package/dist/chunks/{model-r7nsrefv.js → config-jj72jhew.js} +6 -6
- package/dist/chunks/{model-hcz3zddy.js → config-jk9a1ysw.js} +5 -5
- package/dist/chunks/{model-zcqf6png.js → config-jkp0d30b.js} +6 -6
- package/dist/chunks/{model-znfzvn2k.js → config-jr349qs2.js} +3 -3
- package/dist/chunks/{model-hk6wyp9w.js → config-jw4srkvv.js} +32 -32
- package/dist/chunks/{model-4fq18jmq.js → config-jzghpn6f.js} +18 -18
- package/dist/chunks/{model-6hdpz7r5.js → config-jzyea8st.js} +18 -18
- package/dist/chunks/{model-kyf2eze9.js → config-k3exstdw.js} +18 -18
- package/dist/chunks/{model-av9b8y59.js → config-k5g1wwwc.js} +34 -34
- package/dist/chunks/{model-g500fjm7.js → config-k6vfasqn.js} +1 -1
- package/dist/chunks/{model-gy4p1xkh.js → config-kd92mjtq.js} +1 -1
- package/dist/chunks/{model-nsexsark.js → config-kdr9yt9m.js} +5 -5
- package/dist/chunks/{model-kg06axw8.js → config-kg06axw8.js} +1 -1
- package/dist/chunks/{model-970yf2am.js → config-kjfmk7ct.js} +9 -9
- package/dist/chunks/{model-vj40030b.js → config-kn3ebdxh.js} +34 -34
- package/dist/chunks/{model-fhs97t90.js → config-m2d0j7c0.js} +9 -9
- package/dist/chunks/{model-01ebgy6x.js → config-m4esdr3n.js} +25 -25
- package/dist/chunks/{model-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-9qbkfj45.js → config-mb834ncm.js} +27 -27
- package/dist/chunks/{model-1ygqh575.js → config-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-6fcggqzm.js → config-mhfjrman.js} +17 -17
- package/dist/chunks/{model-d0dbw1j5.js → config-mq1bq8jw.js} +22 -22
- package/dist/chunks/{model-0gr7cw0d.js → config-mqy0jkn2.js} +4 -4
- package/dist/chunks/{model-qkevazrs.js → config-mqzdvsp0.js} +7 -7
- package/dist/chunks/{model-zrs7pmt3.js → config-mrrn9raq.js} +6 -6
- package/dist/chunks/{model-6ra2j2vw.js → config-msd430t5.js} +40 -40
- package/dist/chunks/{model-7ydv0qnt.js → config-mt4184cb.js} +16 -16
- package/dist/chunks/{model-0393spk4.js → config-n06bkfsk.js} +23 -23
- package/dist/chunks/{model-bda9rjxj.js → config-n37c4crj.js} +9 -9
- package/dist/chunks/{model-gdkxy9zr.js → config-n6p3hzby.js} +9 -9
- package/dist/chunks/{model-11qz0t8e.js → config-n9f5sn04.js} +6 -6
- package/dist/chunks/{model-4wdant8n.js → config-ncm0m5yr.js} +4 -4
- package/dist/chunks/{model-kn2e7a30.js → config-ndnrqb0q.js} +4 -4
- package/dist/chunks/{model-qf49agjw.js → config-ndst5pn8.js} +28 -28
- package/dist/chunks/{model-ennqj48b.js → config-nesjbnnj.js} +87 -87
- package/dist/chunks/{model-h378ch1a.js → config-nw7c34jt.js} +28 -28
- package/dist/chunks/{model-zs4k4bm4.js → config-pc34g5xs.js} +15 -15
- package/dist/chunks/{model-af350n58.js → config-pdtg10ej.js} +41 -41
- package/dist/chunks/{model-yn2b00qa.js → config-pecphg4c.js} +13 -13
- package/dist/chunks/config-pf31ssb9.js +18 -0
- package/dist/chunks/{model-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{model-cdxne2ts.js → config-ptybd0xs.js} +10 -10
- package/dist/chunks/{model-v5w9803s.js → config-q928s5sj.js} +8 -8
- package/dist/chunks/{model-n5wh41er.js → config-qdhtn9s1.js} +13 -13
- package/dist/chunks/{model-z1bp4kmj.js → config-qmp2a6yc.js} +26 -26
- package/dist/chunks/{model-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{model-5j19hd5e.js → config-qx96c0x2.js} +14 -14
- package/dist/chunks/{model-g5p9v76r.js → config-qyjg9y2x.js} +18 -18
- package/dist/chunks/{model-f33hbkq0.js → config-r2g10xvh.js} +20 -20
- package/dist/chunks/{model-r9mregkx.js → config-r9mregkx.js} +2 -2
- package/dist/chunks/{model-dw1xw5kf.js → config-rbdwhr82.js} +5 -5
- package/dist/chunks/{model-tj0j24wc.js → config-rbsfdkxp.js} +8 -8
- package/dist/chunks/{model-2653mqwd.js → config-rh2ber99.js} +11 -11
- package/dist/chunks/{model-33r7arbr.js → config-rmn9a4a2.js} +35 -35
- package/dist/chunks/{model-01zqne1p.js → config-rs9bm7ga.js} +39 -39
- package/dist/chunks/{model-8gt682ks.js → config-rsqzvx49.js} +27 -27
- package/dist/chunks/{model-s4enseaf.js → config-s4enseaf.js} +2 -2
- package/dist/chunks/{model-vstdng3x.js → config-s70x6cty.js} +51 -51
- package/dist/chunks/{model-1mty6vw9.js → config-s76nk363.js} +12 -12
- package/dist/chunks/{model-61jhnvfj.js → config-sadtqs4n.js} +32 -32
- package/dist/chunks/{model-wtbqz04z.js → config-sahb3924.js} +6 -6
- package/dist/chunks/{model-r08zwg3r.js → config-sbkm8zpx.js} +18 -18
- package/dist/chunks/{model-25yd6z24.js → config-sc5xtfr6.js} +9 -9
- package/dist/chunks/{model-g8bpgwc7.js → config-sjwktnnh.js} +4 -4
- package/dist/chunks/{model-vkxpz7g2.js → config-szgy4byf.js} +4 -4
- package/dist/chunks/{model-6ck2t1rv.js → config-t0x5rdq8.js} +9 -9
- package/dist/chunks/{model-n6zxgjsd.js → config-t20bzte8.js} +11 -11
- package/dist/chunks/{model-s8j6jbjj.js → config-t51qk8jz.js} +4 -4
- package/dist/chunks/{model-0gdmqesm.js → config-t550f9t1.js} +4 -4
- package/dist/chunks/{model-4f5d4waw.js → config-t6r4qr4w.js} +15 -15
- package/dist/chunks/{model-e3mczv1f.js → config-t93ydmx7.js} +47 -47
- package/dist/chunks/{model-trn0ebkj.js → config-t97x3sry.js} +2 -2
- package/dist/chunks/{model-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-89znhe33.js → config-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-hacxhjzv.js → config-tdmbm035.js} +58 -58
- package/dist/chunks/{model-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{model-gv6a8nnw.js → config-th5km1p3.js} +5 -5
- package/dist/chunks/{model-emy07np5.js → config-thg7yc29.js} +23 -23
- package/dist/chunks/{model-rtrzf183.js → config-tjdk9e36.js} +26 -26
- package/dist/chunks/{model-3skdg1nm.js → config-tmagtvn3.js} +32 -32
- package/dist/chunks/config-ttqtcj3t.js +247 -0
- package/dist/chunks/{model-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{model-gmnnjgny.js → config-tx0fev4m.js} +5 -5
- package/dist/chunks/{model-m3j98nth.js → config-txsys697.js} +11 -11
- package/dist/chunks/{model-k5jh3d8v.js → config-tzw8cs40.js} +43 -43
- package/dist/chunks/{model-xb43fy6r.js → config-v3yrm497.js} +21 -21
- package/dist/chunks/{model-ca43bk3t.js → config-vcd6kxeh.js} +25 -25
- package/dist/chunks/{model-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{model-mtgrzfqg.js → config-vqrqq3f3.js} +22 -22
- package/dist/chunks/{model-pfhdynjr.js → config-vrt6kmsc.js} +23 -23
- package/dist/chunks/{model-ggtjpswj.js → config-vyd2mddb.js} +20 -20
- package/dist/chunks/{model-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-sqetbg69.js → config-w363maz7.js} +10 -10
- package/dist/chunks/{model-64bd1qya.js → config-w3vqsqf8.js} +23 -23
- package/dist/chunks/{model-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-aqtmwthd.js → config-w5ybyj9d.js} +39 -39
- package/dist/chunks/{model-0qbfsv0x.js → config-w7dwrt65.js} +4 -4
- package/dist/chunks/{model-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{model-ng8mejvs.js → config-we0x1hdb.js} +8 -8
- package/dist/chunks/{model-vnk050b0.js → config-wpg1dpye.js} +88 -88
- package/dist/chunks/{model-nv5vn7qx.js → config-wvmhx4nb.js} +8 -8
- package/dist/chunks/{model-km3xepye.js → config-wy2fmmjc.js} +14 -14
- package/dist/chunks/{model-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-9c2qq6zd.js → config-x1gpjyj9.js} +1 -1
- package/dist/chunks/{model-cdf4b59p.js → config-x39n36dp.js} +51 -51
- package/dist/chunks/{model-evy1cf6y.js → config-x5tyfv2w.js} +5 -5
- package/dist/chunks/{model-v8bbbck7.js → config-x9yka4mj.js} +17 -17
- package/dist/chunks/{model-px95k3y4.js → config-xch1wn2v.js} +50 -50
- package/dist/chunks/{model-w8xr7nv8.js → config-xh49vxj8.js} +5 -5
- package/dist/chunks/{model-2eknmf3c.js → config-xhbc1wmm.js} +16 -16
- package/dist/chunks/{model-njr1pezb.js → config-xjk8cg32.js} +4 -4
- package/dist/chunks/{model-sd864pem.js → config-xk0e2k2b.js} +15 -15
- package/dist/chunks/{model-s437nttj.js → config-xvfxhta6.js} +25 -25
- package/dist/chunks/{model-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-g2y161wv.js → config-y397pytd.js} +5 -5
- package/dist/chunks/{model-zfcp8yb0.js → config-y3gka0kp.js} +3 -3
- package/dist/chunks/{model-bwmrk78f.js → config-yb6gj76h.js} +17 -17
- package/dist/chunks/{model-rfxdn812.js → config-ycp3dazx.js} +41 -41
- package/dist/chunks/{model-zpn9qnw3.js → config-yhaaxm75.js} +4 -4
- package/dist/chunks/{model-yzf6cb4v.js → config-yqbxhepw.js} +26 -26
- package/dist/chunks/{model-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-qqmmpd78.js → config-z4ghpq8m.js} +13 -13
- package/dist/chunks/{model-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-vvqyasfx.js → config-zfexs0ry.js} +37 -37
- package/dist/chunks/{model-3qtwe70s.js → config-zfzb5y7k.js} +17 -17
- package/dist/chunks/{model-5bs4txnv.js → config-zg5p3s2w.js} +11 -11
- package/dist/chunks/{model-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- 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 +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- 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 +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 +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- 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 +75 -75
- 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 +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- 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 +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 +81 -81
- 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 +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 +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +85 -85
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- 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 +116 -116
- 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 +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 +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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +3 -3
- 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 +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 +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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +122 -122
- 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 +72 -72
- package/dist/session/store.js +86 -86
- 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 +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +216 -216
- 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 +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- 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 +122 -122
- package/dist/tool/plugin/edit.js +114 -114
- 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 +110 -110
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +106 -106
- 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 +15 -15
- 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 +2 -2
- 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 +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- 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 +73 -73
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- 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/model-91t0qgnn.js +0 -22
- package/dist/chunks/model-9zdhvgqs.js +0 -18
- package/dist/chunks/model-p57y74xn.js +0 -247
- /package/dist/chunks/{model-0mesazry.js → config-0mesazry.js} +0 -0
- /package/dist/chunks/{model-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{model-hrnqkpcd.js → config-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-j935v87r.js → config-j935v87r.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-twg0f83k.js → config-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-93d817ps.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-xch1wn2v.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent2 = {};
|
|
15
|
+
__export(exports_agent2, {
|
|
16
|
+
AgentPlugin: () => exports_agent2,
|
|
17
|
+
Plugin: () => Plugin30
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin30 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin12 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID13.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID13.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin12 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID13.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID13.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID13.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin12 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin30, exports_agent2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node82
|
|
7
|
+
} from "./config-9edcvf27.js";
|
|
8
8
|
import {
|
|
9
9
|
ID17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9pv0dm11.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-jr349qs2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node84
|
|
21
|
+
} from "./config-6zpeh5ef.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./config-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service75,
|
|
30
|
+
node80
|
|
31
|
+
} from "./config-b53k7nra.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical3
|
|
35
|
+
} from "./config-th5km1p3.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make21
|
|
38
|
+
} from "./config-dg3w4ggv.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./config-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./config-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: () => Event18,
|
|
53
|
+
Info: () => Info29,
|
|
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: () => Service74,
|
|
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: () => node79
|
|
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 Info29 = 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 Event18 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service74 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
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* Service75;
|
|
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* make21;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service33, 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(Event18.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service33, 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(Service33, 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(Service33, 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(Service33, 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(Service33, 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 Service74.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(Service33, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node79 = makeLocationNode({
|
|
273
|
+
service: Service74,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node82, node84, node85, AppProcess.node, node80, 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, Info29, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event18, Service74, node79, exports_worktree2, OperationError2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./config-6zpeh5ef.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./config-g1bjk10t.js";
|
|
8
8
|
import {
|
|
9
9
|
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-vqrqq3f3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./config-xjk8cg32.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID12,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-xvfxhta6.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID12
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -99,7 +99,7 @@ function oauth(http) {
|
|
|
99
99
|
var OpencodePlugin2 = define({
|
|
100
100
|
id: "opencode.provider.opencode",
|
|
101
101
|
effect: Effect.fn(function* (ctx) {
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service79;
|
|
103
103
|
const http = yield* HttpClient.HttpClient;
|
|
104
104
|
const loading = Semaphore.makeUnsafe(1);
|
|
105
105
|
let snapshot = { config: undefined, connection: undefined };
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID15.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service26,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service26 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service26.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service26, awaitActivation2, exports_service };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-jr349qs2.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service72,
|
|
17
|
+
node: () => node76
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service72 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service72.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node85] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service72, node76, exports_kv };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service57,
|
|
10
|
+
node: () => node60
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service57 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service57.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node60 = makeLocationNode({ service: Service57, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service57, node60, exports_hooks };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-jr349qs2.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
17
|
Info: () => Info9,
|
|
18
18
|
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service55,
|
|
21
|
+
node: () => node58
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
29
|
var Info9 = PermissionSaved.Info;
|
|
30
30
|
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service55 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service80).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID7.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service55.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node58 = makeGlobalNode({ service: Service55, layer, deps: [node85] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID7, Info9, ListInput4, AddInput2, Service55, node58, exports_saved };
|