@opencode/core 0.0.0-dev-19293 → 0.0.0-dev-19295
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{catalog-yr39kfap.js → vcs-01b3j2sk.js} +9 -9
- package/dist/chunks/{catalog-7hd1tkd5.js → vcs-03nm8wmp.js} +45 -45
- package/dist/chunks/{catalog-1vkx9ycq.js → vcs-08w8xxxr.js} +6 -6
- package/dist/chunks/{catalog-vvccsdf3.js → vcs-0ewff80w.js} +6 -6
- package/dist/chunks/vcs-0mesazry.js +4 -0
- package/dist/chunks/{catalog-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{catalog-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{catalog-t9zs3egg.js → vcs-0v53mg2y.js} +4 -4
- package/dist/chunks/{catalog-c0sgx4c0.js → vcs-17mjd4zx.js} +16 -16
- package/dist/chunks/{catalog-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{catalog-1dfhrqqs.js → vcs-1dfhrqqs.js} +2 -2
- package/dist/chunks/{catalog-acqgx470.js → vcs-1wccev85.js} +26 -26
- package/dist/chunks/{catalog-dzye6hzv.js → vcs-1x8t8gpv.js} +12 -12
- package/dist/chunks/{catalog-9d6qxf9c.js → vcs-1xhwbttb.js} +289 -289
- package/dist/chunks/{catalog-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{catalog-2zpanxbg.js → vcs-24ba4jfm.js} +26 -26
- package/dist/chunks/{catalog-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{catalog-gtaebsa9.js → vcs-2b6sqd5x.js} +9 -9
- package/dist/chunks/{catalog-8qwstm95.js → vcs-2exjphd9.js} +26 -26
- package/dist/chunks/{catalog-zhg5ad22.js → vcs-2kyvaxfn.js} +21 -21
- package/dist/chunks/{catalog-abtbdf59.js → vcs-2nh393ec.js} +26 -26
- package/dist/chunks/{catalog-edf3pq06.js → vcs-2q30hpy5.js} +24 -24
- package/dist/chunks/{catalog-t9eetm64.js → vcs-2s63w71d.js} +39 -39
- package/dist/chunks/{catalog-ssvfzqqs.js → vcs-2wj8n25z.js} +6 -6
- package/dist/chunks/{catalog-qqbwtt94.js → vcs-31ekb3dj.js} +6 -6
- package/dist/chunks/{catalog-kh42c52q.js → vcs-36sf85p8.js} +23 -23
- package/dist/chunks/{catalog-pf2hb43r.js → vcs-3a6re68j.js} +6 -6
- package/dist/chunks/{catalog-txr5ac4p.js → vcs-3fr1t35k.js} +4 -4
- package/dist/chunks/{catalog-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/vcs-3jm4ew4v.js +228 -0
- package/dist/chunks/{catalog-1wasygzx.js → vcs-3pmadhy5.js} +22 -22
- package/dist/chunks/{catalog-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{catalog-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{catalog-18g40992.js → vcs-3wwvh5h9.js} +26 -26
- package/dist/chunks/{catalog-5cmxdwv8.js → vcs-3yjg5mh2.js} +3 -3
- package/dist/chunks/{catalog-d596epm3.js → vcs-41d0ycw9.js} +25 -25
- package/dist/chunks/{catalog-cpf2fnne.js → vcs-439t1ysr.js} +26 -26
- package/dist/chunks/{catalog-en74w496.js → vcs-4fk6bf9g.js} +2 -2
- package/dist/chunks/{catalog-95tvtv7s.js → vcs-4mbqxmpk.js} +11 -11
- package/dist/chunks/{catalog-krkftj6y.js → vcs-4rngsmjt.js} +5 -5
- package/dist/chunks/{catalog-ptvnqgxn.js → vcs-4rpd5z62.js} +2 -2
- package/dist/chunks/{catalog-2z08a793.js → vcs-54n3m20p.js} +7 -7
- package/dist/chunks/{catalog-rp3r94qx.js → vcs-5983v49c.js} +22 -22
- package/dist/chunks/{catalog-5c0f1prt.js → vcs-5c0f1prt.js} +1 -1
- package/dist/chunks/{catalog-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
- package/dist/chunks/{catalog-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{catalog-wd3yn1fh.js → vcs-5f1ybg3e.js} +15 -15
- package/dist/chunks/{catalog-8mgt1eky.js → vcs-5feg5dwc.js} +7 -7
- package/dist/chunks/{catalog-c7ecgrk6.js → vcs-5kbk4f8q.js} +4 -4
- package/dist/chunks/{catalog-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{catalog-0hkfnrqn.js → vcs-5tfag9cv.js} +4 -4
- package/dist/chunks/{catalog-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{catalog-c445fhf3.js → vcs-6c7f3089.js} +9 -9
- package/dist/chunks/{catalog-2402vzrj.js → vcs-6h73sxmp.js} +5 -5
- package/dist/chunks/{catalog-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{catalog-pqh2nv3g.js → vcs-6prncynz.js} +22 -22
- package/dist/chunks/{catalog-71q4at8m.js → vcs-71q4at8m.js} +1 -1
- package/dist/chunks/{catalog-dj16x7mk.js → vcs-74bm1tyj.js} +9 -9
- package/dist/chunks/{catalog-te1cag4t.js → vcs-7azwfx08.js} +9 -9
- package/dist/chunks/{catalog-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{catalog-dwvzh0g2.js → vcs-7w3s9kd0.js} +6 -6
- package/dist/chunks/{catalog-ddaqz593.js → vcs-7wcaja6h.js} +20 -20
- package/dist/chunks/{catalog-qwvr7hcb.js → vcs-7z907rm2.js} +18 -18
- package/dist/chunks/{catalog-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{catalog-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{catalog-ccr570b8.js → vcs-8gatpkw8.js} +14 -14
- package/dist/chunks/{catalog-1c4tfhyw.js → vcs-8qw2swy2.js} +15 -15
- package/dist/chunks/{catalog-mrb4trvw.js → vcs-90xza599.js} +6 -6
- package/dist/chunks/{catalog-3qvym81x.js → vcs-931qptha.js} +20 -20
- package/dist/chunks/{catalog-cfcv5f3g.js → vcs-97kf03n6.js} +6 -6
- package/dist/chunks/{catalog-dy775f0c.js → vcs-9abatgz1.js} +17 -17
- package/dist/chunks/{catalog-qj1xgd3c.js → vcs-9d9yh65r.js} +16 -16
- package/dist/chunks/{catalog-eaa5pbb8.js → vcs-9g26vy4m.js} +43 -43
- package/dist/chunks/{catalog-c9e1ae34.js → vcs-9s3dvk2t.js} +10 -10
- package/dist/chunks/{catalog-etfxbf6a.js → vcs-a0dtrzbk.js} +8 -8
- package/dist/chunks/{catalog-1w752csm.js → vcs-a2pxnmze.js} +11 -11
- package/dist/chunks/{catalog-km7kbv75.js → vcs-a55dpvm7.js} +11 -11
- package/dist/chunks/{catalog-gt0cxfk7.js → vcs-a5k42hjy.js} +1 -1
- package/dist/chunks/{catalog-faj9g8h9.js → vcs-a84st5z7.js} +29 -29
- package/dist/chunks/{catalog-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{catalog-q54czkb4.js → vcs-abekcsag.js} +10 -10
- package/dist/chunks/{catalog-dgyrknrt.js → vcs-ajzzmsfp.js} +9 -9
- package/dist/chunks/{catalog-g5e9rtry.js → vcs-ak11xt4g.js} +4 -4
- package/dist/chunks/{catalog-t39nz99n.js → vcs-amqp4h4r.js} +32 -32
- package/dist/chunks/{catalog-excxsdmh.js → vcs-anz7jrtv.js} +18 -18
- package/dist/chunks/{catalog-vmtxrkck.js → vcs-b2x79vpr.js} +52 -52
- package/dist/chunks/{catalog-1k3f52p2.js → vcs-b34bcn0w.js} +13 -13
- package/dist/chunks/{catalog-b3t12aqp.js → vcs-b3t12aqp.js} +1 -1
- package/dist/chunks/{catalog-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{catalog-rmsvm9se.js → vcs-b7kc6jt8.js} +30 -30
- package/dist/chunks/{catalog-0996nyz8.js → vcs-b8b3f19r.js} +9 -9
- package/dist/chunks/{catalog-6mfzh3e7.js → vcs-bcb60wk2.js} +20 -20
- package/dist/chunks/{catalog-may0v2nw.js → vcs-bcbgemzk.js} +7 -7
- package/dist/chunks/{catalog-p8x9x2db.js → vcs-bf50v5a2.js} +15 -15
- package/dist/chunks/{catalog-w49382pb.js → vcs-bm1f71yt.js} +8 -8
- package/dist/chunks/{catalog-magykp64.js → vcs-cavr175a.js} +4 -4
- package/dist/chunks/{catalog-wt5gx8pc.js → vcs-cjsb4aez.js} +4 -4
- package/dist/chunks/{catalog-d2aac7k2.js → vcs-cr07tj7n.js} +5 -5
- package/dist/chunks/{catalog-yeqyw0z5.js → vcs-cwxby6pr.js} +9 -9
- package/dist/chunks/{catalog-z8msdh7f.js → vcs-cymnc8ce.js} +11 -11
- package/dist/chunks/{catalog-rak93kx5.js → vcs-d8e4j98n.js} +17 -17
- package/dist/chunks/{catalog-jaggdvfk.js → vcs-dcxndzqg.js} +13 -13
- package/dist/chunks/{catalog-w77s52q3.js → vcs-dfgqp3wc.js} +33 -33
- package/dist/chunks/{catalog-dtbh1kja.js → vcs-dg025mcc.js} +12 -12
- package/dist/chunks/{catalog-g4j3t0tj.js → vcs-dghxt3de.js} +33 -33
- package/dist/chunks/{catalog-ve7drzgd.js → vcs-dh3gjkyt.js} +9 -9
- package/dist/chunks/{catalog-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
- package/dist/chunks/{catalog-2zekrh71.js → vcs-dn0tcz9p.js} +2 -2
- package/dist/chunks/{catalog-cy61f422.js → vcs-dnaywyet.js} +32 -32
- package/dist/chunks/{catalog-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{catalog-zy3h4kss.js → vcs-dqy85s1y.js} +9 -9
- package/dist/chunks/{catalog-7p0xeqwh.js → vcs-dtw0dyrs.js} +14 -14
- package/dist/chunks/{catalog-83x6p9kd.js → vcs-e6ke6rjh.js} +1 -1
- package/dist/chunks/{catalog-h09vyrzm.js → vcs-e7v6xf45.js} +7 -7
- package/dist/chunks/{catalog-nhy5jxhy.js → vcs-e82z9tr0.js} +7 -7
- package/dist/chunks/{catalog-t550f9t1.js → vcs-eaj1djv9.js} +8 -8
- package/dist/chunks/{catalog-2ay0g0qq.js → vcs-ee6q3dhy.js} +3 -3
- package/dist/chunks/{catalog-ywnd43xk.js → vcs-ehnaxygy.js} +39 -39
- package/dist/chunks/{catalog-97y0rmbn.js → vcs-ehpz93s6.js} +4 -4
- package/dist/chunks/{catalog-54d6gwcz.js → vcs-ejhkbtdh.js} +6 -6
- package/dist/chunks/{catalog-fvg72gxj.js → vcs-ejybkajt.js} +20 -20
- package/dist/chunks/{catalog-1bbkgx8g.js → vcs-eq1pz5kg.js} +3 -3
- package/dist/chunks/{catalog-z9cfrxhp.js → vcs-esb12hpz.js} +8 -8
- package/dist/chunks/{catalog-wz396vy4.js → vcs-eshhb3rq.js} +20 -20
- package/dist/chunks/{catalog-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{catalog-pb1eahw5.js → vcs-fad6j005.js} +8 -8
- package/dist/chunks/{catalog-npysrchg.js → vcs-fgxh6x1g.js} +11 -11
- package/dist/chunks/{catalog-c9004w5b.js → vcs-fh2x9k99.js} +3 -3
- package/dist/chunks/{catalog-6ck2t1rv.js → vcs-fjmrr6sh.js} +9 -9
- package/dist/chunks/{catalog-fm2qvscf.js → vcs-fm2qvscf.js} +1 -1
- package/dist/chunks/{catalog-5nsrms9d.js → vcs-fnpwkbwy.js} +1 -1
- package/dist/chunks/{catalog-x0fpwzd0.js → vcs-fp58ys57.js} +77 -77
- package/dist/chunks/{catalog-4bvz69k8.js → vcs-fvnh2aw6.js} +8 -8
- package/dist/chunks/{catalog-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{catalog-9gqphhzc.js → vcs-g06x7zz3.js} +11 -11
- package/dist/chunks/{catalog-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{catalog-3fc6dm20.js → vcs-gdvy8fx6.js} +4 -4
- package/dist/chunks/{catalog-51vw2z6p.js → vcs-geymwjz1.js} +17 -17
- package/dist/chunks/{catalog-z5p80r6k.js → vcs-gk5c3emf.js} +15 -15
- package/dist/chunks/{catalog-bajakh74.js → vcs-gnx4ytbv.js} +4 -4
- package/dist/chunks/{catalog-1cpcfx80.js → vcs-gq9h1cy4.js} +20 -20
- package/dist/chunks/{catalog-ysvdnr04.js → vcs-gs5f6wv0.js} +20 -20
- package/dist/chunks/{catalog-ftzwncw9.js → vcs-gy8mbycn.js} +11 -11
- package/dist/chunks/{catalog-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
- package/dist/chunks/{catalog-9avakp57.js → vcs-h1jg3mbz.js} +44 -44
- package/dist/chunks/{catalog-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{catalog-f828m53h.js → vcs-hdnk95c8.js} +2 -2
- package/dist/chunks/{catalog-3tm95zy1.js → vcs-hgt2pabg.js} +36 -36
- package/dist/chunks/{catalog-0ey1mef3.js → vcs-hgx0tp9g.js} +12 -12
- package/dist/chunks/{catalog-hnr5yq9h.js → vcs-hnr5yq9h.js} +2 -2
- package/dist/chunks/{catalog-86ta97sr.js → vcs-hsmrm7k2.js} +36 -36
- package/dist/chunks/{catalog-t1va49jq.js → vcs-hxfmkmqx.js} +1 -1
- package/dist/chunks/{catalog-8p4ebb40.js → vcs-j23mnxnf.js} +34 -34
- package/dist/chunks/{catalog-24c1y031.js → vcs-j2veqt8s.js} +18 -18
- package/dist/chunks/{catalog-sy6rv79x.js → vcs-j3a110vt.js} +34 -34
- package/dist/chunks/{catalog-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{catalog-prgkbevw.js → vcs-j7m17kb0.js} +16 -16
- package/dist/chunks/{catalog-bt3s1erw.js → vcs-jaay07m2.js} +28 -28
- package/dist/chunks/{catalog-tzsxfahg.js → vcs-jegmcvcq.js} +84 -84
- package/dist/chunks/{catalog-g69k0va6.js → vcs-jmg1cn05.js} +15 -15
- package/dist/chunks/{catalog-ypakvq1d.js → vcs-jn7rdtnf.js} +9 -9
- package/dist/chunks/{catalog-b292tk0n.js → vcs-jrkywk2g.js} +7 -7
- package/dist/chunks/{catalog-2ksqe8bm.js → vcs-k493p788.js} +20 -20
- package/dist/chunks/{catalog-1fp9qa2y.js → vcs-kaqyeaqf.js} +13 -13
- package/dist/chunks/{catalog-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{catalog-fe35mk0j.js → vcs-kgvmxhkt.js} +20 -20
- package/dist/chunks/{catalog-zxwpk2nb.js → vcs-knxn0y4q.js} +1 -1
- package/dist/chunks/{catalog-qhbn037j.js → vcs-kpvq4q1q.js} +4 -4
- package/dist/chunks/{catalog-hht4gh2e.js → vcs-kqybcvxm.js} +25 -25
- package/dist/chunks/{catalog-edycvqhn.js → vcs-kr28y8a4.js} +49 -49
- package/dist/chunks/{catalog-z2kdtaq9.js → vcs-kya1d1cj.js} +12 -12
- package/dist/chunks/{catalog-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
- package/dist/chunks/{catalog-pnv527nz.js → vcs-m86bnw2c.js} +5 -5
- package/dist/chunks/{catalog-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{catalog-s5pqthp7.js → vcs-meaty2af.js} +20 -20
- package/dist/chunks/{catalog-sndgt87n.js → vcs-mfd4djmy.js} +32 -32
- package/dist/chunks/{catalog-1ygqh575.js → vcs-mfqp6xfm.js} +6 -6
- package/dist/chunks/{catalog-mkcjrzeh.js → vcs-mkcjrzeh.js} +1 -1
- package/dist/chunks/{catalog-xycjtdwc.js → vcs-mnp2x0c0.js} +2 -2
- package/dist/chunks/{catalog-ca0dbqvs.js → vcs-mstfewda.js} +17 -17
- package/dist/chunks/{catalog-rn3bb77g.js → vcs-mwjh8pk4.js} +10 -10
- package/dist/chunks/{catalog-qj463mt0.js → vcs-n5hw7tw3.js} +11 -11
- package/dist/chunks/{catalog-xt1cn49a.js → vcs-ndz31w7t.js} +15 -15
- package/dist/chunks/{catalog-ans1jj8h.js → vcs-njjjq97b.js} +9 -9
- package/dist/chunks/{catalog-mjk9qewm.js → vcs-nxnkqx32.js} +30 -30
- package/dist/chunks/{catalog-qfj9a7dr.js → vcs-p1zz5ch3.js} +21 -21
- package/dist/chunks/{catalog-b2ajcddy.js → vcs-pa9dw40s.js} +11 -11
- package/dist/chunks/{catalog-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{catalog-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{catalog-j99k1z0n.js → vcs-pm61cg0m.js} +14 -14
- package/dist/chunks/{catalog-nf0n8mk0.js → vcs-ps1rdr0m.js} +18 -18
- package/dist/chunks/{catalog-fz0j3gyq.js → vcs-pvm3f0zc.js} +5 -5
- package/dist/chunks/{catalog-ey85gxkh.js → vcs-pw0h3xc5.js} +19 -19
- package/dist/chunks/{catalog-pvrjs4yz.js → vcs-pwkmx0nv.js} +11 -11
- package/dist/chunks/{catalog-88gw5xjn.js → vcs-q2xmq31x.js} +27 -27
- package/dist/chunks/vcs-q509s3k3.js +18 -0
- package/dist/chunks/{catalog-d6xggxnc.js → vcs-qbe8xtgd.js} +20 -20
- package/dist/chunks/{catalog-7dqw4kz8.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{catalog-6rdksybb.js → vcs-qgzzp5rc.js} +41 -41
- package/dist/chunks/{catalog-a257t0jf.js → vcs-qpvaxy8p.js} +17 -17
- package/dist/chunks/{catalog-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{catalog-dp3p8yg5.js → vcs-r2brn030.js} +6 -6
- package/dist/chunks/{catalog-52qz24pd.js → vcs-r6w0dfy9.js} +16 -16
- package/dist/chunks/{catalog-4mkcvr19.js → vcs-rgn0sbm6.js} +1 -1
- package/dist/chunks/{catalog-nf7ftftm.js → vcs-rh2d5hfk.js} +11 -11
- package/dist/chunks/{catalog-mhwe31bg.js → vcs-rjepra4w.js} +2 -2
- package/dist/chunks/{catalog-51e3a5p7.js → vcs-rkn0rgfw.js} +4 -4
- package/dist/chunks/{catalog-92azg307.js → vcs-rmm45jmv.js} +5 -5
- package/dist/chunks/{catalog-wst1zvrx.js → vcs-ry7qtge5.js} +56 -56
- package/dist/chunks/{catalog-68qnkcyy.js → vcs-s0h0tznv.js} +11 -11
- package/dist/chunks/{catalog-0gr7cw0d.js → vcs-s0hza5ac.js} +4 -4
- package/dist/chunks/{catalog-zx8e487a.js → vcs-s32jfjzq.js} +6 -6
- package/dist/chunks/{catalog-kr0f3q28.js → vcs-s4r6xr0n.js} +28 -28
- package/dist/chunks/{catalog-3mp8pt0x.js → vcs-sb1hd4c5.js} +12 -12
- package/dist/chunks/{catalog-193cyatj.js → vcs-shaevpe7.js} +22 -22
- package/dist/chunks/{catalog-k4w2jens.js → vcs-shz58gzq.js} +37 -37
- package/dist/chunks/vcs-sjneqh1p.js +247 -0
- package/dist/chunks/{catalog-jhetwysa.js → vcs-sjvd53j5.js} +1 -1
- package/dist/chunks/{catalog-4adfcvf6.js → vcs-t07ezw6n.js} +17 -17
- package/dist/chunks/{catalog-3w2b2yj4.js → vcs-t0fxg8b9.js} +5 -5
- package/dist/chunks/{catalog-zvjefhv4.js → vcs-tar8shjy.js} +9 -9
- package/dist/chunks/{catalog-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{catalog-9grwahz1.js → vcs-tcdnkm8w.js} +7 -7
- package/dist/chunks/{catalog-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{catalog-gv6a8nnw.js → vcs-th5km1p3.js} +5 -5
- package/dist/chunks/{catalog-bjmz90nh.js → vcs-ts0apre4.js} +4 -4
- package/dist/chunks/{catalog-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{catalog-gea5s3cg.js → vcs-tw433h7h.js} +8 -8
- package/dist/chunks/{catalog-t7n9q6bq.js → vcs-tz4n1mmd.js} +4 -4
- package/dist/chunks/{catalog-wfr4g6r5.js → vcs-tzcbdvgd.js} +28 -28
- package/dist/chunks/{catalog-csdk6fpb.js → vcs-tzem3vgm.js} +158 -158
- package/dist/chunks/{catalog-dv1qgsyq.js → vcs-v4hmzr0r.js} +8 -8
- package/dist/chunks/{catalog-ngm87703.js → vcs-v859h3f5.js} +14 -14
- package/dist/chunks/{catalog-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{catalog-hke3s7jr.js → vcs-vf8kzats.js} +25 -25
- package/dist/chunks/{catalog-2tkr3zpy.js → vcs-vsj0mrz7.js} +11 -11
- package/dist/chunks/{catalog-nrbr496k.js → vcs-vttgjvka.js} +20 -20
- package/dist/chunks/{catalog-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{catalog-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{catalog-ppwr6x1h.js → vcs-w855rgcx.js} +64 -64
- package/dist/chunks/{catalog-qxj1ffes.js → vcs-wby18vsc.js} +47 -47
- package/dist/chunks/{catalog-39x7b3m8.js → vcs-wcs25pa1.js} +24 -24
- package/dist/chunks/{catalog-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{catalog-nvrcv9cw.js → vcs-wda6fw6s.js} +4 -4
- package/dist/chunks/{catalog-t8mcaem5.js → vcs-wxeb981z.js} +1 -1
- package/dist/chunks/{catalog-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{catalog-x43y2vfs.js → vcs-x43y2vfs.js} +2 -2
- package/dist/chunks/{catalog-9gj0xced.js → vcs-x4dt4g1v.js} +3 -3
- package/dist/chunks/{catalog-ze5v0a14.js → vcs-xbrnje9f.js} +5 -5
- package/dist/chunks/{catalog-xcm121yb.js → vcs-xj4vfcdk.js} +20 -20
- package/dist/chunks/{catalog-srb7sc6z.js → vcs-xs239fpb.js} +36 -36
- package/dist/chunks/{catalog-0wrmrbzm.js → vcs-xs9ek88g.js} +36 -36
- package/dist/chunks/{catalog-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{catalog-6r3a936t.js → vcs-y50jbmae.js} +9 -9
- package/dist/chunks/{catalog-939xhrtp.js → vcs-y92wnscp.js} +4 -4
- package/dist/chunks/{catalog-7v8r240q.js → vcs-y9522tf6.js} +15 -15
- package/dist/chunks/{catalog-ksxmc9x1.js → vcs-ybq66g35.js} +15 -15
- package/dist/chunks/{catalog-9pxrakc7.js → vcs-ykaejvpz.js} +25 -25
- package/dist/chunks/{catalog-yp2x3t23.js → vcs-yp2x3t23.js} +1 -1
- package/dist/chunks/{catalog-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{catalog-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{catalog-w2ema4db.js → vcs-yse227kr.js} +4 -4
- package/dist/chunks/{catalog-9cg0vjy1.js → vcs-ytx9308a.js} +8 -8
- package/dist/chunks/vcs-yvzgh9ps.js +22 -0
- package/dist/chunks/{catalog-08gjfv79.js → vcs-yw8mnecf.js} +24 -24
- package/dist/chunks/{catalog-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{catalog-1wxb385z.js → vcs-z3ykvfqy.js} +1 -1
- package/dist/chunks/{catalog-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{catalog-csy5xrym.js → vcs-z6e4n9b7.js} +24 -24
- package/dist/chunks/{catalog-d7f95zz1.js → vcs-z8ssr624.js} +5 -5
- package/dist/chunks/{catalog-qbj7c7cb.js → vcs-zb62w0c9.js} +13 -13
- package/dist/chunks/{catalog-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{catalog-nzhacs1j.js → vcs-zezyckm9.js} +17 -17
- package/dist/chunks/{catalog-hm24pp5g.js → vcs-zfq801h6.js} +6 -6
- package/dist/chunks/{catalog-ar9ay40j.js → vcs-zgw7ze31.js} +19 -19
- package/dist/chunks/{catalog-grgythxa.js → vcs-zh470wy1.js} +10 -10
- package/dist/chunks/{catalog-e4c51rkk.js → vcs-znr4ar3k.js} +46 -46
- package/dist/chunks/{catalog-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{catalog-2k43fb76.js → vcs-zxdcey3e.js} +27 -27
- package/dist/chunks/{catalog-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +67 -67
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- 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 +118 -5
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +3 -3
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +111 -111
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/plugin/provider/snowflake-cortex.d.ts +5 -4
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/catalog-1tm0r3ht.js +0 -4
- package/dist/chunks/catalog-45th5jwr.js +0 -18
- package/dist/chunks/catalog-9vh5426k.js +0 -71
- package/dist/chunks/catalog-aeyh582h.js +0 -22
- package/dist/chunks/catalog-fq87a0m5.js +0 -247
- /package/dist/chunks/{catalog-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{catalog-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{catalog-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{catalog-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{catalog-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{catalog-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{catalog-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{catalog-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{catalog-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{catalog-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{catalog-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{catalog-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{catalog-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{catalog-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{catalog-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{catalog-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{catalog-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{catalog-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{catalog-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{catalog-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{catalog-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{catalog-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{catalog-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{catalog-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{catalog-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{catalog-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{catalog-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{catalog-a1tpkmh4.js → vcs-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{catalog-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{catalog-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{catalog-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{catalog-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{catalog-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{catalog-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{catalog-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{catalog-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{catalog-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{catalog-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{catalog-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{catalog-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{catalog-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{catalog-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{catalog-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{catalog-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{catalog-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{catalog-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{catalog-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{catalog-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{catalog-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{catalog-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{catalog-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{catalog-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{catalog-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{catalog-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{catalog-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{catalog-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{catalog-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{catalog-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{catalog-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{catalog-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{catalog-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{catalog-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{catalog-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{catalog-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{catalog-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{catalog-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{catalog-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{catalog-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{catalog-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{catalog-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{catalog-paphc93g.js → vcs-paphc93g.js} +0 -0
- /package/dist/chunks/{catalog-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{catalog-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{catalog-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{catalog-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{catalog-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{catalog-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{catalog-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{catalog-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{catalog-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{catalog-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{catalog-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{catalog-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{catalog-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{catalog-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{catalog-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{catalog-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{catalog-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{catalog-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{catalog-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{catalog-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{catalog-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./vcs-qpvaxy8p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./vcs-z6e4n9b7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service14,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-kaqyeaqf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./vcs-y9522tf6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service61
|
|
17
|
+
} from "./vcs-b2x79vpr.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service60,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-anz7jrtv.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin34,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input12 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin34 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service60;
|
|
110
|
+
const fileMutation = yield* Service14;
|
|
111
|
+
const environment = yield* Service70;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
|
+
const location = yield* Service72;
|
|
114
|
+
const permission = yield* Service61;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name4,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input4,
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin27 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name4, Input4, Output3, Plugin34, exports_edit };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES2, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ak11xt4g.js";
|
|
4
4
|
import {
|
|
5
5
|
Service77
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-fh2x9k99.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service25,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-q509s3k3.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-tzem3vgm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
29
|
Event: () => Event4,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service25,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node20
|
|
38
38
|
});
|
|
39
|
-
import { Event as Event4, ID as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
45
|
const kv = yield* Service77;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service25.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node20 = Node.makeLocationNode({
|
|
226
|
+
service: Service25,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node20, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/git.ts
|
|
13
13
|
var exports_git3 = {};
|
|
@@ -15,11 +15,11 @@ __export(exports_git3, {
|
|
|
15
15
|
Git: () => exports_git3,
|
|
16
16
|
OperationError: () => OperationError3,
|
|
17
17
|
Repository: () => Repository2,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service74,
|
|
19
19
|
TreeID: () => TreeID2,
|
|
20
20
|
Worktree: () => Worktree2,
|
|
21
21
|
WorktreeError: () => WorktreeError2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node79
|
|
23
23
|
});
|
|
24
24
|
import path from "path";
|
|
25
25
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -85,9 +85,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class Service74 extends Context.Service()("@opencode/Git") {
|
|
89
89
|
}
|
|
90
|
-
var layer = Layer.effect(
|
|
90
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
91
91
|
const fs = yield* FSUtil.Service;
|
|
92
92
|
const proc = yield* AppProcess.Service;
|
|
93
93
|
const locks = makeUnsafe2();
|
|
@@ -409,7 +409,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
409
409
|
kind: index === 0 ? "main" : "linked"
|
|
410
410
|
}));
|
|
411
411
|
});
|
|
412
|
-
return
|
|
412
|
+
return Service74.of({
|
|
413
413
|
repo: { discover, clone, create },
|
|
414
414
|
remote: { get: remote },
|
|
415
415
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -425,7 +425,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}));
|
|
428
|
-
var
|
|
428
|
+
var node79 = makeGlobalNode({ service: Service74, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
429
429
|
function run(cwd, proc, args) {
|
|
430
430
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
431
431
|
}
|
|
@@ -450,4 +450,4 @@ function resolvePath(cwd, value) {
|
|
|
450
450
|
return path.resolve(cwd, normalized);
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
453
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service74, node79, exports_git3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service24,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node28
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service24 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service24.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node28 = makeGlobalNode({ service: Service24, layer: layer11, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service24, makeLayer2, layer11, node28, exports_model_transport };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./vcs-qpvaxy8p.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service43
|
|
9
|
+
} from "./vcs-03nm8wmp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service68
|
|
12
|
+
} from "./vcs-9g26vy4m.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin18
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin18 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service43;
|
|
34
|
+
const location = yield* Service72;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service68;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin30 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin18, exports_worktree };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ak11xt4g.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event13
|
|
7
|
+
} from "./vcs-nxnkqx32.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-jaay07m2.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-5kbk4f8q.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/opencode.ts
|
|
19
19
|
import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -43,7 +43,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
43
43
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
44
44
|
function oauth(http) {
|
|
45
45
|
return {
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID7.make("opencode"),
|
|
47
47
|
method: {
|
|
48
48
|
id: methodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -111,7 +111,7 @@ var OpencodePlugin2 = define({
|
|
|
111
111
|
catalog.provider.update(providerID, (provider) => {
|
|
112
112
|
if (source && source.provider !== provider)
|
|
113
113
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
114
|
-
provider.integrationID =
|
|
114
|
+
provider.integrationID = ID7.make("opencode");
|
|
115
115
|
if (item.canonical !== undefined)
|
|
116
116
|
provider.canonical = item.canonical;
|
|
117
117
|
if (item.name !== undefined)
|
|
@@ -195,7 +195,7 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
197
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
198
|
-
yield* bus.subscribe(
|
|
198
|
+
yield* bus.subscribe(Event13.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
function fetchProviders(http, value) {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-ee6q3dhy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-ak11xt4g.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: () => Event13,
|
|
24
|
+
ID: () => ID9,
|
|
25
|
+
Info: () => Info22,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service55,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node59
|
|
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 ID9 = 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 Event13 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info22 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID9,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service55 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
55
|
const bus = yield* Service79;
|
|
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 Info22({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service55.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(Service73, 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 Info22({
|
|
80
|
+
id: ID9.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(Service73, 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(Event13.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event13.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(Service73, 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(Event13.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(Service73, 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(Event13.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(Service73, 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(Event13.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event13.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node59 = makeGlobalNode({ service: Service55, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID9, OAuth3, Key3, Value2, Event13, Info22, Service55, node59, exports_credential };
|