@opencode/core 0.0.0-dev-19369 → 0.0.0-dev-19371
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 +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/{tool-0msc39tg.js → instruction-discovery-013av1x8.js} +11 -11
- package/dist/chunks/{tool-bgmt3wra.js → instruction-discovery-07ag7k0e.js} +28 -28
- package/dist/chunks/{tool-s0haq3v3.js → instruction-discovery-09zd0szw.js} +25 -25
- package/dist/chunks/{tool-jmm88pvs.js → instruction-discovery-0e5r1skn.js} +11 -11
- package/dist/chunks/{tool-mfvn5m8d.js → instruction-discovery-0ex6px1z.js} +5 -5
- package/dist/chunks/{tool-kk8fq19e.js → instruction-discovery-0fm4fvvj.js} +22 -22
- package/dist/chunks/{tool-0hpxrkyb.js → instruction-discovery-0hpxrkyb.js} +2 -2
- package/dist/chunks/instruction-discovery-0j1a1t13.js +22 -0
- package/dist/chunks/{tool-egp6178n.js → instruction-discovery-0kb9m1f6.js} +10 -10
- package/dist/chunks/instruction-discovery-0mesazry.js +4 -0
- package/dist/chunks/{tool-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-zncx7357.js → instruction-discovery-1a3gk442.js} +12 -12
- package/dist/chunks/{tool-wbyq7e0t.js → instruction-discovery-1d6q6my0.js} +46 -46
- package/dist/chunks/{tool-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-22m95qs7.js → instruction-discovery-1hc11dc4.js} +4 -4
- package/dist/chunks/{tool-nqz62vb6.js → instruction-discovery-1ka62ajm.js} +23 -23
- package/dist/chunks/{tool-y0wsg1r3.js → instruction-discovery-1nhndn61.js} +7 -7
- package/dist/chunks/{tool-7rzn7488.js → instruction-discovery-1ptb02zb.js} +41 -41
- package/dist/chunks/{tool-qzkdxd86.js → instruction-discovery-1rjn7b92.js} +6 -6
- package/dist/chunks/{tool-7f3sjtrh.js → instruction-discovery-1wxb385z.js} +1 -1
- package/dist/chunks/{tool-c3er4f98.js → instruction-discovery-1xj25msm.js} +18 -18
- package/dist/chunks/{tool-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{tool-2402vzrj.js → instruction-discovery-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-pqkb2z9p.js → instruction-discovery-24gjgxem.js} +15 -15
- package/dist/chunks/{tool-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-pnv527nz.js → instruction-discovery-2bt6bea8.js} +9 -9
- package/dist/chunks/{tool-br0bxb5z.js → instruction-discovery-2n6x26ww.js} +3 -3
- package/dist/chunks/{tool-gc2r3arx.js → instruction-discovery-2nnczm4n.js} +76 -76
- package/dist/chunks/{tool-dex3nr62.js → instruction-discovery-2rpj59nm.js} +69 -69
- package/dist/chunks/{tool-jw7c8f1w.js → instruction-discovery-2seywkaq.js} +13 -13
- package/dist/chunks/{tool-fw7ks5z6.js → instruction-discovery-2tbcxsee.js} +19 -19
- package/dist/chunks/{tool-fab8hzt3.js → instruction-discovery-2tfmgkzg.js} +4 -4
- package/dist/chunks/{tool-zbe5vsva.js → instruction-discovery-2vvechqa.js} +26 -26
- package/dist/chunks/{tool-kzx8z335.js → instruction-discovery-32zkwxf4.js} +46 -46
- package/dist/chunks/{tool-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-13tvcsgk.js → instruction-discovery-3fqhs30r.js} +11 -11
- package/dist/chunks/{tool-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-knvy7wqf.js → instruction-discovery-3mwx79t2.js} +17 -17
- package/dist/chunks/{tool-8ypn74s0.js → instruction-discovery-3q1jyqhd.js} +1 -1
- package/dist/chunks/{tool-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-ag9w8cw1.js → instruction-discovery-3w2b2yj4.js} +5 -5
- package/dist/chunks/{tool-qfv804ab.js → instruction-discovery-3wrtxrr4.js} +6 -6
- package/dist/chunks/{tool-31v57ene.js → instruction-discovery-42n6z8pq.js} +32 -32
- package/dist/chunks/{tool-8t1wrec1.js → instruction-discovery-4c8bw516.js} +8 -8
- package/dist/chunks/{tool-d5pcg4sb.js → instruction-discovery-4dxrwc2h.js} +60 -60
- package/dist/chunks/{tool-1jwdep4c.js → instruction-discovery-4g2w7pq2.js} +9 -9
- package/dist/chunks/{tool-2mnagb0e.js → instruction-discovery-4mkcvr19.js} +5 -5
- package/dist/chunks/{tool-rsv3dyxs.js → instruction-discovery-4s43gdt0.js} +14 -14
- package/dist/chunks/instruction-discovery-4yx2wtwn.js +247 -0
- package/dist/chunks/{tool-vmq7ehpy.js → instruction-discovery-510m7gjw.js} +5 -5
- package/dist/chunks/{tool-6f5kdbjb.js → instruction-discovery-516fypfz.js} +32 -32
- package/dist/chunks/{tool-56gdpj1q.js → instruction-discovery-56gdpj1q.js} +2 -2
- package/dist/chunks/{tool-100kzw8g.js → instruction-discovery-56yety9r.js} +37 -37
- package/dist/chunks/{tool-5c4hm403.js → instruction-discovery-5c4hm403.js} +3 -3
- package/dist/chunks/{tool-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-6y4tgg16.js → instruction-discovery-5fhmv1q3.js} +34 -34
- package/dist/chunks/{tool-e8ge1rnk.js → instruction-discovery-5nsrms9d.js} +1 -1
- package/dist/chunks/{tool-45zx1ce8.js → instruction-discovery-5s33gdzw.js} +24 -24
- package/dist/chunks/{tool-z9x25qgp.js → instruction-discovery-5sb8wf39.js} +16 -16
- package/dist/chunks/{tool-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-m2krvp2x.js → instruction-discovery-5zem9v7d.js} +13 -13
- package/dist/chunks/instruction-discovery-619r8v3y.js +18 -0
- package/dist/chunks/{tool-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{tool-rmm45jmv.js → instruction-discovery-66r9f6z1.js} +5 -5
- package/dist/chunks/{tool-7ebn0nc0.js → instruction-discovery-6anwy9fs.js} +6 -6
- package/dist/chunks/{tool-q5qadqqc.js → instruction-discovery-6cb6sp75.js} +4 -4
- package/dist/chunks/{tool-ce8ketvm.js → instruction-discovery-6fd16rw2.js} +23 -23
- package/dist/chunks/{tool-cfxak8gp.js → instruction-discovery-6fs1bwmd.js} +22 -22
- package/dist/chunks/{tool-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-g83yhva0.js → instruction-discovery-6q6sza9m.js} +21 -21
- package/dist/chunks/{tool-y0qtjk0t.js → instruction-discovery-6vmq095n.js} +11 -11
- package/dist/chunks/{tool-p6rs3vpq.js → instruction-discovery-71m7qv0m.js} +11 -11
- package/dist/chunks/{tool-71q4at8m.js → instruction-discovery-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-e67ygrb5.js → instruction-discovery-75rf4veb.js} +20 -20
- package/dist/chunks/{tool-yxz14c3m.js → instruction-discovery-77vr9fvh.js} +43 -43
- package/dist/chunks/{tool-kf91f419.js → instruction-discovery-7bjy8qnq.js} +14 -14
- package/dist/chunks/{tool-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-h47mvjjj.js → instruction-discovery-7bszj1cq.js} +30 -30
- package/dist/chunks/{tool-2k8khapm.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/{tool-xanzpgaf.js → instruction-discovery-7gqvs912.js} +16 -16
- package/dist/chunks/{tool-xt6vqbst.js → instruction-discovery-7ng2f82v.js} +35 -35
- package/dist/chunks/{tool-j9eppgdd.js → instruction-discovery-7vc0yr26.js} +15 -15
- package/dist/chunks/{tool-yyxs5174.js → instruction-discovery-7wp5vt1y.js} +9 -9
- package/dist/chunks/{tool-4faz70f1.js → instruction-discovery-7xbncs63.js} +52 -52
- package/dist/chunks/{tool-638f9gty.js → instruction-discovery-7ynajkh9.js} +26 -26
- package/dist/chunks/{tool-zad871sr.js → instruction-discovery-83x6p9kd.js} +1 -1
- package/dist/chunks/{tool-cmwkp3r5.js → instruction-discovery-844ef7ks.js} +4 -4
- package/dist/chunks/{tool-2gm42vdj.js → instruction-discovery-8bk6ht13.js} +15 -15
- package/dist/chunks/{tool-qjqdk9x8.js → instruction-discovery-8bzjxz67.js} +20 -20
- package/dist/chunks/{tool-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-vyqwgby1.js → instruction-discovery-8gq8wjx2.js} +9 -9
- package/dist/chunks/{tool-50kt3f8y.js → instruction-discovery-90e5nz4z.js} +4 -4
- package/dist/chunks/{tool-j7wq2tw5.js → instruction-discovery-93hpb89x.js} +3 -3
- package/dist/chunks/{tool-859kcgs2.js → instruction-discovery-9875sft1.js} +3 -3
- package/dist/chunks/{tool-a1pcbmkx.js → instruction-discovery-9bkp3vk6.js} +14 -14
- package/dist/chunks/{tool-wk58jv74.js → instruction-discovery-9edcvf27.js} +10 -10
- package/dist/chunks/{tool-a46v4e4v.js → instruction-discovery-a46v4e4v.js} +1 -1
- package/dist/chunks/{tool-j9tvrbwe.js → instruction-discovery-a823mjcm.js} +22 -22
- package/dist/chunks/{tool-3r7whzgv.js → instruction-discovery-a8vp0knq.js} +7 -7
- package/dist/chunks/{tool-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-h1dazz20.js → instruction-discovery-avhz3daf.js} +17 -17
- package/dist/chunks/{tool-t0jgeayb.js → instruction-discovery-b2zyk4ye.js} +13 -13
- package/dist/chunks/{tool-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-7j9rtswg.js → instruction-discovery-bbrn9wt5.js} +11 -11
- package/dist/chunks/{tool-yc73ry1q.js → instruction-discovery-be85q6rn.js} +6 -6
- package/dist/chunks/{tool-pjmc1jwj.js → instruction-discovery-bjyhjfk1.js} +29 -29
- package/dist/chunks/{tool-4jad23kz.js → instruction-discovery-bv2fytjm.js} +20 -20
- package/dist/chunks/{tool-jfpzywp2.js → instruction-discovery-c7ecgrk6.js} +6 -6
- package/dist/chunks/{tool-99exew75.js → instruction-discovery-cc5pkwqg.js} +43 -43
- package/dist/chunks/{tool-pe0c0z4r.js → instruction-discovery-ccedsq4e.js} +18 -18
- package/dist/chunks/{tool-72cm32h1.js → instruction-discovery-cf8tr9ph.js} +6 -6
- package/dist/chunks/instruction-discovery-chckjpc4.js +462 -0
- package/dist/chunks/{tool-fjvydvzm.js → instruction-discovery-cmbqfntm.js} +6 -6
- package/dist/chunks/{tool-yvy73jwh.js → instruction-discovery-cssamdmg.js} +15 -15
- package/dist/chunks/{tool-r1q74f54.js → instruction-discovery-cyr4v3cw.js} +24 -24
- package/dist/chunks/{tool-5aa4zf44.js → instruction-discovery-d13x8xp9.js} +27 -27
- package/dist/chunks/{tool-62gm3akr.js → instruction-discovery-d25rvqmh.js} +8 -8
- package/dist/chunks/{tool-g0aj3r5p.js → instruction-discovery-d3k4bsrs.js} +6 -6
- package/dist/chunks/{tool-s6vet9p8.js → instruction-discovery-dbd00eyb.js} +6 -6
- package/dist/chunks/{tool-vfpkabdf.js → instruction-discovery-dc5a176q.js} +10 -10
- package/dist/chunks/{tool-vz6rz0af.js → instruction-discovery-dht98sv3.js} +18 -18
- package/dist/chunks/{tool-dj2t23y0.js → instruction-discovery-dj2t23y0.js} +2 -2
- package/dist/chunks/{tool-y71avatq.js → instruction-discovery-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-m8gmjx38.js → instruction-discovery-dskz157b.js} +38 -38
- package/dist/chunks/{tool-00gnxv30.js → instruction-discovery-dwhk5b05.js} +20 -20
- package/dist/chunks/{tool-n6arc57m.js → instruction-discovery-e51w6w3b.js} +7 -7
- package/dist/chunks/{tool-rhjbct0v.js → instruction-discovery-eaj1djv9.js} +8 -8
- package/dist/chunks/{tool-hwe7x4em.js → instruction-discovery-edbfpfck.js} +6 -6
- package/dist/chunks/{tool-pwk28ted.js → instruction-discovery-eh5zsyp8.js} +13 -13
- package/dist/chunks/{tool-3zb9t6gq.js → instruction-discovery-eh92xjb9.js} +36 -36
- package/dist/chunks/{tool-s8j6jbjj.js → instruction-discovery-ej2hdnaa.js} +21 -21
- package/dist/chunks/{tool-ywhnyrnh.js → instruction-discovery-en74w496.js} +5 -5
- package/dist/chunks/{tool-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-p514mdqe.js → instruction-discovery-ev4g7n3e.js} +25 -25
- package/dist/chunks/{tool-1kh06mg4.js → instruction-discovery-exjxmebg.js} +5 -5
- package/dist/chunks/{tool-sxnp3vqk.js → instruction-discovery-f1bvj3rd.js} +17 -17
- package/dist/chunks/{tool-gfqzzqy5.js → instruction-discovery-fjmrr6sh.js} +8 -8
- package/dist/chunks/{tool-0xf6t1bc.js → instruction-discovery-frf5pa85.js} +21 -21
- package/dist/chunks/{tool-phwjyq2h.js → instruction-discovery-fvt53xkj.js} +21 -21
- package/dist/chunks/{tool-fxbjtjnd.js → instruction-discovery-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-7k1k30bt.js → instruction-discovery-g01nxz4d.js} +1 -1
- package/dist/chunks/{tool-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-zxhfgthz.js → instruction-discovery-gn781x5c.js} +16 -16
- package/dist/chunks/{tool-d8q39vv3.js → instruction-discovery-gped56y4.js} +7 -7
- package/dist/chunks/{tool-g5zf0djh.js → instruction-discovery-gt0cxfk7.js} +1 -1
- package/dist/chunks/{tool-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-h03wrkyp.js → instruction-discovery-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-1hgt76pw.js → instruction-discovery-h3e0pdjz.js} +18 -18
- package/dist/chunks/{tool-c4ypf6wq.js → instruction-discovery-h57cfva4.js} +20 -20
- package/dist/chunks/{tool-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-ysd4x4y5.js → instruction-discovery-haffsr0x.js} +26 -26
- package/dist/chunks/{tool-0z93v4jy.js → instruction-discovery-hb72rahq.js} +14 -14
- package/dist/chunks/{tool-jwcaj6se.js → instruction-discovery-hbsxx67k.js} +22 -22
- package/dist/chunks/{tool-z03197zf.js → instruction-discovery-hdfkmsb1.js} +38 -38
- package/dist/chunks/{tool-hdnk95c8.js → instruction-discovery-hdnk95c8.js} +2 -2
- package/dist/chunks/{tool-6ppc03cv.js → instruction-discovery-hhfebk12.js} +6 -6
- package/dist/chunks/{tool-ezs43bsy.js → instruction-discovery-hhndk190.js} +17 -17
- package/dist/chunks/{tool-hjt4xg1x.js → instruction-discovery-hjt4xg1x.js} +1 -1
- package/dist/chunks/{tool-rda0t9vq.js → instruction-discovery-hne3qtyj.js} +5 -5
- package/dist/chunks/{tool-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-89h3bp38.js → instruction-discovery-jcdkcw30.js} +20 -20
- package/dist/chunks/{tool-9aqmr64f.js → instruction-discovery-jg0vs890.js} +5 -5
- package/dist/chunks/{tool-gj7hk09m.js → instruction-discovery-jrdjmdbf.js} +23 -23
- package/dist/chunks/{tool-sq27dbnb.js → instruction-discovery-jwm8j6jh.js} +9 -9
- package/dist/chunks/{tool-632pkhjb.js → instruction-discovery-jwqwxd9a.js} +36 -36
- package/dist/chunks/{tool-49hrpkdk.js → instruction-discovery-jygyrd66.js} +4 -4
- package/dist/chunks/{tool-d38rwssd.js → instruction-discovery-jymdtt95.js} +4 -4
- package/dist/chunks/{tool-6m8y77r5.js → instruction-discovery-ka2k270b.js} +4 -4
- package/dist/chunks/{tool-kg06axw8.js → instruction-discovery-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-39etbsth.js → instruction-discovery-kh9gj6fg.js} +2 -2
- package/dist/chunks/{tool-qaed280k.js → instruction-discovery-kksf6wrm.js} +5 -5
- package/dist/chunks/{tool-qyyanj0n.js → instruction-discovery-kne26kkt.js} +27 -27
- package/dist/chunks/{tool-gjsj0zqz.js → instruction-discovery-ktg44z5t.js} +163 -163
- package/dist/chunks/{tool-m0jqrx5p.js → instruction-discovery-m0jqrx5p.js} +2 -2
- package/dist/chunks/{tool-cgfvzygb.js → instruction-discovery-m42hzdpg.js} +19 -19
- package/dist/chunks/{tool-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-n17rpw7s.js → instruction-discovery-mfp3ds1s.js} +11 -11
- package/dist/chunks/{tool-mkcjrzeh.js → instruction-discovery-mkcjrzeh.js} +1 -1
- package/dist/chunks/{tool-r86gmde5.js → instruction-discovery-mndr4ybt.js} +24 -24
- package/dist/chunks/{tool-mvfsc1pv.js → instruction-discovery-mvfsc1pv.js} +1 -1
- package/dist/chunks/{tool-2a4f6v5q.js → instruction-discovery-mw934p8z.js} +8 -8
- package/dist/chunks/{tool-9hv8phah.js → instruction-discovery-n0a61x39.js} +14 -14
- package/dist/chunks/{tool-08xgehk5.js → instruction-discovery-n0yakzgj.js} +4 -4
- package/dist/chunks/{tool-hvcjdrj2.js → instruction-discovery-n53pthfb.js} +4 -4
- package/dist/chunks/{tool-f249p1w2.js → instruction-discovery-n6v4qqax.js} +11 -11
- package/dist/chunks/{tool-bnweey00.js → instruction-discovery-n7tqtybm.js} +4 -4
- package/dist/chunks/{tool-6fyrr4w1.js → instruction-discovery-na2veqbs.js} +4 -4
- package/dist/chunks/{tool-jpchzm8t.js → instruction-discovery-ncfk57aw.js} +16 -16
- package/dist/chunks/{tool-tb8rp2yt.js → instruction-discovery-np0e3ae6.js} +27 -27
- package/dist/chunks/{tool-h30n9bbs.js → instruction-discovery-nrb4wwn8.js} +17 -17
- package/dist/chunks/{tool-7gvwkz6m.js → instruction-discovery-nxhqveyz.js} +5 -5
- package/dist/chunks/{tool-1famk9p6.js → instruction-discovery-p14ehj6j.js} +15 -15
- package/dist/chunks/{tool-j935v87r.js → instruction-discovery-paphc93g.js} +2 -2
- package/dist/chunks/{tool-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{tool-vv3eqyfe.js → instruction-discovery-pmmrp2gy.js} +8 -8
- package/dist/chunks/{tool-jp8xd6mf.js → instruction-discovery-pqa1w537.js} +10 -10
- package/dist/chunks/{tool-tx1kta8e.js → instruction-discovery-pzgnhxvj.js} +39 -39
- package/dist/chunks/{tool-vmshp960.js → instruction-discovery-q0pezbdn.js} +22 -22
- package/dist/chunks/{tool-f65fprkq.js → instruction-discovery-q8pd2zjz.js} +15 -15
- package/dist/chunks/{tool-myeama09.js → instruction-discovery-qahvmdvb.js} +44 -44
- package/dist/chunks/{tool-vycpdhb1.js → instruction-discovery-qhhwejbz.js} +29 -29
- package/dist/chunks/{tool-5bnvv0fb.js → instruction-discovery-qp85chj3.js} +13 -13
- package/dist/chunks/{tool-dbnvakxz.js → instruction-discovery-qrfkxqda.js} +2 -2
- package/dist/chunks/{tool-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-wpm2rk0p.js → instruction-discovery-r3q6pmcz.js} +6 -6
- package/dist/chunks/{tool-dhhdcexn.js → instruction-discovery-r4mhm636.js} +20 -20
- package/dist/chunks/{tool-yp2x3t23.js → instruction-discovery-r8xr0va3.js} +4 -4
- package/dist/chunks/{tool-01797ny4.js → instruction-discovery-rdf939bf.js} +12 -12
- package/dist/chunks/{tool-zcrspsvn.js → instruction-discovery-rpg9c19m.js} +4 -4
- package/dist/chunks/{tool-d9sn21bc.js → instruction-discovery-s7731dqm.js} +2 -2
- package/dist/chunks/{tool-v0ekqx65.js → instruction-discovery-sa02mddm.js} +35 -35
- package/dist/chunks/{tool-50wkfpjr.js → instruction-discovery-sgm9fmvw.js} +24 -24
- package/dist/chunks/{tool-4hnvk1d0.js → instruction-discovery-sh9pyrtp.js} +20 -20
- package/dist/chunks/{tool-32xz9ffh.js → instruction-discovery-spq00ka2.js} +11 -11
- package/dist/chunks/{tool-d6bb4cvp.js → instruction-discovery-ss846j3y.js} +10 -10
- package/dist/chunks/{tool-83n1dzne.js → instruction-discovery-t71m7ha1.js} +30 -30
- package/dist/chunks/{tool-2zk4ah9y.js → instruction-discovery-t8111hhj.js} +9 -9
- package/dist/chunks/{tool-z1pfg6df.js → instruction-discovery-t8mcaem5.js} +1 -1
- package/dist/chunks/{tool-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{tool-d8nc1xcx.js → instruction-discovery-tm7zr4pr.js} +4 -4
- package/dist/chunks/{tool-sj71rkrx.js → instruction-discovery-tnahabn5.js} +11 -11
- package/dist/chunks/{tool-3r6vp6xx.js → instruction-discovery-ts721f0v.js} +10 -10
- package/dist/chunks/{tool-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-8xv0fcmg.js → instruction-discovery-txw580h0.js} +33 -33
- package/dist/chunks/{tool-2aqbs40b.js → instruction-discovery-v2cnm3g2.js} +11 -11
- package/dist/chunks/{tool-xz0aj5bv.js → instruction-discovery-v9hj2zp6.js} +24 -24
- package/dist/chunks/{tool-s006vazc.js → instruction-discovery-v9txp1qz.js} +10 -10
- package/dist/chunks/{tool-ve4pfa0n.js → instruction-discovery-ve4pfa0n.js} +1 -1
- package/dist/chunks/{tool-ws5qfxv9.js → instruction-discovery-ve686vvv.js} +9 -9
- package/dist/chunks/{tool-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-41e240wd.js → instruction-discovery-vgae25ec.js} +11 -11
- package/dist/chunks/{tool-wdn3ce2t.js → instruction-discovery-vqxxa0z6.js} +15 -15
- package/dist/chunks/{tool-p6604nm9.js → instruction-discovery-vth3sqng.js} +8 -8
- package/dist/chunks/{tool-4rggjvr2.js → instruction-discovery-vxrtct5k.js} +9 -9
- package/dist/chunks/{tool-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-910hnegs.js → instruction-discovery-w1xac8nv.js} +26 -26
- package/dist/chunks/{tool-nnxzqqg8.js → instruction-discovery-w2t9zb6q.js} +15 -15
- package/dist/chunks/{tool-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{tool-t7yz8ad7.js → instruction-discovery-weg6n8ch.js} +38 -38
- package/dist/chunks/{tool-622ah2gs.js → instruction-discovery-wpk9fyyk.js} +28 -28
- package/dist/chunks/{tool-937nxygj.js → instruction-discovery-wqk5yr6e.js} +8 -8
- package/dist/chunks/{tool-2ft9rrby.js → instruction-discovery-wv6hz6db.js} +9 -9
- package/dist/chunks/{tool-stbptvy9.js → instruction-discovery-x01696tg.js} +23 -23
- package/dist/chunks/{tool-qek8dtx8.js → instruction-discovery-x0e6qwje.js} +11 -11
- package/dist/chunks/{tool-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-x43y2vfs.js → instruction-discovery-x43y2vfs.js} +2 -2
- package/dist/chunks/{tool-ptq11xx0.js → instruction-discovery-xc1crrp1.js} +6 -6
- package/dist/chunks/{tool-xnap109e.js → instruction-discovery-xdet2c8p.js} +15 -15
- package/dist/chunks/{tool-fsn1dw54.js → instruction-discovery-xggv9zzh.js} +5 -5
- package/dist/chunks/{tool-ca9nbgzj.js → instruction-discovery-xj2v2q7r.js} +9 -9
- package/dist/chunks/{tool-xdepe7a5.js → instruction-discovery-xq1bh1bq.js} +10 -10
- package/dist/chunks/{tool-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-ra3gq1k7.js → instruction-discovery-y4j4htjy.js} +9 -9
- package/dist/chunks/{tool-81swgkk7.js → instruction-discovery-y5mrfvw4.js} +9 -9
- package/dist/chunks/{tool-q8rarcde.js → instruction-discovery-y719r58y.js} +26 -26
- package/dist/chunks/{tool-0996nyz8.js → instruction-discovery-yb94xmg0.js} +9 -9
- package/dist/chunks/{tool-y4xwrefb.js → instruction-discovery-yh1xbxjs.js} +33 -33
- package/dist/chunks/{tool-px9gxtsw.js → instruction-discovery-yj348szg.js} +30 -30
- package/dist/chunks/{tool-pc5wdgkb.js → instruction-discovery-yn2mq5w8.js} +17 -17
- package/dist/chunks/{tool-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-s4enseaf.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-1c2q116c.js → instruction-discovery-yt1ptz87.js} +22 -22
- package/dist/chunks/{tool-w3k36hrr.js → instruction-discovery-yttr6rv8.js} +3 -3
- package/dist/chunks/{tool-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-29x78va6.js → instruction-discovery-z63w68vq.js} +6 -6
- package/dist/chunks/{tool-dw8c19qb.js → instruction-discovery-z9pt3sjd.js} +4 -4
- package/dist/chunks/{tool-ktazsj8x.js → instruction-discovery-zb37q2qm.js} +11 -11
- package/dist/chunks/{tool-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-bv56xrks.js → instruction-discovery-zerdtc7d.js} +6 -6
- package/dist/chunks/{tool-f9qak17s.js → instruction-discovery-zjgypzx6.js} +5 -5
- package/dist/chunks/{tool-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-3a9e8ct5.js → instruction-discovery-zrntq85h.js} +7 -7
- package/dist/chunks/{tool-n6pkm576.js → instruction-discovery-zwb6xfp8.js} +24 -24
- package/dist/chunks/{tool-amegs12p.js → instruction-discovery-zwsn0yg2.js} +7 -7
- package/dist/chunks/{tool-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-q2027nw7.js → instruction-discovery-zxwpk2nb.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +77 -77
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- 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 +113 -113
- package/dist/config/plugin/mcp.js +124 -124
- 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 +117 -117
- 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 +117 -117
- 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 +362 -362
- 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 +90 -90
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- 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 +353 -353
- 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 +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +97 -97
- 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 +84 -84
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- 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 +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +324 -324
- 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 +4 -4
- 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 +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- 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 +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +143 -143
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +213 -213
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- 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 +122 -122
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- 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 +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- 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 +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 +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +109 -109
- 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 +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- 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 +11 -11
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- 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 +74 -74
- package/dist/wellknown.js +79 -79
- 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 +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/tool-6kdq0pjd.js +0 -4
- package/dist/chunks/tool-dr8w6t5k.js +0 -22
- package/dist/chunks/tool-ms6fawk6.js +0 -247
- package/dist/chunks/tool-n95b3jav.js +0 -18
- package/dist/chunks/tool-s73q3448.js +0 -462
- /package/dist/chunks/{tool-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a1tpkmh4.js → instruction-discovery-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → instruction-discovery-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./instruction-discovery-gn781x5c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./instruction-discovery-zwb6xfp8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service21
|
|
15
|
+
} from "./instruction-discovery-hb72rahq.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-6q6sza9m.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service69
|
|
24
|
+
} from "./instruction-discovery-7xbncs63.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service24
|
|
27
|
+
} from "./instruction-discovery-1xj25msm.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input7,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin24,
|
|
39
|
+
name: () => name7,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name7 = "glob";
|
|
46
|
+
var Input7 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin24 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service47;
|
|
70
|
+
const ripgrep = yield* Service21;
|
|
71
|
+
const location = yield* Service75;
|
|
72
|
+
const access = yield* Service24;
|
|
73
|
+
const permission = yield* Service69;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name7,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input7,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name7,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin2 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name7, Input7, Output5, toModelContent3, Plugin24, exports_glob };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load2
|
|
6
|
+
} from "./instruction-discovery-paphc93g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event14,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service65,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node70,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ 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 Event14 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load2());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -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 Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service65 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service65.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 layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service65.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
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, Service65).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(Service65, 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 configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service65, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node70 = configured10();
|
|
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 { Event14, hasNativeBinding2, Native3, Options8, Service65, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node70, exports_watcher };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./instruction-discovery-gn781x5c.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service35
|
|
7
|
+
} from "./instruction-discovery-619r8v3y.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service23,
|
|
10
|
+
node27
|
|
11
|
+
} from "./instruction-discovery-txw580h0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node18
|
|
14
|
+
} from "./instruction-discovery-r4mhm636.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node6
|
|
17
|
+
} from "./instruction-discovery-jwqwxd9a.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
24
24
|
__export(exports_refresh, {
|
|
25
25
|
WorktreeRefresh: () => exports_refresh,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node5
|
|
27
27
|
});
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service75;
|
|
32
|
+
const plugins = yield* Service35;
|
|
33
|
+
const worktrees = yield* Service23;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
37
37
|
}));
|
|
38
|
-
var
|
|
38
|
+
var node5 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node27, node80, node18, node6]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { node5, exports_refresh };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
|
+
layer: () => layer18,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node54,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
|
|
33
|
+
var node54 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer18, configured7, node54, exports_app };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9875sft1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./instruction-discovery-edbfpfck.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-1hc11dc4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-6vmq095n.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-2vvechqa.js";
|
|
19
19
|
import {
|
|
20
20
|
Service29
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-2nnczm4n.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service55;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-9875sft1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-n53pthfb.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-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: () => Event16,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info24,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service68,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service68, 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 Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service68.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(Service71, 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 Info24({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service71, 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(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.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(Service71, 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(Event16.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(Service71, 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(Event16.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(Service71, 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(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node73 = makeGlobalNode({ service: Service68, layer, deps: [node85, node84] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event16, Info24, Service68, node73, exports_credential };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./instruction-discovery-1ptb02zb.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin6
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin6 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service64;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin18 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin6, exports_policy };
|