@opencode-ai/core 0.0.0-dev-19107 → 0.0.0-dev-19109
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 +77 -77
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{shell-tpvyqr2s.js → git-0dxc7qjc.js} +8 -8
- package/dist/chunks/{shell-0e0xafbb.js → git-0e0xafbb.js} +2 -2
- package/dist/chunks/{shell-e7gkvq10.js → git-0mm37wse.js} +43 -43
- package/dist/chunks/{shell-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-1j5kcfzp.js → git-0q5bpm08.js} +29 -29
- package/dist/chunks/{shell-g2qnqccr.js → git-0qwbfr5b.js} +7 -7
- package/dist/chunks/{shell-36mzbjn4.js → git-0rag4e4f.js} +4 -4
- package/dist/chunks/{shell-0s9ayhjt.js → git-0s9ayhjt.js} +1 -1
- package/dist/chunks/{shell-ckfka8c9.js → git-0yjzv1xx.js} +6 -6
- package/dist/chunks/{shell-kvrh1aj8.js → git-0ywdd1cz.js} +10 -10
- package/dist/chunks/{shell-6k404gxp.js → git-12gh2r0n.js} +4 -4
- package/dist/chunks/{shell-14s8ve6g.js → git-14s8ve6g.js} +1 -1
- package/dist/chunks/{shell-7drzq840.js → git-157wf8eb.js} +4 -4
- package/dist/chunks/{shell-pcx5yqze.js → git-19kh8pdt.js} +69 -65
- package/dist/chunks/{shell-vetx83r0.js → git-1bdhjw18.js} +8 -8
- package/dist/chunks/{shell-1ct4r87x.js → git-1ct4r87x.js} +1 -1
- package/dist/chunks/{shell-vwvvp157.js → git-1ptjnbjx.js} +9 -9
- package/dist/chunks/{shell-1sfe7ky6.js → git-1sfe7ky6.js} +1 -1
- package/dist/chunks/{shell-1q9v9ha2.js → git-1tfrzsx7.js} +9 -9
- package/dist/chunks/{shell-jc8a71f0.js → git-1xhwd09p.js} +9 -9
- package/dist/chunks/{shell-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-n04tf95v.js → git-24kkj0mr.js} +18 -18
- package/dist/chunks/{shell-trc7nn16.js → git-25v3hshg.js} +14 -14
- package/dist/chunks/{shell-29x78va6.js → git-29x78va6.js} +2 -2
- package/dist/chunks/{shell-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-3h5s5ba4.js → git-2ba8yhta.js} +54 -54
- package/dist/chunks/{shell-2ht70gj7.js → git-2ht70gj7.js} +1 -1
- package/dist/chunks/{shell-95rn6zea.js → git-2hymcpzh.js} +85 -85
- package/dist/chunks/{shell-y90mbezs.js → git-2jk00ej8.js} +27 -27
- package/dist/chunks/{shell-2jqmte8w.js → git-2jqmte8w.js} +2 -2
- package/dist/chunks/{shell-vwy6nk1q.js → git-2nfezth6.js} +24 -24
- package/dist/chunks/{shell-fnb87gt3.js → git-2q21hkva.js} +15 -15
- package/dist/chunks/{shell-pxcwkz2f.js → git-2tdj64pz.js} +9 -9
- package/dist/chunks/{shell-d0g1dj0w.js → git-2vjvjjyp.js} +32 -32
- package/dist/chunks/{shell-6pqc1wcj.js → git-35vc2dck.js} +11 -11
- package/dist/chunks/{shell-a68y78dg.js → git-3bp7f1wy.js} +2 -2
- package/dist/chunks/{shell-eqwbrmm3.js → git-3e31qste.js} +18 -18
- package/dist/chunks/{shell-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-vncycja5.js → git-3j8sdtpz.js} +4 -4
- package/dist/chunks/{shell-g52wq5zw.js → git-3kbb63t8.js} +4 -4
- package/dist/chunks/{shell-3qzbfqsy.js → git-3qzbfqsy.js} +2 -2
- package/dist/chunks/{shell-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-39ztw17m.js → git-3vkr20g6.js} +10 -10
- package/dist/chunks/{shell-frv4a811.js → git-3wbeqzmg.js} +7 -7
- package/dist/chunks/{shell-eyg363nj.js → git-3z8xdy4t.js} +15 -15
- package/dist/chunks/{shell-9f008s18.js → git-43kgstp5.js} +25 -25
- package/dist/chunks/{shell-enwn0tzc.js → git-43mprarq.js} +2 -2
- package/dist/chunks/{shell-454k5vzh.js → git-454k5vzh.js} +1 -1
- package/dist/chunks/{shell-trx91xdz.js → git-46rehjdx.js} +29 -21
- package/dist/chunks/{shell-ayhxp9k6.js → git-48wd3yf5.js} +26 -26
- package/dist/chunks/{shell-4c5k13je.js → git-4c5k13je.js} +1 -1
- package/dist/chunks/{shell-df7dtqa0.js → git-4gzm36d2.js} +35 -35
- package/dist/chunks/{shell-wgz7hchk.js → git-4hz2mmtn.js} +6 -6
- package/dist/chunks/{shell-gh8ys4e0.js → git-4p9rm7az.js} +4 -4
- package/dist/chunks/{shell-4r2nyarf.js → git-4r2nyarf.js} +1 -1
- package/dist/chunks/{shell-cdxs8vt7.js → git-4sqztht9.js} +15 -15
- package/dist/chunks/{shell-408ksyxd.js → git-4ss9n79c.js} +13 -13
- package/dist/chunks/{shell-8n28b114.js → git-4w13mmvc.js} +19 -19
- package/dist/chunks/{shell-7paan8yh.js → git-4wmw0yz2.js} +24 -24
- package/dist/chunks/{shell-rsrdehm7.js → git-54k2rsgg.js} +27 -27
- package/dist/chunks/{shell-yjkt68fp.js → git-54q64t4d.js} +24 -24
- package/dist/chunks/{shell-ysjsy6za.js → git-59fb75f8.js} +21 -21
- package/dist/chunks/{shell-zkcybhg5.js → git-5aq57b09.js} +43 -43
- package/dist/chunks/{shell-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-mp9v96eg.js → git-5dz1cjsc.js} +17 -17
- package/dist/chunks/{shell-5fmxt4p5.js → git-5fmxt4p5.js} +1 -1
- package/dist/chunks/{shell-kz8th6jy.js → git-5gx2hdkx.js} +3 -3
- package/dist/chunks/{shell-5jvc5tg2.js → git-5jvc5tg2.js} +1 -1
- package/dist/chunks/{shell-x1xxr4z6.js → git-6191z5s4.js} +18 -18
- package/dist/chunks/{shell-p3a1egma.js → git-62fymqzv.js} +6 -6
- package/dist/chunks/{shell-wrj6s030.js → git-67583cjw.js} +33 -33
- package/dist/chunks/{shell-28pcbh69.js → git-6e958v7x.js} +4 -4
- package/dist/chunks/{shell-2dnwhkbg.js → git-6ex02c0j.js} +30 -30
- package/dist/chunks/{shell-156p63ka.js → git-6grqxh82.js} +10 -10
- package/dist/chunks/{shell-6tf8tr4v.js → git-6tf8tr4v.js} +2 -2
- package/dist/chunks/{shell-g4b2g2ka.js → git-6tjj8n2y.js} +11 -11
- package/dist/chunks/{shell-6ym5me7r.js → git-6ym5me7r.js} +2 -2
- package/dist/chunks/{shell-6abnk40k.js → git-6z5bwd8g.js} +9 -9
- package/dist/chunks/{shell-711hfp6y.js → git-711hfp6y.js} +2 -2
- package/dist/chunks/{shell-6mh2j33h.js → git-759pz1a2.js} +8 -8
- package/dist/chunks/{shell-rqe0j03n.js → git-7ah5wmet.js} +22 -22
- package/dist/chunks/{shell-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-qgn6gcr1.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{shell-e6r8zxve.js → git-7dwfb2vf.js} +4 -4
- package/dist/chunks/{shell-sykc9y4a.js → git-7r0r50e5.js} +5 -5
- package/dist/chunks/{shell-m39a6r9n.js → git-8737zb6q.js} +18 -18
- package/dist/chunks/{shell-7namgvh9.js → git-8kemf7hy.js} +22 -22
- package/dist/chunks/{shell-90eb95eh.js → git-90eb95eh.js} +2 -2
- package/dist/chunks/{shell-93a8yfjt.js → git-93a8yfjt.js} +2 -2
- package/dist/chunks/{shell-1jf928x4.js → git-94nnnvbh.js} +20 -20
- package/dist/chunks/{shell-eg42tpd5.js → git-97sjq870.js} +27 -27
- package/dist/chunks/{shell-zdhy8zs2.js → git-98e54nj4.js} +6 -6
- package/dist/chunks/{shell-2vj4jxez.js → git-9nv74sc2.js} +10 -10
- package/dist/chunks/{shell-9qm9egsn.js → git-9qm9egsn.js} +2 -2
- package/dist/chunks/{shell-y6j92mjt.js → git-9y1phk8d.js} +3 -3
- package/dist/chunks/{shell-5bfzd4v8.js → git-a3aqw4jk.js} +9 -9
- package/dist/chunks/{shell-n3tzsxk8.js → git-a65jk3dg.js} +3 -3
- package/dist/chunks/{shell-paj2ftem.js → git-a9yhhx2n.js} +15 -15
- package/dist/chunks/{shell-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-abvdbqvv.js → git-abvdbqvv.js} +1 -1
- package/dist/chunks/{shell-bw9752qy.js → git-ajq4mc28.js} +19 -19
- package/dist/chunks/{shell-ajtjthsy.js → git-ajtjthsy.js} +2 -2
- package/dist/chunks/{shell-x6yvv8z4.js → git-b4fncx34.js} +34 -34
- package/dist/chunks/{shell-g37h3sja.js → git-b4nfgv2f.js} +39 -39
- package/dist/chunks/{shell-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-b9wsbatv.js → git-b9wsbatv.js} +1 -1
- package/dist/chunks/{shell-9vcfn3x3.js → git-ba723ajb.js} +8 -8
- package/dist/chunks/{shell-y384eh8z.js → git-bafjfafm.js} +9 -9
- package/dist/chunks/{shell-2t83wyrz.js → git-bfsqkmyv.js} +19 -19
- package/dist/chunks/{shell-n6mjs8gv.js → git-br76cj0n.js} +7 -7
- package/dist/chunks/git-bsaaxbhg.js +20 -0
- package/dist/chunks/{shell-cppazjgb.js → git-btsk8b9y.js} +15 -15
- package/dist/chunks/{shell-eh8mvrv6.js → git-btx2ztyd.js} +27 -27
- package/dist/chunks/git-bwt7bpgq.js +18 -0
- package/dist/chunks/{shell-wsfy2223.js → git-ch60wd2z.js} +4 -4
- package/dist/chunks/git-cw8gg7dp.js +22 -0
- package/dist/chunks/{shell-j016kj46.js → git-czy35k71.js} +4 -4
- package/dist/chunks/{shell-ct776dgc.js → git-d283m366.js} +6 -6
- package/dist/chunks/{shell-d72308c8.js → git-d72308c8.js} +2 -2
- package/dist/chunks/{shell-hk9ng4w9.js → git-d7zznenn.js} +9 -9
- package/dist/chunks/{shell-pfxg458r.js → git-daxtdgx4.js} +2 -2
- package/dist/chunks/{shell-mv4q59re.js → git-db9r0kw7.js} +28 -28
- package/dist/chunks/{shell-5z7dtar2.js → git-dhct43ra.js} +6 -6
- package/dist/chunks/{shell-a38h5jqv.js → git-dj6ed4p5.js} +22 -22
- package/dist/chunks/{shell-vdpqp5cm.js → git-dnmyvy59.js} +38 -38
- package/dist/chunks/{shell-v1sap15r.js → git-dns6mj49.js} +9 -9
- package/dist/chunks/{shell-wf9a4qst.js → git-dvzrr6hd.js} +11 -11
- package/dist/chunks/{shell-2bzqvgn8.js → git-e4xqgmkc.js} +83 -83
- package/dist/chunks/{shell-jk2s1369.js → git-e5h75gt4.js} +2 -2
- package/dist/chunks/{shell-pwya9n2y.js → git-e8920g29.js} +3 -3
- package/dist/chunks/{shell-zzjwypeh.js → git-e9zkahnk.js} +8 -8
- package/dist/chunks/{shell-1wgy2qkb.js → git-efxjj9hq.js} +20 -20
- package/dist/chunks/{shell-qwx7jfem.js → git-ehncf743.js} +14 -14
- package/dist/chunks/{shell-ye1hsen9.js → git-eqkknbny.js} +8 -8
- package/dist/chunks/{shell-5sg4xzjf.js → git-ez5b8bq3.js} +7 -7
- package/dist/chunks/{shell-5az6gfje.js → git-f2wqyxa1.js} +287 -287
- package/dist/chunks/git-f4j0pa50.js +4 -0
- package/dist/chunks/{shell-q71mak0n.js → git-f6nrgepv.js} +9 -9
- package/dist/chunks/{shell-p1gfy0ra.js → git-f90y20kg.js} +32 -32
- package/dist/chunks/{shell-d6q9r95s.js → git-fb63p1mh.js} +4 -4
- package/dist/chunks/{shell-8a5sy8gj.js → git-fg46k2f2.js} +24 -24
- package/dist/chunks/{shell-fxbjtjnd.js → git-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-h2jjxfqc.js → git-fxx3ng1x.js} +20 -20
- package/dist/chunks/{shell-fxypknc8.js → git-fxypknc8.js} +1 -1
- package/dist/chunks/{shell-xvcttetg.js → git-g0awv9rp.js} +10 -10
- package/dist/chunks/{shell-kv8syyjy.js → git-g4j5mcjp.js} +9 -9
- package/dist/chunks/{shell-7gv5bdgm.js → git-gaa7qhhm.js} +5 -5
- package/dist/chunks/{shell-fp066vz3.js → git-gadrrcfg.js} +16 -16
- package/dist/chunks/{shell-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-tcrw0mk6.js → git-gj0v7ayb.js} +1 -1
- package/dist/chunks/{shell-j5jk7a00.js → git-gjqgpz3y.js} +5 -5
- package/dist/chunks/{shell-4fcph0hq.js → git-gnaht1j5.js} +11 -11
- package/dist/chunks/{shell-s52y7s20.js → git-gw3wk82x.js} +29 -29
- package/dist/chunks/{shell-sbnvhk9g.js → git-h2st8tcp.js} +4 -4
- package/dist/chunks/{shell-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-95pr9fpn.js → git-hbs35kex.js} +8 -8
- package/dist/chunks/{shell-hc4b3kyg.js → git-hc4b3kyg.js} +1 -1
- package/dist/chunks/{shell-heyhwy2w.js → git-heyhwy2w.js} +1 -1
- package/dist/chunks/{shell-hjrjbgez.js → git-hjrjbgez.js} +2 -2
- package/dist/chunks/{shell-pbm77kt4.js → git-hjv5med1.js} +10 -10
- package/dist/chunks/{shell-yx0a4n2t.js → git-hjwyx7yr.js} +121 -121
- package/dist/chunks/{shell-hrvm11jt.js → git-hrvm11jt.js} +3 -3
- package/dist/chunks/{shell-31ygehh2.js → git-hvxfxr0a.js} +41 -41
- package/dist/chunks/{shell-1bnjqxwj.js → git-j76h0y45.js} +13 -13
- package/dist/chunks/{shell-jdnwrjf1.js → git-jdnwrjf1.js} +1 -1
- package/dist/chunks/{shell-kyx4rev9.js → git-jf453wex.js} +29 -29
- package/dist/chunks/{shell-xpa15rv0.js → git-jpx0fz2c.js} +15 -15
- package/dist/chunks/{shell-b5xnx7k5.js → git-jt4qmvd6.js} +27 -27
- package/dist/chunks/{shell-gvkmngex.js → git-jw51n901.js} +5 -5
- package/dist/chunks/{shell-k2qp0rt7.js → git-k2qp0rt7.js} +1 -1
- package/dist/chunks/{shell-k4bwy1x5.js → git-k4bwy1x5.js} +1 -1
- package/dist/chunks/{shell-cqhbx4g8.js → git-kfd3jmfd.js} +24 -24
- package/dist/chunks/{shell-kg06axw8.js → git-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-jcd025mq.js → git-ktk9jmx4.js} +23 -23
- package/dist/chunks/{shell-kvsjn1dr.js → git-kvsjn1dr.js} +2 -2
- package/dist/chunks/{shell-7grmgsg7.js → git-kx2gvdct.js} +4 -4
- package/dist/chunks/{shell-kyd4za44.js → git-kyd4za44.js} +2 -2
- package/dist/chunks/{shell-c6qfwypk.js → git-kzmwhpqp.js} +8 -8
- package/dist/chunks/{shell-e9rgf6pe.js → git-m25pdrkb.js} +46 -46
- package/dist/chunks/{shell-vhvxtbfv.js → git-m2a0x0j7.js} +20 -20
- package/dist/chunks/git-m3crx9ys.js +243 -0
- package/dist/chunks/{shell-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-4m1vt040.js → git-mc1a8gkf.js} +28 -28
- package/dist/chunks/{shell-cqqf9w6n.js → git-me5tkfc4.js} +14 -14
- package/dist/chunks/{shell-j028xdjb.js → git-mhkvc446.js} +3 -3
- package/dist/chunks/{shell-zfbr2h3w.js → git-mqmk3ma0.js} +20 -20
- package/dist/chunks/{shell-r2aqpy44.js → git-mzxw2z9s.js} +12 -12
- package/dist/chunks/{shell-k19k1yqd.js → git-n3sy9ccz.js} +18 -18
- package/dist/chunks/{shell-cdet0khb.js → git-na3rzezk.js} +17 -17
- package/dist/chunks/{shell-zmjynawk.js → git-na3y75gh.js} +5 -5
- package/dist/chunks/{shell-hs7e9eb3.js → git-naywqbg0.js} +11 -11
- package/dist/chunks/{shell-5e3azpn7.js → git-nb73njp3.js} +15 -15
- package/dist/chunks/{shell-1fgsnpje.js → git-nh5wbzxs.js} +5 -5
- package/dist/chunks/{shell-sz7a9shn.js → git-nt48h9be.js} +9 -9
- package/dist/chunks/{shell-p3e4re21.js → git-p3e4re21.js} +1 -1
- package/dist/chunks/{shell-bdqrk2vk.js → git-pjedbq3k.js} +4 -4
- package/dist/chunks/{shell-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{shell-y75rfnyd.js → git-pp549hae.js} +5 -5
- package/dist/chunks/{shell-mgnx1j9f.js → git-pt2y64as.js} +41 -41
- package/dist/chunks/{shell-4gg3r4gf.js → git-pxpsfjdb.js} +13 -13
- package/dist/chunks/{shell-bk2c6ybg.js → git-pyfcms0g.js} +46 -46
- package/dist/chunks/{shell-dzmbxvmy.js → git-q1cagyca.js} +15 -15
- package/dist/chunks/{shell-vqy8gbs1.js → git-q32xhvm0.js} +4 -4
- package/dist/chunks/{shell-0kkhs0tb.js → git-qdaqxxg9.js} +14 -14
- package/dist/chunks/{shell-jhk1bjct.js → git-qezf6xep.js} +26 -26
- package/dist/chunks/{shell-0cm3syf1.js → git-qhyptzpa.js} +14 -14
- package/dist/chunks/{shell-c1sjkzjg.js → git-qp4k32t2.js} +13 -13
- package/dist/chunks/{shell-9mvaddhj.js → git-qr5nkndc.js} +15 -15
- package/dist/chunks/{shell-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-rjre9n2g.js → git-qwdgxhzc.js} +13 -13
- package/dist/chunks/{shell-2vcth3xs.js → git-qxs44qv5.js} +20 -20
- package/dist/chunks/{shell-nmh0bsy2.js → git-qy2nesre.js} +11 -11
- package/dist/chunks/{shell-6ygcz7av.js → git-r6spzpk4.js} +14 -14
- package/dist/chunks/{shell-r8dhm0tv.js → git-r8dhm0tv.js} +1 -1
- package/dist/chunks/{shell-fm2qvscf.js → git-ratrq7cm.js} +4 -4
- package/dist/chunks/{shell-6143np6g.js → git-rnzzvk35.js} +9 -9
- package/dist/chunks/{shell-frqgkxmn.js → git-rqpsfqy9.js} +9 -9
- package/dist/chunks/{shell-8debsjz4.js → git-rved4v7n.js} +9 -9
- package/dist/chunks/{shell-p325kmej.js → git-rvn46zq7.js} +9 -9
- package/dist/chunks/{shell-ww8c32hp.js → git-rzejcw32.js} +5 -5
- package/dist/chunks/{shell-sf6gbvg9.js → git-rzwk2s92.js} +15 -15
- package/dist/chunks/{shell-afp9cpv0.js → git-s1pbqs1h.js} +16 -16
- package/dist/chunks/{shell-af4svgqg.js → git-s1zas8dv.js} +8 -8
- package/dist/chunks/{shell-3xj9tye7.js → git-s5qzv7b1.js} +11 -11
- package/dist/chunks/{shell-sba4qhjf.js → git-sba4qhjf.js} +1 -1
- package/dist/chunks/{shell-3e44t4bb.js → git-sf60rpxa.js} +18 -18
- package/dist/chunks/{shell-xq4tznss.js → git-shr0f69z.js} +20 -20
- package/dist/chunks/{shell-fvanntqq.js → git-ss0awb04.js} +4 -4
- package/dist/chunks/{shell-sxaj9jh7.js → git-sxaj9jh7.js} +2 -2
- package/dist/chunks/{shell-c5khapka.js → git-sxx28m10.js} +16 -16
- package/dist/chunks/{shell-69wmbgv2.js → git-szasc975.js} +8 -8
- package/dist/chunks/{shell-esapbxtc.js → git-t29n1950.js} +22 -22
- package/dist/chunks/{shell-fdrv5wj1.js → git-t4es3k9e.js} +9 -9
- package/dist/chunks/{shell-aa68tp4y.js → git-t6jxcej1.js} +9 -9
- package/dist/chunks/{shell-at1ds9nv.js → git-t7xwk1e5.js} +35 -35
- package/dist/chunks/{shell-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{shell-cpfp6xqs.js → git-tdtn9dc8.js} +8 -8
- package/dist/chunks/{shell-bphmvjfp.js → git-thfv75je.js} +5 -5
- package/dist/chunks/{shell-n8s6eqvs.js → git-thrargpz.js} +9 -9
- package/dist/chunks/{shell-20rf0y56.js → git-tjmzx5hc.js} +7 -7
- package/dist/chunks/{shell-tjykrgmx.js → git-tjykrgmx.js} +1 -1
- package/dist/chunks/{shell-20gpa56p.js → git-tpk8ft80.js} +11 -11
- package/dist/chunks/{shell-yav02wcy.js → git-tr0r9c4y.js} +30 -30
- package/dist/chunks/{shell-xkzmkx0v.js → git-txyczmks.js} +9 -9
- package/dist/chunks/{shell-8xx29per.js → git-v0vsseqe.js} +29 -29
- package/dist/chunks/{shell-vtq1wfzg.js → git-vtq1wfzg.js} +4 -4
- package/dist/chunks/{shell-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-72s3cfct.js → git-wcn3expk.js} +41 -41
- package/dist/chunks/{shell-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{shell-3m3401bg.js → git-wrz65vt8.js} +36 -36
- package/dist/chunks/{shell-ycqmrtvj.js → git-wtxfc7wq.js} +11 -11
- package/dist/chunks/{shell-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-b9j1334g.js → git-xqxbvg49.js} +8 -8
- package/dist/chunks/{shell-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-jwcy2c2z.js → git-y71avatq.js} +4 -4
- package/dist/chunks/{shell-gdv0z722.js → git-y8xfsac8.js} +13 -13
- package/dist/chunks/{shell-kk3rr3qh.js → git-yfbd16n1.js} +5 -5
- package/dist/chunks/{shell-z7rb1vge.js → git-yn7pyct1.js} +20 -20
- package/dist/chunks/{shell-5424cwtj.js → git-ypa7521y.js} +12 -12
- package/dist/chunks/{shell-my67wh8n.js → git-ysdbg6vk.js} +5 -5
- package/dist/chunks/{shell-scvxbhcz.js → git-yvhsxjzj.js} +16 -16
- package/dist/chunks/{shell-2g7fb4sy.js → git-yz728bf4.js} +6 -6
- package/dist/chunks/{shell-z1k01bn4.js → git-z1k01bn4.js} +2 -2
- package/dist/chunks/{shell-z3xgatyd.js → git-z3xgatyd.js} +1 -1
- package/dist/chunks/{shell-nsppqmbg.js → git-zb3c6va5.js} +20 -20
- package/dist/chunks/{shell-zfnpc7fv.js → git-zfnpc7fv.js} +1 -1
- package/dist/chunks/{shell-9gq6sz2t.js → git-zqg3qsz2.js} +4 -4
- package/dist/chunks/{shell-fy7q1eta.js → git-zr9q2xht.js} +47 -47
- package/dist/chunks/{shell-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +114 -114
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- 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 +80 -80
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- 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 +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +73 -73
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +118 -118
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +2 -2
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +101 -101
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- 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 +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +2 -2
- 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 +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +1 -1
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +145 -145
- 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 +214 -214
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +144 -144
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +87 -87
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +100 -100
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +110 -110
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +115 -115
- 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 +114 -114
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +99 -99
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/types/session/inbox.d.ts +5 -4
- 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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +7 -7
- package/dist/chunks/shell-7zk4hah4.js +0 -4
- package/dist/chunks/shell-d1bm3mqt.js +0 -20
- package/dist/chunks/shell-jqh9b0xq.js +0 -18
- package/dist/chunks/shell-vzdd7ej8.js +0 -243
- package/dist/chunks/shell-yv6aypar.js +0 -22
- /package/dist/chunks/{shell-0fabt78z.js → git-0fabt78z.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3t738kvx.js → git-3t738kvx.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-41nvscxy.js → git-41nvscxy.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-982e01ww.js → git-982e01ww.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a1tpkmh4.js → git-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mntxs535.js → git-mntxs535.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p8qxwesx.js → git-p8qxwesx.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-se0s1eqw.js → git-se0s1eqw.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → git-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x1b8g1yb.js → git-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → git-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zbjnn3ac.js → git-zbjnn3ac.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node84
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-e8920g29.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node83
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-7dwfb2vf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service75,
|
|
14
|
+
node79
|
|
15
|
+
} from "./git-g0awv9rp.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info27,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-1ptjnbjx.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-9qm9egsn.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-ajtjthsy.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID12,
|
|
40
|
+
Info: () => Info26,
|
|
41
41
|
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node78,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode-ai/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID12 = ID13;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info26 = Info27;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID12
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -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 Service74 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,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service75;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event17.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID12.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event17.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID12.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID12.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID12.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID12.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID12.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID12.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service74.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node78 = makeGlobalNode({
|
|
276
|
+
service: Service74,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node83, node84, FSUtil.node,
|
|
278
|
+
deps: [node83, node84, FSUtil.node, node79, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID12, Vcs2, Current2, Info26, UpdateInput3, NotFoundError9, root2, Service74, node78, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service59,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node63
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service59 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service59.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node63 = makeLocationNode({ service: Service59, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service59, node63, exports_image2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./git-5aq57b09.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./git-2q21hkva.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin21
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin21 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const shell = yield* Service67;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin13 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin21, exports_shell };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID6,
|
|
3
|
+
Info9,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-5gx2hdkx.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-p8qxwesx.js";
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-e8920g29.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service79,
|
|
16
16
|
node83
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./git-7dwfb2vf.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service74,
|
|
20
|
+
node78
|
|
21
|
+
} from "./git-dnmyvy59.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service30,
|
|
24
|
+
node32
|
|
25
|
+
} from "./git-bsaaxbhg.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./git-mntxs535.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./git-hrvm11jt.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node34
|
|
34
|
+
} from "./git-46rehjdx.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./git-zqg3qsz2.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./git-pxpsfjdb.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node33
|
|
47
|
+
} from "./git-8737zb6q.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node44
|
|
51
|
+
} from "./git-tpk8ft80.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError6,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
MessageNotAssistantError2,
|
|
56
56
|
MessageIncompleteError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./git-yz728bf4.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
69
|
+
ListInput5,
|
|
70
|
+
Service48,
|
|
71
|
+
node51
|
|
72
|
+
} from "./git-qhyptzpa.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service41,
|
|
75
|
+
node43
|
|
76
|
+
} from "./git-5dz1cjsc.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service25,
|
|
79
|
+
node28
|
|
80
|
+
} from "./git-t7xwk1e5.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./git-0e0xafbb.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service37,
|
|
86
|
+
node39
|
|
87
|
+
} from "./git-rnzzvk35.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./git-35vc2dck.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./git-eqkknbny.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service24,
|
|
99
|
+
node27
|
|
100
|
+
} from "./git-2ba8yhta.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service44,
|
|
103
|
+
node47
|
|
104
|
+
} from "./git-ba723ajb.js";
|
|
105
105
|
import {
|
|
106
106
|
make12
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./git-6ex02c0j.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./git-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,9 +118,9 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID6,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info9,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
125
|
ListInput: () => ListInput4,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
@@ -128,14 +128,14 @@ __export(exports_session, {
|
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
129
129
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
|
-
NotFoundError: () =>
|
|
131
|
+
NotFoundError: () => NotFoundError6,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service23,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node26
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode-ai/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode-ai/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode-ai/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
148
|
-
var ListInput4 =
|
|
149
|
-
class
|
|
148
|
+
var ListInput4 = ListInput5;
|
|
149
|
+
class Service23 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
153
|
const database = yield* Service80;
|
|
154
154
|
const db = database.db;
|
|
155
155
|
const bus = yield* Service79;
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
156
|
+
const projects = yield* Service74;
|
|
157
|
+
const execution = yield* Service25;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
159
|
+
const transport = yield* Service37;
|
|
160
|
+
const store = yield* Service48;
|
|
161
|
+
const instances = yield* Service30;
|
|
162
|
+
const moves = yield* Service24;
|
|
163
|
+
const jobs = yield* Service41;
|
|
164
|
+
const environments = yield* Service44;
|
|
165
165
|
const sessions = yield* make12();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service23.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -172,7 +172,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
172
172
|
return recorded;
|
|
173
173
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
174
174
|
if (input.parentID && parent === undefined)
|
|
175
|
-
return yield* new
|
|
175
|
+
return yield* new NotFoundError6({ sessionID: input.parentID });
|
|
176
176
|
const location = parent?.location ?? input.location;
|
|
177
177
|
if (location === undefined)
|
|
178
178
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service30, instances), Effect.provideService(Service80, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service30, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node26 = Node.makeGlobalNode({
|
|
314
|
+
service: Service23,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
node43,
|
|
318
|
+
node47,
|
|
319
319
|
node84,
|
|
320
320
|
node83,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
node38,
|
|
324
|
-
llmClient2,
|
|
325
|
-
node45,
|
|
321
|
+
node78,
|
|
322
|
+
node28,
|
|
326
323
|
node39,
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
324
|
+
llmClient2,
|
|
325
|
+
node51,
|
|
326
|
+
node32,
|
|
327
|
+
node34,
|
|
328
|
+
node27,
|
|
329
|
+
node33,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node44
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2, ListInput4,
|
|
335
|
+
export { ListAnchor2, ListInput4, Service23, node26, exports_session };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID16,
|
|
3
3
|
Service76
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-bafjfafm.js";
|
|
5
5
|
import {
|
|
6
6
|
isAISDK2,
|
|
7
7
|
packageName2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-hc4b3kyg.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/provider/llmgateway.ts
|
|
11
11
|
import { Effect } from "effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-98e54nj4.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-a65jk3dg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error3,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node60,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node60 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error3, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node60, exports_driver };
|