@opencode/core 0.0.0-dev-19467 → 0.0.0-dev-19468
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 +78 -78
- 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 +82 -82
- package/dist/chunks/{file-1vtz46z8.js → command-02dn8pjv.js} +8 -8
- package/dist/chunks/{file-d9vam3k2.js → command-07q4da3w.js} +12 -12
- package/dist/chunks/{file-ygcwy31f.js → command-08w2x8wj.js} +16 -16
- package/dist/chunks/{file-bpbqk74e.js → command-0fwh74eg.js} +6 -6
- package/dist/chunks/{file-t550f9t1.js → command-0gdmqesm.js} +4 -4
- package/dist/chunks/{file-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → command-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-s0hza5ac.js → command-0rpg7gzc.js} +4 -4
- package/dist/chunks/{file-gdzz6jx4.js → command-11vz36px.js} +65 -65
- package/dist/chunks/{file-dhwr7h25.js → command-17j9h1rv.js} +8 -8
- package/dist/chunks/{file-1awm1f41.js → command-1awm1f41.js} +2 -2
- package/dist/chunks/{file-7yh4e7ss.js → command-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-1dazxqgg.js → command-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-qfhg0qm0.js → command-1natq340.js} +9 -9
- package/dist/chunks/{file-15ez12k6.js → command-1w6a0hnx.js} +29 -29
- package/dist/chunks/{file-k3vytwpg.js → command-1w9eg795.js} +11 -11
- package/dist/chunks/{file-y4trewk8.js → command-1y7qjh7f.js} +22 -22
- package/dist/chunks/{file-mfqp6xfm.js → command-1ygqh575.js} +6 -6
- package/dist/chunks/{file-fbe32vd5.js → command-1z06sqnr.js} +4 -4
- package/dist/chunks/{file-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{file-ak4yxbec.js → command-22j10vgt.js} +11 -11
- package/dist/chunks/{file-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{file-29x78va6.js → command-29x78va6.js} +2 -2
- package/dist/chunks/{file-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-2q26t3z2.js → command-2bvt8f80.js} +7 -7
- package/dist/chunks/{file-eym8880c.js → command-2cbvdzk3.js} +8 -8
- package/dist/chunks/{file-e052s0h1.js → command-2ehqxkpw.js} +9 -9
- package/dist/chunks/{file-mp0p3w6e.js → command-2eyezv9v.js} +12 -12
- package/dist/chunks/{file-v366j0rp.js → command-2f45m2dq.js} +3 -3
- package/dist/chunks/{file-0zcwb494.js → command-2fd5jjda.js} +30 -30
- package/dist/chunks/{file-kpdtseex.js → command-2gdjp541.js} +4 -4
- package/dist/chunks/{file-y18dg9rm.js → command-2vs0bhag.js} +23 -23
- package/dist/chunks/{file-4h3kvjs2.js → command-2wxfd3z4.js} +7 -7
- package/dist/chunks/{file-m7fcfcd3.js → command-3b8gsagm.js} +26 -26
- package/dist/chunks/{file-3fc6dm20.js → command-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-w98apfbx.js → command-3frp61p1.js} +10 -10
- package/dist/chunks/{file-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-npz894wm.js → command-3ng855cv.js} +23 -23
- package/dist/chunks/{file-zcyexcbg.js → command-3s0x99s8.js} +8 -8
- package/dist/chunks/{file-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mkh51v61.js → command-3tey5e4w.js} +6 -6
- package/dist/chunks/{file-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-kmba0g0m.js → command-3xwc0nbz.js} +26 -26
- package/dist/chunks/{file-43k15f45.js → command-43k15f45.js} +2 -2
- package/dist/chunks/{file-s4gwnm9s.js → command-49dgzs36.js} +17 -17
- package/dist/chunks/{file-vr7gxye5.js → command-4mp12xfm.js} +11 -11
- package/dist/chunks/{file-81z8qjxd.js → command-4xwq6bpx.js} +16 -16
- package/dist/chunks/{file-4y66k410.js → command-4y66k410.js} +2 -2
- package/dist/chunks/{file-v57h5aag.js → command-4zan7p04.js} +32 -32
- package/dist/chunks/{file-10nz5c35.js → command-5133n32a.js} +4 -4
- package/dist/chunks/{file-b09hzw3k.js → command-51jra4mh.js} +2 -2
- package/dist/chunks/{file-zq3nracj.js → command-53g8qqsb.js} +21 -21
- package/dist/chunks/{file-n07gqhyx.js → command-56zp6hen.js} +6 -6
- package/dist/chunks/{file-grfft0p3.js → command-58hs0120.js} +6 -6
- package/dist/chunks/{file-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{file-yg6nt6v4.js → command-5r1zsdx9.js} +8 -8
- package/dist/chunks/{file-5t3nmthw.js → command-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-xm0rhqjd.js → command-5wgc7fb1.js} +3 -3
- package/dist/chunks/{file-asmz7wyz.js → command-5xtgfte3.js} +8 -8
- package/dist/chunks/{file-wzjjzz4p.js → command-606t1thy.js} +4 -4
- package/dist/chunks/{file-43kgpfns.js → command-623tf1ms.js} +25 -25
- package/dist/chunks/{file-669tq793.js → command-669tq793.js} +1 -1
- package/dist/chunks/{file-w1e78axz.js → command-68rj78f5.js} +15 -15
- package/dist/chunks/{file-t0x5rdq8.js → command-6d9mz4vp.js} +9 -9
- package/dist/chunks/{file-t8dapppc.js → command-6dqz5g6p.js} +36 -36
- package/dist/chunks/{file-gr6g09x2.js → command-6j9ecrq6.js} +3 -3
- package/dist/chunks/{file-3wyyhwd0.js → command-6kwa84ek.js} +24 -24
- package/dist/chunks/{file-6msgmcgs.js → command-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-vsp1fds9.js → command-6sr3ve8g.js} +4 -4
- package/dist/chunks/{file-71q4at8m.js → command-71q4at8m.js} +1 -1
- package/dist/chunks/{file-vncycja5.js → command-7atngb88.js} +4 -4
- package/dist/chunks/{file-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-y6f0p4jw.js → command-7jdsj2a9.js} +3 -3
- package/dist/chunks/{file-e8es6s27.js → command-7kqtcfr2.js} +7 -7
- package/dist/chunks/{file-zedqgydd.js → command-7r9nvvan.js} +15 -15
- package/dist/chunks/{file-6anwy9fs.js → command-7yqjxrmz.js} +6 -6
- package/dist/chunks/{file-k4698d15.js → command-82tjt3dw.js} +11 -11
- package/dist/chunks/{file-4w79hth0.js → command-88k2vggc.js} +11 -11
- package/dist/chunks/{file-c4qh20ek.js → command-8bzwbvaa.js} +9 -9
- package/dist/chunks/{file-8d7r5vzw.js → command-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-yxzk4b0p.js → command-8nk26xcd.js} +4 -4
- package/dist/chunks/{file-8p4f9s12.js → command-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-65ae7ssf.js → command-8qbrsgc3.js} +20 -20
- package/dist/chunks/{file-xf7r26fr.js → command-8w2x90d8.js} +25 -25
- package/dist/chunks/{file-mc8zj9wc.js → command-8wgprd1f.js} +15 -15
- package/dist/chunks/{file-96yt6zt0.js → command-96yt6zt0.js} +1 -1
- package/dist/chunks/{file-5p1xccta.js → command-9dm3xxv4.js} +6 -6
- package/dist/chunks/{file-p5m12nsf.js → command-a0v18vk0.js} +16 -16
- package/dist/chunks/{file-a1bz86dw.js → command-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-5h5hcfag.js → command-a2ap4c0w.js} +27 -27
- package/dist/chunks/{file-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{file-3p0a3947.js → command-ab1j02q5.js} +34 -34
- package/dist/chunks/{file-qvz5qhdq.js → command-abx73nef.js} +39 -39
- package/dist/chunks/{file-ratrq7cm.js → command-at5d07az.js} +4 -4
- package/dist/chunks/{file-wzepkft7.js → command-atcs2qeq.js} +12 -12
- package/dist/chunks/{file-99hfsv2g.js → command-atywk8py.js} +23 -23
- package/dist/chunks/{file-5h1vqfpf.js → command-avj4qb0a.js} +14 -14
- package/dist/chunks/{file-4cgh75f3.js → command-awhebgdh.js} +8 -8
- package/dist/chunks/{file-mwbghvtz.js → command-b3nrcp5c.js} +18 -18
- package/dist/chunks/{file-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-87kgra54.js → command-b8jxd6e3.js} +4 -4
- package/dist/chunks/{file-88sz8qcd.js → command-bccb6npm.js} +4 -4
- package/dist/chunks/{file-bpn789zm.js → command-bn5pg142.js} +12 -12
- package/dist/chunks/{file-tte3y0bt.js → command-bqx9ejx6.js} +17 -17
- package/dist/chunks/{file-jkrwprzx.js → command-bvbz56nf.js} +9 -9
- package/dist/chunks/{file-m0v68pa6.js → command-c0haxaz1.js} +29 -29
- package/dist/chunks/{file-yj688e5m.js → command-c6b6ay3f.js} +12 -12
- package/dist/chunks/{file-hr4nst8s.js → command-c6e7cwvj.js} +40 -40
- package/dist/chunks/{file-32ns7zf1.js → command-ce2p0j6g.js} +37 -37
- package/dist/chunks/{file-q597yyn0.js → command-ce62gj8z.js} +14 -14
- package/dist/chunks/{file-t3yqqakc.js → command-cf4sgr4m.js} +13 -13
- package/dist/chunks/{file-cfpkc3c9.js → command-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-at361zj4.js → command-cj25t1z9.js} +30 -30
- package/dist/chunks/command-cjk994kr.js +247 -0
- package/dist/chunks/{file-w0gkjavc.js → command-csz8m25e.js} +17 -17
- package/dist/chunks/{file-dyaxchcz.js → command-cw6zws1e.js} +20 -20
- package/dist/chunks/{file-v6ypf6cj.js → command-cyrm38ka.js} +2 -2
- package/dist/chunks/{file-jv01nqvq.js → command-d1khqved.js} +5 -5
- package/dist/chunks/{file-brdav8ac.js → command-d40bqwh8.js} +1 -1
- package/dist/chunks/{file-m70sbz6t.js → command-ddt2bs9e.js} +4 -4
- package/dist/chunks/{file-jwx4y25k.js → command-depwzj9d.js} +9 -9
- package/dist/chunks/{file-5wh1mxz2.js → command-dfzjkmr7.js} +16 -16
- package/dist/chunks/{file-ge9f1ey5.js → command-dqw3007c.js} +8 -8
- package/dist/chunks/{file-w3gs9xya.js → command-dsdd247v.js} +9 -9
- package/dist/chunks/{file-hxs4qgpe.js → command-dyrcy9xv.js} +17 -17
- package/dist/chunks/{file-1cfb3ja4.js → command-e89xj288.js} +5 -5
- package/dist/chunks/{file-zpqzfwh7.js → command-efje2ph3.js} +4 -4
- package/dist/chunks/{file-44ddp8x2.js → command-ek7sb5kq.js} +16 -16
- package/dist/chunks/{file-bajakh74.js → command-epd1fg1b.js} +4 -4
- package/dist/chunks/{file-nc8g0deh.js → command-et4cfen6.js} +22 -22
- package/dist/chunks/{file-etq0c3wd.js → command-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-8yay56x4.js → command-f1yy6z4t.js} +5 -5
- package/dist/chunks/{file-n8wswfp5.js → command-f2dtw58t.js} +18 -18
- package/dist/chunks/{file-0m33zjrf.js → command-f6c90htb.js} +27 -27
- package/dist/chunks/{file-f828m53h.js → command-f828m53h.js} +2 -2
- package/dist/chunks/{file-f8q7mv7a.js → command-f8q7mv7a.js} +1 -1
- package/dist/chunks/{file-qgn6gcr1.js → command-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-fgh0kbhd.js → command-fgh0kbhd.js} +1 -1
- package/dist/chunks/{file-gn193kaw.js → command-fvcnrdsd.js} +2 -2
- package/dist/chunks/{file-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-fygdb7h7.js → command-fygdb7h7.js} +1 -1
- package/dist/chunks/{file-bwvfabrt.js → command-fypfzqg6.js} +9 -9
- package/dist/chunks/{file-x0mn1y4c.js → command-gc5k1756.js} +14 -14
- package/dist/chunks/{file-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-ckn2912w.js → command-gew808h9.js} +7 -7
- package/dist/chunks/{file-6dqgf9h2.js → command-gn4w61g6.js} +7 -7
- package/dist/chunks/{file-7j9mf223.js → command-gr4w44ny.js} +26 -26
- package/dist/chunks/{file-vb8ktjqd.js → command-grw19vv8.js} +23 -23
- package/dist/chunks/{file-gv6a8nnw.js → command-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-h03wrkyp.js → command-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-8g4hjr24.js → command-h0vzxx5t.js} +13 -13
- package/dist/chunks/command-h47he10w.js +4 -0
- package/dist/chunks/{file-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-8qkkyzrv.js → command-ha44nnvw.js} +13 -13
- package/dist/chunks/{file-2zj8fbp9.js → command-hct2a0fv.js} +21 -21
- package/dist/chunks/command-hgstdy4b.js +22 -0
- package/dist/chunks/{file-wvdcn5qm.js → command-hjtepwtx.js} +18 -18
- package/dist/chunks/{file-f0bc8q2d.js → command-hph61g7p.js} +22 -22
- package/dist/chunks/{file-zmdyh523.js → command-hyzf9tpp.js} +25 -25
- package/dist/chunks/{file-j56e64zr.js → command-j56e64zr.js} +1 -1
- package/dist/chunks/{file-xwsk2c8c.js → command-j6q1n0sc.js} +4 -4
- package/dist/chunks/{file-196zxc4b.js → command-j7cjz3r7.js} +25 -25
- package/dist/chunks/{file-3nnae7yt.js → command-janxdphz.js} +26 -26
- package/dist/chunks/{file-xvvn7245.js → command-jff1ryk2.js} +33 -33
- package/dist/chunks/{file-zg7fnakg.js → command-jfrxj68p.js} +288 -288
- package/dist/chunks/{file-v0zt7nbb.js → command-jq16a9yq.js} +35 -35
- package/dist/chunks/{file-pm3zx1e2.js → command-jq77w4zw.js} +11 -11
- package/dist/chunks/{file-e9cy62py.js → command-jrrn2k62.js} +4 -4
- package/dist/chunks/{file-rgerjr63.js → command-jzbwbd34.js} +4 -4
- package/dist/chunks/{file-jmkfxt9k.js → command-k12jm31d.js} +13 -13
- package/dist/chunks/{file-k16ay38w.js → command-k16ay38w.js} +1 -1
- package/dist/chunks/{file-xtnhd2d6.js → command-k3qnv071.js} +11 -11
- package/dist/chunks/{file-vaspbzqy.js → command-kar9ash6.js} +83 -83
- package/dist/chunks/{file-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/{file-vgx6weyf.js → command-kh9sx4kg.js} +8 -8
- package/dist/chunks/{file-ksz0h0wp.js → command-ksz0h0wp.js} +1 -1
- package/dist/chunks/{file-scjjkrgm.js → command-ktrv770k.js} +16 -16
- package/dist/chunks/{file-ag08y0z0.js → command-kxdgf94m.js} +34 -34
- package/dist/chunks/{file-m27pyyd3.js → command-m27pyyd3.js} +1 -1
- package/dist/chunks/{file-6jnybvqn.js → command-m2d0j7c0.js} +9 -9
- package/dist/chunks/{file-9cz3wv26.js → command-m8zgfef2.js} +5 -5
- package/dist/chunks/{file-r7cr63pb.js → command-m91662m1.js} +9 -9
- package/dist/chunks/{file-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-rh4q0e7f.js → command-mj56dvqn.js} +19 -19
- package/dist/chunks/{file-mkcjrzeh.js → command-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-0py0pkk2.js → command-mn5tqr63.js} +2 -2
- package/dist/chunks/{file-6wc117sj.js → command-mqkmkpfj.js} +8 -8
- package/dist/chunks/{file-rtv6ahp9.js → command-mqzwkyay.js} +4 -4
- package/dist/chunks/{file-0dey12nt.js → command-msgzsd09.js} +22 -22
- package/dist/chunks/{file-5t49yv3r.js → command-n093m6g5.js} +5 -5
- package/dist/chunks/{file-rbmgqr8n.js → command-n5rv7k3r.js} +8 -8
- package/dist/chunks/{file-we27jats.js → command-n68r2zkb.js} +12 -12
- package/dist/chunks/{file-n76fdqym.js → command-n76fdqym.js} +1 -1
- package/dist/chunks/{file-55ecvd0d.js → command-n81d318j.js} +39 -39
- package/dist/chunks/{file-jc9hk3c4.js → command-nbf8yg7d.js} +32 -32
- package/dist/chunks/{file-n8c291r7.js → command-nca7p386.js} +6 -6
- package/dist/chunks/{file-hjt4xg1x.js → command-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-xp1skx2v.js → command-nre9bmbr.js} +26 -26
- package/dist/chunks/{file-vkt7gky2.js → command-nse75xca.js} +44 -44
- package/dist/chunks/{file-jmdt0qbm.js → command-p8h51xpj.js} +10 -10
- package/dist/chunks/{file-nd64t4g7.js → command-pbmwqkmp.js} +18 -18
- package/dist/chunks/{file-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-cgyb2chk.js → command-pk3bwvhp.js} +23 -23
- package/dist/chunks/{file-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{file-p90jbscy.js → command-pnw8gab2.js} +14 -14
- package/dist/chunks/{file-wptj4zbr.js → command-ps5pwecj.js} +13 -13
- package/dist/chunks/{file-zzr6y1q3.js → command-q029wpmv.js} +7 -7
- package/dist/chunks/command-q509s3k3.js +18 -0
- package/dist/chunks/{file-y4pn6qcw.js → command-qbs9wpx5.js} +6 -6
- package/dist/chunks/{file-sveyc280.js → command-qhzsw49z.js} +13 -13
- package/dist/chunks/{file-rj24jzzd.js → command-qjmsdj0v.js} +15 -15
- package/dist/chunks/{file-p1mff96j.js → command-qkn0he17.js} +83 -83
- package/dist/chunks/{file-gp52jd7g.js → command-qqe6tnq7.js} +7 -7
- package/dist/chunks/{file-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{file-qttnr0ye.js → command-qtewthd2.js} +8 -8
- package/dist/chunks/{file-fjkx7jfm.js → command-r31hq9tw.js} +15 -15
- package/dist/chunks/{file-c3tq07df.js → command-r7vvp0pq.js} +17 -17
- package/dist/chunks/{file-954vm9zf.js → command-r80rqf00.js} +6 -6
- package/dist/chunks/{file-r9babyk8.js → command-r9babyk8.js} +1 -1
- package/dist/chunks/{file-r9mregkx.js → command-r9mregkx.js} +2 -2
- package/dist/chunks/{file-q7wrh90t.js → command-rbzw3czx.js} +25 -25
- package/dist/chunks/{file-rk0rec3h.js → command-rk0rec3h.js} +2 -2
- package/dist/chunks/{file-g72m04gw.js → command-rrn4n66a.js} +9 -9
- package/dist/chunks/{file-s4enseaf.js → command-s4enseaf.js} +2 -2
- package/dist/chunks/{file-b3wkxfg9.js → command-t23qze4t.js} +1 -1
- package/dist/chunks/{file-78nv4h6x.js → command-t3an8jwj.js} +20 -20
- package/dist/chunks/{file-nkdfvqze.js → command-t3bdjydy.js} +33 -33
- package/dist/chunks/{file-w0f6ctqr.js → command-t5mzcy74.js} +14 -14
- package/dist/chunks/{file-t7z3zppm.js → command-t7z3zppm.js} +2 -2
- package/dist/chunks/{file-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{file-tfngb0ww.js → command-tfngb0ww.js} +4 -4
- package/dist/chunks/{file-n6d0ct00.js → command-tn44nq14.js} +14 -14
- package/dist/chunks/{file-pn6c68gz.js → command-tqza4b3e.js} +51 -51
- package/dist/chunks/{file-4b96ps91.js → command-trnnyg3s.js} +7 -7
- package/dist/chunks/{file-tvtrv512.js → command-tvtrv512.js} +1 -1
- package/dist/chunks/{file-aw76w3jw.js → command-v6gj3a76.js} +7 -7
- package/dist/chunks/{file-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{file-c98r53b8.js → command-vkpd1pcz.js} +13 -13
- package/dist/chunks/{file-aznbw4af.js → command-vwkvnd24.js} +37 -37
- package/dist/chunks/{file-vzcthcp8.js → command-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-kp3p0j6p.js → command-w2rsnnhh.js} +3 -3
- package/dist/chunks/{file-mka1mjms.js → command-w2wp25j3.js} +13 -13
- package/dist/chunks/{file-bmmbmmz8.js → command-w3qz1p8h.js} +18 -18
- package/dist/chunks/{file-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-6d17qt6n.js → command-w4280d3n.js} +47 -47
- package/dist/chunks/{file-yymn1yqy.js → command-w632jh98.js} +9 -9
- package/dist/chunks/{file-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{file-pjj7a5gk.js → command-wj6rvh9s.js} +3 -3
- package/dist/chunks/{file-pd0fpw0w.js → command-wpsncnrz.js} +6 -6
- package/dist/chunks/{file-46hd6k3g.js → command-wq14gy70.js} +15 -15
- package/dist/chunks/{file-01mdjjj7.js → command-wtgrkprm.js} +31 -31
- package/dist/chunks/{file-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-76t0zr3x.js → command-xdmx6wv9.js} +8 -8
- package/dist/chunks/{file-xmftkv8j.js → command-xe49p51w.js} +22 -22
- package/dist/chunks/{file-q88zj522.js → command-xg3w2jr6.js} +11 -11
- package/dist/chunks/{file-nhzp11fy.js → command-xrv37rzx.js} +4 -4
- package/dist/chunks/{file-skre1xzp.js → command-xwnd57w1.js} +9 -9
- package/dist/chunks/{file-qsaqrdx1.js → command-xzmxhkya.js} +11 -11
- package/dist/chunks/{file-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-dzpsx89s.js → command-y62qmqfa.js} +9 -9
- package/dist/chunks/{file-y71avatq.js → command-y71avatq.js} +1 -1
- package/dist/chunks/{file-vvejnxw1.js → command-yjb6gg26.js} +123 -123
- package/dist/chunks/{file-yp2x3t23.js → command-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-yrhqyw5v.js → command-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-yt0fqk68.js → command-yt0fqk68.js} +2 -2
- package/dist/chunks/{file-2z1nbbgn.js → command-ytbffa2g.js} +8 -8
- package/dist/chunks/{file-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-z3pw5915.js → command-z3pw5915.js} +2 -2
- package/dist/chunks/{file-z69s9t6b.js → command-z69s9t6b.js} +2 -2
- package/dist/chunks/{file-g2h5514g.js → command-zbgm0av8.js} +3 -3
- package/dist/chunks/{file-63xctefh.js → command-zcqf6png.js} +6 -6
- package/dist/chunks/{file-9fecvkeg.js → command-zd4hnhbr.js} +33 -33
- package/dist/chunks/{file-zeh9ct20.js → command-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-9q0jhhf9.js → command-zk4xc3a5.js} +8 -8
- package/dist/chunks/{file-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-tppe6m69.js → command-zsvvz215.js} +7 -7
- package/dist/chunks/{file-dp6qntr2.js → command-zwwg1j6t.js} +9 -9
- package/dist/chunks/{file-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-2ktm995r.js → command-zytqva6s.js} +11 -11
- 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 +118 -118
- package/dist/config/plugin/command.js +210 -210
- 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 +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- 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 +116 -116
- 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 +72 -72
- 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 +6 -6
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +5 -5
- 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 +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 +79 -79
- 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 +79 -79
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- 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 +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +2 -2
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- 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 +2 -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 +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +1 -1
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +83 -83
- 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 +92 -92
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +81 -81
- 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 +1 -1
- 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 +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +211 -211
- 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 +106 -106
- package/dist/snapshot.js +85 -85
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- 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 +97 -97
- 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 +215 -215
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- 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/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- 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 +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/file-6kdq0pjd.js +0 -4
- package/dist/chunks/file-p2byknbn.js +0 -22
- package/dist/chunks/file-pf31ssb9.js +0 -18
- package/dist/chunks/file-zgqe0621.js +0 -247
- /package/dist/chunks/{file-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → command-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → command-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → command-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → command-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-j935v87r.js → command-j935v87r.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./command-hph61g7p.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-0gdmqesm.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service32
|
|
13
|
+
} from "./command-6kwa84ek.js";
|
|
14
14
|
import {
|
|
15
15
|
Service69
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-q029wpmv.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin34
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin34 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service32;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
41
|
const location = yield* Service69;
|
|
42
|
-
const watcher = yield*
|
|
42
|
+
const watcher = yield* Service66;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin34, exports_instruction };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-jzbwbd34.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event13,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info13,
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Service: () => Service60,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node65
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event13 } from "@opencode/schema/command";
|
|
28
|
+
var Info13 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service60 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer20 = Layer.effect(Service60, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info13.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service60.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node65 = makeLocationNode({
|
|
75
|
+
service: Service60,
|
|
76
|
+
layer: layer20,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info13, NotFoundError8, ExecutionError2, Service60, layer20, node65, exports_command4, Event13 };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin5
|
|
3
|
+
} from "./command-5r1zsdx9.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin7
|
|
6
|
+
} from "./command-fypfzqg6.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin6
|
|
9
|
+
} from "./command-58hs0120.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin8
|
|
12
|
+
} from "./command-zk4xc3a5.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin5,
|
|
17
|
+
Plugin7,
|
|
18
|
+
Plugin6,
|
|
19
|
+
Plugin8
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-jzbwbd34.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./command-3frp61p1.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service25,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-q509s3k3.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-yjb6gg26.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event2,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info2,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service25,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node17
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event2, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service68;
|
|
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(Service26, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service25.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node17 = Node.makeLocationNode({
|
|
226
|
+
service: Service25,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node17, exports_plugin2, Event2, ID2, Info2, Source2, State2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-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: () => Options9,
|
|
17
|
+
Service: () => Service66,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured11,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer22,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node71,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event14 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load3());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service66 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 layer22 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service66.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 layer20 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service66.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(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service66).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(Service66, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured11(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service66, layer: layer22(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node71 = configured11();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event14, hasNativeBinding2, Native3, Options9, Service66, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured11, node71, exports_watcher };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service71,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
node76
|
|
10
|
+
} from "./command-3tey5e4w.js";
|
|
11
11
|
import {
|
|
12
12
|
Service69,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
node74
|
|
14
|
+
} from "./command-q029wpmv.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service29,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service29 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service71;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service29.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node33 = makeLocationNode({
|
|
139
|
+
service: Service29,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node76, Global.node, node74]
|
|
142
142
|
});
|
|
143
|
-
var noopLayer2 = Layer.succeed(
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service29, Service29.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service30, Service30.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export { ID3,
|
|
161
|
+
export { ID3, Error3, Service29, node33, noopLayer2, exports_snapshot2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-xzmxhkya.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-m27pyyd3.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-gew808h9.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./command-hph61g7p.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service69
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-q029wpmv.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./command-6dqz5g6p.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./command-f2dtw58t.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service7
|
|
20
|
+
} from "./command-m2d0j7c0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./command-606t1thy.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill3 = {};
|
|
30
|
+
__export(exports_skill3, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill3,
|
|
32
|
+
Plugin: () => Plugin35
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin35 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service65;
|
|
43
|
+
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service69;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service66;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin13 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -117,7 +117,7 @@ var Plugin13 = define({
|
|
|
117
117
|
};
|
|
118
118
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
119
119
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
120
|
-
source:
|
|
120
|
+
source: Source4.key(source),
|
|
121
121
|
cause
|
|
122
122
|
}).pipe(Effect.as([]))));
|
|
123
123
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -146,7 +146,7 @@ var Plugin13 = define({
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
yield* Effect.logDebug("skill source loaded", {
|
|
149
|
-
source:
|
|
149
|
+
source: Source4.key(source),
|
|
150
150
|
type: source.type,
|
|
151
151
|
directories,
|
|
152
152
|
skills: skills.map((skill) => skill.id)
|
|
@@ -165,7 +165,7 @@ var Plugin13 = define({
|
|
|
165
165
|
if (file) {
|
|
166
166
|
yield* Effect.logInfo("skills rescanned", {
|
|
167
167
|
file,
|
|
168
|
-
sources: current.map(
|
|
168
|
+
sources: current.map(Source4.key),
|
|
169
169
|
skills: loaded.skills.map((skill) => skill.id)
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -181,4 +181,4 @@ var Plugin13 = define({
|
|
|
181
181
|
})
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Plugin35, exports_skill3 };
|