@opencode/core 0.0.0-dev-19468 → 0.0.0-dev-19472
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/generate-01mk1cf2.js +22 -0
- package/dist/chunks/{command-f6c90htb.js → generate-01rdfd7a.js} +33 -33
- package/dist/chunks/{command-6kwa84ek.js → generate-05nva95e.js} +22 -22
- package/dist/chunks/{command-depwzj9d.js → generate-0996nyz8.js} +9 -9
- package/dist/chunks/{command-7yqjxrmz.js → generate-0ft9cg2j.js} +6 -6
- package/dist/chunks/{command-0gdmqesm.js → generate-0gdmqesm.js} +1 -1
- package/dist/chunks/{command-j7cjz3r7.js → generate-0hzvpqmj.js} +22 -22
- package/dist/chunks/{command-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → generate-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-d1khqved.js → generate-0r7yqxbf.js} +5 -5
- package/dist/chunks/{command-1w9eg795.js → generate-0yjrxc0y.js} +16 -16
- package/dist/chunks/{command-3ng855cv.js → generate-0ymz8rd6.js} +15 -15
- package/dist/chunks/{command-8nk26xcd.js → generate-0yqwvadk.js} +4 -4
- package/dist/chunks/{command-49dgzs36.js → generate-12j8am6k.js} +17 -17
- package/dist/chunks/{command-atcs2qeq.js → generate-13en43er.js} +12 -12
- package/dist/chunks/{command-8bzwbvaa.js → generate-165my6fc.js} +23 -23
- package/dist/chunks/{command-fygdb7h7.js → generate-18cztcj7.js} +3 -3
- package/dist/chunks/{command-2eyezv9v.js → generate-18dzbcxb.js} +16 -16
- package/dist/chunks/{command-zwwg1j6t.js → generate-192njw8s.js} +12 -12
- package/dist/chunks/{command-ek7sb5kq.js → generate-19eqgq23.js} +18 -18
- package/dist/chunks/{command-4zan7p04.js → generate-1a6d59yt.js} +32 -32
- package/dist/chunks/{command-z69s9t6b.js → generate-1ah30sey.js} +5 -5
- package/dist/chunks/{command-1bbkgx8g.js → generate-1bbkgx8g.js} +1 -1
- package/dist/chunks/{command-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-a0v18vk0.js → generate-1fddzjwn.js} +41 -41
- package/dist/chunks/{command-rbzw3czx.js → generate-1jt29hgk.js} +25 -25
- package/dist/chunks/{command-w2wp25j3.js → generate-1s9zr6wz.js} +13 -13
- package/dist/chunks/{command-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{command-2402vzrj.js → generate-2402vzrj.js} +1 -1
- package/dist/chunks/{command-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-m27pyyd3.js → generate-2d6j2h4j.js} +6 -6
- package/dist/chunks/{command-tfngb0ww.js → generate-2eh93bg4.js} +4 -4
- package/dist/chunks/{command-xrv37rzx.js → generate-2rq438jx.js} +11 -11
- package/dist/chunks/{command-8w2x90d8.js → generate-2x2h0p2s.js} +27 -27
- package/dist/chunks/{command-janxdphz.js → generate-30h5sse3.js} +26 -26
- package/dist/chunks/{command-r9babyk8.js → generate-31dz7cp4.js} +1 -1
- package/dist/chunks/{command-1w6a0hnx.js → generate-325b5hht.js} +27 -27
- package/dist/chunks/{command-1ygqh575.js → generate-33w4ejhs.js} +6 -6
- package/dist/chunks/{command-43k15f45.js → generate-34vvk6bw.js} +4 -4
- package/dist/chunks/{command-qbs9wpx5.js → generate-395g5j88.js} +3 -3
- package/dist/chunks/{command-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-qtewthd2.js → generate-3kr8ysga.js} +12 -12
- package/dist/chunks/{command-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-xdmx6wv9.js → generate-3ta8pej7.js} +11 -11
- package/dist/chunks/{command-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-1awm1f41.js → generate-3xaqhp8d.js} +12 -12
- package/dist/chunks/{command-1y7qjh7f.js → generate-3z25xgjb.js} +23 -23
- package/dist/chunks/{command-vkpd1pcz.js → generate-45ekqx5k.js} +18 -18
- package/dist/chunks/{command-gew808h9.js → generate-46fcrysc.js} +7 -7
- package/dist/chunks/{command-trnnyg3s.js → generate-48x36vfa.js} +7 -7
- package/dist/chunks/{command-rrn4n66a.js → generate-4dq66jks.js} +11 -11
- package/dist/chunks/{command-cj25t1z9.js → generate-4edd2wfm.js} +32 -32
- package/dist/chunks/{command-atywk8py.js → generate-4enya5gj.js} +25 -25
- package/dist/chunks/{command-c0haxaz1.js → generate-4jbn2tw4.js} +26 -26
- package/dist/chunks/{command-d40bqwh8.js → generate-4s94qtmw.js} +1 -1
- package/dist/chunks/{command-4y66k410.js → generate-4y66k410.js} +2 -2
- package/dist/chunks/{command-t7z3zppm.js → generate-4yg7xpeb.js} +2 -2
- package/dist/chunks/{command-t3an8jwj.js → generate-56hme943.js} +24 -24
- package/dist/chunks/{command-88k2vggc.js → generate-56jh955g.js} +11 -11
- package/dist/chunks/{command-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{command-n81d318j.js → generate-5hg44emr.js} +43 -43
- package/dist/chunks/{command-zd4hnhbr.js → generate-5rx6s544.js} +35 -35
- package/dist/chunks/{command-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{command-6d9mz4vp.js → generate-6d9mz4vp.js} +2 -2
- package/dist/chunks/{command-mn5tqr63.js → generate-6kyz0a76.js} +25 -9
- package/dist/chunks/{command-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-71q4at8m.js → generate-71q4at8m.js} +1 -1
- package/dist/chunks/{command-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-gn4w61g6.js → generate-7dnaa00t.js} +9 -9
- package/dist/chunks/{command-4mp12xfm.js → generate-7h1k4g6r.js} +10 -10
- package/dist/chunks/{command-pnw8gab2.js → generate-7h7r2znv.js} +11 -11
- package/dist/chunks/{command-hyzf9tpp.js → generate-7j17ak0s.js} +25 -25
- package/dist/chunks/{command-k3qnv071.js → generate-7jpshbt3.js} +11 -11
- package/dist/chunks/{command-mqkmkpfj.js → generate-7n9tv254.js} +7 -7
- package/dist/chunks/{command-q029wpmv.js → generate-7pz2a2p6.js} +17 -17
- package/dist/chunks/{command-zytqva6s.js → generate-7tcd4e3j.js} +13 -13
- package/dist/chunks/{command-bccb6npm.js → generate-81czwxpn.js} +4 -4
- package/dist/chunks/{command-rk0rec3h.js → generate-81swgkk7.js} +9 -9
- package/dist/chunks/{command-2gdjp541.js → generate-8bdabsgq.js} +4 -4
- package/dist/chunks/{command-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-jq16a9yq.js → generate-8fr55evv.js} +49 -49
- package/dist/chunks/{command-fvcnrdsd.js → generate-8hznsz6p.js} +2 -2
- package/dist/chunks/{command-82tjt3dw.js → generate-8jxg9psv.js} +8 -8
- package/dist/chunks/{command-8p4f9s12.js → generate-8p4f9s12.js} +2 -2
- package/dist/chunks/{command-22j10vgt.js → generate-95sy4d33.js} +11 -11
- package/dist/chunks/{command-k12jm31d.js → generate-98nqcwy8.js} +26 -26
- package/dist/chunks/{command-h0vzxx5t.js → generate-9jd7sb31.js} +18 -18
- package/dist/chunks/{command-p8h51xpj.js → generate-9qbs61h2.js} +9 -9
- package/dist/chunks/{command-2bvt8f80.js → generate-9tbkwgyh.js} +14 -14
- package/dist/chunks/{command-z3pw5915.js → generate-9xvq3m7s.js} +5 -5
- package/dist/chunks/{command-pbmwqkmp.js → generate-9ya5772p.js} +15 -15
- package/dist/chunks/{command-a1bz86dw.js → generate-a1bz86dw.js} +3 -3
- package/dist/chunks/{command-vwkvnd24.js → generate-a6y2bq6s.js} +43 -43
- package/dist/chunks/{command-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{command-cyrm38ka.js → generate-acfjjvt7.js} +4 -4
- package/dist/chunks/{command-yt0fqk68.js → generate-af04s6ss.js} +5 -5
- package/dist/chunks/{command-qhzsw49z.js → generate-ag3c3gfh.js} +7 -7
- package/dist/chunks/{command-623tf1ms.js → generate-anfm8w08.js} +24 -24
- package/dist/chunks/{command-zcqf6png.js → generate-asn1qnte.js} +6 -6
- package/dist/chunks/{command-awhebgdh.js → generate-at42xpyp.js} +8 -8
- package/dist/chunks/{command-w3qz1p8h.js → generate-b16d7jjg.js} +20 -20
- package/dist/chunks/{command-4xwq6bpx.js → generate-b4e13j89.js} +16 -16
- package/dist/chunks/{command-dqw3007c.js → generate-b67dvkja.js} +10 -10
- package/dist/chunks/{command-c6b6ay3f.js → generate-b6efjawe.js} +20 -20
- package/dist/chunks/{command-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-bn5pg142.js → generate-bb33gxz4.js} +11 -11
- package/dist/chunks/{command-nse75xca.js → generate-bc98kfvq.js} +46 -46
- package/dist/chunks/{command-zbgm0av8.js → generate-bhxrg7yf.js} +3 -3
- package/dist/chunks/{command-hct2a0fv.js → generate-bpm3sphz.js} +21 -21
- package/dist/chunks/{command-r80rqf00.js → generate-brp8zeym.js} +6 -6
- package/dist/chunks/{command-xg3w2jr6.js → generate-c2mw14d7.js} +11 -11
- package/dist/chunks/{command-grw19vv8.js → generate-c36zpzj3.js} +32 -32
- package/dist/chunks/{command-tqza4b3e.js → generate-c5c2yrzj.js} +55 -55
- package/dist/chunks/{command-8wgprd1f.js → generate-c83rnzgr.js} +17 -17
- package/dist/chunks/{command-jrrn2k62.js → generate-cay3r0qb.js} +4 -4
- package/dist/chunks/{command-cfpkc3c9.js → generate-cfpkc3c9.js} +2 -2
- package/dist/chunks/{command-5xtgfte3.js → generate-cmwkp3r5.js} +8 -8
- package/dist/chunks/{command-8qbrsgc3.js → generate-cnsp0jcs.js} +15 -15
- package/dist/chunks/{command-m91662m1.js → generate-d2t1ewjp.js} +9 -9
- package/dist/chunks/{command-2fd5jjda.js → generate-d7nvx7ja.js} +32 -32
- package/dist/chunks/{command-bqx9ejx6.js → generate-dd7fnb5q.js} +20 -20
- package/dist/chunks/{command-r7vvp0pq.js → generate-djk06v6t.js} +19 -19
- package/dist/chunks/{command-ce2p0j6g.js → generate-dphymz0f.js} +39 -39
- package/dist/chunks/{command-nbf8yg7d.js → generate-dspjxxdh.js} +30 -30
- package/dist/chunks/{command-nhy5jxhy.js → generate-e82z9tr0.js} +7 -7
- package/dist/chunks/{command-dsdd247v.js → generate-egt2n8ed.js} +9 -9
- package/dist/chunks/{command-08w2x8wj.js → generate-ek706fp6.js} +25 -25
- package/dist/chunks/{command-ksz0h0wp.js → generate-ep73h3z1.js} +3 -3
- package/dist/chunks/{command-qkn0he17.js → generate-er50wdsj.js} +86 -86
- package/dist/chunks/{command-w4280d3n.js → generate-eraw9w7t.js} +47 -47
- package/dist/chunks/{command-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-hjtepwtx.js → generate-evvwda50.js} +18 -18
- package/dist/chunks/{command-dfzjkmr7.js → generate-f0z4t0qf.js} +20 -20
- package/dist/chunks/{command-yp2x3t23.js → generate-f2n192rq.js} +4 -4
- package/dist/chunks/{command-f828m53h.js → generate-f828m53h.js} +2 -2
- package/dist/chunks/{command-f8q7mv7a.js → generate-f9bavhm2.js} +1 -1
- package/dist/chunks/{command-606t1thy.js → generate-fjs0fb1k.js} +6 -6
- package/dist/chunks/{command-2vs0bhag.js → generate-fmejfqxx.js} +23 -23
- package/dist/chunks/{command-tn44nq14.js → generate-ftqhnfvt.js} +9 -9
- package/dist/chunks/{command-fxbjtjnd.js → generate-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-b8jxd6e3.js → generate-gca7vttx.js} +6 -6
- package/dist/chunks/{command-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-3fc6dm20.js → generate-gdvy8fx6.js} +4 -4
- package/dist/chunks/{command-jfrxj68p.js → generate-get426a4.js} +289 -289
- package/dist/chunks/{command-5wgc7fb1.js → generate-ggfrbzh7.js} +5 -5
- package/dist/chunks/{command-2cbvdzk3.js → generate-gggn4yh1.js} +8 -8
- package/dist/chunks/{command-csz8m25e.js → generate-gjrm3aqc.js} +17 -17
- package/dist/chunks/{command-7r9nvvan.js → generate-gv77bfkj.js} +11 -11
- package/dist/chunks/{command-w2rsnnhh.js → generate-gxzjfpj9.js} +3 -3
- package/dist/chunks/{command-h03wrkyp.js → generate-h03wrkyp.js} +2 -2
- package/dist/chunks/{command-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-y62qmqfa.js → generate-h9m084p5.js} +9 -9
- package/dist/chunks/generate-ht5y0zrb.js +18 -0
- package/dist/chunks/{command-nca7p386.js → generate-hyftv91s.js} +9 -9
- package/dist/chunks/{command-5133n32a.js → generate-hz4zfacf.js} +7 -5
- package/dist/chunks/{command-j6q1n0sc.js → generate-j3cvmjmb.js} +6 -6
- package/dist/chunks/{command-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{command-7atngb88.js → generate-j83byb14.js} +4 -4
- package/dist/chunks/{command-cf4sgr4m.js → generate-j993hkrk.js} +15 -15
- package/dist/chunks/{command-bvbz56nf.js → generate-jdwmg6ph.js} +11 -11
- package/dist/chunks/{command-3tey5e4w.js → generate-jefma2gq.js} +10 -10
- package/dist/chunks/{command-mj56dvqn.js → generate-jk0bqewv.js} +19 -19
- package/dist/chunks/{command-qjmsdj0v.js → generate-jkq4bbrv.js} +18 -18
- package/dist/chunks/{command-xwnd57w1.js → generate-jmctn1sj.js} +9 -9
- package/dist/chunks/{command-v6gj3a76.js → generate-jsrz9mtp.js} +9 -9
- package/dist/chunks/{command-fypfzqg6.js → generate-jsyfvq8g.js} +9 -9
- package/dist/chunks/{command-hph61g7p.js → generate-jt3ektyx.js} +24 -24
- package/dist/chunks/{command-96yt6zt0.js → generate-jy16bfac.js} +1 -1
- package/dist/chunks/{command-kg06axw8.js → generate-kg06axw8.js} +1 -1
- package/dist/chunks/{command-17j9h1rv.js → generate-km9fdhsq.js} +11 -11
- package/dist/chunks/{command-t3bdjydy.js → generate-kmsq2a8z.js} +36 -36
- package/dist/chunks/{command-ktrv770k.js → generate-kqhmtpwq.js} +16 -16
- package/dist/chunks/{command-qqe6tnq7.js → generate-kvkb9bqr.js} +10 -10
- package/dist/chunks/{command-e89xj288.js → generate-kzdcqyn1.js} +5 -5
- package/dist/chunks/{command-m2d0j7c0.js → generate-m2d0j7c0.js} +2 -2
- package/dist/chunks/{command-68rj78f5.js → generate-m3k3m1st.js} +24 -24
- package/dist/chunks/{command-ddt2bs9e.js → generate-m70sbz6t.js} +4 -4
- package/dist/chunks/{command-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-6sr3ve8g.js → generate-magykp64.js} +21 -21
- package/dist/chunks/{command-yjb6gg26.js → generate-man3t1zm.js} +174 -174
- package/dist/chunks/{command-3frp61p1.js → generate-mgwwngzv.js} +10 -10
- package/dist/chunks/{command-mkcjrzeh.js → generate-mkcjrzeh.js} +1 -1
- package/dist/chunks/{command-dyrcy9xv.js → generate-mkm8pmbj.js} +17 -17
- package/dist/chunks/{command-w632jh98.js → generate-mnw1q3jt.js} +9 -9
- package/dist/chunks/{command-xzmxhkya.js → generate-mrs002kz.js} +11 -11
- package/dist/chunks/{command-ps5pwecj.js → generate-mw3mjnzn.js} +19 -13
- package/dist/chunks/{command-jff1ryk2.js → generate-n5r74s3z.js} +30 -30
- package/dist/chunks/{command-zk4xc3a5.js → generate-nhatkwh5.js} +8 -8
- package/dist/chunks/{command-ce62gj8z.js → generate-njx2nt89.js} +13 -13
- package/dist/chunks/{command-kxdgf94m.js → generate-nn62rfad.js} +33 -33
- package/dist/chunks/{command-1natq340.js → generate-nrypyvg1.js} +17 -17
- package/dist/chunks/{command-et4cfen6.js → generate-p4q3p9e2.js} +17 -15
- package/dist/chunks/{command-02dn8pjv.js → generate-p9napa5a.js} +8 -8
- package/dist/chunks/{command-j935v87r.js → generate-paphc93g.js} +2 -2
- package/dist/chunks/{command-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{command-msgzsd09.js → generate-q866wamt.js} +26 -26
- package/dist/chunks/{command-fcrkznn8.js → generate-qgn6gcr1.js} +5 -5
- package/dist/chunks/{command-fgh0kbhd.js → generate-qmr73083.js} +1 -1
- package/dist/chunks/{command-56zp6hen.js → generate-qprtv8af.js} +9 -9
- package/dist/chunks/{command-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{command-wtgrkprm.js → generate-qv1bma43.js} +40 -40
- package/dist/chunks/{command-kh9sx4kg.js → generate-qvb3nf84.js} +8 -8
- package/dist/chunks/{command-6dqz5g6p.js → generate-r2d6ykh7.js} +43 -43
- package/dist/chunks/{command-wpsncnrz.js → generate-r2qedvtq.js} +16 -16
- package/dist/chunks/{command-gr4w44ny.js → generate-r2x0j4wr.js} +26 -26
- package/dist/chunks/{command-11vz36px.js → generate-r2xq3c3d.js} +56 -56
- package/dist/chunks/{command-7kqtcfr2.js → generate-r30aa2d3.js} +13 -13
- package/dist/chunks/{command-efje2ph3.js → generate-r3ggr03z.js} +4 -4
- package/dist/chunks/{command-r9mregkx.js → generate-r9mregkx.js} +2 -2
- package/dist/chunks/{command-53g8qqsb.js → generate-rskfe6j4.js} +19 -19
- package/dist/chunks/{command-at5d07az.js → generate-ryr25ayn.js} +4 -4
- package/dist/chunks/{command-2ehqxkpw.js → generate-s4f68rsj.js} +12 -12
- package/dist/chunks/{command-pk3bwvhp.js → generate-s8d6csw0.js} +15 -15
- package/dist/chunks/{command-7jdsj2a9.js → generate-sfvj2g2k.js} +3 -3
- package/dist/chunks/{command-zsvvz215.js → generate-ssy2w4cx.js} +7 -7
- package/dist/chunks/{command-n76fdqym.js → generate-sv9bpgvh.js} +5 -5
- package/dist/chunks/{command-0fwh74eg.js → generate-t3esx9j8.js} +11 -11
- package/dist/chunks/{command-ytbffa2g.js → generate-t3mr6dy8.js} +10 -10
- package/dist/chunks/{command-n093m6g5.js → generate-t4xg9j4k.js} +28 -28
- package/dist/chunks/{command-1z06sqnr.js → generate-t6zgc5e7.js} +6 -6
- package/dist/chunks/{command-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{command-avj4qb0a.js → generate-tf1v3ef4.js} +19 -19
- package/dist/chunks/{command-gv6a8nnw.js → generate-th5km1p3.js} +5 -5
- package/dist/chunks/{command-58hs0120.js → generate-tk7z65sd.js} +9 -9
- package/dist/chunks/{command-gc5k1756.js → generate-tvb7px3v.js} +17 -17
- package/dist/chunks/{command-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{command-b3nrcp5c.js → generate-tz6bjvzf.js} +20 -20
- package/dist/chunks/{command-wq14gy70.js → generate-v02hggvc.js} +16 -16
- package/dist/chunks/{command-9dm3xxv4.js → generate-v4nqh482.js} +6 -6
- package/dist/chunks/{command-f2dtw58t.js → generate-v66st79r.js} +24 -24
- package/dist/chunks/{command-k16ay38w.js → generate-v8ch97zc.js} +1 -1
- package/dist/chunks/{command-f1yy6z4t.js → generate-vdptmm7z.js} +5 -5
- package/dist/chunks/{command-abx73nef.js → generate-vdstphw8.js} +33 -33
- package/dist/chunks/{command-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{command-3b8gsagm.js → generate-vjfcsv3y.js} +92 -43
- package/dist/chunks/{command-epd1fg1b.js → generate-vkxpz7g2.js} +4 -4
- package/dist/chunks/{command-a2ap4c0w.js → generate-vtwd3wbn.js} +22 -22
- package/dist/chunks/{command-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-2f45m2dq.js → generate-w7pdnrhd.js} +3 -3
- package/dist/chunks/{command-2wxfd3z4.js → generate-wawrd6s0.js} +7 -7
- package/dist/chunks/generate-wd3es6t1.js +4 -0
- package/dist/chunks/{command-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{command-5r1zsdx9.js → generate-wewgh3cc.js} +8 -8
- package/dist/chunks/{command-t5mzcy74.js → generate-wr298xzg.js} +14 -14
- package/dist/chunks/{command-r31hq9tw.js → generate-wybmtabw.js} +15 -15
- package/dist/chunks/{command-51jra4mh.js → generate-x15xn7e6.js} +2 -2
- package/dist/chunks/{command-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-ha44nnvw.js → generate-x28mf59k.js} +15 -15
- package/dist/chunks/{command-c6e7cwvj.js → generate-x29t2rc7.js} +56 -56
- package/dist/chunks/generate-x369m2nh.js +247 -0
- package/dist/chunks/{command-n68r2zkb.js → generate-x450zzfr.js} +12 -12
- package/dist/chunks/{command-n5rv7k3r.js → generate-xb2e81ev.js} +8 -8
- package/dist/chunks/{command-nre9bmbr.js → generate-xbg1gxb8.js} +26 -26
- package/dist/chunks/{command-wj6rvh9s.js → generate-xfv31h68.js} +5 -5
- package/dist/chunks/{command-t23qze4t.js → generate-xmh8jj88.js} +1 -1
- package/dist/chunks/{command-0rpg7gzc.js → generate-xwwz9aqf.js} +4 -4
- package/dist/chunks/{command-3s0x99s8.js → generate-y00nzks5.js} +22 -22
- package/dist/chunks/{command-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-xe49p51w.js → generate-y3g0amfz.js} +24 -24
- package/dist/chunks/{command-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{command-mqzwkyay.js → generate-y8p3zjbc.js} +6 -6
- package/dist/chunks/{command-jq77w4zw.js → generate-y8x7dqj3.js} +11 -11
- package/dist/chunks/{command-cw6zws1e.js → generate-ybv2cy3n.js} +20 -20
- package/dist/chunks/{command-jzbwbd34.js → generate-yg641eya.js} +4 -4
- package/dist/chunks/{command-07q4da3w.js → generate-yjmdpt8z.js} +28 -28
- package/dist/chunks/{command-6j9ecrq6.js → generate-yjpzctzn.js} +3 -3
- package/dist/chunks/{command-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-s4enseaf.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/{command-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-kar9ash6.js → generate-z2e5hz5t.js} +83 -83
- package/dist/chunks/{command-m8zgfef2.js → generate-z4acfq85.js} +5 -5
- package/dist/chunks/{command-29x78va6.js → generate-z63w68vq.js} +6 -6
- package/dist/chunks/{command-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-3xwc0nbz.js → generate-zn1sknkg.js} +30 -30
- package/dist/chunks/{command-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-ab1j02q5.js → generate-zr6df6en.js} +38 -38
- package/dist/chunks/{command-zxq2ej10.js → generate-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 +82 -82
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- 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 +82 -82
- 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 +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +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 +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +88 -88
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +91 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +6 -4
- 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 +4 -4
- 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 +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- 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 +73 -73
- 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 +342 -342
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +91 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- 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 +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- 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 +13 -13
- package/dist/types/model-resolver.d.ts +50 -3
- package/dist/types/plugin/optimize.d.ts +2 -1
- package/dist/types/session/runner/model.d.ts +4 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- 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/command-cjk994kr.js +0 -247
- package/dist/chunks/command-h47he10w.js +0 -4
- package/dist/chunks/command-hgstdy4b.js +0 -22
- package/dist/chunks/command-q509s3k3.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{command-hrnqkpcd.js → generate-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → generate-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-magykp64.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info9
|
|
9
|
+
} from "./generate-km9fdhsq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info8
|
|
12
|
+
} from "./generate-9xvq3m7s.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./generate-ryr25ayn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info16
|
|
18
|
+
} from "./generate-af04s6ss.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info14
|
|
24
|
+
} from "./generate-0r7yqxbf.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info7
|
|
27
|
+
} from "./generate-5hg44emr.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-2eh93bg4.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./generate-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info7.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info8, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info9, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info9, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info16, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node32
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service26, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service27.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node32 = makeGlobalNode({ service: Service27, layer: layer14, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service27, makeLayer2, layer14, node32, exports_model_transport };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info15
|
|
7
|
+
} from "./generate-magykp64.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info9
|
|
10
|
+
} from "./generate-km9fdhsq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info8
|
|
13
|
+
} from "./generate-9xvq3m7s.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info11
|
|
16
|
+
} from "./generate-ryr25ayn.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Info13
|
|
19
|
+
} from "./generate-hyftv91s.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Info10
|
|
25
|
+
} from "./generate-0ft9cg2j.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info16
|
|
28
|
+
} from "./generate-af04s6ss.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-qgn6gcr1.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info14
|
|
34
|
+
} from "./generate-0r7yqxbf.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./generate-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info12
|
|
40
|
+
} from "./generate-j83byb14.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info7,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info7 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info16 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info11)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info12).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,33 +113,33 @@ var Info16 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info9), plan: Schema.optional(Info9) }), [Schema.Record(Schema.String, Info9)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info9),
|
|
119
|
+
build: Schema.optional(Info9),
|
|
120
|
+
general: Schema.optional(Info9),
|
|
121
|
+
explore: Schema.optional(Info9),
|
|
122
|
+
title: Schema.optional(Info9),
|
|
123
|
+
summary: Schema.optional(Info9),
|
|
124
|
+
compaction: Schema.optional(Info9)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info9)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info14)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
130
|
-
formatter: Schema.optional(
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info16, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info13).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
133
|
-
lsp: Schema.optional(
|
|
133
|
+
lsp: Schema.optional(Info10).annotate({
|
|
134
134
|
description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
135
135
|
}),
|
|
136
136
|
instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
|
|
137
137
|
description: "Additional instruction files or patterns to include"
|
|
138
138
|
}),
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
|
-
permission: Schema.optional(
|
|
140
|
+
permission: Schema.optional(Info15),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info8).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info16 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info7, exports_config2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./generate-7pz2a2p6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service73
|
|
12
|
+
} from "./generate-y3g0amfz.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service72
|
|
16
|
+
} from "./generate-wr298xzg.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-4enya5gj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service47
|
|
26
|
+
} from "./generate-x29t2rc7.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service16
|
|
29
|
+
} from "./generate-19eqgq23.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input6,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin6,
|
|
41
|
+
name: () => name6,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name6 = "grep";
|
|
48
|
+
var Input6 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input5 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin6 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service73;
|
|
90
|
+
const ripgrep = yield* Service72;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service16;
|
|
93
|
+
const permission = yield* Service47;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name6,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input6,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name6,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin20 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin20 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name6, Input6, Output4, toModelContent3, Plugin6, exports_grep };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./generate-e82z9tr0.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
10
10
|
__export(exports_optimize, {
|
|
11
|
+
AnthropicPlugin: () => AnthropicPlugin2,
|
|
11
12
|
AnthropicToolsPlugin: () => AnthropicToolsPlugin2,
|
|
12
13
|
ArceePlugin: () => ArceePlugin2,
|
|
13
14
|
KimiPlugin: () => KimiPlugin2,
|
|
14
15
|
MetaPlugin: () => MetaPlugin2,
|
|
15
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
16
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
17
18
|
OptimizePlugin: () => exports_optimize,
|
|
18
19
|
Plugins: () => Plugins2
|
|
@@ -367,13 +368,24 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
|
|
|
367
368
|
</example>
|
|
368
369
|
`;
|
|
369
370
|
|
|
371
|
+
// src/plugin/system-prompt/anthropic.txt
|
|
372
|
+
var anthropic_default = `# Code comments
|
|
373
|
+
By default, match the surrounding comment density: where the code has none, add none. Use comments sparingly, only where they are appropriate, such as for behavior that is not obvious from the code itself. Instructions from the user or the project take precedence over this guidance.
|
|
374
|
+
`;
|
|
375
|
+
|
|
370
376
|
// src/plugin/optimize.ts
|
|
371
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
372
378
|
const id = model.id.toLowerCase();
|
|
373
379
|
if (!id.includes("gpt"))
|
|
374
380
|
return;
|
|
375
381
|
return id.includes("gpt-6") ? gpt_astra_default : gpt_default;
|
|
376
382
|
});
|
|
383
|
+
var AnthropicPlugin2 = make("opencode.prompt.anthropic", (model) => {
|
|
384
|
+
const id = model.id.toLowerCase();
|
|
385
|
+
if (!id.includes("claude"))
|
|
386
|
+
return;
|
|
387
|
+
return anthropic_default;
|
|
388
|
+
}, "append");
|
|
377
389
|
var OpenAIToolsPlugin2 = make("opencode.optimize.openai.tools", (model, tools) => {
|
|
378
390
|
const ids = [model.id, model.modelID, model.family].join(" ").toLowerCase();
|
|
379
391
|
if (!ids.includes("gpt"))
|
|
@@ -397,8 +409,8 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
397
409
|
return;
|
|
398
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
399
411
|
});
|
|
400
|
-
var Plugins2 = [
|
|
401
|
-
function make(id, optimize) {
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
|
+
function make(id, optimize, mode = "override") {
|
|
402
414
|
return define({
|
|
403
415
|
id,
|
|
404
416
|
effect: Effect.fn(`OptimizePlugin.${id}`)(function* (ctx) {
|
|
@@ -412,7 +424,11 @@ function make(id, optimize) {
|
|
|
412
424
|
const system = event.system[0];
|
|
413
425
|
if (!system)
|
|
414
426
|
return;
|
|
415
|
-
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
|
+
const text = mode === "append" ? `${system.text}
|
|
429
|
+
|
|
430
|
+
${rendered}` : rendered;
|
|
431
|
+
event.system[0] = { ...system, text };
|
|
416
432
|
}).pipe(Effect.catch(() => Effect.void));
|
|
417
433
|
yield* ctx.session.hook("context", hook);
|
|
418
434
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -421,4 +437,4 @@ function make(id, optimize) {
|
|
|
421
437
|
});
|
|
422
438
|
}
|
|
423
439
|
|
|
424
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|