@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,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-hydr8wj8.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service78,
|
|
10
|
+
node83
|
|
11
|
+
} from "./vcs-bgsjtqm8.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-3yjg5mh2.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-5c4hm403.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info6,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service36,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
48
|
+
layer: () => layer17,
|
|
49
49
|
list: () => list3,
|
|
50
|
-
make: () =>
|
|
50
|
+
make: () => make18,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node40,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info6,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service36 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const database = yield*
|
|
156
|
+
var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
|
+
const database = yield* Service79;
|
|
158
158
|
const db = database.db;
|
|
159
|
-
const bus = yield*
|
|
159
|
+
const bus = yield* Service78;
|
|
160
160
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
161
161
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
162
162
|
if (existing === undefined)
|
|
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info6.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer17 = Layer.effect(Service36, make18());
|
|
231
|
+
var node40 = makeGlobalNode({ service: Service36, layer: layer17, deps: [node84, node83] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service36, make18, layer17, node40, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./vcs-bgsjtqm8.js";
|
|
5
5
|
import {
|
|
6
6
|
Service74,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node79
|
|
8
|
+
} from "./vcs-4xj33s1b.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service61,
|
|
14
|
+
node65
|
|
15
|
+
} from "./vcs-dnvxkwk5.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node10
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service78;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service61;
|
|
41
41
|
const location = yield* Service74;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node10 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node83, FSUtil.node, node79, node65]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node10, exports_instructions };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service63
|
|
4
|
+
} from "./vcs-70e1pp92.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service55
|
|
8
|
+
} from "./vcs-hzbngzvk.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-3yjg5mh2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service38
|
|
14
|
+
} from "./vcs-1wtqt1n4.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service59
|
|
18
|
+
} from "./vcs-yfaarvj3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service17
|
|
21
|
+
} from "./vcs-wer9e916.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make6
|
|
27
|
+
} from "./vcs-23js28ev.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Output: () =>
|
|
37
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Output: () => Output2,
|
|
37
|
+
Plugin: () => Plugin4,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
|
-
description: () =>
|
|
40
|
-
name: () =>
|
|
39
|
+
description: () => description3,
|
|
40
|
+
name: () => name3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name3 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input3 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -63,12 +63,12 @@ var Input11 = Schema.Struct({
|
|
|
63
63
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
64
64
|
})
|
|
65
65
|
});
|
|
66
|
-
var
|
|
66
|
+
var Output2 = Schema.Struct({
|
|
67
67
|
sessionID: SessionSchema2.ID,
|
|
68
68
|
status: Schema.Literals(["completed", "running"]),
|
|
69
69
|
output: Schema.String
|
|
70
70
|
});
|
|
71
|
-
var
|
|
71
|
+
var description3 = [
|
|
72
72
|
"Spawns an agent in a child session to work on the specified task.",
|
|
73
73
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
74
74
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -77,21 +77,21 @@ var description5 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin4 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
88
|
-
const subagents = yield*
|
|
83
|
+
const sessions = yield* Service17;
|
|
84
|
+
const jobs = yield* Service38;
|
|
85
|
+
const agents = yield* Service63;
|
|
86
|
+
const config = yield* Service55;
|
|
87
|
+
const permission = yield* Service59;
|
|
88
|
+
const subagents = yield* make6;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name3,
|
|
91
91
|
options: { codemode: false },
|
|
92
|
-
description:
|
|
93
|
-
input:
|
|
94
|
-
output:
|
|
92
|
+
description: description3,
|
|
93
|
+
input: Input3,
|
|
94
|
+
output: Output2,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
97
97
|
let current = parent;
|
|
@@ -111,7 +111,7 @@ var Plugin45 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name3,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin45 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID14.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
const hook = (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name3];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -207,4 +207,4 @@ ${output.output}
|
|
|
207
207
|
})
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
export {
|
|
210
|
+
export { name3, Input3, Output2, description3, Plugin4, exports_subagent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-w16wg7x4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./vcs-hzbngzvk.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-znj6n8dc.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service55;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make4(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make8();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make8, LMStudioPlugin2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ztgmjw6y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID9
|
|
6
|
+
} from "./vcs-nxs71vds.js";
|
|
7
7
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-znj6n8dc.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID9.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service73
|
|
7
|
+
} from "./vcs-pd06hqc7.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-3yjg5mh2.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-980xfpxw.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service73;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID16.make(from),
|
|
91
|
+
to: ID16.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./vcs-yfaarvj3.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin12,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin12 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service59;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin36 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin12, extractTextFromHTML2, exports_webfetch };
|