@opencode/core 0.0.0-dev-19868 → 0.0.0-dev-19869
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{workspace-a5a142dt.js → worktree-0787dcsh.js} +16 -16
- package/dist/chunks/{workspace-amrr7ry4.js → worktree-0k4c1wrr.js} +15 -15
- package/dist/chunks/worktree-0mesazry.js +4 -0
- package/dist/chunks/{workspace-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-x9s3fszq.js → worktree-0w85qfcj.js} +8 -8
- package/dist/chunks/{workspace-g7jvb7c9.js → worktree-11s59a84.js} +12 -12
- package/dist/chunks/{workspace-3j0xc7ma.js → worktree-1218kfkx.js} +6 -6
- package/dist/chunks/{workspace-xbb7hcq8.js → worktree-19x32724.js} +82 -82
- package/dist/chunks/{workspace-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-v6gegsry.js → worktree-1mrwszqa.js} +4 -4
- package/dist/chunks/{workspace-119stp71.js → worktree-1rc4386p.js} +19 -19
- package/dist/chunks/{workspace-x5pkgzc5.js → worktree-1rk9t83t.js} +10 -10
- package/dist/chunks/{workspace-gwcgtenh.js → worktree-1sqm6k0j.js} +1 -1
- package/dist/chunks/{workspace-mfqp6xfm.js → worktree-1ygqh575.js} +6 -6
- package/dist/chunks/{workspace-nvesdtrj.js → worktree-218c6ez9.js} +9 -9
- package/dist/chunks/{workspace-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{workspace-z6r9rkh1.js → worktree-2463j9pj.js} +9 -9
- package/dist/chunks/{workspace-feqpnje0.js → worktree-246ka326.js} +14 -14
- package/dist/chunks/{workspace-fyrtbwax.js → worktree-24ddpwsm.js} +11 -11
- package/dist/chunks/{workspace-4t8knyq2.js → worktree-28544jz8.js} +5 -5
- package/dist/chunks/{workspace-gxhq3ync.js → worktree-287pmr97.js} +13 -13
- package/dist/chunks/{workspace-mcaqvdzr.js → worktree-28cf9raz.js} +36 -36
- package/dist/chunks/{workspace-29x78va6.js → worktree-29x78va6.js} +2 -2
- package/dist/chunks/{workspace-wvnvj3ny.js → worktree-29xxxnfh.js} +16 -16
- package/dist/chunks/{workspace-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-yt0nqd71.js → worktree-2dwhn3my.js} +20 -20
- package/dist/chunks/{workspace-2w6fc0zt.js → worktree-2w6fc0zt.js} +2 -2
- package/dist/chunks/{workspace-ecjcczzd.js → worktree-34g626t1.js} +26 -26
- package/dist/chunks/{workspace-84zcxbc9.js → worktree-3801kdgp.js} +5 -5
- package/dist/chunks/{workspace-qwjmgwmn.js → worktree-3a83a0n4.js} +8 -8
- package/dist/chunks/{workspace-2cgcygzs.js → worktree-3bpj6ceb.js} +11 -11
- package/dist/chunks/{workspace-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-mbx2ejk6.js → worktree-3j8s7hm7.js} +11 -11
- package/dist/chunks/{workspace-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-9705fph6.js → worktree-3t8frjm5.js} +4 -4
- package/dist/chunks/{workspace-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-z3pw5915.js → worktree-3w2b2yj4.js} +5 -5
- package/dist/chunks/{workspace-9h41vc4j.js → worktree-3ythc6yv.js} +4 -4
- package/dist/chunks/{workspace-vs25hdcx.js → worktree-45fhr245.js} +24 -24
- package/dist/chunks/{workspace-fjq5ektr.js → worktree-49asqp28.js} +16 -16
- package/dist/chunks/{workspace-cjwramev.js → worktree-4jk0qxj4.js} +6 -6
- package/dist/chunks/{workspace-9j1vvs8j.js → worktree-4xkxc3t4.js} +13 -13
- package/dist/chunks/{workspace-vqfzq50h.js → worktree-51f5btjf.js} +6 -6
- package/dist/chunks/{workspace-9c4ssm1m.js → worktree-54ptgeb2.js} +26 -26
- package/dist/chunks/{workspace-09y5xx2s.js → worktree-57a2pt8j.js} +8 -8
- package/dist/chunks/{workspace-c9ynr917.js → worktree-59km82at.js} +27 -27
- package/dist/chunks/{workspace-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-hn5pff8k.js → worktree-5gczjwyk.js} +9 -9
- package/dist/chunks/{workspace-9jwxq161.js → worktree-5nb2d01r.js} +2 -2
- package/dist/chunks/{workspace-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-pa8pe2x7.js → worktree-5xtgfte3.js} +8 -8
- package/dist/chunks/{workspace-emz89tv7.js → worktree-64mbz47k.js} +6 -6
- package/dist/chunks/{workspace-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{workspace-vasgb4rq.js → worktree-6a90knky.js} +11 -11
- package/dist/chunks/{workspace-cpjjta28.js → worktree-6d4vre1e.js} +28 -28
- package/dist/chunks/{workspace-vv04kfpz.js → worktree-6h7j3cy3.js} +26 -26
- package/dist/chunks/{workspace-56ymmxn6.js → worktree-6hqwt1nw.js} +13 -13
- package/dist/chunks/{workspace-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-0czfemej.js → worktree-6srgc5f7.js} +16 -16
- package/dist/chunks/{workspace-8hgfhrm0.js → worktree-6stnv1c0.js} +8 -8
- package/dist/chunks/{workspace-zmxsg9ks.js → worktree-6tm94hss.js} +3 -3
- package/dist/chunks/worktree-6zs4aaxp.js +252 -0
- package/dist/chunks/{workspace-dg479f66.js → worktree-6zwr9q5m.js} +48 -48
- package/dist/chunks/{workspace-k937qatw.js → worktree-70eyy827.js} +13 -13
- package/dist/chunks/{workspace-k6d5y4dc.js → worktree-70x5mss4.js} +20 -20
- package/dist/chunks/{workspace-tcmcg8px.js → worktree-71a6hfp5.js} +11 -11
- package/dist/chunks/{workspace-rqbg1bcf.js → worktree-75ah400z.js} +24 -24
- package/dist/chunks/{workspace-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-hn77gdma.js → worktree-7k0xwvvh.js} +6 -6
- package/dist/chunks/{workspace-yz3kvdcx.js → worktree-7kdkzndg.js} +8 -8
- package/dist/chunks/{workspace-wxcv19ds.js → worktree-7kxej2em.js} +9 -9
- package/dist/chunks/{workspace-v4hc9963.js → worktree-7zsm68gg.js} +13 -13
- package/dist/chunks/{workspace-0w8keya2.js → worktree-8b4cgdt8.js} +20 -20
- package/dist/chunks/{workspace-hk53zz53.js → worktree-8d55p9gd.js} +43 -43
- package/dist/chunks/{workspace-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-k8cw4d8y.js → worktree-8dz1vcbc.js} +21 -21
- package/dist/chunks/{workspace-srym6801.js → worktree-8emwh38k.js} +14 -14
- package/dist/chunks/{workspace-8p4f9s12.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-qyjqzc07.js → worktree-90wr37ay.js} +2 -2
- package/dist/chunks/{workspace-9x5tcemn.js → worktree-9pj1d4f4.js} +31 -31
- package/dist/chunks/{workspace-azhhx3ms.js → worktree-9racvqph.js} +22 -26
- package/dist/chunks/{workspace-rg9v85ha.js → worktree-9w5k7bqz.js} +1 -1
- package/dist/chunks/{workspace-3dn0bamk.js → worktree-9ymcqn9e.js} +6 -6
- package/dist/chunks/{workspace-a1bz86dw.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-rghjtt8s.js → worktree-a881zpfh.js} +9 -9
- package/dist/chunks/{workspace-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-n6v7ce86.js → worktree-agnb6b4y.js} +3 -3
- package/dist/chunks/{workspace-vvq5e17p.js → worktree-am5t4rbj.js} +44 -44
- package/dist/chunks/{workspace-adnwk2gk.js → worktree-ank7hx1v.js} +8 -8
- package/dist/chunks/{workspace-xb02k0wq.js → worktree-at5d07az.js} +4 -4
- package/dist/chunks/{workspace-9b4mawvy.js → worktree-aw0v1j7y.js} +7 -7
- package/dist/chunks/{workspace-j1ffvbkn.js → worktree-axxg5j10.js} +19 -19
- package/dist/chunks/{workspace-kxmwd5yc.js → worktree-b0twfynp.js} +5 -5
- package/dist/chunks/{workspace-tb1f4dxy.js → worktree-b1wsctr3.js} +13 -13
- package/dist/chunks/{workspace-jcrz4hmc.js → worktree-b512ytgh.js} +3 -3
- package/dist/chunks/{workspace-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-nrrebj3s.js → worktree-b6rq28qr.js} +3 -3
- package/dist/chunks/{workspace-1rmaqtrx.js → worktree-baasw9zs.js} +4 -4
- package/dist/chunks/{workspace-cq37gk0t.js → worktree-bajakh74.js} +4 -4
- package/dist/chunks/{workspace-csf2jhsg.js → worktree-bccb6npm.js} +4 -4
- package/dist/chunks/worktree-bdmzhav8.js +26 -0
- package/dist/chunks/{workspace-wactcfnt.js → worktree-bjb9b4mn.js} +13 -13
- package/dist/chunks/{workspace-aybvkqa5.js → worktree-bkcnheq0.js} +28 -28
- package/dist/chunks/{workspace-tbvspnbj.js → worktree-bmpcrrg0.js} +8 -8
- package/dist/chunks/{workspace-3gaagh7n.js → worktree-bmpepz07.js} +3 -3
- package/dist/chunks/{workspace-grprzeq7.js → worktree-bnw2aka3.js} +17 -17
- package/dist/chunks/{workspace-d0cqzhqk.js → worktree-bs95t40t.js} +11 -11
- package/dist/chunks/{workspace-3xdvkjpj.js → worktree-c4gmtxpm.js} +22 -22
- package/dist/chunks/{workspace-c765mh8b.js → worktree-c765mh8b.js} +2 -2
- package/dist/chunks/{workspace-s1w4g419.js → worktree-c7t7ttxe.js} +30 -30
- package/dist/chunks/{workspace-vezzzda7.js → worktree-ccmdabta.js} +1 -1
- package/dist/chunks/{workspace-cfpkc3c9.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-k4gqzfjc.js → worktree-ckdz0ad0.js} +9 -9
- package/dist/chunks/{workspace-tvjwykrv.js → worktree-cwn9cw75.js} +20 -20
- package/dist/chunks/{workspace-phn0hpgm.js → worktree-cy5zkmv9.js} +18 -18
- package/dist/chunks/{workspace-em3wvctz.js → worktree-cye10yf4.js} +9 -9
- package/dist/chunks/{workspace-vr6b7mr3.js → worktree-czf046f0.js} +9 -9
- package/dist/chunks/{workspace-x38a7pd9.js → worktree-czys4tjs.js} +5 -5
- package/dist/chunks/{workspace-fh9v80gy.js → worktree-d34gzn5d.js} +25 -25
- package/dist/chunks/{workspace-wtq3xfw6.js → worktree-de7zd4tj.js} +6 -6
- package/dist/chunks/{workspace-htw1ycyk.js → worktree-dkgmj00c.js} +15 -15
- package/dist/chunks/{workspace-5bzxswar.js → worktree-dtfx1akz.js} +11 -11
- package/dist/chunks/{workspace-schm2sng.js → worktree-e5fd240w.js} +5 -5
- package/dist/chunks/{workspace-9m2qs40w.js → worktree-e6r8tc5b.js} +19 -19
- package/dist/chunks/{workspace-mdrscssp.js → worktree-e982br48.js} +4 -4
- package/dist/chunks/{workspace-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-tzrxspzq.js → worktree-efkf1zjd.js} +13 -13
- package/dist/chunks/{workspace-mhkvc446.js → worktree-eq1pz5kg.js} +3 -3
- package/dist/chunks/{workspace-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{workspace-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-b1y316pz.js → worktree-exg3tbdv.js} +14 -14
- package/dist/chunks/{workspace-f828m53h.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-dn898nnx.js → worktree-f9yrz0nb.js} +12 -12
- package/dist/chunks/{workspace-2ph2e9fc.js → worktree-fc1cvdk9.js} +23 -23
- package/dist/chunks/{workspace-7dqw4kz8.js → worktree-fcrkznn8.js} +5 -5
- package/dist/chunks/{workspace-fhs97t90.js → worktree-fhs97t90.js} +2 -2
- package/dist/chunks/{workspace-8zgc7er9.js → worktree-fs0skkb3.js} +18 -18
- package/dist/chunks/{workspace-hcz3zddy.js → worktree-fvsyg6qk.js} +5 -5
- package/dist/chunks/{workspace-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-w9r9xghe.js → worktree-g0t6d1hq.js} +13 -13
- package/dist/chunks/{workspace-bj35d2pw.js → worktree-g3mn8s68.js} +2 -2
- package/dist/chunks/{workspace-21mbbwne.js → worktree-g5x507wm.js} +123 -123
- package/dist/chunks/{workspace-h2211vcb.js → worktree-g8hymqtc.js} +23 -23
- package/dist/chunks/{workspace-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-pzgjdz9t.js → worktree-gjnhxr8h.js} +15 -15
- package/dist/chunks/{workspace-9qe8ae4t.js → worktree-gmkwjvek.js} +16 -16
- package/dist/chunks/{workspace-5tcart1v.js → worktree-gna9rzrz.js} +11 -11
- package/dist/chunks/{workspace-zrnz6j7v.js → worktree-gqyhxdpp.js} +23 -23
- package/dist/chunks/{workspace-g99e2w2z.js → worktree-gr3j20z5.js} +10 -10
- package/dist/chunks/{workspace-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-j0cv997d.js → worktree-gxgynv4w.js} +18 -18
- package/dist/chunks/{workspace-pytmt9db.js → worktree-h21m3h6n.js} +6 -6
- package/dist/chunks/{workspace-dhsfmmf6.js → worktree-h36ryfv7.js} +22 -22
- package/dist/chunks/{workspace-hj5t9pdr.js → worktree-h51w75cp.js} +33 -33
- package/dist/chunks/{workspace-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
- package/dist/chunks/{workspace-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-96mnwtcy.js → worktree-has2vgfm.js} +5 -5
- package/dist/chunks/{workspace-3h8gz3da.js → worktree-hb7v7ywc.js} +8 -8
- package/dist/chunks/{workspace-6dgtvp0d.js → worktree-ht4gnk1k.js} +6 -6
- package/dist/chunks/worktree-ht5y0zrb.js +18 -0
- package/dist/chunks/{workspace-w8xr7nv8.js → worktree-j34dxvpb.js} +5 -5
- package/dist/chunks/{workspace-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-bq7nf7xv.js → worktree-jjm18tvm.js} +57 -57
- package/dist/chunks/{workspace-b6tzn7vp.js → worktree-jthyzkpc.js} +6 -6
- package/dist/chunks/{workspace-hn57h045.js → worktree-jvf3yq6v.js} +4 -4
- package/dist/chunks/{workspace-j92jf1xs.js → worktree-jyetza0x.js} +28 -28
- package/dist/chunks/{workspace-3tgcwym4.js → worktree-jzrbce6w.js} +24 -28
- package/dist/chunks/{workspace-hygh15yy.js → worktree-k5xfnnfv.js} +9 -9
- package/dist/chunks/{workspace-5p22jxmx.js → worktree-k8zyetr0.js} +32 -32
- package/dist/chunks/{workspace-rhs20sc7.js → worktree-kcyks54t.js} +8 -8
- package/dist/chunks/{workspace-76005v5f.js → worktree-kt1vcyar.js} +2 -2
- package/dist/chunks/{workspace-jwha2mbq.js → worktree-kvshrfkj.js} +1 -1
- package/dist/chunks/{workspace-s88rm0rm.js → worktree-ky8bwrva.js} +15 -15
- package/dist/chunks/{workspace-sp98yqng.js → worktree-m1njnqbf.js} +3 -3
- package/dist/chunks/{workspace-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-xsqft5rp.js → worktree-mgn7rzyp.js} +7 -7
- package/dist/chunks/{workspace-t9v3wm2f.js → worktree-mkccyhb3.js} +8 -8
- package/dist/chunks/{workspace-n5xymp74.js → worktree-mpmcaacv.js} +8 -8
- package/dist/chunks/{workspace-ydj4c9qd.js → worktree-mtqf31pt.js} +8 -8
- package/dist/chunks/{workspace-51zkqdw5.js → worktree-mwwsh29t.js} +6 -6
- package/dist/chunks/{workspace-gzbkpp9m.js → worktree-n8c291r7.js} +6 -6
- package/dist/chunks/{workspace-dg3actxj.js → worktree-n9ktaep2.js} +12 -12
- package/dist/chunks/{workspace-e5wkkm03.js → worktree-nm76w6gv.js} +9 -9
- package/dist/chunks/{workspace-r0xdmm2x.js → worktree-nrkjg2yg.js} +3 -3
- package/dist/chunks/{workspace-n6yg2dx3.js → worktree-ns90ddce.js} +14 -14
- package/dist/chunks/{workspace-ag4kexbf.js → worktree-nvkemvkp.js} +18 -18
- package/dist/chunks/{workspace-k3c624dm.js → worktree-nzks3jc8.js} +3 -3
- package/dist/chunks/{workspace-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
- package/dist/chunks/{workspace-j63bvea4.js → worktree-p3d2pjj7.js} +21 -21
- package/dist/chunks/{workspace-dev81jam.js → worktree-p3xeg7xc.js} +10 -10
- package/dist/chunks/{workspace-gqef77pn.js → worktree-pd15fgp8.js} +14 -14
- package/dist/chunks/{workspace-h90v2x9d.js → worktree-ph842b28.js} +4 -4
- package/dist/chunks/{workspace-4znvn7gr.js → worktree-pjgmd77a.js} +20 -20
- package/dist/chunks/{workspace-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-7mwh74bs.js → worktree-pvrysvhk.js} +40 -40
- package/dist/chunks/{workspace-kms6q2ez.js → worktree-q5ampng9.js} +40 -40
- package/dist/chunks/{workspace-4wywd361.js → worktree-q60qjx67.js} +20 -20
- package/dist/chunks/{workspace-mxzszbxx.js → worktree-qmwxv1vq.js} +4 -4
- package/dist/chunks/{workspace-drwq78ky.js → worktree-qqeeq2t9.js} +7 -7
- package/dist/chunks/{workspace-7yqjxrmz.js → worktree-qqtwvk4z.js} +6 -6
- package/dist/chunks/{workspace-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-9afpsfvx.js → worktree-qxds82wp.js} +12 -12
- package/dist/chunks/{workspace-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-skyymkrr.js → worktree-rj6d5p5e.js} +3 -3
- package/dist/chunks/{workspace-ts2x07a1.js → worktree-ryt7pzqc.js} +1 -1
- package/dist/chunks/{workspace-1109kv5r.js → worktree-s0agc963.js} +8 -8
- package/dist/chunks/{workspace-hckqc91h.js → worktree-s197j8aa.js} +1 -1
- package/dist/chunks/{workspace-1qycez7y.js → worktree-s1pqek41.js} +5 -5
- package/dist/chunks/{workspace-s4enseaf.js → worktree-s4enseaf.js} +2 -2
- package/dist/chunks/{workspace-aa9t59y1.js → worktree-sbd1zx3a.js} +1 -1
- package/dist/chunks/{workspace-2vkv0cnq.js → worktree-sjf3tctt.js} +5 -5
- package/dist/chunks/{workspace-y1qqcj8h.js → worktree-sm965ndy.js} +8 -8
- package/dist/chunks/{workspace-nxhqveyz.js → worktree-sra9araw.js} +5 -5
- package/dist/chunks/{workspace-30v61e4e.js → worktree-sxnvhwv1.js} +9 -9
- package/dist/chunks/{workspace-d5ttdwt8.js → worktree-t0fn9gk0.js} +13 -13
- package/dist/chunks/{workspace-p08vy892.js → worktree-t192gekf.js} +18 -18
- package/dist/chunks/{workspace-f9mw7c7h.js → worktree-t3jywk8f.js} +9 -9
- package/dist/chunks/{workspace-5wtwrezn.js → worktree-t51qk8jz.js} +4 -4
- package/dist/chunks/{workspace-rhjbct0v.js → worktree-t550f9t1.js} +4 -4
- package/dist/chunks/{workspace-76prynaz.js → worktree-t9v9zp6z.js} +24 -24
- package/dist/chunks/{workspace-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-q3bxgjqn.js → worktree-tj6nafm8.js} +4 -4
- package/dist/chunks/{workspace-gx7pnxmb.js → worktree-tjhrsaf7.js} +20 -20
- package/dist/chunks/{workspace-yr9g6ed9.js → worktree-tnk6yr9e.js} +8 -8
- package/dist/chunks/{workspace-640tze88.js → worktree-tnp1bzfj.js} +37 -37
- package/dist/chunks/{workspace-jejc27r1.js → worktree-ttca00zt.js} +10 -10
- package/dist/chunks/{workspace-52v19zrt.js → worktree-tvfyrrh0.js} +11 -11
- package/dist/chunks/{workspace-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-qamn654r.js → worktree-vay95fzq.js} +18 -18
- package/dist/chunks/{workspace-qt8r77pr.js → worktree-vcxwaaxe.js} +41 -41
- package/dist/chunks/{workspace-r98e92ep.js → worktree-ve4pfa0n.js} +4 -4
- package/dist/chunks/{workspace-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-zgr14hn3.js → worktree-vm7xxkph.js} +47 -47
- package/dist/chunks/{workspace-8e8ps5tf.js → worktree-vtmgncrs.js} +285 -285
- package/dist/chunks/{workspace-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-f7bpj06z.js → worktree-w16pgjcx.js} +31 -31
- package/dist/chunks/{workspace-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-djses6k1.js → worktree-w4sgba9p.js} +16 -16
- package/dist/chunks/{workspace-4tc7j1s6.js → worktree-w9wca7t8.js} +18 -18
- package/dist/chunks/{workspace-1qyabnfk.js → worktree-w9y6772s.js} +4 -4
- package/dist/chunks/{workspace-baka6n5b.js → worktree-wbgjk9hv.js} +16 -16
- package/dist/chunks/{workspace-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-sh5j93g6.js → worktree-wfsp5hpn.js} +15 -15
- package/dist/chunks/{workspace-j58c5xyq.js → worktree-wk5z6jzv.js} +9 -9
- package/dist/chunks/{workspace-gvmqr5pk.js → worktree-wt5y36s4.js} +4 -4
- package/dist/chunks/{workspace-9sh3hrkk.js → worktree-wxkrd8sq.js} +18 -18
- package/dist/chunks/{workspace-bw5fx9w3.js → worktree-wxqxrmdn.js} +24 -24
- package/dist/chunks/{workspace-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-snrwn5jy.js → worktree-x7vm5fej.js} +17 -17
- package/dist/chunks/{workspace-2y271c3v.js → worktree-xbgsghrj.js} +11 -11
- package/dist/chunks/{workspace-mvtq8teh.js → worktree-xbp7gjm9.js} +16 -16
- package/dist/chunks/{workspace-tf5sv5hw.js → worktree-xgpk3fc4.js} +10 -10
- package/dist/chunks/{workspace-xnrjh0c9.js → worktree-xp0zd8np.js} +4 -4
- package/dist/chunks/{workspace-52gr90nh.js → worktree-xp1ejmsr.js} +10 -10
- package/dist/chunks/{workspace-y85xckx8.js → worktree-xsny6hxq.js} +13 -13
- package/dist/chunks/{workspace-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-0mapazwk.js → worktree-y23sf9zr.js} +3 -3
- package/dist/chunks/{workspace-xhrj4m9x.js → worktree-y3eyw53f.js} +2 -2
- package/dist/chunks/{workspace-j42yeeyy.js → worktree-y6a4cmqh.js} +3 -3
- package/dist/chunks/{workspace-dpkg50ah.js → worktree-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-m1bgddgg.js → worktree-yasnnz0a.js} +20 -20
- package/dist/chunks/{workspace-gjnmnqwt.js → worktree-yfaww8xg.js} +11 -11
- package/dist/chunks/{workspace-f2n192rq.js → worktree-yp2x3t23.js} +4 -4
- package/dist/chunks/{workspace-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-3xmpap9n.js → worktree-yrmashwv.js} +90 -89
- package/dist/chunks/{workspace-6n9fsvem.js → worktree-yy256scs.js} +31 -31
- package/dist/chunks/{workspace-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-186vekz9.js → worktree-z1y70ee3.js} +3 -3
- package/dist/chunks/{workspace-8aa7pp5r.js → worktree-z8j5hfwf.js} +6 -6
- package/dist/chunks/{workspace-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-x91xbnrx.js → worktree-zjp9qjhq.js} +35 -35
- package/dist/chunks/{workspace-knb7evpn.js → worktree-zqx8wcya.js} +4 -4
- package/dist/chunks/{workspace-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-z0fspzj3.js → worktree-zvffvgzw.js} +7 -7
- package/dist/chunks/{workspace-verpn3ap.js → worktree-zxj82hcj.js} +13 -13
- package/dist/chunks/{workspace-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- 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 +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +93 -93
- package/dist/form.js +75 -75
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- 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 +98 -98
- 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 +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- 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 +68 -68
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- 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 +100 -100
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- 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 +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/mcp/instructions.d.ts +3 -2
- package/dist/types/skill/instructions.d.ts +3 -2
- package/dist/types/skill.d.ts +2 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +73 -73
- package/dist/wellknown/plugin.js +75 -75
- 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 +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/workspace-215ctjcd.js +0 -26
- package/dist/chunks/workspace-cdngtrdw.js +0 -252
- package/dist/chunks/workspace-pf31ssb9.js +0 -18
- package/dist/chunks/workspace-qapv375x.js +0 -4
- /package/dist/chunks/{workspace-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e3qxr5gk.js → worktree-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service77
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-kt1vcyar.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./worktree-p3d2pjj7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service16
|
|
15
|
+
} from "./worktree-wxkrd8sq.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-xp0zd8np.js";
|
|
22
22
|
import {
|
|
23
23
|
Service56
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-6h7j3cy3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service20
|
|
27
|
+
} from "./worktree-4xkxc3t4.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input4,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin40,
|
|
39
|
+
name: () => name4,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name4 = "glob";
|
|
46
|
+
var Input4 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin40 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
69
|
+
const environment = yield* Service51;
|
|
70
|
+
const ripgrep = yield* Service16;
|
|
71
71
|
const location = yield* Service77;
|
|
72
|
-
const access = yield*
|
|
72
|
+
const access = yield* Service20;
|
|
73
73
|
const permission = yield* Service56;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name4,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input4,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name4,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin41 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name4, Input4, Output3, toModelContent2, Plugin40, exports_glob };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-e982br48.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./worktree-tjhrsaf7.js";
|
|
11
11
|
import {
|
|
12
12
|
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-1rc4386p.js";
|
|
15
15
|
import {
|
|
16
16
|
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service71
|
|
20
|
+
} from "./worktree-8b4cgdt8.js";
|
|
21
21
|
import {
|
|
22
22
|
ID11
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-axxg5j10.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./worktree-ns90ddce.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-xp1ejmsr.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -157,7 +157,7 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
160
|
+
const providers = yield* Service71;
|
|
161
161
|
const bus = yield* Service82;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
@@ -175,7 +175,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
176
|
const provider = yield* providers.get(ID12.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -200,7 +200,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -221,7 +221,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
227
|
if (evt.model.providerID !== ID12.githubCopilot)
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info5,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-gqyhxdpp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service68
|
|
11
|
+
} from "./worktree-28cf9raz.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill = {};
|
|
18
|
+
__export(exports_skill, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin2,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin2 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info5.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info5.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service68;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin2, exports_skill };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-8b4cgdt8.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-axxg5j10.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
node83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-sjf3tctt.js";
|
|
7
7
|
import {
|
|
8
8
|
Service77,
|
|
9
9
|
node81
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-kt1vcyar.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make21
|
|
16
|
+
} from "./worktree-7k0xwvvh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service66,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node70
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service66 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
36
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
37
37
|
const location = yield* Service77;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make21;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service66.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node70 = makeLocationNode({
|
|
61
|
+
service: Service66,
|
|
62
62
|
layer,
|
|
63
63
|
deps: [node81, Global.node, node83, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service66, node70, exports_strategies };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service77
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-kt1vcyar.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service68
|
|
7
|
+
} from "./worktree-28cf9raz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service19
|
|
10
|
+
} from "./worktree-3j8s7hm7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make8
|
|
13
|
+
} from "./worktree-eq1pz5kg.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin28
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin28 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service68;
|
|
37
|
+
const formatter = yield* Service19;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service77;
|
|
@@ -45,7 +45,7 @@ var Plugin15 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make8({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin15 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin28, exports_formatter };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service5,
|
|
13
|
+
node: () => node7
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service5 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service5.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service5, node7, exports_update };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-e982br48.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-z1y70ee3.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service51,
|
|
8
|
+
node53
|
|
9
|
+
} from "./worktree-p3d2pjj7.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service16,
|
|
24
|
+
node: () => node18
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service16 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service51;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service16.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node18 = makeLocationNode({ service: Service16, layer, deps: [node53, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service16, node18, exports_ripgrep };
|