@opencode-ai/core 0.0.0-dev-19109 → 0.0.0-dev-19111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +67 -67
- package/dist/catalog.js +82 -82
- package/dist/chunks/{git-4w13mmvc.js → command-035rcwns.js} +20 -20
- package/dist/chunks/{git-br76cj0n.js → command-07jbfwff.js} +7 -7
- package/dist/chunks/{git-0e0xafbb.js → command-0e0xafbb.js} +2 -2
- package/dist/chunks/{git-rzwk2s92.js → command-0kfne21a.js} +15 -15
- package/dist/chunks/{git-dns6mj49.js → command-0kjqcjxv.js} +9 -9
- package/dist/chunks/{git-f2wqyxa1.js → command-0nqpaxk7.js} +267 -267
- package/dist/chunks/{git-0paq2nw3.js → command-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-me5tkfc4.js → command-0s7aarrn.js} +14 -14
- package/dist/chunks/{git-0s9ayhjt.js → command-0s9ayhjt.js} +1 -1
- package/dist/chunks/{git-43kgstp5.js → command-0vynkq1k.js} +25 -25
- package/dist/chunks/{git-na3y75gh.js → command-0xd2d7hb.js} +5 -5
- package/dist/chunks/{git-12gh2r0n.js → command-12gh2r0n.js} +1 -1
- package/dist/chunks/{git-8737zb6q.js → command-15zye2r5.js} +16 -16
- package/dist/chunks/{git-5aq57b09.js → command-18vzz2sn.js} +43 -43
- package/dist/chunks/{git-y8xfsac8.js → command-1akmxprb.js} +16 -16
- package/dist/chunks/{git-1ct4r87x.js → command-1ct4r87x.js} +1 -1
- package/dist/chunks/{git-7dwfb2vf.js → command-1h95a3b9.js} +4 -4
- package/dist/chunks/{git-hjrjbgez.js → command-1mrma768.js} +5 -5
- package/dist/chunks/{git-qy2nesre.js → command-1qn1pdz2.js} +11 -11
- package/dist/chunks/{git-kyd4za44.js → command-1r09dsq2.js} +4 -4
- package/dist/chunks/{git-rzejcw32.js → command-1ydgq2r4.js} +5 -5
- package/dist/chunks/{git-21r38tys.js → command-21r38tys.js} +1 -1
- package/dist/chunks/{git-2402vzrj.js → command-2402vzrj.js} +1 -1
- package/dist/chunks/{git-4ss9n79c.js → command-2470z9n9.js} +13 -13
- package/dist/chunks/{git-kzmwhpqp.js → command-2697d8n0.js} +10 -10
- package/dist/chunks/{git-e4xqgmkc.js → command-279zjhpq.js} +69 -69
- package/dist/chunks/{git-29x78va6.js → command-29x78va6.js} +2 -2
- package/dist/chunks/{git-2a5m3afh.js → command-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-2ht70gj7.js → command-2ht70gj7.js} +1 -1
- package/dist/chunks/{git-2jqmte8w.js → command-2jqmte8w.js} +2 -2
- package/dist/chunks/{git-7dqw4kz8.js → command-2k8khapm.js} +5 -5
- package/dist/chunks/{git-thrargpz.js → command-2wjn61mn.js} +9 -9
- package/dist/chunks/{git-g4j5mcjp.js → command-2zsr04y1.js} +11 -11
- package/dist/chunks/{git-sf60rpxa.js → command-33hp2zv2.js} +22 -22
- package/dist/chunks/{git-3vkr20g6.js → command-367jrrwj.js} +22 -22
- package/dist/chunks/{git-0rag4e4f.js → command-36mzbjn4.js} +4 -4
- package/dist/chunks/{git-54k2rsgg.js → command-38fdqmmq.js} +30 -30
- package/dist/chunks/{git-4p9rm7az.js → command-3b6b9fm5.js} +6 -6
- package/dist/chunks/{git-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-wcn3expk.js → command-3p3achxg.js} +43 -43
- package/dist/chunks/{git-3qzbfqsy.js → command-3qzbfqsy.js} +2 -2
- package/dist/chunks/{git-3smtnn6g.js → command-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-1xhwd09p.js → command-3ywkksk4.js} +11 -11
- package/dist/chunks/{git-454k5vzh.js → command-454k5vzh.js} +1 -1
- package/dist/chunks/{git-4r2nyarf.js → command-4r2nyarf.js} +1 -1
- package/dist/chunks/{git-94nnnvbh.js → command-4rftwdm7.js} +18 -18
- package/dist/chunks/{git-54q64t4d.js → command-4rqr8y5g.js} +26 -26
- package/dist/chunks/{git-nt48h9be.js → command-507jwzhp.js} +6 -6
- package/dist/chunks/{git-db9r0kw7.js → command-50m12935.js} +28 -28
- package/dist/chunks/{git-5daktx2q.js → command-5daktx2q.js} +1 -1
- package/dist/chunks/{git-5fmxt4p5.js → command-5fmxt4p5.js} +1 -1
- package/dist/chunks/{git-pp549hae.js → command-5fpdng81.js} +5 -5
- package/dist/chunks/{git-efxjj9hq.js → command-5gv2kmhj.js} +22 -22
- package/dist/chunks/{git-qp4k32t2.js → command-5jbm950r.js} +10 -10
- package/dist/chunks/{git-rved4v7n.js → command-5jdmrxhb.js} +7 -7
- package/dist/chunks/{git-5jvc5tg2.js → command-5jvc5tg2.js} +1 -1
- package/dist/chunks/{git-mqmk3ma0.js → command-5pzwqq2j.js} +17 -17
- package/dist/chunks/{git-ez5b8bq3.js → command-5sg4xzjf.js} +7 -7
- package/dist/chunks/{git-s1zas8dv.js → command-5tc0y89d.js} +8 -8
- package/dist/chunks/{git-97sjq870.js → command-5vf5ce74.js} +27 -27
- package/dist/chunks/{git-s5qzv7b1.js → command-5wmq78ra.js} +9 -9
- package/dist/chunks/{git-ktk9jmx4.js → command-62qcn064.js} +27 -27
- package/dist/chunks/{git-a9yhhx2n.js → command-6cnvhzhy.js} +17 -17
- package/dist/chunks/{git-6e958v7x.js → command-6e958v7x.js} +1 -1
- package/dist/chunks/{git-zfnpc7fv.js → command-6fenjrr4.js} +1 -1
- package/dist/chunks/{git-6tf8tr4v.js → command-6tf8tr4v.js} +2 -2
- package/dist/chunks/{git-6ex02c0j.js → command-6xw6ac85.js} +28 -28
- package/dist/chunks/{git-6z5bwd8g.js → command-6z5bwd8g.js} +2 -2
- package/dist/chunks/{git-711hfp6y.js → command-711hfp6y.js} +2 -2
- package/dist/chunks/{git-a65jk3dg.js → command-71p0ewq5.js} +3 -3
- package/dist/chunks/{git-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-67583cjw.js → command-7d52aqke.js} +33 -33
- package/dist/chunks/{git-1sfe7ky6.js → command-7g7fb98j.js} +5 -5
- package/dist/chunks/{git-gaa7qhhm.js → command-7j0nj4pm.js} +5 -5
- package/dist/chunks/{git-mc1a8gkf.js → command-7nn4y7w6.js} +23 -23
- package/dist/chunks/{git-7r0r50e5.js → command-7r0r50e5.js} +5 -5
- package/dist/chunks/{git-m2a0x0j7.js → command-7r1tj01c.js} +20 -20
- package/dist/chunks/{git-qr5nkndc.js → command-7sq5cger.js} +17 -17
- package/dist/chunks/{git-sxx28m10.js → command-7tft0kbg.js} +13 -13
- package/dist/chunks/{git-pt2y64as.js → command-7w010q1d.js} +52 -52
- package/dist/chunks/{git-mhkvc446.js → command-7yh4e7ss.js} +3 -3
- package/dist/chunks/command-7zk4hah4.js +4 -0
- package/dist/chunks/{git-ratrq7cm.js → command-806j49yq.js} +4 -4
- package/dist/chunks/{git-tcezcvh9.js → command-89znhe33.js} +4 -4
- package/dist/chunks/{git-3z8xdy4t.js → command-8bz0sd47.js} +20 -20
- package/dist/chunks/{git-ypa7521y.js → command-8g5xycft.js} +7 -7
- package/dist/chunks/{git-btx2ztyd.js → command-8j2k6enj.js} +22 -22
- package/dist/chunks/{git-4wmw0yz2.js → command-8y13jkzv.js} +20 -20
- package/dist/chunks/{git-93a8yfjt.js → command-93a8yfjt.js} +2 -2
- package/dist/chunks/{git-s1pbqs1h.js → command-99ks3syn.js} +17 -17
- package/dist/chunks/{git-9y1phk8d.js → command-9cgz4z4t.js} +3 -3
- package/dist/chunks/{git-9qm9egsn.js → command-9qm9egsn.js} +2 -2
- package/dist/chunks/{git-hc4b3kyg.js → command-9rhh5gqv.js} +6 -6
- package/dist/chunks/{git-6191z5s4.js → command-9rp752s8.js} +13 -13
- package/dist/chunks/{git-shr0f69z.js → command-9s3d2qf6.js} +20 -20
- package/dist/chunks/{git-wtxfc7wq.js → command-9s7m1fh2.js} +9 -9
- package/dist/chunks/{git-mzxw2z9s.js → command-9tmgd7pk.js} +19 -19
- package/dist/chunks/{git-hjv5med1.js → command-9yaajp0h.js} +10 -10
- package/dist/chunks/{git-naywqbg0.js → command-a0tjzrhq.js} +9 -9
- package/dist/chunks/{git-4hz2mmtn.js → command-a2bdyd3c.js} +6 -6
- package/dist/chunks/{git-kx2gvdct.js → command-a5nkh94p.js} +4 -4
- package/dist/chunks/{git-aaet6srn.js → command-aaet6srn.js} +2 -2
- package/dist/chunks/{git-1bdhjw18.js → command-ac3j6t8f.js} +5 -5
- package/dist/chunks/{git-ajtjthsy.js → command-ajtjthsy.js} +2 -2
- package/dist/chunks/{git-gnaht1j5.js → command-avz8t4j1.js} +8 -8
- package/dist/chunks/{git-czy35k71.js → command-awvh19kp.js} +4 -4
- package/dist/chunks/{git-t6jxcej1.js → command-aya6j6m3.js} +9 -9
- package/dist/chunks/{git-qhyptzpa.js → command-b4cmc4ha.js} +14 -14
- package/dist/chunks/{git-b6gygkdw.js → command-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-14s8ve6g.js → command-b7hbr3r2.js} +1 -1
- package/dist/chunks/{git-b9wsbatv.js → command-b9wsbatv.js} +1 -1
- package/dist/chunks/{git-thfv75je.js → command-bcezcar3.js} +5 -5
- package/dist/chunks/{git-txyczmks.js → command-bnqaaxy4.js} +10 -10
- package/dist/chunks/{git-nh5wbzxs.js → command-bwdms3f5.js} +10 -10
- package/dist/chunks/{git-0qwbfr5b.js → command-cbz1xrzf.js} +7 -7
- package/dist/chunks/{git-ch60wd2z.js → command-ch60wd2z.js} +1 -1
- package/dist/chunks/{git-q1cagyca.js → command-cnrverm5.js} +15 -15
- package/dist/chunks/{git-q32xhvm0.js → command-crb07ac6.js} +4 -4
- package/dist/chunks/{git-r6spzpk4.js → command-cv9knkrg.js} +8 -8
- package/dist/chunks/{git-b4nfgv2f.js → command-d26dc0tg.js} +34 -34
- package/dist/chunks/{git-24kkj0mr.js → command-d58yx3mx.js} +18 -18
- package/dist/chunks/{git-dvzrr6hd.js → command-d6wax2q4.js} +11 -11
- package/dist/chunks/{git-d72308c8.js → command-d72308c8.js} +2 -2
- package/dist/chunks/{git-zb3c6va5.js → command-d7jhfk1z.js} +20 -20
- package/dist/chunks/{git-qwdgxhzc.js → command-d9jdb4zk.js} +13 -13
- package/dist/chunks/{git-3j8sdtpz.js → command-dfe8djrf.js} +4 -4
- package/dist/chunks/{git-1tfrzsx7.js → command-dn2favvt.js} +9 -9
- package/dist/chunks/{git-pyfcms0g.js → command-drsywa8d.js} +39 -39
- package/dist/chunks/{git-2jk00ej8.js → command-dy3xyxz9.js} +27 -27
- package/dist/chunks/{git-6tjj8n2y.js → command-e1mb8xhp.js} +9 -9
- package/dist/chunks/{git-b4fncx34.js → command-e1patwpn.js} +34 -34
- package/dist/chunks/{git-e9zkahnk.js → command-e1rfyyrx.js} +6 -6
- package/dist/chunks/{git-dnmyvy59.js → command-e4kk8zzx.js} +41 -41
- package/dist/chunks/{git-m25pdrkb.js → command-ec7s3w8j.js} +46 -46
- package/dist/chunks/{git-0dxc7qjc.js → command-eccqmmqw.js} +10 -10
- package/dist/chunks/{git-btsk8b9y.js → command-et2w1z4j.js} +12 -12
- package/dist/chunks/{git-4gzm36d2.js → command-etaqwdhb.js} +36 -36
- package/dist/chunks/{git-tjmzx5hc.js → command-ev24k3w5.js} +7 -7
- package/dist/chunks/{git-2q21hkva.js → command-exy2v0tj.js} +19 -19
- package/dist/chunks/{git-48wd3yf5.js → command-f4payg1q.js} +26 -26
- package/dist/chunks/{git-jw51n901.js → command-f5vdqjqt.js} +5 -5
- package/dist/chunks/{git-2hymcpzh.js → command-fbgbrvxb.js} +86 -86
- package/dist/chunks/{git-a3aqw4jk.js → command-fdsmhwy2.js} +9 -9
- package/dist/chunks/{git-4sqztht9.js → command-fexqjycg.js} +25 -25
- package/dist/chunks/{git-59fb75f8.js → command-fj4x2m8g.js} +18 -18
- package/dist/chunks/{git-g0awv9rp.js → command-fnptnz5b.js} +10 -10
- package/dist/chunks/{git-daxtdgx4.js → command-fpthsa93.js} +2 -2
- package/dist/chunks/{git-wrz65vt8.js → command-fvzk6cpt.js} +36 -36
- package/dist/chunks/{git-fxbjtjnd.js → command-fxbjtjnd.js} +1 -1
- package/dist/chunks/{git-fxypknc8.js → command-fxypknc8.js} +1 -1
- package/dist/chunks/{git-h2st8tcp.js → command-fz4jwa6n.js} +4 -4
- package/dist/chunks/{git-sxaj9jh7.js → command-g4p2jaj6.js} +10 -10
- package/dist/chunks/{git-fg46k2f2.js → command-g8vcfp1v.js} +37 -37
- package/dist/chunks/{git-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-3fc6dm20.js → command-gdvy8fx6.js} +4 -4
- package/dist/chunks/{git-j76h0y45.js → command-ggs7d5mp.js} +13 -13
- package/dist/chunks/{git-ehncf743.js → command-h3wsk5t8.js} +14 -14
- package/dist/chunks/{git-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-6ym5me7r.js → command-h93sf8xp.js} +5 -5
- package/dist/chunks/{git-gw3wk82x.js → command-hdmbq1xh.js} +37 -37
- package/dist/chunks/{git-heyhwy2w.js → command-heyhwy2w.js} +1 -1
- package/dist/chunks/{git-hrvm11jt.js → command-hrvm11jt.js} +3 -3
- package/dist/chunks/{git-d283m366.js → command-hs09szwj.js} +11 -11
- package/dist/chunks/{git-hbs35kex.js → command-j2rksbgg.js} +8 -8
- package/dist/chunks/{git-kfd3jmfd.js → command-jpf66q1b.js} +26 -26
- package/dist/chunks/{git-y71avatq.js → command-jwcy2c2z.js} +4 -4
- package/dist/chunks/{git-2vjvjjyp.js → command-jzpht0s0.js} +32 -32
- package/dist/chunks/{git-yz728bf4.js → command-k200p2dv.js} +6 -6
- package/dist/chunks/{git-k4bwy1x5.js → command-k4bwy1x5.js} +1 -1
- package/dist/chunks/{git-eqkknbny.js → command-k7c7fj4z.js} +8 -8
- package/dist/chunks/{git-kg06axw8.js → command-kg06axw8.js} +1 -1
- package/dist/chunks/command-kkjhrqrd.js +243 -0
- package/dist/chunks/{git-ss0awb04.js → command-kmkwybff.js} +6 -6
- package/dist/chunks/{git-2tdj64pz.js → command-kmng5yeq.js} +12 -12
- package/dist/chunks/{git-jt4qmvd6.js → command-kqetvnf7.js} +33 -33
- package/dist/chunks/{git-rnzzvk35.js → command-ktx1hmb3.js} +11 -11
- package/dist/chunks/{git-kvsjn1dr.js → command-kvsjn1dr.js} +2 -2
- package/dist/chunks/{git-0q5bpm08.js → command-kw4n94xb.js} +32 -32
- package/dist/chunks/{git-19kh8pdt.js → command-kxmj7br7.js} +56 -56
- package/dist/chunks/{git-qxs44qv5.js → command-kzdh53w6.js} +26 -26
- package/dist/chunks/{git-35vc2dck.js → command-m09hh2qm.js} +15 -15
- package/dist/chunks/{git-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-25v3hshg.js → command-md0qwdy1.js} +28 -28
- package/dist/chunks/{git-e8920g29.js → command-mh4ywd3j.js} +3 -3
- package/dist/chunks/{git-t29n1950.js → command-mm8fez2g.js} +19 -19
- package/dist/chunks/{git-3wbeqzmg.js → command-myp0nqk5.js} +7 -7
- package/dist/chunks/{git-p3e4re21.js → command-n4w2t69j.js} +1 -1
- package/dist/chunks/{git-3bp7f1wy.js → command-n62bh1ef.js} +4 -4
- package/dist/chunks/{git-v0vsseqe.js → command-n7w5zqem.js} +29 -29
- package/dist/chunks/{git-jdnwrjf1.js → command-n9vsncbs.js} +3 -3
- package/dist/chunks/{git-abvdbqvv.js → command-ndtqzn46.js} +3 -3
- package/dist/chunks/{git-6grqxh82.js → command-ndxmc8jy.js} +16 -16
- package/dist/chunks/{git-0mm37wse.js → command-nqeyrhbf.js} +39 -39
- package/dist/chunks/{git-d7zznenn.js → command-nrz5c8c1.js} +9 -9
- package/dist/chunks/command-nv1mfemk.js +20 -0
- package/dist/chunks/{git-2nfezth6.js → command-nzzxe9z3.js} +24 -24
- package/dist/chunks/{git-rvn46zq7.js → command-p325kmej.js} +9 -9
- package/dist/chunks/{git-0yjzv1xx.js → command-pa2jrwbg.js} +11 -11
- package/dist/chunks/{git-5dz1cjsc.js → command-pcras68f.js} +15 -15
- package/dist/chunks/{git-cw8gg7dp.js → command-pctbbrby.js} +11 -11
- package/dist/chunks/{git-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{git-gjqgpz3y.js → command-ptd509h3.js} +5 -5
- package/dist/chunks/{git-ajq4mc28.js → command-q53nydxb.js} +11 -11
- package/dist/chunks/{git-0ywdd1cz.js → command-q5jefrn9.js} +10 -10
- package/dist/chunks/command-qc068m1q.js +18 -0
- package/dist/chunks/{git-62fymqzv.js → command-qh16mj05.js} +6 -6
- package/dist/chunks/{git-jf453wex.js → command-qhzf1s86.js} +31 -31
- package/dist/chunks/{git-46rehjdx.js → command-qk2s0wq8.js} +18 -18
- package/dist/chunks/{git-fb63p1mh.js → command-qnr3jx13.js} +6 -6
- package/dist/chunks/{git-98e54nj4.js → command-qs1c0g84.js} +6 -6
- package/dist/chunks/{git-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{git-f6nrgepv.js → command-qvw3ex0p.js} +9 -9
- package/dist/chunks/{git-gj0v7ayb.js → command-r656qmc8.js} +1 -1
- package/dist/chunks/{git-r8dhm0tv.js → command-r8dhm0tv.js} +1 -1
- package/dist/chunks/{git-szasc975.js → command-r9gjvh9g.js} +8 -8
- package/dist/chunks/{git-759pz1a2.js → command-rmkjmdgc.js} +8 -8
- package/dist/chunks/{git-pjedbq3k.js → command-rwh68y4k.js} +6 -6
- package/dist/chunks/{git-t7xwk1e5.js → command-s4pt1ctc.js} +28 -28
- package/dist/chunks/{git-sba4qhjf.js → command-sba4qhjf.js} +1 -1
- package/dist/chunks/{git-tpk8ft80.js → command-sp02xnra.js} +8 -8
- package/dist/chunks/{git-fxx3ng1x.js → command-sw16r4ae.js} +20 -20
- package/dist/chunks/{git-jpx0fz2c.js → command-t6keskfq.js} +12 -12
- package/dist/chunks/{git-8kemf7hy.js → command-taexzmrc.js} +25 -25
- package/dist/chunks/{git-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-t4es3k9e.js → command-tbeh7nm8.js} +9 -9
- package/dist/chunks/{git-tjykrgmx.js → command-tjykrgmx.js} +1 -1
- package/dist/chunks/{git-1ptjnbjx.js → command-tppvcy65.js} +9 -9
- package/dist/chunks/{git-dhct43ra.js → command-ttdwytnm.js} +6 -6
- package/dist/chunks/{git-f90y20kg.js → command-ttg35kwh.js} +26 -26
- package/dist/chunks/{git-90eb95eh.js → command-v08anw5k.js} +2 -2
- package/dist/chunks/{git-7ah5wmet.js → command-v0gwpyr8.js} +24 -24
- package/dist/chunks/{git-ba723ajb.js → command-v8yh8gmz.js} +4 -4
- package/dist/chunks/{git-ysdbg6vk.js → command-vd7zqppv.js} +5 -5
- package/dist/chunks/{git-3kbb63t8.js → command-vjvb94qs.js} +4 -4
- package/dist/chunks/{git-157wf8eb.js → command-vk57p0r6.js} +4 -4
- package/dist/chunks/{git-zr9q2xht.js → command-w0zpdtzg.js} +54 -54
- package/dist/chunks/{git-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-e5h75gt4.js → command-w4tqxsac.js} +6 -6
- package/dist/chunks/{git-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{git-2ba8yhta.js → command-wm5m1cpt.js} +44 -44
- package/dist/chunks/{git-qdaqxxg9.js → command-wnjdg9f5.js} +18 -18
- package/dist/chunks/{git-xqxbvg49.js → command-wrv1mk8k.js} +10 -10
- package/dist/chunks/{git-dj6ed4p5.js → command-ws5hqc9c.js} +20 -20
- package/dist/chunks/{git-tdtn9dc8.js → command-ww1szn71.js} +10 -10
- package/dist/chunks/{git-nb73njp3.js → command-wwach3d4.js} +25 -25
- package/dist/chunks/{git-x1ezjp6w.js → command-x1ezjp6w.js} +1 -1
- package/dist/chunks/{git-4c5k13je.js → command-x5s817a3.js} +1 -1
- package/dist/chunks/{git-hjwyx7yr.js → command-x7pjthx6.js} +161 -161
- package/dist/chunks/{git-qezf6xep.js → command-xjqxrzvv.js} +32 -32
- package/dist/chunks/{git-vtq1wfzg.js → command-xk7t5g8q.js} +4 -4
- package/dist/chunks/{git-n3sy9ccz.js → command-xw51m9r9.js} +21 -21
- package/dist/chunks/{git-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-hvxfxr0a.js → command-y1gygb79.js} +39 -39
- package/dist/chunks/{git-zqg3qsz2.js → command-y9j759kk.js} +4 -4
- package/dist/chunks/{git-bafjfafm.js → command-yahcm7nx.js} +26 -26
- package/dist/chunks/{git-tr0r9c4y.js → command-ybs14z4j.js} +32 -32
- package/dist/chunks/{git-yn7pyct1.js → command-yct8znxp.js} +17 -17
- package/dist/chunks/{git-yvhsxjzj.js → command-yd3gakm9.js} +16 -16
- package/dist/chunks/{git-yfbd16n1.js → command-yfbd16n1.js} +2 -2
- package/dist/chunks/{git-3e31qste.js → command-ys04yrn6.js} +20 -20
- package/dist/chunks/{git-na3rzezk.js → command-ysynen7x.js} +17 -17
- package/dist/chunks/{git-5gx2hdkx.js → command-z0caz8m8.js} +3 -3
- package/dist/chunks/{git-bfsqkmyv.js → command-z0y2k7gm.js} +31 -31
- package/dist/chunks/{git-z1k01bn4.js → command-z1k01bn4.js} +2 -2
- package/dist/chunks/{git-43mprarq.js → command-z1n2e8q4.js} +2 -2
- package/dist/chunks/{git-pxpsfjdb.js → command-z1s4wvth.js} +13 -13
- package/dist/chunks/{git-z3xgatyd.js → command-z3xgatyd.js} +1 -1
- package/dist/chunks/{git-k2qp0rt7.js → command-zgc58s1t.js} +1 -1
- package/dist/chunks/{git-rqpsfqy9.js → command-zjxf22wa.js} +9 -9
- package/dist/chunks/{git-9nv74sc2.js → command-zmm1cve0.js} +10 -10
- package/dist/chunks/{git-gadrrcfg.js → command-zrrqbtv4.js} +16 -16
- package/dist/chunks/{git-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +114 -114
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +116 -116
- package/dist/config/plugin/image.js +112 -112
- package/dist/config/plugin/instruction.js +83 -83
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +113 -113
- package/dist/config/plugin/provider.js +112 -112
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +115 -115
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +114 -114
- package/dist/config/plugin/source.js +116 -116
- package/dist/config/plugin/tool-output.js +116 -116
- package/dist/config/plugin/websearch.js +112 -112
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +217 -217
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +90 -90
- 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 +7 -7
- package/dist/instance.js +347 -347
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +83 -83
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +344 -344
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +116 -116
- package/dist/mcp/oauth.js +2 -2
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +96 -96
- package/dist/plugin/command.js +91 -91
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +208 -208
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +316 -316
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/plan.js +96 -96
- 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 +4 -4
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- 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 +79 -79
- 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 +75 -75
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +78 -78
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +75 -75
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +76 -76
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +154 -154
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +5 -5
- package/dist/plugin/skill.js +129 -129
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +335 -335
- package/dist/plugin/system-prompt.js +5 -5
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +111 -111
- 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 +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +121 -121
- package/dist/session/context.js +145 -145
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +209 -209
- package/dist/session/execution.js +118 -118
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +120 -120
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +220 -220
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +85 -85
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +105 -105
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +104 -104
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +111 -111
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +112 -112
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +15 -15
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +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 +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +7 -7
- package/dist/chunks/git-bsaaxbhg.js +0 -20
- package/dist/chunks/git-bwt7bpgq.js +0 -18
- package/dist/chunks/git-f4j0pa50.js +0 -4
- package/dist/chunks/git-m3crx9ys.js +0 -243
- /package/dist/chunks/{git-0fabt78z.js → command-0fabt78z.js} +0 -0
- /package/dist/chunks/{git-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → command-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → command-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t738kvx.js → command-3t738kvx.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-41nvscxy.js → command-41nvscxy.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-5qd3pb7m.js → command-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-982e01ww.js → command-982e01ww.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a1tpkmh4.js → command-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → command-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mntxs535.js → command-mntxs535.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-p8qxwesx.js → command-p8qxwesx.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-se0s1eqw.js → command-se0s1eqw.js} +0 -0
- /package/dist/chunks/{git-sk3qaz4a.js → command-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-twg0f83k.js → command-twg0f83k.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x1b8g1yb.js → command-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → command-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → command-z9919s4g.js} +0 -0
- /package/dist/chunks/{git-zbjnn3ac.js → command-zbjnn3ac.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./command-0kjqcjxv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./command-nv1mfemk.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-qc068m1q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service63
|
|
15
|
+
} from "./command-r9gjvh9g.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-k200p2dv.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service48
|
|
23
|
+
} from "./command-33hp2zv2.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service38;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service63;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service48;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service47;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node83
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-1h95a3b9.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service69,
|
|
8
|
+
node72
|
|
9
|
+
} from "./command-zmm1cve0.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./command-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: () => Event17,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node70,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -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 Service67 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event17 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -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(Service67, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service69;
|
|
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(Service64, 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(Event17.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service67.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(Service64, 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(Event17.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(Service64, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event17.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 node70 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node72, node83] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event17, inspect2, resolve3, node70, exports_wellknown };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./command-99ks3syn.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./command-18vzz2sn.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service22
|
|
10
|
+
} from "./command-cnrverm5.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make6
|
|
13
|
+
} from "./command-7yh4e7ss.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin28
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode-ai/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode-ai/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin28 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service65;
|
|
37
|
+
const formatter = yield* Service22;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service76;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin20 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make6({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin20 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin28, exports_formatter };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode-ai/schema/session";
|
|
3
3
|
import { Session } from "@opencode-ai/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID10 = Session.ID;
|
|
5
|
+
var Info14 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID10, Info14, SessionSchema2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./command-99ks3syn.js";
|
|
7
7
|
import {
|
|
8
8
|
externalDirectoryPermission2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service16
|
|
10
|
+
} from "./command-zrrqbtv4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service60
|
|
13
|
+
} from "./command-w0zpdtzg.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service9
|
|
16
|
+
} from "./command-9tmgd7pk.js";
|
|
17
17
|
import {
|
|
18
18
|
NotFound2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-2a5m3afh.js";
|
|
20
20
|
import {
|
|
21
21
|
MEDIA_MIMES2,
|
|
22
22
|
BinaryFileError2,
|
|
@@ -27,26 +27,26 @@ import {
|
|
|
27
27
|
FileContent2,
|
|
28
28
|
TextPage2,
|
|
29
29
|
ListPage2,
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service6
|
|
31
|
+
} from "./command-7sq5cger.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./command-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/read.ts
|
|
37
37
|
var exports_read = {};
|
|
38
38
|
__export(exports_read, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Plugin: () => Plugin33,
|
|
41
41
|
ReadTool: () => exports_read,
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
42
|
+
name: () => name3,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { basename, dirname, join } from "path";
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
48
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
49
|
-
var
|
|
49
|
+
var name3 = "read";
|
|
50
50
|
var FILENAME = "AGENTS.md";
|
|
51
51
|
var LocationInput = Schema.Struct({
|
|
52
52
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
|
|
|
57
57
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
58
58
|
})
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input3 = LocationInput;
|
|
61
61
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
62
|
-
var
|
|
62
|
+
var Plugin33 = {
|
|
63
63
|
id: "opencode.tool.read",
|
|
64
64
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
65
|
-
const reader = yield*
|
|
66
|
-
const mutation = yield*
|
|
67
|
-
const permission = yield*
|
|
68
|
-
const sessionInstructions = yield*
|
|
65
|
+
const reader = yield* Service6;
|
|
66
|
+
const mutation = yield* Service16;
|
|
67
|
+
const permission = yield* Service60;
|
|
68
|
+
const sessionInstructions = yield* Service9;
|
|
69
69
|
const fs = yield* FSUtil.Service;
|
|
70
|
-
const location = yield*
|
|
70
|
+
const location = yield* Service76;
|
|
71
71
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
72
|
-
name:
|
|
72
|
+
name: name3,
|
|
73
73
|
options: { codemode: false },
|
|
74
74
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
75
|
-
input:
|
|
75
|
+
input: Input3,
|
|
76
76
|
output: Output,
|
|
77
77
|
execute: (input, context) => {
|
|
78
78
|
return Effect.gen(function* () {
|
|
@@ -90,7 +90,7 @@ var Plugin37 = {
|
|
|
90
90
|
source
|
|
91
91
|
});
|
|
92
92
|
yield* permission.assert({
|
|
93
|
-
action:
|
|
93
|
+
action: name3,
|
|
94
94
|
resources: [target.resource],
|
|
95
95
|
save: ["*"],
|
|
96
96
|
sessionID: context.sessionID,
|
|
@@ -141,7 +141,7 @@ var Plugin37 = {
|
|
|
141
141
|
return { output: result.content, path: result.path };
|
|
142
142
|
}).pipe(Effect.map((result) => ({
|
|
143
143
|
output: result.output,
|
|
144
|
-
content:
|
|
144
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
145
145
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
146
146
|
})), Effect.mapError((error) => {
|
|
147
147
|
if (error instanceof ToolFailure)
|
|
@@ -173,7 +173,7 @@ ${suggestions.join(`
|
|
|
173
173
|
});
|
|
174
174
|
})
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var toModelContent2 = (path, offset, output) => {
|
|
177
177
|
if (output.type === "file" && output.encoding === "base64")
|
|
178
178
|
return [
|
|
179
179
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
208
208
|
`);
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
export {
|
|
211
|
+
export { name3, Input3, Plugin33, toModelContent2, exports_read };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./command-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-z0caz8m8.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mh4ywd3j.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make19,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-6e958v7x.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-hrvm11jt.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info7,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service35,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode-ai/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info7 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service35 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make19({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service80;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service35.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node84] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info7, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service35, node38, exports_instruction_entry };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./command-99ks3syn.js";
|
|
4
4
|
import {
|
|
5
5
|
PATCH_CONTEXT_LINES2,
|
|
6
6
|
MAX_PATCH_BYTES2,
|
|
@@ -10,18 +10,18 @@ import {
|
|
|
10
10
|
deletePatch2,
|
|
11
11
|
countPatch2,
|
|
12
12
|
chunksByFile2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-tazgh4e4.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-7r1tj01c.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin6,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode-ai/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin6 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service76;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin6, exports_hg };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-mh4ywd3j.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service69,
|
|
17
|
+
node: () => node72
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service69 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service80).db;
|
|
26
|
-
return
|
|
26
|
+
return Service69.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node72 = makeGlobalNode({ service: Service69, layer, deps: [node84] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service69, node72, exports_kv };
|