@opencode/core 0.0.0-dev-20657 → 0.0.0-dev-20661
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{vcs-8m5xe4tx.js → repository-043vq6jw.js} +6 -6
- package/dist/chunks/{vcs-4f6qpwp0.js → repository-0618chc0.js} +11 -11
- package/dist/chunks/{vcs-xw3hzg3w.js → repository-07bwtgn1.js} +19 -19
- package/dist/chunks/{vcs-ydsmzj44.js → repository-0kfggb32.js} +4 -4
- package/dist/chunks/{vcs-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{vcs-47jkzegy.js → repository-0r3c1bmw.js} +5 -5
- package/dist/chunks/{vcs-86rc0f8f.js → repository-0szg9e3a.js} +11 -11
- package/dist/chunks/{vcs-tz1g4r66.js → repository-0te6a63x.js} +4 -4
- package/dist/chunks/{vcs-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
- package/dist/chunks/{vcs-tx9w5tca.js → repository-0xezjjjn.js} +8 -8
- package/dist/chunks/{vcs-a2rpfkac.js → repository-0xqyf95c.js} +4 -4
- package/dist/chunks/{vcs-7emjjf90.js → repository-106g6zzb.js} +18 -18
- package/dist/chunks/{vcs-znz6qwjc.js → repository-10h4ddzz.js} +14 -14
- package/dist/chunks/{vcs-chsrfrth.js → repository-10r6pp2x.js} +15 -15
- package/dist/chunks/{vcs-77tmtz1b.js → repository-16f7tttd.js} +6 -6
- package/dist/chunks/{vcs-njffz7f6.js → repository-18g4yb7e.js} +28 -28
- package/dist/chunks/{vcs-1acjjqhc.js → repository-1acjjqhc.js} +1 -1
- package/dist/chunks/{vcs-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{vcs-84h8c373.js → repository-1dvck2a7.js} +2 -2
- package/dist/chunks/{vcs-hy1va3t8.js → repository-1ghf8zs3.js} +11 -11
- package/dist/chunks/{vcs-ncrxt7jx.js → repository-1pt39jfx.js} +9 -9
- package/dist/chunks/{vcs-1590h75y.js → repository-1sb13fhj.js} +47 -47
- package/dist/chunks/{vcs-8bmkym92.js → repository-205k8jhr.js} +30 -30
- package/dist/chunks/{vcs-zqg5j2wv.js → repository-21jd8v9m.js} +15 -15
- package/dist/chunks/{vcs-s5k3q4pp.js → repository-27b211kq.js} +5 -5
- package/dist/chunks/{vcs-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{vcs-az1ptj1b.js → repository-2f8h2t77.js} +24 -24
- package/dist/chunks/{vcs-jsz329ft.js → repository-2jnxrbr3.js} +10 -10
- package/dist/chunks/{vcs-b51nkdwk.js → repository-2jpa8mfg.js} +10 -10
- package/dist/chunks/{vcs-kjtwtt38.js → repository-2na9pj0b.js} +32 -32
- package/dist/chunks/{vcs-q8pak5b3.js → repository-2vn93ng9.js} +19 -19
- package/dist/chunks/{vcs-3vnnpbnc.js → repository-301v9tya.js} +38 -38
- package/dist/chunks/{vcs-awwkxypx.js → repository-32pp5s05.js} +1 -1
- package/dist/chunks/{vcs-56gdpj1q.js → repository-33w4ejhs.js} +6 -6
- package/dist/chunks/{vcs-7phmnex1.js → repository-379b4hhp.js} +8 -8
- package/dist/chunks/{vcs-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{vcs-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{vcs-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{vcs-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{vcs-zysg80a6.js → repository-40gcpxzn.js} +26 -26
- package/dist/chunks/{vcs-p5p5kne1.js → repository-4a2kvcyx.js} +2 -2
- package/dist/chunks/{vcs-4ga52gzf.js → repository-4b9xfex1.js} +12 -12
- package/dist/chunks/{vcs-knf8cp6t.js → repository-4mg116vk.js} +35 -35
- package/dist/chunks/{vcs-5b1pphrg.js → repository-4pm1k6b6.js} +4 -4
- package/dist/chunks/{vcs-xdqkfgq9.js → repository-4sb6t3m1.js} +45 -45
- package/dist/chunks/{vcs-4ts7tf6z.js → repository-4ts7tf6z.js} +2 -2
- package/dist/chunks/{vcs-8s8kj6rz.js → repository-4ya93pvd.js} +38 -38
- package/dist/chunks/{vcs-cq6phv5h.js → repository-4zfp2qta.js} +22 -22
- package/dist/chunks/{vcs-na5ey99x.js → repository-4zws30q5.js} +20 -20
- package/dist/chunks/{vcs-ynqzsecj.js → repository-537jbssw.js} +33 -33
- package/dist/chunks/{vcs-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{vcs-yqgsyyq0.js → repository-551p5xfx.js} +28 -28
- package/dist/chunks/{vcs-s26kjmv5.js → repository-573jdjzy.js} +6 -6
- package/dist/chunks/{vcs-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{vcs-zzhkqpgp.js → repository-5g6sbyxh.js} +27 -27
- package/dist/chunks/{vcs-jbmy2zgb.js → repository-5j13w0pe.js} +22 -22
- package/dist/chunks/{vcs-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-sppvmfbr.js → repository-5meya16s.js} +13 -13
- package/dist/chunks/{vcs-rh6eqnc6.js → repository-5rrf9qge.js} +13 -13
- package/dist/chunks/{vcs-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{vcs-fns8a2gp.js → repository-5za7wpg2.js} +15 -15
- package/dist/chunks/{vcs-dh75pk8w.js → repository-64s65d1n.js} +5 -5
- package/dist/chunks/{vcs-fgwpeqsz.js → repository-6cpse6c2.js} +13 -13
- package/dist/chunks/{vcs-tpb188e6.js → repository-6h5736te.js} +30 -30
- package/dist/chunks/{vcs-1y2xvmy6.js → repository-6hvm7cgx.js} +11 -11
- package/dist/chunks/{vcs-ytj3vg7d.js → repository-6sxn0fyv.js} +12 -12
- package/dist/chunks/{vcs-v0es1rhs.js → repository-6wjv80df.js} +9 -9
- package/dist/chunks/{vcs-6xb47vfp.js → repository-6xb47vfp.js} +1 -1
- package/dist/chunks/{vcs-f75zav2x.js → repository-71az546q.js} +2 -2
- package/dist/chunks/{vcs-wk41chab.js → repository-748da515.js} +17 -17
- package/dist/chunks/{vcs-h28nw4a5.js → repository-74zds2q2.js} +40 -40
- package/dist/chunks/{vcs-9vxdmk1q.js → repository-7ahbtrex.js} +26 -26
- package/dist/chunks/{vcs-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-j93sw876.js → repository-7c7bareq.js} +14 -14
- package/dist/chunks/{vcs-v76by4bg.js → repository-7ge4ak7p.js} +6 -6
- package/dist/chunks/{vcs-p5erw4k4.js → repository-7kwx6gx2.js} +12 -12
- package/dist/chunks/{vcs-6s3gqasb.js → repository-7n7v53sw.js} +9 -9
- package/dist/chunks/{vcs-89yy5tk9.js → repository-7zrsqeap.js} +42 -42
- package/dist/chunks/{vcs-vsr6dns1.js → repository-8a6ws7jr.js} +9 -9
- package/dist/chunks/{vcs-nmk0dmpc.js → repository-8b9545xm.js} +31 -31
- package/dist/chunks/{vcs-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{vcs-4wwqnvbr.js → repository-8qvzptz7.js} +4 -4
- package/dist/chunks/{vcs-0cpggsem.js → repository-8t72k94d.js} +19 -19
- package/dist/chunks/{vcs-qm62jy3z.js → repository-8vwp8w5g.js} +19 -19
- package/dist/chunks/{vcs-nf7n9gv6.js → repository-94heg7e8.js} +28 -28
- package/dist/chunks/{vcs-kb9j3d72.js → repository-9e5bzkjp.js} +3 -3
- package/dist/chunks/{vcs-9zcvf4bt.js → repository-9gaqynqt.js} +3 -3
- package/dist/chunks/{vcs-8qyfkx8k.js → repository-9k8khh75.js} +11 -11
- package/dist/chunks/{vcs-qt3m7yst.js → repository-9r8ns7n8.js} +24 -24
- package/dist/chunks/repository-9sh4wc5j.js +18 -0
- package/dist/chunks/{vcs-5h6rhzqe.js → repository-9vk7ehay.js} +9 -9
- package/dist/chunks/{vcs-8c9jk717.js → repository-9z6cmhkq.js} +3 -3
- package/dist/chunks/{vcs-r5x6zcsm.js → repository-a1gpj94z.js} +3 -3
- package/dist/chunks/{vcs-bjr6y4mv.js → repository-a1pv9e77.js} +5 -5
- package/dist/chunks/{vcs-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{vcs-ech2ak4d.js → repository-ach6z8vh.js} +4 -4
- package/dist/chunks/{vcs-e81r67k8.js → repository-afr26chb.js} +11 -11
- package/dist/chunks/{vcs-c73458ry.js → repository-afssb52c.js} +3 -3
- package/dist/chunks/{vcs-any5mnhp.js → repository-ahx40rxf.js} +25 -25
- package/dist/chunks/{vcs-434r7hkm.js → repository-an4d28vr.js} +20 -20
- package/dist/chunks/{vcs-52k3wwwq.js → repository-atxy8ykf.js} +21 -21
- package/dist/chunks/{vcs-e0yqd5jt.js → repository-az7tb05h.js} +27 -27
- package/dist/chunks/{vcs-rbw4aktn.js → repository-b1ajvfw3.js} +32 -32
- package/dist/chunks/{vcs-b4twkq7r.js → repository-b4twkq7r.js} +2 -2
- package/dist/chunks/{vcs-51tpsak4.js → repository-b513f556.js} +22 -22
- package/dist/chunks/{vcs-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{vcs-cn4z8cr5.js → repository-bce8mqt3.js} +8 -8
- package/dist/chunks/{vcs-kf9nwexv.js → repository-benv41rp.js} +9 -9
- package/dist/chunks/repository-bj0bcwj5.js +26 -0
- package/dist/chunks/{vcs-ky1txe1r.js → repository-btcfg8pa.js} +12 -12
- package/dist/chunks/{vcs-8whp40kv.js → repository-btfhnvjh.js} +2 -2
- package/dist/chunks/{vcs-aa3n6jba.js → repository-bvjh5av3.js} +12 -12
- package/dist/chunks/{vcs-9k3az8kg.js → repository-ccdkjy5j.js} +35 -35
- package/dist/chunks/{vcs-qgv728j2.js → repository-ceb6shg2.js} +11 -11
- package/dist/chunks/{vcs-qmtyv9xk.js → repository-cm3vhcv0.js} +24 -24
- package/dist/chunks/{vcs-a9667v8g.js → repository-crvx6mgt.js} +23 -23
- package/dist/chunks/{vcs-cwa6csj7.js → repository-cwa6csj7.js} +2 -2
- package/dist/chunks/{vcs-wzzqegvv.js → repository-cyfxky51.js} +32 -32
- package/dist/chunks/{vcs-nsxganxa.js → repository-d0zee6yx.js} +16 -16
- package/dist/chunks/{vcs-0t0msxhb.js → repository-d1t6tc1e.js} +5 -5
- package/dist/chunks/{vcs-s0bwfe95.js → repository-d29nyfm4.js} +15 -15
- package/dist/chunks/{vcs-p4h4rdzj.js → repository-d9kqsdy4.js} +25 -25
- package/dist/chunks/{vcs-pwgqjq8n.js → repository-dax2f43k.js} +88 -88
- package/dist/chunks/{vcs-db2wf4at.js → repository-dgpsrprm.js} +4 -4
- package/dist/chunks/{vcs-n9arjmkd.js → repository-dj68pnee.js} +4 -4
- package/dist/chunks/{vcs-ed3hy58t.js → repository-dmqk4yfk.js} +11 -11
- package/dist/chunks/{vcs-mjmzzvm2.js → repository-dnz8myac.js} +11 -11
- package/dist/chunks/{vcs-nxm207yx.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{vcs-4859kmxm.js → repository-dxr8fvgz.js} +21 -21
- package/dist/chunks/{vcs-p3scmb76.js → repository-e5p55b06.js} +7 -7
- package/dist/chunks/{vcs-9rv6dz1e.js → repository-e7fm67xs.js} +32 -32
- package/dist/chunks/{vcs-a8f3mxkw.js → repository-ea0ampwz.js} +12 -12
- package/dist/chunks/{vcs-5g2kcr25.js → repository-eakgj8q2.js} +47 -47
- package/dist/chunks/{vcs-mjdy15x6.js → repository-ecmranas.js} +5 -5
- package/dist/chunks/{vcs-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{vcs-wmznkzn4.js → repository-eqbnvekh.js} +47 -47
- package/dist/chunks/{vcs-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{vcs-avmm2jg2.js → repository-ey6rfqvz.js} +11 -11
- package/dist/chunks/{vcs-wtm68b6z.js → repository-f1ry7jgz.js} +35 -35
- package/dist/chunks/{vcs-3yrfahye.js → repository-f4bkz93y.js} +20 -20
- package/dist/chunks/{vcs-p0n551fw.js → repository-fbtna4cy.js} +45 -45
- package/dist/chunks/{vcs-7dqw4kz8.js → repository-fcrkznn8.js} +5 -5
- package/dist/chunks/{vcs-5c7790se.js → repository-fwj22sb9.js} +14 -14
- package/dist/chunks/{vcs-8wc7p2s7.js → repository-fxgyesrr.js} +14 -14
- package/dist/chunks/{vcs-sdn4xrar.js → repository-fxkzw5w5.js} +22 -22
- package/dist/chunks/{vcs-5xtgfte3.js → repository-g0445xdp.js} +6 -6
- package/dist/chunks/{vcs-vnezwvq1.js → repository-g5pr0hqg.js} +5 -5
- package/dist/chunks/{vcs-g5w8qwbj.js → repository-g5w8qwbj.js} +1 -1
- package/dist/chunks/{vcs-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{vcs-952fmzcg.js → repository-ggmrdx7v.js} +8 -8
- package/dist/chunks/{vcs-3zbwexce.js → repository-gmmdfr2g.js} +8 -8
- package/dist/chunks/{vcs-yed04tyc.js → repository-gpjhh13y.js} +11 -11
- package/dist/chunks/{vcs-mjeah1s5.js → repository-grs6z2v9.js} +20 -20
- package/dist/chunks/{vcs-3cegwx68.js → repository-h2b79v29.js} +2 -2
- package/dist/chunks/{vcs-39y20kt5.js → repository-h3g0cwjn.js} +20 -20
- package/dist/chunks/{vcs-v7t1f1qx.js → repository-h6nxw0pd.js} +8 -8
- package/dist/chunks/{vcs-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{vcs-a71hppcw.js → repository-h79eb4wf.js} +25 -25
- package/dist/chunks/{vcs-9dyqnwf5.js → repository-h7sfwyf5.js} +11 -11
- package/dist/chunks/{vcs-c115zdge.js → repository-he1ycz2s.js} +7 -7
- package/dist/chunks/{vcs-hhvxj0xs.js → repository-hjm0k3fp.js} +2 -2
- package/dist/chunks/{vcs-15k0vgsm.js → repository-hmhzhfpw.js} +13 -13
- package/dist/chunks/{vcs-nj1j17x6.js → repository-hz0q9sdq.js} +8 -8
- package/dist/chunks/{vcs-5y297yh0.js → repository-j07em0ca.js} +60 -60
- package/dist/chunks/{vcs-4j4sd5hg.js → repository-j4dqt27y.js} +11 -11
- package/dist/chunks/{vcs-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{vcs-s91dha9r.js → repository-j7071276.js} +5 -5
- package/dist/chunks/{vcs-m32z4m4g.js → repository-ja8t3wh1.js} +25 -25
- package/dist/chunks/{vcs-ckk9cefh.js → repository-jxnv3vs9.js} +3 -3
- package/dist/chunks/{vcs-j1xbwn9c.js → repository-kadwda11.js} +31 -31
- package/dist/chunks/{vcs-r4m1jrjc.js → repository-kg7g3ey4.js} +15 -15
- package/dist/chunks/{vcs-mhpyta8y.js → repository-kmy91h7k.js} +5 -5
- package/dist/chunks/{vcs-qvq3arps.js → repository-kqkwtn5n.js} +23 -23
- package/dist/chunks/{vcs-2m6aeqxr.js → repository-krry4gk1.js} +39 -39
- package/dist/chunks/{vcs-ad2z09fz.js → repository-kwqsq9eb.js} +1 -1
- package/dist/chunks/{vcs-bygh5wce.js → repository-kyr2t18s.js} +17 -17
- package/dist/chunks/{vcs-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{vcs-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-cavr175a.js → repository-magykp64.js} +4 -4
- package/dist/chunks/{vcs-0a9mspw3.js → repository-mm07xyj9.js} +37 -37
- package/dist/chunks/{vcs-tchgbp8v.js → repository-mqjzjjf0.js} +7 -7
- package/dist/chunks/{vcs-nvxfygz2.js → repository-my8tnftd.js} +11 -11
- package/dist/chunks/{vcs-f29mbr7f.js → repository-n1n192bv.js} +4 -4
- package/dist/chunks/{vcs-02w6ye8w.js → repository-n4hagvcf.js} +19 -19
- package/dist/chunks/{vcs-k90nywdg.js → repository-n7avb6m5.js} +5 -5
- package/dist/chunks/{vcs-js4cxn4z.js → repository-n8se905m.js} +6 -6
- package/dist/chunks/{vcs-yfdhmhym.js → repository-ng56fafc.js} +17 -17
- package/dist/chunks/{vcs-b60a26g6.js → repository-ngkc5a6n.js} +5 -5
- package/dist/chunks/{vcs-03ympqey.js → repository-nhy104pe.js} +51 -51
- package/dist/chunks/{vcs-a6r6wkyr.js → repository-nj6293bs.js} +16 -16
- package/dist/chunks/{vcs-rk1r2hx8.js → repository-ns3eape4.js} +1 -1
- package/dist/chunks/{vcs-23w4mbjd.js → repository-nttvqnzt.js} +31 -31
- package/dist/chunks/{vcs-5j2qe6ha.js → repository-nzeef16t.js} +15 -15
- package/dist/chunks/{vcs-cvaycvww.js → repository-p558d1j2.js} +5 -5
- package/dist/chunks/{vcs-dxh3sfmm.js → repository-p9q8g7vd.js} +4 -4
- package/dist/chunks/{vcs-35snxxt6.js → repository-pcr95nxz.js} +20 -20
- package/dist/chunks/{vcs-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{vcs-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-q0xm7vwc.js → repository-q0xm7vwc.js} +2 -2
- package/dist/chunks/{vcs-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
- package/dist/chunks/{vcs-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{vcs-kbqjp078.js → repository-qvreyy9g.js} +5 -5
- package/dist/chunks/{vcs-mp6d0dty.js → repository-qxmaq0sm.js} +8 -8
- package/dist/chunks/{vcs-ree5ev3t.js → repository-r44petzp.js} +12 -12
- package/dist/chunks/{vcs-x7jvg2gh.js → repository-r4xwqsmk.js} +11 -11
- package/dist/chunks/{vcs-fd636bra.js → repository-r9w3djhf.js} +9 -9
- package/dist/chunks/{vcs-v31ptvhs.js → repository-ravgrsv5.js} +11 -11
- package/dist/chunks/{vcs-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{vcs-x8g60tk1.js → repository-rgbeeb12.js} +23 -23
- package/dist/chunks/{vcs-7kgm8qst.js → repository-rvnx9ynj.js} +28 -28
- package/dist/chunks/{vcs-040mzcjf.js → repository-ry924fh6.js} +43 -43
- package/dist/chunks/{vcs-ryr25ayn.js → repository-ryr25ayn.js} +1 -1
- package/dist/chunks/{vcs-wv396vej.js → repository-s8d7rejh.js} +8 -8
- package/dist/chunks/{vcs-dqbmw7q7.js → repository-s8xbmvwb.js} +20 -20
- package/dist/chunks/{vcs-wecqtg5s.js → repository-scgrse2b.js} +5 -5
- package/dist/chunks/{vcs-1tre5bhm.js → repository-scp3g09m.js} +17 -17
- package/dist/chunks/{vcs-jr75wfmz.js → repository-spgjrcy8.js} +76 -76
- package/dist/chunks/{vcs-nebf000m.js → repository-sq5ga9n2.js} +30 -30
- package/dist/chunks/{vcs-59en1s52.js → repository-ssby7wmp.js} +316 -316
- package/dist/chunks/{vcs-88gv5fem.js → repository-stye60hc.js} +31 -31
- package/dist/chunks/{vcs-n9vqdcrq.js → repository-t3vv4d42.js} +13 -13
- package/dist/chunks/{vcs-dhmh7aw6.js → repository-t7n9q6bq.js} +4 -4
- package/dist/chunks/{vcs-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{vcs-c8bydgjz.js → repository-tcay1cqt.js} +6 -6
- package/dist/chunks/{vcs-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{vcs-dvcamk0x.js → repository-tcmvd7z0.js} +44 -44
- package/dist/chunks/{vcs-s2v7n1e5.js → repository-tcnkdppf.js} +28 -28
- package/dist/chunks/{vcs-pfme51df.js → repository-td335a07.js} +34 -34
- package/dist/chunks/{vcs-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/repository-tkybgs2z.js +253 -0
- package/dist/chunks/{vcs-d7r1s2tx.js → repository-tvx3ewvr.js} +24 -24
- package/dist/chunks/{vcs-8mza7131.js → repository-vc155zt0.js} +20 -20
- package/dist/chunks/{vcs-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-rnngp69k.js → repository-vgznchvw.js} +8 -8
- package/dist/chunks/{vcs-ym0x057v.js → repository-vh7fby3r.js} +7 -7
- package/dist/chunks/{vcs-s16b17t4.js → repository-vnyrj955.js} +3 -3
- package/dist/chunks/{vcs-w72117hz.js → repository-vwctd27t.js} +4 -4
- package/dist/chunks/{vcs-d8j5se8g.js → repository-vwjb8r2v.js} +4 -4
- package/dist/chunks/{vcs-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{vcs-84txncab.js → repository-w1eejvng.js} +5 -5
- package/dist/chunks/{vcs-tcwahqdd.js → repository-w2c5pkxk.js} +170 -170
- package/dist/chunks/{vcs-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-f3vqqkbk.js → repository-w7d850mj.js} +20 -20
- package/dist/chunks/{vcs-w8djw5a7.js → repository-w9vf9qqj.js} +9 -9
- package/dist/chunks/{vcs-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-ehcck58d.js → repository-wer47y7e.js} +11 -11
- package/dist/chunks/{vcs-5vsxmgdg.js → repository-wg56nkx8.js} +16 -16
- package/dist/chunks/{vcs-kjdm35cs.js → repository-wh6zw745.js} +5 -5
- package/dist/chunks/{vcs-99rqs349.js → repository-wmn12sgk.js} +3 -3
- package/dist/chunks/{vcs-sxqcyyt3.js → repository-wnmdvmz6.js} +19 -19
- package/dist/chunks/{vcs-4h8a4daf.js → repository-x9gjp2wb.js} +16 -16
- package/dist/chunks/{vcs-f0s8y0b6.js → repository-xa3ghtvx.js} +16 -16
- package/dist/chunks/{vcs-6kd7fbe5.js → repository-xdkfhf58.js} +48 -48
- package/dist/chunks/{vcs-k9z2jbvp.js → repository-xgwzhbhd.js} +14 -14
- package/dist/chunks/{vcs-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
- package/dist/chunks/{vcs-91eqd9wz.js → repository-xvr70the.js} +85 -85
- package/dist/chunks/{vcs-fyjp43ss.js → repository-xw8eq9f1.js} +5 -5
- package/dist/chunks/{vcs-qxjc9qry.js → repository-xyafkbt0.js} +3 -3
- package/dist/chunks/{vcs-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{vcs-ncbf19cf.js → repository-y1j8epp9.js} +12 -12
- package/dist/chunks/{vcs-qxampeh8.js → repository-y5dw8kr0.js} +2 -2
- package/dist/chunks/{vcs-3emwnsjx.js → repository-yevqza3m.js} +20 -20
- package/dist/chunks/{vcs-w5ssd7wj.js → repository-yk3hsgx2.js} +8 -8
- package/dist/chunks/{vcs-ktsearan.js → repository-yqvvg513.js} +22 -22
- package/dist/chunks/{vcs-6xndz1be.js → repository-ysv4x97r.js} +8 -8
- package/dist/chunks/{vcs-gwwh43n1.js → repository-yt3fxxnb.js} +4 -4
- package/dist/chunks/{vcs-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-aas2x9xe.js → repository-z37gfj8r.js} +11 -11
- package/dist/chunks/{vcs-ph3ewja6.js → repository-z8bvm205.js} +6 -6
- package/dist/chunks/{vcs-sqvzcy4n.js → repository-zfs8ae4p.js} +4 -4
- package/dist/chunks/{vcs-40t0es6d.js → repository-zhf35gm1.js} +28 -28
- package/dist/chunks/{vcs-v53gfhad.js → repository-zmnepbn3.js} +7 -7
- package/dist/chunks/{vcs-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{vcs-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/chunks/{vcs-1vkabqvp.js → repository-zy2zpvm6.js} +11 -11
- package/dist/chunks/{vcs-kt0ehyka.js → repository-zze7mas3.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +74 -74
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +95 -95
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +97 -97
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +99 -99
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +78 -78
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- 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 +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/model.d.ts +3 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/vcs-391agrz4.js +0 -26
- package/dist/chunks/vcs-n95b3jav.js +0 -18
- package/dist/chunks/vcs-wwfr3fck.js +0 -253
- /package/dist/chunks/{vcs-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./repository-74zds2q2.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
12
|
Service58
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-7c7bareq.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./repository-nj6293bs.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./repository-j07em0ca.js";
|
|
20
20
|
import {
|
|
21
21
|
Service14,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-4b9xfex1.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service55,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-d29nyfm4.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service52
|
|
37
|
+
} from "./repository-4sb6t3m1.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service30
|
|
40
|
+
} from "./repository-xvr70the.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-ach6z8vh.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input3,
|
|
53
|
+
Plugin: () => Plugin3,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name3
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name3 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input3 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin3 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service30;
|
|
123
|
+
const jobs = yield* Service75;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
125
|
const environment = yield* Service58;
|
|
126
126
|
const access = yield* Service14;
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
127
|
+
const shell = yield* Service52;
|
|
128
|
+
const shellSelect = yield* Service55;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service66;
|
|
131
|
+
const config = yield* Service60;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin31 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name3,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin31 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name3,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input3,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin31 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name3,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name3];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node13
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node13, exports_discovery };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./repository-d0zee6yx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./repository-r44petzp.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./repository-748da515.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9sh4wc5j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service61,
|
|
18
18
|
node65
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-8t72k94d.js";
|
|
20
20
|
import {
|
|
21
21
|
node25
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-21jd8v9m.js";
|
|
23
23
|
import {
|
|
24
24
|
Service12,
|
|
25
25
|
node14
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service73;
|
|
47
|
+
const watcher = yield* Service61;
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [node65, FSUtil.node,
|
|
108
|
+
deps: [node65, FSUtil.node, node77, node85, node87, node25, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin6,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin6 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin21 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin6, exports_opencode };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service61,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured11,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
22
|
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service61 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var layer24 = (options) => Layer.effect(
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service61, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service61.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service61.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -131,7 +131,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
131
131
|
});
|
|
132
132
|
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service61).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service61, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured11(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service61, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var node65 =
|
|
170
|
+
var node65 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options9, Service61, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node65, exports_watcher };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node85
|
|
6
|
+
} from "./repository-r44petzp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service73,
|
|
9
|
+
node77
|
|
10
|
+
} from "./repository-748da515.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make13
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-p558d1j2.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service27,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node30
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service27 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service73;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make13;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service27.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node30 = makeLocationNode({
|
|
61
|
+
service: Service27,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node77, Global.node, node85, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service27, node30, exports_strategies };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service58
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-7c7bareq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service19,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-2jpa8mfg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service17
|
|
11
|
+
} from "./repository-nzeef16t.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service66
|
|
14
|
+
} from "./repository-j07em0ca.js";
|
|
15
15
|
import {
|
|
16
16
|
Service14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-4b9xfex1.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin13,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin13 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
55
|
const access = yield* Service14;
|
|
56
|
-
const fileMutation = yield*
|
|
56
|
+
const fileMutation = yield* Service19;
|
|
57
57
|
const environment = yield* Service58;
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
58
|
+
const formatter = yield* Service17;
|
|
59
|
+
const permission = yield* Service66;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent6, Plugin13, exports_write };
|