@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,63 +1,63 @@
|
|
|
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
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service79,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service79 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service79.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin35 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin8 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin35, exports_exa };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin39,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin39 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin10 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin39, exports_identity };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service53
|
|
4
|
+
} from "./worktree-babexwax.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./worktree-xycp8wsc.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell2 = {};
|
|
17
17
|
__export(exports_shell2, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin27
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin27 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service53;
|
|
27
|
+
const shell = yield* Service58;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin41 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin27, exports_shell2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-rga26kte.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service53
|
|
8
|
+
} from "./worktree-babexwax.js";
|
|
9
9
|
import {
|
|
10
10
|
resolve2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-7hvm96qr.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin26
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin26 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service53;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin26, exports_provider };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-ctf6ejh2.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-0wq3fknx.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
ID14,
|
|
11
|
+
Service77,
|
|
12
|
+
node81,
|
|
13
13
|
Event18
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-e6netmhg.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
19
|
Service80,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-e27snknr.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -38,12 +38,12 @@ __export(exports_provider3, {
|
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
Event: () => Event17,
|
|
41
|
-
ID: () =>
|
|
41
|
+
ID: () => ID13,
|
|
42
42
|
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service76,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node80,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -65,7 +65,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
67
|
import { Event as Event17 } from "@opencode/schema/provider";
|
|
68
|
-
var
|
|
68
|
+
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
71
71
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
|
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
213
|
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service76 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,9 +225,9 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
230
|
+
const integrations = yield* Service77;
|
|
231
231
|
const location = yield* Service80;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
320
320
|
const available = Array.from(records.values()).filter((record) => {
|
|
321
321
|
if (record.provider.activation === "disabled")
|
|
322
322
|
return false;
|
|
323
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
323
|
+
const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
|
|
324
324
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
325
325
|
return false;
|
|
326
326
|
if (record.provider.activation === "enabled")
|
|
@@ -347,7 +347,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
349
|
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
-
return
|
|
350
|
+
return Service76.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node87, node81, node84] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service76, node80, exports_provider3, Event17 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./worktree-babexwax.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./worktree-7v81x33d.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin16
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin16 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service53;
|
|
26
|
+
const image = yield* Service43;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin38 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin16, exports_image };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./worktree-77f208p9.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-e27snknr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service53
|
|
12
|
+
} from "./worktree-babexwax.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./worktree-cf5xjrzv.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service8
|
|
20
|
+
} from "./worktree-fhs97t90.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9cc5f0sc.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin23
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin23 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service53;
|
|
43
|
+
const discovery = yield* Service8;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service80;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service54;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin37 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin37 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin37 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin37 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin37 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin23, exports_skill2 };
|