@opencode/core 0.0.0-dev-19468 → 0.0.0-dev-19469
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{command-a2ap4c0w.js → reference-01anbdkk.js} +19 -19
- package/dist/chunks/{command-qtewthd2.js → reference-05r7bmwp.js} +10 -10
- package/dist/chunks/{command-bccb6npm.js → reference-06dxphr1.js} +4 -4
- package/dist/chunks/{command-xwnd57w1.js → reference-09aw4jvq.js} +9 -9
- package/dist/chunks/{command-0fwh74eg.js → reference-09y6afs0.js} +8 -8
- package/dist/chunks/{command-e89xj288.js → reference-0gapa1rm.js} +5 -5
- package/dist/chunks/{command-r31hq9tw.js → reference-0htbavtx.js} +17 -17
- package/dist/chunks/reference-0mesazry.js +4 -0
- package/dist/chunks/{command-p8h51xpj.js → reference-0mhw05h8.js} +10 -10
- package/dist/chunks/{command-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-jq77w4zw.js → reference-0qe8g8zg.js} +11 -11
- package/dist/chunks/{command-vkpd1pcz.js → reference-0t8dc6r8.js} +13 -13
- package/dist/chunks/{command-nca7p386.js → reference-10jtetaj.js} +4 -4
- package/dist/chunks/{command-xdmx6wv9.js → reference-12kja8s8.js} +11 -11
- package/dist/chunks/{command-8nk26xcd.js → reference-15k12kva.js} +4 -4
- package/dist/chunks/{command-nre9bmbr.js → reference-15vt8tk0.js} +26 -26
- package/dist/chunks/{command-17j9h1rv.js → reference-16cax9zb.js} +11 -11
- package/dist/chunks/{command-bn5pg142.js → reference-17bm7pxq.js} +11 -11
- package/dist/chunks/{command-fygdb7h7.js → reference-18cztcj7.js} +3 -3
- package/dist/chunks/{command-z69s9t6b.js → reference-1ah30sey.js} +5 -5
- package/dist/chunks/{command-zk4xc3a5.js → reference-1c83pxjm.js} +8 -8
- package/dist/chunks/{command-bvbz56nf.js → reference-1cbphejb.js} +11 -11
- package/dist/chunks/{command-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-3tey5e4w.js → reference-1e9w7pgh.js} +10 -10
- package/dist/chunks/{command-cf4sgr4m.js → reference-1ezb2zjw.js} +15 -15
- package/dist/chunks/{command-6j9ecrq6.js → reference-1gnhaxbw.js} +3 -3
- package/dist/chunks/{command-7kqtcfr2.js → reference-1kb45nkz.js} +11 -11
- package/dist/chunks/{command-3xwc0nbz.js → reference-1r2rfnkf.js} +30 -30
- package/dist/chunks/{command-depwzj9d.js → reference-1tjg7tvh.js} +5 -5
- package/dist/chunks/{command-v6gj3a76.js → reference-1xcz5rcm.js} +9 -9
- package/dist/chunks/{command-1w9eg795.js → reference-1xd5egdd.js} +15 -15
- package/dist/chunks/{command-1ygqh575.js → reference-1ygqh575.js} +2 -2
- package/dist/chunks/{command-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{command-5r1zsdx9.js → reference-2336b01z.js} +5 -5
- package/dist/chunks/{command-2402vzrj.js → reference-2402vzrj.js} +1 -1
- package/dist/chunks/{command-wtgrkprm.js → reference-27cwmj5g.js} +37 -37
- package/dist/chunks/{command-9dm3xxv4.js → reference-2a263qgy.js} +6 -6
- package/dist/chunks/{command-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-m2d0j7c0.js → reference-2bt6bea8.js} +9 -9
- package/dist/chunks/{command-m27pyyd3.js → reference-2d6j2h4j.js} +6 -6
- package/dist/chunks/{command-56zp6hen.js → reference-2e96adxv.js} +9 -9
- package/dist/chunks/{command-fcrkznn8.js → reference-2k8khapm.js} +5 -5
- package/dist/chunks/{command-vwkvnd24.js → reference-2kmxw8hs.js} +37 -37
- package/dist/chunks/{command-fvcnrdsd.js → reference-2kr5eys4.js} +2 -2
- package/dist/chunks/{command-r80rqf00.js → reference-2nv2m7pf.js} +6 -6
- package/dist/chunks/{command-qhzsw49z.js → reference-2rmxd9h0.js} +10 -10
- package/dist/chunks/{command-jrrn2k62.js → reference-2wyjv582.js} +4 -4
- package/dist/chunks/{command-r9babyk8.js → reference-31dz7cp4.js} +1 -1
- package/dist/chunks/{command-awhebgdh.js → reference-35rfs3k1.js} +8 -8
- package/dist/chunks/{command-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-22j10vgt.js → reference-3hwn07qe.js} +11 -11
- package/dist/chunks/{command-csz8m25e.js → reference-3sa4r9dq.js} +17 -17
- package/dist/chunks/{command-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-4mp12xfm.js → reference-3vnq2gnx.js} +11 -11
- package/dist/chunks/{command-z3pw5915.js → reference-3w0fmcng.js} +5 -5
- package/dist/chunks/{command-1z06sqnr.js → reference-3whwtej4.js} +6 -6
- package/dist/chunks/{command-w2rsnnhh.js → reference-415h19gn.js} +3 -3
- package/dist/chunks/{command-11vz36px.js → reference-47fbce8x.js} +64 -64
- package/dist/chunks/{command-jq16a9yq.js → reference-4g33vjc1.js} +48 -48
- package/dist/chunks/{command-4zan7p04.js → reference-4pq1e7ap.js} +29 -29
- package/dist/chunks/{command-mqzwkyay.js → reference-4wkq7p63.js} +8 -8
- package/dist/chunks/{command-4y66k410.js → reference-4y66k410.js} +2 -2
- package/dist/chunks/{command-t7z3zppm.js → reference-4yg7xpeb.js} +2 -2
- package/dist/chunks/{command-7r9nvvan.js → reference-54fz3v2y.js} +15 -15
- package/dist/chunks/{command-grw19vv8.js → reference-56e767g1.js} +32 -32
- package/dist/chunks/{command-xrv37rzx.js → reference-5d2ab029.js} +11 -11
- package/dist/chunks/{command-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{command-t5mzcy74.js → reference-5gx2yyfz.js} +18 -18
- package/dist/chunks/{command-1w6a0hnx.js → reference-5j82523v.js} +31 -31
- package/dist/chunks/{command-ksz0h0wp.js → reference-5jtdmvnp.js} +1 -1
- package/dist/chunks/{command-t3bdjydy.js → reference-5qmb0wzx.js} +37 -37
- package/dist/chunks/{command-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-atcs2qeq.js → reference-5v02x80t.js} +16 -16
- package/dist/chunks/{command-606t1thy.js → reference-5wwh4mg2.js} +4 -4
- package/dist/chunks/{command-5133n32a.js → reference-648tfcfv.js} +4 -4
- package/dist/chunks/{command-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{command-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-m8zgfef2.js → reference-6rh2dx9z.js} +5 -5
- package/dist/chunks/{command-71q4at8m.js → reference-71q4at8m.js} +1 -1
- package/dist/chunks/{command-qbs9wpx5.js → reference-73fcze5p.js} +6 -6
- package/dist/chunks/{command-n68r2zkb.js → reference-78qgck3m.js} +12 -12
- package/dist/chunks/{command-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-3frp61p1.js → reference-7ec9e7fz.js} +10 -10
- package/dist/chunks/{command-rrn4n66a.js → reference-7png34pd.js} +11 -11
- package/dist/chunks/{command-623tf1ms.js → reference-7vsprvj1.js} +25 -25
- package/dist/chunks/{command-7jdsj2a9.js → reference-7w99qc9d.js} +3 -3
- package/dist/chunks/{command-1awm1f41.js → reference-80e0yyk8.js} +12 -12
- package/dist/chunks/{command-5xtgfte3.js → reference-844ef7ks.js} +8 -8
- package/dist/chunks/{command-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-k12jm31d.js → reference-8r89cgw5.js} +26 -26
- package/dist/chunks/{command-08w2x8wj.js → reference-8zy0pqav.js} +25 -25
- package/dist/chunks/{command-gn4w61g6.js → reference-94r5a2b1.js} +9 -9
- package/dist/chunks/{command-b3nrcp5c.js → reference-96r2e1w0.js} +20 -20
- package/dist/chunks/{command-mqkmkpfj.js → reference-9ny7y94p.js} +10 -10
- package/dist/chunks/{command-rk0rec3h.js → reference-9pv0dm11.js} +9 -9
- package/dist/chunks/{command-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
- package/dist/chunks/{command-43k15f45.js → reference-a4exdnt3.js} +4 -4
- package/dist/chunks/{command-j6q1n0sc.js → reference-a4kcyykg.js} +6 -6
- package/dist/chunks/{command-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{command-3ng855cv.js → reference-ad84r26q.js} +23 -23
- package/dist/chunks/{command-ddt2bs9e.js → reference-afdssyjb.js} +4 -4
- package/dist/chunks/{command-n093m6g5.js → reference-b38z4m5h.js} +20 -20
- package/dist/chunks/{command-w4280d3n.js → reference-b56hman4.js} +47 -47
- package/dist/chunks/{command-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-gew808h9.js → reference-bc2jnt26.js} +7 -7
- package/dist/chunks/{command-gr4w44ny.js → reference-bg8wk28x.js} +26 -26
- package/dist/chunks/{command-y62qmqfa.js → reference-bngkd4f8.js} +9 -9
- package/dist/chunks/{command-nbf8yg7d.js → reference-bshbjjhq.js} +30 -30
- package/dist/chunks/{command-0rpg7gzc.js → reference-bw03vhcb.js} +4 -4
- package/dist/chunks/{command-6kwa84ek.js → reference-bxya9zf1.js} +24 -24
- package/dist/chunks/{command-tn44nq14.js → reference-c0j4bwt0.js} +12 -12
- package/dist/chunks/{command-qqe6tnq7.js → reference-c5vgnrd2.js} +10 -10
- package/dist/chunks/{command-w3qz1p8h.js → reference-cb7jb397.js} +20 -20
- package/dist/chunks/{command-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-n81d318j.js → reference-ch958ebp.js} +43 -43
- package/dist/chunks/{command-02dn8pjv.js → reference-chnmz1hg.js} +8 -8
- package/dist/chunks/{command-msgzsd09.js → reference-ctfh8fzz.js} +24 -24
- package/dist/chunks/{command-1y7qjh7f.js → reference-cy1a2d0g.js} +23 -23
- package/dist/chunks/{command-t23qze4t.js → reference-d50f2zf5.js} +1 -1
- package/dist/chunks/{command-82tjt3dw.js → reference-d590qfxf.js} +11 -11
- package/dist/chunks/{command-kar9ash6.js → reference-d6cdva8b.js} +85 -85
- package/dist/chunks/{command-7atngb88.js → reference-dfe8djrf.js} +4 -4
- package/dist/chunks/{command-07q4da3w.js → reference-dfp9n8hb.js} +27 -27
- package/dist/chunks/{command-cw6zws1e.js → reference-dpa0gt8g.js} +18 -18
- package/dist/chunks/{command-rbzw3czx.js → reference-dqh78jdz.js} +29 -29
- package/dist/chunks/{command-2fd5jjda.js → reference-dwqs10ka.js} +34 -34
- package/dist/chunks/reference-dxj72tfx.js +18 -0
- package/dist/chunks/{command-hjtepwtx.js → reference-dydhxaw9.js} +20 -20
- package/dist/chunks/{command-et4cfen6.js → reference-e2d25rr3.js} +20 -20
- package/dist/chunks/{command-d1khqved.js → reference-e6hmchc5.js} +5 -5
- package/dist/chunks/{command-zcqf6png.js → reference-ebah8r6x.js} +6 -6
- package/dist/chunks/{command-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-hct2a0fv.js → reference-f0rar1s7.js} +21 -21
- package/dist/chunks/{command-bqx9ejx6.js → reference-f1md5hpv.js} +20 -20
- package/dist/chunks/{command-2bvt8f80.js → reference-f250hf8h.js} +13 -13
- package/dist/chunks/{command-ab1j02q5.js → reference-f6jnqjkq.js} +34 -34
- package/dist/chunks/{command-f828m53h.js → reference-f828m53h.js} +2 -2
- package/dist/chunks/{command-f8q7mv7a.js → reference-f9bavhm2.js} +1 -1
- package/dist/chunks/{command-qjmsdj0v.js → reference-fa3vxxse.js} +12 -12
- package/dist/chunks/reference-favptqsr.js +22 -0
- package/dist/chunks/{command-2eyezv9v.js → reference-fbfybm5t.js} +14 -14
- package/dist/chunks/{command-2cbvdzk3.js → reference-fdtzxv27.js} +8 -8
- package/dist/chunks/{command-k3qnv071.js → reference-fgtf9gwd.js} +8 -8
- package/dist/chunks/{command-2vs0bhag.js → reference-fp7m7k50.js} +20 -20
- package/dist/chunks/{command-8w2x90d8.js → reference-fsk062cm.js} +27 -27
- package/dist/chunks/{command-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-6sr3ve8g.js → reference-g190xswt.js} +21 -21
- package/dist/chunks/{command-ha44nnvw.js → reference-gc6qaqmt.js} +15 -15
- package/dist/chunks/{command-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-m91662m1.js → reference-gj09rpzd.js} +9 -9
- package/dist/chunks/{command-kxdgf94m.js → reference-gm03z5wg.js} +36 -36
- package/dist/chunks/{command-kh9sx4kg.js → reference-gn2hfjap.js} +8 -8
- package/dist/chunks/{command-49dgzs36.js → reference-gtqrsy8f.js} +17 -17
- package/dist/chunks/{command-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-2ehqxkpw.js → reference-gvphacjb.js} +12 -12
- package/dist/chunks/{command-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
- package/dist/chunks/{command-zbgm0av8.js → reference-h4bptjw1.js} +3 -3
- package/dist/chunks/{command-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-epd1fg1b.js → reference-hfdr1yjj.js} +4 -4
- package/dist/chunks/{command-yt0fqk68.js → reference-hkfg6fzm.js} +5 -5
- package/dist/chunks/{command-pbmwqkmp.js → reference-hpjzhk5e.js} +18 -18
- package/dist/chunks/{command-dyrcy9xv.js → reference-ht96ep0w.js} +17 -17
- package/dist/chunks/{command-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{command-efje2ph3.js → reference-j8pg3ej3.js} +4 -4
- package/dist/chunks/{command-dqw3007c.js → reference-jbbzf1js.js} +10 -10
- package/dist/chunks/{command-j7cjz3r7.js → reference-jcthwcnq.js} +27 -27
- package/dist/chunks/{command-xe49p51w.js → reference-jd4jebz2.js} +24 -24
- package/dist/chunks/{command-qkn0he17.js → reference-jr6f0vph.js} +89 -89
- package/dist/chunks/{command-w2wp25j3.js → reference-jx4nweh7.js} +13 -13
- package/dist/chunks/{command-96yt6zt0.js → reference-jy16bfac.js} +1 -1
- package/dist/chunks/{command-c6e7cwvj.js → reference-k2as7s6q.js} +54 -54
- package/dist/chunks/{command-mn5tqr63.js → reference-k5tg8ptt.js} +22 -6
- package/dist/chunks/{command-3s0x99s8.js → reference-k8wp12df.js} +21 -21
- package/dist/chunks/{command-2gdjp541.js → reference-kb35dtpx.js} +4 -4
- package/dist/chunks/{command-mj56dvqn.js → reference-kdgdx0pq.js} +17 -17
- package/dist/chunks/{command-kg06axw8.js → reference-kg06axw8.js} +1 -1
- package/dist/chunks/{command-ps5pwecj.js → reference-kn35aw4y.js} +13 -13
- package/dist/chunks/{command-d40bqwh8.js → reference-krf6f92z.js} +1 -1
- package/dist/chunks/{command-pnw8gab2.js → reference-m188z08q.js} +14 -14
- package/dist/chunks/{command-cj25t1z9.js → reference-m4gc54s5.js} +32 -32
- package/dist/chunks/{command-yjb6gg26.js → reference-m7c4bemr.js} +171 -171
- package/dist/chunks/{command-2wxfd3z4.js → reference-m7fm29bt.js} +7 -7
- package/dist/chunks/{command-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-tqza4b3e.js → reference-ma9zq0m7.js} +56 -56
- package/dist/chunks/{command-xzmxhkya.js → reference-mb0geh9n.js} +11 -11
- package/dist/chunks/{command-fypfzqg6.js → reference-mcakkx8x.js} +9 -9
- package/dist/chunks/{command-1bbkgx8g.js → reference-mhkvc446.js} +3 -3
- package/dist/chunks/{command-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
- package/dist/chunks/{command-88k2vggc.js → reference-ms97y41h.js} +11 -11
- package/dist/chunks/{command-jzbwbd34.js → reference-mw9a6czv.js} +4 -4
- package/dist/chunks/{command-pk3bwvhp.js → reference-n5ep5dan.js} +25 -25
- package/dist/chunks/{command-ce2p0j6g.js → reference-n5my4zzm.js} +36 -36
- package/dist/chunks/{command-jfrxj68p.js → reference-n972z8tz.js} +296 -296
- package/dist/chunks/{command-1natq340.js → reference-na7vfx71.js} +15 -15
- package/dist/chunks/{command-wpsncnrz.js → reference-nfxhw9qw.js} +13 -13
- package/dist/chunks/{command-nhy5jxhy.js → reference-nhy5jxhy.js} +1 -1
- package/dist/chunks/{command-51jra4mh.js → reference-nng2ktcm.js} +2 -2
- package/dist/chunks/{command-gc5k1756.js → reference-nsabaa1m.js} +17 -17
- package/dist/chunks/{command-6d9mz4vp.js → reference-p1wf2k30.js} +5 -5
- package/dist/chunks/{command-68rj78f5.js → reference-p8q51ffm.js} +24 -24
- package/dist/chunks/{command-f2dtw58t.js → reference-p8r4fzyh.js} +16 -16
- package/dist/chunks/{command-j935v87r.js → reference-paphc93g.js} +2 -2
- package/dist/chunks/{command-5wgc7fb1.js → reference-pazrb1rr.js} +5 -5
- package/dist/chunks/{command-6dqz5g6p.js → reference-phdhrp7w.js} +41 -41
- package/dist/chunks/{command-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{command-4xwq6bpx.js → reference-pnk6npkv.js} +16 -16
- package/dist/chunks/{command-ce62gj8z.js → reference-ppe0rjzw.js} +16 -16
- package/dist/chunks/{command-hph61g7p.js → reference-psm6qbq5.js} +24 -24
- package/dist/chunks/{command-cyrm38ka.js → reference-pyg81bkg.js} +4 -4
- package/dist/chunks/{command-xg3w2jr6.js → reference-q5xz05ap.js} +11 -11
- package/dist/chunks/{command-hyzf9tpp.js → reference-qdxx0g8s.js} +32 -32
- package/dist/chunks/{command-nse75xca.js → reference-qgawthcf.js} +46 -46
- package/dist/chunks/{command-fgh0kbhd.js → reference-qmr73083.js} +1 -1
- package/dist/chunks/{command-tfngb0ww.js → reference-qr27hz8v.js} +4 -4
- package/dist/chunks/{command-r7vvp0pq.js → reference-qsam8w8k.js} +19 -19
- package/dist/chunks/{command-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{command-zwwg1j6t.js → reference-r65k5kbp.js} +12 -12
- package/dist/chunks/{command-r9mregkx.js → reference-r9mregkx.js} +2 -2
- package/dist/chunks/{command-a0v18vk0.js → reference-rftpfvvg.js} +41 -41
- package/dist/chunks/{command-yp2x3t23.js → reference-rhraev7y.js} +4 -4
- package/dist/chunks/{command-at5d07az.js → reference-ryr25ayn.js} +4 -4
- package/dist/chunks/{command-b8jxd6e3.js → reference-rzz62h8s.js} +6 -6
- package/dist/chunks/{command-zd4hnhbr.js → reference-s5wgwj4n.js} +35 -35
- package/dist/chunks/{command-0gdmqesm.js → reference-s8d7rejh.js} +4 -4
- package/dist/chunks/{command-dsdd247v.js → reference-s8vrwrxy.js} +9 -9
- package/dist/chunks/{command-n5rv7k3r.js → reference-sa3n58kn.js} +8 -8
- package/dist/chunks/{command-h0vzxx5t.js → reference-sb5pch95.js} +15 -15
- package/dist/chunks/{command-3b8gsagm.js → reference-smg7z89f.js} +39 -39
- package/dist/chunks/{command-n76fdqym.js → reference-sv9bpgvh.js} +5 -5
- package/dist/chunks/{command-c0haxaz1.js → reference-szqgdezh.js} +27 -27
- package/dist/chunks/{command-zytqva6s.js → reference-t8vn9brm.js} +10 -10
- package/dist/chunks/{command-w632jh98.js → reference-t92920s6.js} +9 -9
- package/dist/chunks/{command-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{command-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{command-8wgprd1f.js → reference-v71evwnx.js} +20 -20
- package/dist/chunks/{command-k16ay38w.js → reference-v8ch97zc.js} +1 -1
- package/dist/chunks/{command-wj6rvh9s.js → reference-v8qyrbfj.js} +5 -5
- package/dist/chunks/{command-f6c90htb.js → reference-vcgtdkxa.js} +33 -33
- package/dist/chunks/{command-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{command-8qbrsgc3.js → reference-vgfzxgad.js} +20 -20
- package/dist/chunks/{command-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-c6b6ay3f.js → reference-w3n3y9pr.js} +20 -20
- package/dist/chunks/{command-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-abx73nef.js → reference-w5s7sg4e.js} +38 -38
- package/dist/chunks/{command-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{command-dfzjkmr7.js → reference-wm1ya0ts.js} +20 -20
- package/dist/chunks/{command-atywk8py.js → reference-wst8cwqd.js} +25 -25
- package/dist/chunks/{command-ek7sb5kq.js → reference-ww4b13kq.js} +18 -18
- package/dist/chunks/{command-trnnyg3s.js → reference-wzpdcp4j.js} +14 -14
- package/dist/chunks/{command-janxdphz.js → reference-x014fvry.js} +26 -26
- package/dist/chunks/{command-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-f1yy6z4t.js → reference-x28agkan.js} +5 -5
- package/dist/chunks/{command-ktrv770k.js → reference-xgpae3me.js} +16 -16
- package/dist/chunks/{command-wq14gy70.js → reference-xj0mj0qg.js} +18 -18
- package/dist/chunks/{command-avj4qb0a.js → reference-xs36768n.js} +24 -24
- package/dist/chunks/{command-ytbffa2g.js → reference-xt2nr24r.js} +10 -10
- package/dist/chunks/{command-t3an8jwj.js → reference-xx1mwrye.js} +24 -24
- package/dist/chunks/{command-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-53g8qqsb.js → reference-y4hk1f48.js} +23 -23
- package/dist/chunks/{command-jff1ryk2.js → reference-y5y3sc4a.js} +33 -33
- package/dist/chunks/{command-y71avatq.js → reference-y71avatq.js} +1 -1
- package/dist/chunks/{command-7yqjxrmz.js → reference-y8nmaz64.js} +4 -4
- package/dist/chunks/{command-q029wpmv.js → reference-yg98y7q8.js} +17 -17
- package/dist/chunks/{command-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-s4enseaf.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{command-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-8bzwbvaa.js → reference-z0dgpzg6.js} +23 -23
- package/dist/chunks/{command-29x78va6.js → reference-z63w68vq.js} +6 -6
- package/dist/chunks/{command-58hs0120.js → reference-z9xr9zm9.js} +9 -9
- package/dist/chunks/{command-2f45m2dq.js → reference-za77aepr.js} +3 -3
- package/dist/chunks/{command-zsvvz215.js → reference-zebdq5r6.js} +7 -7
- package/dist/chunks/{command-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/reference-zg1jk378.js +247 -0
- package/dist/chunks/{command-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- 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 +1 -1
- 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 +89 -89
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- 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 +3 -3
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -2
- package/dist/plugin/plan.js +98 -98
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +6 -6
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +87 -87
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/plugin/optimize.d.ts +2 -1
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/command-cjk994kr.js +0 -247
- package/dist/chunks/command-h47he10w.js +0 -4
- package/dist/chunks/command-hgstdy4b.js +0 -22
- package/dist/chunks/command-q509s3k3.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{command-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-mw9a6czv.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./reference-7ec9e7fz.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event10,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service48,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node52,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service48 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event10 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service78;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event10.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service48.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event10.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event10.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node52 = makeGlobalNode({ service: Service48, layer, deps: [httpClient, node83, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service48, Event10, inspect2, resolve3, node52, exports_wellknown };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-mw9a6czv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node42
|
|
8
|
+
} from "./reference-4g33vjc1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node68
|
|
12
|
+
} from "./reference-k2as7s6q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service47,
|
|
15
|
+
node51
|
|
16
|
+
} from "./reference-7vsprvj1.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
|
+
layer: () => layer15,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node41
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service37 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service37, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service47;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service63;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -62,7 +62,7 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name14(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -111,7 +111,7 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,12 +124,12 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
130
|
-
service:
|
|
131
|
-
layer:
|
|
132
|
-
deps: [
|
|
129
|
+
var node41 = makeLocationNode({
|
|
130
|
+
service: Service37,
|
|
131
|
+
layer: layer15,
|
|
132
|
+
deps: [node51, node42, node84, node68]
|
|
133
133
|
});
|
|
134
134
|
|
|
135
|
-
export { namespace2,
|
|
135
|
+
export { namespace2, name14, Service37, layer15, node41, exports_mcp3 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-mw9a6czv.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./reference-yg98y7q8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./reference-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service46,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node50
|
|
16
|
+
} from "./reference-kdgdx0pq.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./reference-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event2,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node18
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event2 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service79;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const shell = yield* Service46;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node18 = makeLocationNode({
|
|
274
|
+
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node84,
|
|
276
|
+
deps: [node84, node79, node50]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node18, exports_pty, Event2 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-mw9a6czv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./reference-7ec9e7fz.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service31,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-dxj72tfx.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-m7c4bemr.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./reference-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service31,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node23
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service78;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service31.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node23 = Node.makeLocationNode({
|
|
226
|
+
service: Service31,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
node73
|
|
7
|
+
} from "./reference-smg7z89f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./reference-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service25,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer11,
|
|
20
|
+
node: () => node29
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -33,11 +33,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service25 extends Context.Service()("@opencode/Generate") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
38
|
+
var layer11 = Layer.effect(Service25, Effect.gen(function* () {
|
|
39
39
|
const llm = yield* LLMClient.Service;
|
|
40
|
-
const resolver = yield*
|
|
40
|
+
const resolver = yield* Service68;
|
|
41
41
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
42
42
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
43
43
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -61,12 +61,12 @@ var layer23 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
61
61
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
62
62
|
message: "Generation credentials are unavailable"
|
|
63
63
|
})));
|
|
64
|
-
return
|
|
64
|
+
return Service25.of({ text });
|
|
65
65
|
}));
|
|
66
|
-
var
|
|
67
|
-
service:
|
|
68
|
-
layer:
|
|
69
|
-
deps: [
|
|
66
|
+
var node29 = makeLocationNode({
|
|
67
|
+
service: Service25,
|
|
68
|
+
layer: layer11,
|
|
69
|
+
deps: [node73, llmClient2]
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
72
|
+
export { ModelSelectionError2, UnavailableError3, Service25, layer11, node29, exports_generate };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info13 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info23 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info13, exports_provider2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service61,
|
|
10
|
+
node: () => node66
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service61 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node66 = LayerNode.unbound(Service61, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service61, node66, exports_service2 };
|