@opencode/core 0.0.0-dev-20281 → 0.0.0-dev-20282
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{rpc-tmxcz70p.js → worktree-001r8x2z.js} +13 -13
- package/dist/chunks/{rpc-ps0jvca7.js → worktree-04fgd0za.js} +8 -8
- package/dist/chunks/{rpc-ssbdqrjt.js → worktree-05wfypjm.js} +9 -9
- package/dist/chunks/{rpc-yd2mve5d.js → worktree-0fmx3rft.js} +36 -36
- package/dist/chunks/{rpc-mgnc1c7z.js → worktree-0kwkvfx9.js} +20 -20
- package/dist/chunks/{rpc-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-ykbhpvja.js → worktree-0tqnbkze.js} +24 -24
- package/dist/chunks/{rpc-wv1xvc5h.js → worktree-0wq3fknx.js} +4 -4
- package/dist/chunks/{rpc-g0hp4pfd.js → worktree-0y5p342v.js} +27 -27
- package/dist/chunks/{rpc-ww9wy50d.js → worktree-0yz5n6xt.js} +20 -20
- package/dist/chunks/{rpc-4kmxbxdg.js → worktree-13hs8bk8.js} +16 -16
- package/dist/chunks/{rpc-0kvh2d7d.js → worktree-13z0wsye.js} +21 -21
- package/dist/chunks/{rpc-myd9142g.js → worktree-16avzxan.js} +18 -18
- package/dist/chunks/{rpc-4zyrrfq5.js → worktree-1a47d5f5.js} +18 -18
- package/dist/chunks/{rpc-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-83xp5e3e.js → worktree-1thfznkn.js} +2 -2
- package/dist/chunks/{rpc-jej1981d.js → worktree-1vv0dy0q.js} +5 -5
- package/dist/chunks/{rpc-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-bakcbm75.js → worktree-2gkgy5cd.js} +11 -11
- package/dist/chunks/{rpc-qgn6gcr1.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{rpc-gjeb9azq.js → worktree-2p8kvsjt.js} +9 -9
- package/dist/chunks/{rpc-mmrehy5f.js → worktree-2pdr3hh8.js} +8 -8
- package/dist/chunks/{rpc-yd8awzfr.js → worktree-2tpncfxr.js} +16 -16
- package/dist/chunks/{rpc-zem4mrp3.js → worktree-2txv2b1a.js} +22 -22
- package/dist/chunks/{rpc-37s12vcn.js → worktree-37s12vcn.js} +2 -2
- package/dist/chunks/{rpc-g30dahm1.js → worktree-38cm9fde.js} +14 -14
- package/dist/chunks/{rpc-5xfmbqkv.js → worktree-3983m4qc.js} +6 -6
- package/dist/chunks/{rpc-e42pfdfs.js → worktree-39xspfpy.js} +26 -26
- package/dist/chunks/{rpc-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-g9kjbw1c.js → worktree-3scrsqvb.js} +41 -41
- package/dist/chunks/{rpc-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/worktree-3xcbqfaz.js +26 -0
- package/dist/chunks/{rpc-kpyndhjd.js → worktree-3yg658cz.js} +5 -5
- package/dist/chunks/{rpc-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-9nepbqpa.js → worktree-41ae5dp3.js} +6 -6
- package/dist/chunks/{rpc-tw7vszv5.js → worktree-4hzv95ch.js} +6 -6
- package/dist/chunks/{rpc-2sskxj6s.js → worktree-4mvyd98b.js} +26 -26
- package/dist/chunks/{rpc-tp2y1s10.js → worktree-4sygg0q8.js} +3 -3
- package/dist/chunks/{rpc-365rh5wb.js → worktree-4ytbpwws.js} +10 -10
- package/dist/chunks/{rpc-510m7gjw.js → worktree-510m7gjw.js} +2 -2
- package/dist/chunks/{rpc-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{rpc-54tcyq79.js → worktree-54tcyq79.js} +2 -2
- package/dist/chunks/{rpc-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
- package/dist/chunks/{rpc-57ez7d0k.js → worktree-57ez7d0k.js} +2 -2
- package/dist/chunks/{rpc-xbcqcrm3.js → worktree-5cyshn7d.js} +35 -35
- package/dist/chunks/{rpc-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-hcjd2d0x.js → worktree-5g0t0vrr.js} +20 -20
- package/dist/chunks/{rpc-3v1hba8n.js → worktree-5k435bcb.js} +27 -27
- package/dist/chunks/{rpc-z5rd9rww.js → worktree-5q13c62c.js} +8 -8
- package/dist/chunks/{rpc-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/worktree-5tw8dxaf.js +252 -0
- package/dist/chunks/{rpc-vy4zg7qh.js → worktree-607q5haz.js} +5 -5
- package/dist/chunks/{rpc-zc3gqq1k.js → worktree-65wnmjcv.js} +44 -44
- package/dist/chunks/{rpc-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{rpc-q19p4fn9.js → worktree-6bsje7ws.js} +2 -2
- package/dist/chunks/{rpc-b39ffzrr.js → worktree-6c7knq90.js} +9 -9
- package/dist/chunks/{rpc-d9skxfzj.js → worktree-6e6azkd7.js} +13 -13
- package/dist/chunks/{rpc-fqb2p7cx.js → worktree-6hh8tjw2.js} +4 -4
- package/dist/chunks/{rpc-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-w92k2e0p.js → worktree-6pc27hjz.js} +4 -4
- package/dist/chunks/{rpc-141hy0jj.js → worktree-6qjgy708.js} +21 -21
- package/dist/chunks/{rpc-zbrmq810.js → worktree-6stbmbnr.js} +13 -13
- package/dist/chunks/{rpc-nfjk7xkz.js → worktree-6wbqgrby.js} +34 -34
- package/dist/chunks/{rpc-dw0sqts0.js → worktree-716zhn38.js} +17 -17
- package/dist/chunks/{rpc-62f0kzmk.js → worktree-77f208p9.js} +20 -20
- package/dist/chunks/{rpc-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-rjeydd8s.js → worktree-7hvm96qr.js} +3 -3
- package/dist/chunks/{rpc-999vxy5h.js → worktree-7m5nqmhf.js} +5 -5
- package/dist/chunks/{rpc-jt55evk2.js → worktree-7mk6t6fc.js} +15 -15
- package/dist/chunks/{rpc-1z5zt5kg.js → worktree-7nj41wgj.js} +8 -8
- package/dist/chunks/{rpc-bn1bhpjp.js → worktree-7ph45jmk.js} +17 -17
- package/dist/chunks/{rpc-sqmzwr9m.js → worktree-7v81x33d.js} +9 -9
- package/dist/chunks/{rpc-t3ew74rm.js → worktree-7x9fc9vt.js} +25 -25
- package/dist/chunks/{rpc-n5e92k76.js → worktree-7z0y8v4j.js} +11 -11
- package/dist/chunks/{rpc-w1eejvng.js → worktree-84txncab.js} +5 -5
- package/dist/chunks/{rpc-9e4j78a5.js → worktree-88gzfjcr.js} +13 -13
- package/dist/chunks/{rpc-298xyahw.js → worktree-8d238hm6.js} +8 -8
- package/dist/chunks/{rpc-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-ea8zm51c.js → worktree-8jjn45ms.js} +39 -39
- package/dist/chunks/{rpc-633ne18k.js → worktree-8pmzaq8m.js} +16 -16
- package/dist/chunks/{rpc-qs4aqrgb.js → worktree-8refbgwz.js} +8 -8
- package/dist/chunks/{rpc-3s9hx8mg.js → worktree-9cc5f0sc.js} +6 -6
- package/dist/chunks/{rpc-v9d4hk29.js → worktree-9trtk54k.js} +4 -4
- package/dist/chunks/{rpc-mwqdf1sn.js → worktree-a0enp6nq.js} +24 -24
- package/dist/chunks/{rpc-ntfntkz5.js → worktree-a0res7gz.js} +3 -3
- package/dist/chunks/{rpc-29qym6xz.js → worktree-a2rpfkac.js} +4 -4
- package/dist/chunks/{rpc-zd488a3c.js → worktree-a4zamhgm.js} +9 -9
- package/dist/chunks/{rpc-y66s3efq.js → worktree-a97p8s91.js} +27 -27
- package/dist/chunks/{rpc-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-7rvkzce7.js → worktree-acj060rm.js} +13 -13
- package/dist/chunks/{rpc-8m6sn5gg.js → worktree-arkrw169.js} +16 -16
- package/dist/chunks/{rpc-4e8vs6eh.js → worktree-at1kfnmk.js} +8 -8
- package/dist/chunks/{rpc-v9cny2f3.js → worktree-b3226ya6.js} +11 -11
- package/dist/chunks/{rpc-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-5vhcwf2z.js → worktree-babexwax.js} +38 -38
- package/dist/chunks/{rpc-j51ddsps.js → worktree-bbyzm5jj.js} +16 -16
- package/dist/chunks/{rpc-xzp83s65.js → worktree-bdfevam1.js} +9 -9
- package/dist/chunks/{rpc-yq2cczkq.js → worktree-bdqrk2vk.js} +8 -8
- package/dist/chunks/{rpc-bjtzbw4r.js → worktree-bjtzbw4r.js} +3 -3
- package/dist/chunks/{rpc-w169z2fj.js → worktree-c02n6d1v.js} +6 -6
- package/dist/chunks/{rpc-mm13qbkm.js → worktree-c8vdmst3.js} +3 -3
- package/dist/chunks/{rpc-pccby3rj.js → worktree-cf5xjrzv.js} +24 -24
- package/dist/chunks/{rpc-nmjntwhv.js → worktree-cnwktfg5.js} +11 -11
- package/dist/chunks/{rpc-aqr04kca.js → worktree-ctf6ejh2.js} +48 -48
- package/dist/chunks/{rpc-ft3hqk2c.js → worktree-cwa6csj7.js} +9 -9
- package/dist/chunks/{rpc-vt17nwfb.js → worktree-cxfey8jy.js} +83 -83
- package/dist/chunks/{rpc-ve87mz4w.js → worktree-d1g447ty.js} +39 -39
- package/dist/chunks/{rpc-bjqeqaym.js → worktree-d5895qzs.js} +25 -25
- package/dist/chunks/{rpc-qbsyshfb.js → worktree-d8n3qghg.js} +11 -11
- package/dist/chunks/{rpc-2p8k3371.js → worktree-df2tmfns.js} +6 -6
- package/dist/chunks/{rpc-r4yqrmdq.js → worktree-dfzjqex4.js} +5 -5
- package/dist/chunks/{rpc-baaqp4zd.js → worktree-dhmh7aw6.js} +4 -4
- package/dist/chunks/{rpc-y71avatq.js → worktree-dpkg50ah.js} +4 -4
- package/dist/chunks/{rpc-57b9ws8p.js → worktree-drwq78ky.js} +5 -5
- package/dist/chunks/{rpc-701yh738.js → worktree-dshgy0ng.js} +11 -11
- package/dist/chunks/{rpc-7padzwyv.js → worktree-dvt1dkn2.js} +5 -5
- package/dist/chunks/{rpc-wcjyc11q.js → worktree-dzpmeesh.js} +8 -8
- package/dist/chunks/{rpc-e32h2zds.js → worktree-e27snknr.js} +2 -2
- package/dist/chunks/{rpc-nxzfgd6f.js → worktree-e5txvggt.js} +6 -6
- package/dist/chunks/{rpc-g6yabpgm.js → worktree-e6netmhg.js} +20 -20
- package/dist/chunks/{rpc-fjv2ngq8.js → worktree-e820y9mc.js} +19 -19
- package/dist/chunks/{rpc-deeq2pzv.js → worktree-ebmcb21f.js} +78 -78
- package/dist/chunks/{rpc-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{rpc-r4rdmmte.js → worktree-edetqt3t.js} +40 -40
- package/dist/chunks/{rpc-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-kz2x8dvd.js → worktree-evbtbmkv.js} +12 -12
- package/dist/chunks/{rpc-f29mbr7f.js → worktree-f29mbr7f.js} +1 -1
- package/dist/chunks/{rpc-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{rpc-06j8v02r.js → worktree-f6xr78aq.js} +14 -14
- package/dist/chunks/{rpc-182ks7j2.js → worktree-ff0svapt.js} +2 -2
- package/dist/chunks/{rpc-qg0jgkcp.js → worktree-fhs97t90.js} +9 -9
- package/dist/chunks/{rpc-9e1k052j.js → worktree-fmbkyxpy.js} +8 -8
- package/dist/chunks/{rpc-kxpygcw9.js → worktree-fvanntqq.js} +6 -6
- package/dist/chunks/{rpc-6wxw79w5.js → worktree-fvhqjn4t.js} +16 -16
- package/dist/chunks/{rpc-arqmvm47.js → worktree-g02t4ync.js} +7 -7
- package/dist/chunks/{rpc-349p06hg.js → worktree-g14m86g0.js} +17 -17
- package/dist/chunks/{rpc-50mzsvk4.js → worktree-g190xswt.js} +4 -4
- package/dist/chunks/{rpc-r8bat8tc.js → worktree-g1a5metn.js} +23 -23
- package/dist/chunks/{rpc-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-gfvb90ym.js → worktree-gfvb90ym.js} +2 -2
- package/dist/chunks/{rpc-29ewe8af.js → worktree-gh7hrkz2.js} +12 -12
- package/dist/chunks/{rpc-4gc3neaj.js → worktree-gmst7b26.js} +11 -11
- package/dist/chunks/{rpc-ym26fzz4.js → worktree-gpb5d8yt.js} +22 -22
- package/dist/chunks/{rpc-3v4byysy.js → worktree-gpbn0p0w.js} +4 -4
- package/dist/chunks/{rpc-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-0t2955jx.js → worktree-gvz3sgsx.js} +28 -28
- package/dist/chunks/{rpc-p5fnt7js.js → worktree-h1fe2t5t.js} +37 -37
- package/dist/chunks/{rpc-xvp1j2dc.js → worktree-h6b02349.js} +5 -5
- package/dist/chunks/{rpc-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
- package/dist/chunks/{rpc-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-bh0r781w.js → worktree-hjzphaj3.js} +29 -29
- package/dist/chunks/{rpc-7zpeh0yx.js → worktree-hnr8f6ws.js} +4 -4
- package/dist/chunks/{rpc-vs4gd2t2.js → worktree-hwkt67y2.js} +3 -3
- package/dist/chunks/{rpc-p1k6g3zz.js → worktree-j44dp3r5.js} +13 -13
- package/dist/chunks/{rpc-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-sqq1y2kk.js → worktree-jkrbnkha.js} +33 -33
- package/dist/chunks/worktree-jqh9b0xq.js +18 -0
- package/dist/chunks/{rpc-d5msnsy6.js → worktree-jxqd1873.js} +17 -17
- package/dist/chunks/{rpc-geewefw6.js → worktree-jz04rre8.js} +5 -5
- package/dist/chunks/{rpc-x3pzyyn5.js → worktree-k320j1p5.js} +5 -5
- package/dist/chunks/{rpc-nzks3jc8.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{rpc-g4tp3wzg.js → worktree-kq7s3qmg.js} +13 -13
- package/dist/chunks/{rpc-cc4mce2f.js → worktree-kxh1rwc9.js} +10 -10
- package/dist/chunks/{rpc-yw9vmcw5.js → worktree-m1rw40sm.js} +23 -23
- package/dist/chunks/{rpc-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{rpc-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-m2x37xra.js → worktree-mhdhaaav.js} +7 -7
- package/dist/chunks/{rpc-73tb2d7t.js → worktree-mvfsc1pv.js} +3 -3
- package/dist/chunks/{rpc-6vz6grh2.js → worktree-mygz8mfe.js} +30 -30
- package/dist/chunks/{rpc-mzywpf3p.js → worktree-mzywpf3p.js} +4 -4
- package/dist/chunks/{rpc-afqdt354.js → worktree-n0j3w4fg.js} +4 -4
- package/dist/chunks/{rpc-0vf1tx4v.js → worktree-n3mssk1e.js} +29 -29
- package/dist/chunks/{rpc-b87jqyzw.js → worktree-n8c6me3b.js} +10 -10
- package/dist/chunks/{rpc-7w4s0c2p.js → worktree-nbte9t97.js} +31 -31
- package/dist/chunks/{rpc-7s8ttw7e.js → worktree-ncv2fk57.js} +20 -20
- package/dist/chunks/{rpc-jcrvr82e.js → worktree-nhcgyx4g.js} +26 -26
- package/dist/chunks/{rpc-rh0bbtdf.js → worktree-nk9vavb0.js} +12 -12
- package/dist/chunks/{rpc-cky531be.js → worktree-nq4cgafe.js} +10 -10
- package/dist/chunks/{rpc-6s236mgx.js → worktree-nt7h19mv.js} +23 -23
- package/dist/chunks/{rpc-nt406rr4.js → worktree-nx7rc8rf.js} +28 -28
- package/dist/chunks/{rpc-2bbyca3v.js → worktree-p2ysnx2b.js} +37 -37
- package/dist/chunks/{rpc-n4jfkgh8.js → worktree-p4keywyt.js} +22 -22
- package/dist/chunks/{rpc-dv1qgsyq.js → worktree-pa8pe2x7.js} +8 -8
- package/dist/chunks/{rpc-qkxbnhbs.js → worktree-phrkc286.js} +23 -23
- package/dist/chunks/{rpc-ttpmax8e.js → worktree-pja85v6r.js} +31 -31
- package/dist/chunks/{rpc-cee7aztj.js → worktree-pjet4p5y.js} +13 -13
- package/dist/chunks/{rpc-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-qkqfr02h.js → worktree-pkfj85rw.js} +23 -23
- package/dist/chunks/{rpc-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-xx4yg2g6.js → worktree-pqhj0jbj.js} +24 -24
- package/dist/chunks/{rpc-psazpmmj.js → worktree-psazpmmj.js} +2 -2
- package/dist/chunks/{rpc-14h20gk9.js → worktree-psfjzz48.js} +20 -20
- package/dist/chunks/{rpc-k5tj5dm6.js → worktree-pw7ttv0e.js} +5 -5
- package/dist/chunks/{rpc-wp3v471f.js → worktree-pxk6mp5z.js} +13 -13
- package/dist/chunks/{rpc-c9vtk06m.js → worktree-qdvcf3bf.js} +13 -13
- package/dist/chunks/{rpc-vmnk7m7g.js → worktree-qj2bgxy5.js} +11 -11
- package/dist/chunks/{rpc-zn33kztm.js → worktree-qj6hp2b9.js} +5 -5
- package/dist/chunks/{rpc-m0ftxd20.js → worktree-qk8xmq2z.js} +28 -28
- package/dist/chunks/{rpc-8mfdap3f.js → worktree-qm7jrdpz.js} +8 -8
- package/dist/chunks/{rpc-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-b4g74394.js → worktree-qxx8s78x.js} +1 -1
- package/dist/chunks/{rpc-vbfgae2j.js → worktree-r66xghd9.js} +4 -4
- package/dist/chunks/{rpc-ye2dcr60.js → worktree-r7yn1rvr.js} +11 -11
- package/dist/chunks/{rpc-2ehxhhx0.js → worktree-r8z3mrqg.js} +10 -10
- package/dist/chunks/{rpc-3149w101.js → worktree-r9dfe0xv.js} +3 -3
- package/dist/chunks/{rpc-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-wsr1ah9b.js → worktree-rga26kte.js} +20 -20
- package/dist/chunks/{rpc-t3e63qpa.js → worktree-rghmt2bq.js} +11 -11
- package/dist/chunks/{rpc-fy1sbc2w.js → worktree-rjcp021a.js} +25 -25
- package/dist/chunks/{rpc-rk1r2hx8.js → worktree-rk1r2hx8.js} +1 -1
- package/dist/chunks/{rpc-h07bg3jc.js → worktree-rkg3eda0.js} +3 -3
- package/dist/chunks/{rpc-5964kreg.js → worktree-rr904bsk.js} +8 -8
- package/dist/chunks/{rpc-s61pm60b.js → worktree-rvnppp2f.js} +16 -16
- package/dist/chunks/{rpc-dgkzhmrs.js → worktree-s2389n8w.js} +26 -26
- package/dist/chunks/{rpc-s8d7rejh.js → worktree-s8d7rejh.js} +1 -1
- package/dist/chunks/{rpc-hkfg6fzm.js → worktree-s8zy8myc.js} +5 -5
- package/dist/chunks/{rpc-4k0xqdp1.js → worktree-saaf3fxb.js} +8 -8
- package/dist/chunks/{rpc-ncms4gaj.js → worktree-sc67qxtv.js} +17 -17
- package/dist/chunks/{rpc-8q7zwx93.js → worktree-sctfb3fq.js} +171 -171
- package/dist/chunks/{rpc-gs3nyf6v.js → worktree-sf4jr7qp.js} +6 -6
- package/dist/chunks/{rpc-asqr2k0y.js → worktree-sfsqqvr9.js} +10 -10
- package/dist/chunks/{rpc-sd7amxc6.js → worktree-sgrxgjcw.js} +48 -48
- package/dist/chunks/{rpc-ycaeh1sm.js → worktree-ssmddv2w.js} +60 -60
- package/dist/chunks/{rpc-1j7wb12c.js → worktree-swvkd5aj.js} +15 -15
- package/dist/chunks/{rpc-r6jt1nbf.js → worktree-szvsns8r.js} +16 -16
- package/dist/chunks/{rpc-9gx13w9t.js → worktree-t6h24dbe.js} +26 -26
- package/dist/chunks/{rpc-3x4nas8y.js → worktree-t7ag82h9.js} +11 -11
- package/dist/chunks/{rpc-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-0jkw1j53.js → worktree-tcay1cqt.js} +6 -6
- package/dist/chunks/{rpc-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{rpc-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-1866jdqb.js → worktree-texqengy.js} +29 -29
- package/dist/chunks/{rpc-c10q62gs.js → worktree-tkeqd284.js} +22 -22
- package/dist/chunks/{rpc-32gc6g6n.js → worktree-tmdeze9j.js} +15 -15
- package/dist/chunks/{rpc-nw79srx6.js → worktree-tnmnnxk1.js} +8 -8
- package/dist/chunks/{rpc-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-x8fbbgnb.js → worktree-twcj9f7k.js} +10 -10
- package/dist/chunks/{rpc-v9xrr8sf.js → worktree-v3gyjhav.js} +3 -3
- package/dist/chunks/{rpc-rwmsc9fw.js → worktree-vd40n7bw.js} +27 -27
- package/dist/chunks/{rpc-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-bct739vz.js → worktree-vncycja5.js} +4 -4
- package/dist/chunks/{rpc-cxb8c9p3.js → worktree-vt5jpe43.js} +13 -13
- package/dist/chunks/{rpc-791sxkqm.js → worktree-vz69adje.js} +9 -9
- package/dist/chunks/{rpc-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-66d21r53.js → worktree-wbjhn24r.js} +317 -317
- package/dist/chunks/{rpc-g7xrawpy.js → worktree-wbxafc5g.js} +26 -26
- package/dist/chunks/{rpc-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-8rhgz57t.js → worktree-wmgh7mcp.js} +6 -6
- package/dist/chunks/{rpc-t5h2sqdf.js → worktree-wmrgf2w8.js} +13 -13
- package/dist/chunks/{rpc-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-05x7j1j7.js → worktree-x3avv4w2.js} +11 -11
- package/dist/chunks/{rpc-g6begz1c.js → worktree-xgjazd1c.js} +4 -4
- package/dist/chunks/{rpc-hvn3gssd.js → worktree-xkfwnfrx.js} +4 -4
- package/dist/chunks/{rpc-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
- package/dist/chunks/{rpc-7860t2hb.js → worktree-xycp8wsc.js} +18 -18
- package/dist/chunks/{rpc-yr3j3mvp.js → worktree-xz96dst1.js} +16 -16
- package/dist/chunks/{rpc-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-wk5z6jzv.js → worktree-y56ehv6b.js} +2 -2
- package/dist/chunks/{rpc-yvvvp4gn.js → worktree-y72zmemf.js} +8 -8
- package/dist/chunks/{rpc-fe85qmjv.js → worktree-y8vddaww.js} +9 -9
- package/dist/chunks/{rpc-5j6r72e5.js → worktree-yef8782z.js} +1 -1
- package/dist/chunks/{rpc-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{rpc-p9g6edyn.js → worktree-yty66srb.js} +10 -10
- package/dist/chunks/{rpc-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-nt1ytqhs.js → worktree-z22jgdat.js} +20 -20
- package/dist/chunks/{rpc-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{rpc-e3zw7zk6.js → worktree-z6zhy1es.js} +10 -10
- package/dist/chunks/{rpc-9dvxtgw7.js → worktree-zbnrbdq4.js} +15 -15
- package/dist/chunks/{rpc-4n607a2z.js → worktree-zd30eb5w.js} +5 -5
- package/dist/chunks/{rpc-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-qmq4w36z.js → worktree-zfmp5921.js} +15 -15
- package/dist/chunks/{rpc-f40tx9v5.js → worktree-zh5p47ff.js} +7 -7
- package/dist/chunks/{rpc-bgvfp3ce.js → worktree-zkrycxef.js} +12 -12
- package/dist/chunks/{rpc-a5bdhyw0.js → worktree-zq6nw3ey.js} +11 -11
- package/dist/chunks/{rpc-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-5ypa2p6a.js → worktree-zr4wykqj.js} +12 -12
- package/dist/chunks/{rpc-n6gj03av.js → worktree-zx5w74wq.js} +14 -14
- package/dist/chunks/{rpc-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 +73 -73
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- 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 +99 -99
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +99 -99
- 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 +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- 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 +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +162 -162
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- 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 +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- 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 +14 -14
- 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 +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/rpc-8skgypty.js +0 -252
- package/dist/chunks/rpc-9sh4wc5j.js +0 -18
- package/dist/chunks/rpc-gc8f23sy.js +0 -26
- /package/dist/chunks/{rpc-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-v3gyjhav.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-0wq3fknx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service50,
|
|
11
|
+
node52
|
|
12
|
+
} from "./worktree-sc67qxtv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node50
|
|
16
|
+
} from "./worktree-tcay1cqt.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make15
|
|
22
|
+
} from "./worktree-f2n192rq.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service46
|
|
26
|
+
} from "./worktree-dhmh7aw6.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service71,
|
|
29
|
+
node75
|
|
30
|
+
} from "./worktree-nk9vavb0.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./worktree-jz04rre8.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-pqhj0jbj.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service45,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
48
|
-
noopLayer: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node48,
|
|
48
|
+
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service45 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service71;
|
|
64
|
+
const instances = yield* Service48;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service50;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service46.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make15({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer20 = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node48 = makeGlobalNode({
|
|
127
|
+
service: Service45,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node75, node50, node87, node88, node52]
|
|
130
130
|
});
|
|
131
|
-
var
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service45, Service45.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service49, Service49.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service45, terminal2, layer19, node48, noopLayer3, exports_execution };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-rga26kte.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info22
|
|
11
|
+
} from "./worktree-vd40n7bw.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID8.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info22.make({
|
|
122
|
+
...Info22.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID8.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service6,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node8
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service6 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node8 = makeLocationNode({
|
|
19
|
+
service: Service6,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service6, node8, bound2, exports_instance2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-kxh1rwc9.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-0wq3fknx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./worktree-qk8xmq2z.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-e6netmhg.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
ID13
|
|
20
|
+
} from "./worktree-rga26kte.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-3983m4qc.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
43
43
|
var AzurePlugin2 = define({
|
|
44
44
|
id: "opencode.provider.azure",
|
|
45
45
|
effect: Effect.fn(function* (ctx) {
|
|
46
|
-
const configured = yield* configuredSettings2(
|
|
46
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
47
47
|
const processes = yield* AppProcess.Service;
|
|
48
48
|
const bus = yield* Service83;
|
|
49
49
|
const tokens = new Map;
|
|
@@ -79,13 +79,13 @@ var AzurePlugin2 = define({
|
|
|
79
79
|
});
|
|
80
80
|
yield* ctx.integration.transform((editor) => {
|
|
81
81
|
editor.method.update({
|
|
82
|
-
integrationID:
|
|
82
|
+
integrationID: ID13.azure,
|
|
83
83
|
method: { type: "key", label: "API key", form: form() }
|
|
84
84
|
});
|
|
85
85
|
if (!available)
|
|
86
86
|
return;
|
|
87
87
|
editor.method.update({
|
|
88
|
-
integrationID:
|
|
88
|
+
integrationID: ID13.azure,
|
|
89
89
|
method: {
|
|
90
90
|
id: methodID,
|
|
91
91
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ var AzurePlugin2 = define({
|
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
120
|
-
const connection = yield* ctx.integration.connection.active(
|
|
120
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
121
121
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
122
122
|
return;
|
|
123
123
|
})) : undefined;
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
yield* load();
|
|
132
132
|
yield* ctx.provider.transform((evt) => {
|
|
133
133
|
for (const item of evt.list()) {
|
|
134
|
-
if (item.provider.id !==
|
|
134
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
135
135
|
continue;
|
|
136
136
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
137
137
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -149,7 +149,7 @@ var AzurePlugin2 = define({
|
|
|
149
149
|
});
|
|
150
150
|
yield* ctx.model.transform((models) => {
|
|
151
151
|
for (const item of models.provider.list()) {
|
|
152
|
-
if (item.provider.id !==
|
|
152
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
153
153
|
continue;
|
|
154
154
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
155
155
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -161,9 +161,9 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
|
-
const connection = yield* ctx.integration.connection.active(
|
|
166
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
168
168
|
return;
|
|
169
169
|
})) : undefined;
|
|
@@ -175,7 +175,7 @@ var AzurePlugin2 = define({
|
|
|
175
175
|
return `Bearer ${current.access}`;
|
|
176
176
|
});
|
|
177
177
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
178
|
-
if (evt.model.providerID !==
|
|
178
|
+
if (evt.model.providerID !== ID13.azure)
|
|
179
179
|
return;
|
|
180
180
|
const authorization = yield* bearer(evt.request.url);
|
|
181
181
|
if (!authorization)
|
|
@@ -184,9 +184,9 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", authorization);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID13.azure });
|
|
188
188
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
189
|
-
if (evt.model.providerID !==
|
|
189
|
+
if (evt.model.providerID !== ID13.azure)
|
|
190
190
|
return;
|
|
191
191
|
const authorization = yield* bearer(evt.url);
|
|
192
192
|
if (!authorization)
|
|
@@ -195,7 +195,7 @@ var AzurePlugin2 = define({
|
|
|
195
195
|
delete evt.headers["x-api-key"];
|
|
196
196
|
evt.headers.authorization = authorization;
|
|
197
197
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
198
|
-
}), { providerID:
|
|
198
|
+
}), { providerID: ID13.azure });
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-v3gyjhav.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-0wq3fknx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./worktree-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-rkg3eda0.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service71
|
|
29
|
+
} from "./worktree-nk9vavb0.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service47
|
|
34
|
+
} from "./worktree-pqhj0jbj.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service45
|
|
37
|
+
} from "./worktree-p2ysnx2b.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./worktree-fvhqjn4t.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./worktree-5g0t0vrr.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./worktree-vz69adje.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./worktree-y8vddaww.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./worktree-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make12
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make12 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service71;
|
|
69
|
+
const instances = yield* Service48;
|
|
70
|
+
const execution = yield* Service45;
|
|
71
|
+
const admission = yield* Service47;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service48, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service48, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service48, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service48, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make12, exports_session2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service67,
|
|
3
|
+
node71
|
|
4
|
+
} from "./worktree-65wnmjcv.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-6bsje7ws.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service49,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node51,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service49 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service67;
|
|
59
|
+
return Service49.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node51 = makeLocationNode({ service: Service49, layer, deps: [node71] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service49, resolved2, node51, exports_model };
|