@opencode/core 0.0.0-dev-19572 → 0.0.0-dev-19575
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{app-t550f9t1.js → vcs-02nrjc1r.js} +8 -8
- package/dist/chunks/{app-vcmt6bb3.js → vcs-05ynbn8j.js} +6 -6
- package/dist/chunks/{app-sd7bj7eq.js → vcs-08j0ybmn.js} +37 -37
- package/dist/chunks/{app-j2cafn7q.js → vcs-08wx5mwr.js} +4 -4
- package/dist/chunks/{app-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-a6n9gdfw.js → vcs-0wems9h8.js} +30 -30
- package/dist/chunks/{app-48cm3ese.js → vcs-0z4vcyj9.js} +11 -11
- package/dist/chunks/{app-pjedbq3k.js → vcs-0z8vjex2.js} +7 -7
- package/dist/chunks/{app-wz9vdazb.js → vcs-1666rfhc.js} +19 -19
- package/dist/chunks/{app-yp2x3t23.js → vcs-1acjjqhc.js} +4 -4
- package/dist/chunks/{app-1bbkgx8g.js → vcs-1bbkgx8g.js} +1 -1
- package/dist/chunks/{app-evy5tsgm.js → vcs-1daa6z09.js} +8 -8
- package/dist/chunks/{app-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-cgr3n6sw.js → vcs-1g25cns6.js} +47 -47
- package/dist/chunks/{app-fdn4qskz.js → vcs-1q6cbhf1.js} +8 -8
- package/dist/chunks/{app-jpt5ba8t.js → vcs-1raye3gf.js} +7 -7
- package/dist/chunks/{app-gb2m4tsa.js → vcs-1tyaey1c.js} +49 -49
- package/dist/chunks/{app-8xj0m62p.js → vcs-1wtqt1n4.js} +17 -17
- package/dist/chunks/{app-n2ccmr4d.js → vcs-1xxfg03m.js} +11 -11
- package/dist/chunks/{app-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{app-35wynegs.js → vcs-234dm2bj.js} +2 -2
- package/dist/chunks/{app-9vh8w842.js → vcs-23js28ev.js} +11 -11
- package/dist/chunks/{app-2402vzrj.js → vcs-2402vzrj.js} +1 -1
- package/dist/chunks/{app-a63ae20j.js → vcs-27s79xtb.js} +41 -41
- package/dist/chunks/{app-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-0artwwxx.js → vcs-2djskdmr.js} +3 -3
- package/dist/chunks/{app-0jwsre1p.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{app-rtjvja3r.js → vcs-2n26qwnw.js} +5 -5
- package/dist/chunks/{app-ax6xg82t.js → vcs-2x6jr8ta.js} +41 -41
- package/dist/chunks/{app-197zf3mp.js → vcs-2ynamxng.js} +32 -32
- package/dist/chunks/{app-q2f8db2z.js → vcs-30hxd0b6.js} +4 -4
- package/dist/chunks/{app-bajakh74.js → vcs-3c4e3q8d.js} +4 -4
- package/dist/chunks/{app-gdvy8fx6.js → vcs-3fc6dm20.js} +4 -4
- package/dist/chunks/{app-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-7gbj7169.js → vcs-3sy5xtcb.js} +13 -13
- package/dist/chunks/{app-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-cw9sppwf.js → vcs-3vgcc857.js} +6 -6
- package/dist/chunks/{app-93hpb89x.js → vcs-3yjg5mh2.js} +2 -2
- package/dist/chunks/{app-rnp7s5g0.js → vcs-4186xbxr.js} +18 -18
- package/dist/chunks/{app-64vbpm9f.js → vcs-4ab7zdeh.js} +25 -25
- package/dist/chunks/{app-3jk7yf42.js → vcs-4b40vsya.js} +1 -1
- package/dist/chunks/{app-98a6070c.js → vcs-4bty8d53.js} +13 -13
- package/dist/chunks/{app-3dz6zcjs.js → vcs-4nfqbst8.js} +40 -40
- package/dist/chunks/{app-70d2s7af.js → vcs-4td4y4b3.js} +1 -1
- package/dist/chunks/{app-2yh32t8t.js → vcs-4xj33s1b.js} +10 -10
- package/dist/chunks/{app-kt8w7nyt.js → vcs-53e4y3xp.js} +31 -31
- package/dist/chunks/{app-1ygqh575.js → vcs-56gdpj1q.js} +9 -9
- package/dist/chunks/vcs-582qenmk.js +247 -0
- package/dist/chunks/{app-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
- package/dist/chunks/{app-0br9fxds.js → vcs-5ckhvvdw.js} +5 -5
- package/dist/chunks/{app-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{app-6mcq7jm9.js → vcs-5e6jya2z.js} +9 -9
- package/dist/chunks/{app-n08xh122.js → vcs-5kytcf63.js} +8 -8
- package/dist/chunks/{app-pt5tvm9y.js → vcs-5pxrt5bs.js} +9 -9
- package/dist/chunks/{app-88hjze0t.js → vcs-5svqntqt.js} +9 -9
- package/dist/chunks/{app-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-hte7rbq0.js → vcs-5wa22yg0.js} +20 -20
- package/dist/chunks/{app-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{app-5rvfpeh9.js → vcs-680dz40f.js} +4 -4
- package/dist/chunks/{app-6y3a7z7q.js → vcs-6cqd20xf.js} +4 -4
- package/dist/chunks/{app-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-7s2tn799.js → vcs-703jyx7f.js} +8 -8
- package/dist/chunks/{app-4smtzgwz.js → vcs-70e1pp92.js} +27 -27
- package/dist/chunks/{app-71q4at8m.js → vcs-71q4at8m.js} +1 -1
- package/dist/chunks/{app-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-0yk09q55.js → vcs-7dskpw5m.js} +4 -4
- package/dist/chunks/{app-8vj209te.js → vcs-7pd7fkqq.js} +20 -20
- package/dist/chunks/{app-jng70mr7.js → vcs-7s6s2hxt.js} +13 -13
- package/dist/chunks/{app-mz6ae2yf.js → vcs-7t19srph.js} +1 -1
- package/dist/chunks/{app-80caeh49.js → vcs-7z8tt79q.js} +12 -12
- package/dist/chunks/{app-j6e693f4.js → vcs-818pfwc9.js} +11 -11
- package/dist/chunks/{app-5xtgfte3.js → vcs-844ef7ks.js} +8 -8
- package/dist/chunks/{app-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{app-std511v1.js → vcs-8b48573b.js} +35 -35
- package/dist/chunks/{app-jm9980x0.js → vcs-8chja390.js} +22 -22
- package/dist/chunks/{app-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-3z60344c.js → vcs-8rrxvkt0.js} +6 -6
- package/dist/chunks/{app-4bdt2shk.js → vcs-8sk60tfs.js} +18 -18
- package/dist/chunks/{app-za6yq9hg.js → vcs-8y31xnqm.js} +5 -5
- package/dist/chunks/{app-gek4cbns.js → vcs-95chy9m5.js} +21 -21
- package/dist/chunks/{app-7cmqstha.js → vcs-971t06h5.js} +27 -27
- package/dist/chunks/{app-qd8wwfxt.js → vcs-980xfpxw.js} +9 -9
- package/dist/chunks/{app-zcqf6png.js → vcs-9d375gd6.js} +6 -6
- package/dist/chunks/{app-0r6zt4xr.js → vcs-9e22013x.js} +8 -8
- package/dist/chunks/{app-6h41fqv2.js → vcs-a70f9a4e.js} +59 -59
- package/dist/chunks/{app-r9asyhme.js → vcs-a81n23zd.js} +17 -17
- package/dist/chunks/{app-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{app-aehnz2rb.js → vcs-acv8kdg4.js} +27 -27
- package/dist/chunks/{app-5vtmfx0c.js → vcs-ad8h3sg8.js} +18 -18
- package/dist/chunks/{app-g24jq9rf.js → vcs-aqmt50hb.js} +14 -14
- package/dist/chunks/{app-jth5rdpp.js → vcs-asd0mmxr.js} +20 -20
- package/dist/chunks/{app-gt5v7hwy.js → vcs-ayf9tfb6.js} +9 -9
- package/dist/chunks/{app-1cbk4m95.js → vcs-b0026ckp.js} +18 -18
- package/dist/chunks/{app-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-ppkwfznj.js → vcs-bebzkfbx.js} +23 -23
- package/dist/chunks/{app-nzzz2haw.js → vcs-bgsjtqm8.js} +16 -16
- package/dist/chunks/{app-shh6fz4q.js → vcs-bjn91642.js} +4 -4
- package/dist/chunks/{app-7yqjxrmz.js → vcs-bjs2yq5f.js} +6 -6
- package/dist/chunks/{app-t27ydrk5.js → vcs-bt0k3hs1.js} +34 -34
- package/dist/chunks/{app-rnwqg9yc.js → vcs-bwy8ekcg.js} +9 -9
- package/dist/chunks/{app-stbv4b6b.js → vcs-c3txgp4g.js} +8 -8
- package/dist/chunks/{app-655w3vh0.js → vcs-c8tkk985.js} +26 -26
- package/dist/chunks/{app-eq20ba7x.js → vcs-ceetf7sw.js} +8 -8
- package/dist/chunks/{app-30846h32.js → vcs-cfv81dax.js} +8 -8
- package/dist/chunks/{app-ygkgm02b.js → vcs-cspmbg10.js} +12 -12
- package/dist/chunks/{app-6s8jsf7y.js → vcs-cwxby6pr.js} +9 -9
- package/dist/chunks/{app-9kregr37.js → vcs-cynacfj1.js} +20 -20
- package/dist/chunks/{app-qnmb4df7.js → vcs-demdnx90.js} +5 -5
- package/dist/chunks/{app-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
- package/dist/chunks/{app-wb658w3t.js → vcs-dnvxkwk5.js} +17 -17
- package/dist/chunks/{app-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{app-jkcmfa2v.js → vcs-ds5e204k.js} +20 -20
- package/dist/chunks/{app-bzrt576w.js → vcs-e07cd2jb.js} +20 -20
- package/dist/chunks/{app-cgv5bxzw.js → vcs-e0nn6xys.js} +11 -11
- package/dist/chunks/{app-bndc73cn.js → vcs-e5nv3ght.js} +5 -5
- package/dist/chunks/{app-qt529f91.js → vcs-e739kny0.js} +10 -10
- package/dist/chunks/{app-3cz8rj72.js → vcs-ead3g9p8.js} +5 -5
- package/dist/chunks/{app-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-0cgxzyp5.js → vcs-ez3gzyzp.js} +11 -11
- package/dist/chunks/{app-wft93wjr.js → vcs-f7ehr2sm.js} +9 -9
- package/dist/chunks/{app-xx3k5fjp.js → vcs-fdc6mxj4.js} +294 -294
- package/dist/chunks/{app-a46v4e4v.js → vcs-fdv30zvt.js} +7 -7
- package/dist/chunks/{app-b061vjp9.js → vcs-fem2pfjj.js} +34 -34
- package/dist/chunks/{app-6dk7y5gt.js → vcs-fpx59vnz.js} +13 -13
- package/dist/chunks/{app-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-s8j6jbjj.js → vcs-g190xswt.js} +21 -21
- package/dist/chunks/{app-219neeqh.js → vcs-g6ddfetr.js} +5 -5
- package/dist/chunks/{app-qeb52aay.js → vcs-gax2w7sj.js} +26 -26
- package/dist/chunks/{app-brkvv4wc.js → vcs-gb7mnkke.js} +17 -17
- package/dist/chunks/{app-cwyf4tzg.js → vcs-gbzyy3xx.js} +45 -45
- package/dist/chunks/{app-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-0pb75hch.js → vcs-ger25q1p.js} +5 -5
- package/dist/chunks/{app-av4jxsn8.js → vcs-gkagy2ma.js} +30 -30
- package/dist/chunks/{app-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{app-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
- package/dist/chunks/{app-60rvf92p.js → vcs-h20qrcbx.js} +30 -30
- package/dist/chunks/{app-eq6c3fte.js → vcs-h467qvvw.js} +4 -4
- package/dist/chunks/{app-hv8g670q.js → vcs-h6ct1bpz.js} +15 -15
- package/dist/chunks/{app-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-h7ygw6q4.js → vcs-h7ygw6q4.js} +2 -2
- package/dist/chunks/{app-f828m53h.js → vcs-hdnk95c8.js} +2 -2
- package/dist/chunks/{app-4hd03gdg.js → vcs-hdqkqcaz.js} +29 -29
- package/dist/chunks/{app-ye3z464r.js → vcs-hhngzvf8.js} +35 -35
- package/dist/chunks/{app-47gsdddb.js → vcs-hjt4xg1x.js} +7 -7
- package/dist/chunks/{app-m3zza4qd.js → vcs-hr5bc81f.js} +8 -8
- package/dist/chunks/{app-hrvd6t1f.js → vcs-hrvd6t1f.js} +2 -2
- package/dist/chunks/{app-mh7g7new.js → vcs-hydr8wj8.js} +11 -11
- package/dist/chunks/{app-0kwc5anp.js → vcs-hzbngzvk.js} +47 -47
- package/dist/chunks/{app-g0nkfm81.js → vcs-j1rqryvn.js} +28 -28
- package/dist/chunks/{app-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{app-wx73y07f.js → vcs-j76kgn3b.js} +22 -22
- package/dist/chunks/{app-az4m85wh.js → vcs-j7qgsp6k.js} +17 -17
- package/dist/chunks/{app-3j8sdtpz.js → vcs-j83byb14.js} +4 -4
- package/dist/chunks/{app-fyygja3k.js → vcs-jjsv54gv.js} +19 -19
- package/dist/chunks/{app-3v43m9xt.js → vcs-jvb6d9yy.js} +2 -2
- package/dist/chunks/{app-cvtmmhw6.js → vcs-k04vznwt.js} +1 -1
- package/dist/chunks/{app-1fv46ncp.js → vcs-k85g1d7t.js} +5 -5
- package/dist/chunks/{app-y73wgz5k.js → vcs-ka0zxbjh.js} +14 -14
- package/dist/chunks/{app-4m2spwb8.js → vcs-kcfxpgmp.js} +19 -19
- package/dist/chunks/{app-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{app-krrqw77a.js → vcs-khnfswwb.js} +7 -7
- package/dist/chunks/{app-ak5w0fh7.js → vcs-kr404999.js} +34 -34
- package/dist/chunks/{app-tn5dc3vv.js → vcs-ksxswrb8.js} +25 -25
- package/dist/chunks/{app-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
- package/dist/chunks/{app-8bkz8jq3.js → vcs-m0zx2dx4.js} +14 -14
- package/dist/chunks/{app-ddt2bs9e.js → vcs-m70sbz6t.js} +4 -4
- package/dist/chunks/{app-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-ya24qazg.js → vcs-mg94qkh2.js} +5 -5
- package/dist/chunks/{app-vkfqqgrz.js → vcs-mk7jvhkr.js} +30 -30
- package/dist/chunks/{app-kp27de7n.js → vcs-ms46gm1n.js} +16 -16
- package/dist/chunks/{app-4cqajk2a.js → vcs-mt7rzsz0.js} +11 -11
- package/dist/chunks/{app-c8r9g22t.js → vcs-mtjeev06.js} +4 -4
- package/dist/chunks/{app-kacwvw93.js → vcs-mtv3vmk4.js} +15 -15
- package/dist/chunks/{app-znvvv44x.js → vcs-n0my1rc5.js} +24 -24
- package/dist/chunks/{app-nxbcabge.js → vcs-nrjpj3np.js} +10 -10
- package/dist/chunks/{app-wavq5vqb.js → vcs-nvmga65c.js} +1 -1
- package/dist/chunks/{app-6jprretj.js → vcs-nxqn9g0w.js} +18 -18
- package/dist/chunks/{app-33n3bzdy.js → vcs-nxs71vds.js} +8 -8
- package/dist/chunks/{app-anm66war.js → vcs-p4pykzna.js} +9 -9
- package/dist/chunks/{app-j935v87r.js → vcs-paphc93g.js} +2 -2
- package/dist/chunks/{app-1r9f1gxg.js → vcs-pd06hqc7.js} +30 -30
- package/dist/chunks/{app-32r2zhfd.js → vcs-pd8jtnes.js} +15 -15
- package/dist/chunks/{app-1v0gvqr8.js → vcs-pgwkvtn6.js} +22 -22
- package/dist/chunks/{app-y5mrfvw4.js → vcs-pjmw00w1.js} +7 -7
- package/dist/chunks/{app-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/vcs-q509s3k3.js +18 -0
- package/dist/chunks/vcs-qapv375x.js +4 -0
- package/dist/chunks/{app-0nd20gz5.js → vcs-qdmt8jps.js} +70 -70
- package/dist/chunks/{app-09fg0r3g.js → vcs-qey0ecy5.js} +6 -6
- package/dist/chunks/{app-hjzkvxfk.js → vcs-qpcv1bj2.js} +14 -14
- package/dist/chunks/{app-yrqsvr8q.js → vcs-qrn1cfcn.js} +14 -14
- package/dist/chunks/{app-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{app-vmq7ehpy.js → vcs-qte5z7bc.js} +5 -5
- package/dist/chunks/{app-947nexvd.js → vcs-qvzzg1n6.js} +24 -24
- package/dist/chunks/{app-hz9j0f4m.js → vcs-qxt6y2k0.js} +8 -8
- package/dist/chunks/{app-nfsehd0f.js → vcs-qyrgj8h0.js} +11 -11
- package/dist/chunks/{app-x6bwxbe7.js → vcs-qzgnnevn.js} +32 -32
- package/dist/chunks/{app-xqrmy91b.js → vcs-r5zwk8ta.js} +6 -6
- package/dist/chunks/{app-jk5d0mzv.js → vcs-r8am8rxz.js} +87 -87
- package/dist/chunks/{app-6p8kmet2.js → vcs-r8vzsejn.js} +26 -26
- package/dist/chunks/{app-x52yt50w.js → vcs-r9kyrxw9.js} +20 -20
- package/dist/chunks/{app-r9mregkx.js → vcs-r9mregkx.js} +2 -2
- package/dist/chunks/{app-j1t5chsy.js → vcs-rf1n2c46.js} +41 -41
- package/dist/chunks/{app-8f7jysjc.js → vcs-rnctde8m.js} +10 -10
- package/dist/chunks/{app-fw0n5e24.js → vcs-rvvd95nh.js} +6 -6
- package/dist/chunks/{app-pv6ewt2y.js → vcs-rze9wmnh.js} +11 -11
- package/dist/chunks/{app-f2c9c43z.js → vcs-s2773pt6.js} +23 -23
- package/dist/chunks/{app-nkwnz0wb.js → vcs-s2adw424.js} +18 -18
- package/dist/chunks/{app-tss56qfk.js → vcs-s2w6x35d.js} +20 -20
- package/dist/chunks/{app-b11403r6.js → vcs-s628c0zm.js} +4 -4
- package/dist/chunks/{app-kh88907v.js → vcs-sd7tma4j.js} +6 -6
- package/dist/chunks/{app-m7w0f2z5.js → vcs-sve3wcs6.js} +22 -22
- package/dist/chunks/{app-be40ghdv.js → vcs-svxygcjw.js} +2 -2
- package/dist/chunks/{app-qz319qzx.js → vcs-sx9xnv5x.js} +11 -11
- package/dist/chunks/{app-x0h4kn5x.js → vcs-t695ag65.js} +32 -32
- package/dist/chunks/{app-0cysygtg.js → vcs-ta5m5hqj.js} +36 -36
- package/dist/chunks/{app-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-qcjwwegh.js → vcs-tce9n0bk.js} +13 -13
- package/dist/chunks/{app-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/vcs-te70gp52.js +26 -0
- package/dist/chunks/{app-ggn5tyje.js → vcs-thqea5vd.js} +12 -12
- package/dist/chunks/{app-tn0aqsam.js → vcs-tn0aqsam.js} +2 -2
- package/dist/chunks/{app-1dbhq1b6.js → vcs-tqb05n0m.js} +4 -4
- package/dist/chunks/{app-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{app-mw1s64b6.js → vcs-tx9qvpbt.js} +8 -8
- package/dist/chunks/{app-e8ztz21q.js → vcs-v4jkz302.js} +15 -15
- package/dist/chunks/{app-tbcfefrg.js → vcs-v4rx96z6.js} +31 -31
- package/dist/chunks/{app-6q9nc399.js → vcs-v6ppznv9.js} +16 -16
- package/dist/chunks/{app-qv6mxc70.js → vcs-v82rkknd.js} +32 -32
- package/dist/chunks/{app-yz2q2fez.js → vcs-va4cmy3h.js} +35 -35
- package/dist/chunks/{app-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{app-dxzb6m8c.js → vcs-vfamtvpt.js} +18 -18
- package/dist/chunks/{app-ga77xda9.js → vcs-vht2qb7g.js} +11 -11
- package/dist/chunks/{app-6p3xbzsx.js → vcs-vj81g6vn.js} +4 -4
- package/dist/chunks/{app-c0m6k9pb.js → vcs-vm5cvd17.js} +7 -7
- package/dist/chunks/{app-twcq5tv4.js → vcs-vxtgk4c1.js} +13 -13
- package/dist/chunks/{app-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-c3s2gn8c.js → vcs-w16wg7x4.js} +12 -12
- package/dist/chunks/{app-ftm7k12t.js → vcs-w2f2racf.js} +13 -13
- package/dist/chunks/{app-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wdwjsxs3.js → vcs-w50132dc.js} +1 -1
- package/dist/chunks/{app-cvsx2zmm.js → vcs-w6tga02j.js} +20 -20
- package/dist/chunks/{app-g6anmqeq.js → vcs-w7x1dpk8.js} +9 -9
- package/dist/chunks/{app-fak0r9cx.js → vcs-waghfbs3.js} +8 -8
- package/dist/chunks/{app-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{app-h7btkfkz.js → vcs-wer9e916.js} +90 -90
- package/dist/chunks/{app-f9fxyrbg.js → vcs-wq2yqsn4.js} +170 -170
- package/dist/chunks/{app-s04efnj3.js → vcs-wwzvxh8r.js} +28 -28
- package/dist/chunks/{app-n32dagvk.js → vcs-wygeb79b.js} +11 -11
- package/dist/chunks/{app-265kqrgy.js → vcs-wzvxt2x2.js} +1 -1
- package/dist/chunks/{app-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-843pd2wp.js → vcs-x2paxxrz.js} +13 -13
- package/dist/chunks/{app-sm299svg.js → vcs-x4p9pgdw.js} +26 -26
- package/dist/chunks/{app-yy9ssmmb.js → vcs-x4t6e216.js} +11 -11
- package/dist/chunks/{app-gmrayv9w.js → vcs-xgbssm5x.js} +22 -22
- package/dist/chunks/{app-4cqdxaxy.js → vcs-xtkfd2xh.js} +30 -30
- package/dist/chunks/{app-s9a4f9r5.js → vcs-xvpxv14q.js} +28 -28
- package/dist/chunks/{app-ygmrnnnx.js → vcs-xwmxkgdc.js} +30 -30
- package/dist/chunks/{app-memqfyeh.js → vcs-xwt7f5ss.js} +10 -10
- package/dist/chunks/{app-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-kaef12we.js → vcs-y31swads.js} +9 -9
- package/dist/chunks/{app-hcc3dcqg.js → vcs-ya0qgh5c.js} +25 -25
- package/dist/chunks/{app-89jzje1y.js → vcs-ydz4q4hy.js} +54 -54
- package/dist/chunks/{app-webf8anp.js → vcs-yfaarvj3.js} +59 -59
- package/dist/chunks/{app-5e926cyq.js → vcs-yk30kt1v.js} +15 -15
- package/dist/chunks/{app-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-s4enseaf.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{app-exktqakr.js → vcs-yxp06nyy.js} +16 -16
- package/dist/chunks/{app-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-874ckvrc.js → vcs-z4pkpyx8.js} +25 -25
- package/dist/chunks/{app-29x78va6.js → vcs-z63w68vq.js} +6 -6
- package/dist/chunks/{app-thsenk6x.js → vcs-zaqhccm9.js} +22 -22
- package/dist/chunks/{app-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-ba9gbaff.js → vcs-zesev8cm.js} +20 -20
- package/dist/chunks/{app-j0j00sjx.js → vcs-zfd7rn37.js} +18 -18
- package/dist/chunks/{app-7d2gt124.js → vcs-zjnbe651.js} +3 -3
- package/dist/chunks/{app-e1e2cnnw.js → vcs-znj6n8dc.js} +7 -7
- package/dist/chunks/{app-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-t8jgb82e.js → vcs-ztgmjw6y.js} +11 -11
- package/dist/chunks/{app-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +120 -120
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +121 -121
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +119 -119
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +121 -121
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +88 -88
- package/dist/generate.js +92 -92
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +134 -134
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +7 -7
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/app-00f3vtpz.js +0 -26
- package/dist/chunks/app-1x11rq2a.js +0 -18
- package/dist/chunks/app-hxa7m5za.js +0 -4
- package/dist/chunks/app-w2xtz9sy.js +0 -247
- /package/dist/chunks/{app-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{app-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./vcs-bgsjtqm8.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service46,
|
|
17
|
+
node50
|
|
18
|
+
} from "./vcs-zesev8cm.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service45,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node49
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service45 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const bus = yield*
|
|
53
|
-
const cache = yield*
|
|
52
|
+
const bus = yield* Service78;
|
|
53
|
+
const cache = yield* Service46;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info8.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info8.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service45.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node49 = makeLocationNode({
|
|
116
|
+
service: Service45,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node,
|
|
118
|
+
deps: [Global.node, node83, node50]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info8, Service45, node49, exports_reference2, Event8 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./app-mh7g7new.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./vcs-hydr8wj8.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./vcs-bgsjtqm8.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-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: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info23,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service57,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node61
|
|
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 ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event14 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service57 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service79).db;
|
|
55
|
+
const bus = yield* Service78;
|
|
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 Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service57.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(Service66, 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 Info23({
|
|
80
|
+
id: ID10.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(Service66, 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(Event14.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event14.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(Service66, 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(Event14.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(Service66, 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(Event14.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(Service66, 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(Event14.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node61 = makeGlobalNode({ service: Service57, layer, deps: [node84, node83] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event14, Info23, Service57, node61, exports_credential };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-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: () => Plugin36,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
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 endpoint4 = "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 Plugin36 = 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 Plugin5 = 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(endpoint4);
|
|
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 { endpoint4, Plugin36, exports_exa };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-05ynbn8j.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-zjnbe651.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service79,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node84
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
|
|
|
30
30
|
path: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class Service79 extends Context.Service()("@opencode/storage/Database") {
|
|
34
34
|
}
|
|
35
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
35
|
+
var databaseLayer = (lock) => Layer.effect(Service79, Effect.gen(function* () {
|
|
36
36
|
const db = yield* makeDatabase;
|
|
37
37
|
if (supportsTuningPragmas) {
|
|
38
38
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
|
|
|
68
68
|
}
|
|
69
69
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
70
70
|
function configured13(options) {
|
|
71
|
-
return makeGlobalNode({ service:
|
|
71
|
+
return makeGlobalNode({ service: Service79, layer: layer26(options), deps: [Global.node] });
|
|
72
72
|
}
|
|
73
73
|
function configuredClient2(client) {
|
|
74
74
|
return makeGlobalNode({
|
|
75
|
-
service:
|
|
75
|
+
service: Service79,
|
|
76
76
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
77
77
|
deps: [Global.node]
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
var
|
|
80
|
+
var node84 = configured13({ path: ":memory:" });
|
|
81
81
|
|
|
82
|
-
export { Options11,
|
|
82
|
+
export { Options11, Service79, layer26, layerFromClient2, configured13, configuredClient2, node84, exports_database };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./vcs-bgsjtqm8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event14,
|
|
7
|
+
Service57,
|
|
8
|
+
node61
|
|
9
|
+
} from "./vcs-hhngzvf8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service56,
|
|
12
|
+
node60
|
|
13
|
+
} from "./vcs-qvzzg1n6.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service74,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node79
|
|
20
|
+
} from "./vcs-4xj33s1b.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-xgbssm5x.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-5kytcf63.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service76,
|
|
36
|
+
Event20,
|
|
37
|
+
node81
|
|
38
|
+
} from "./vcs-zaqhccm9.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./vcs-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service55,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer22,
|
|
53
|
+
node: () => node59,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service55 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer22 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service74;
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
97
|
+
const watcher = yield* Service56;
|
|
98
|
+
const bus = yield* Service78;
|
|
99
|
+
const credentials = yield* Service57;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service76;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer21 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer21 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event20.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer21 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer21 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service55.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer21 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service55,
|
|
268
|
+
layer: layer22(options),
|
|
269
|
+
deps: [node60, node83, FSUtil.node, Global.node, node79, node61, node81]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node59 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service55, Test2, testLayer2, layer22, configured8, node59, exports_config };
|