@opencode/core 0.0.0-dev-20458 → 0.0.0-dev-20459
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/agent.js +57 -57
- package/dist/aisdk-native.js +65 -65
- package/dist/aisdk.js +70 -70
- package/dist/app.js +7 -7
- package/dist/bus.js +57 -57
- package/dist/chunks/{instance-mkccq93r.js → instance-006cpe9s.js} +10 -10
- package/dist/chunks/{instance-vdgqbsa8.js → instance-04patph1.js} +46 -46
- package/dist/chunks/{instance-czwvhvr9.js → instance-07jdfws3.js} +2 -2
- package/dist/chunks/{instance-rzye388s.js → instance-0c0z9bb0.js} +9 -9
- package/dist/chunks/{instance-cetwbnth.js → instance-0cd3vbtq.js} +13 -13
- package/dist/chunks/{instance-3mfsspf8.js → instance-0e6kpe0n.js} +16 -16
- package/dist/chunks/{instance-qgn6gcr1.js → instance-0jwsre1p.js} +4 -4
- package/dist/chunks/{instance-9qhj4rb3.js → instance-0kp341a1.js} +3 -3
- package/dist/chunks/{instance-b674v2dg.js → instance-0r3c1bmw.js} +3 -3
- package/dist/chunks/{instance-fmm0ea6b.js → instance-0s40dmg0.js} +1 -1
- package/dist/chunks/{instance-gm7qz8z1.js → instance-0z7awhz4.js} +8 -8
- package/dist/chunks/{instance-hgzqk73z.js → instance-14j7vbvd.js} +24 -24
- package/dist/chunks/{instance-m2edmvdf.js → instance-150gm8dh.js} +1 -1
- package/dist/chunks/{instance-mf44wyvt.js → instance-150yg2gd.js} +3 -3
- package/dist/chunks/{instance-qm0v3jhh.js → instance-1g7epwpd.js} +3 -3
- package/dist/chunks/{instance-b4twkq7r.js → instance-1p07q0wb.js} +7 -7
- package/dist/chunks/{instance-kyabe0v0.js → instance-2h6m51wg.js} +69 -69
- package/dist/chunks/{instance-brjvjqv5.js → instance-2nms86f2.js} +9 -9
- package/dist/chunks/{instance-0b1gbhdy.js → instance-302enh8v.js} +19 -19
- package/dist/chunks/{instance-1ygqh575.js → instance-33w4ejhs.js} +4 -4
- package/dist/chunks/{instance-dhxwrsxr.js → instance-34tfdkw1.js} +2 -2
- package/dist/chunks/{instance-dbvkr17y.js → instance-3d9trtq5.js} +7 -7
- package/dist/chunks/{instance-2pk3gm9k.js → instance-3dyj9tvq.js} +24 -24
- package/dist/chunks/{instance-5d7n5a2f.js → instance-3xrbct49.js} +17 -17
- package/dist/chunks/{instance-gjjdjfty.js → instance-40zawzex.js} +10 -10
- package/dist/chunks/{instance-w2fn3h92.js → instance-46fg3rx3.js} +9 -9
- package/dist/chunks/{instance-3q8zkhc1.js → instance-4eqz3jqh.js} +15 -15
- package/dist/chunks/{instance-q9vgr7d0.js → instance-4n152zfg.js} +28 -28
- package/dist/chunks/{instance-yv992ezf.js → instance-4ttxv9py.js} +18 -18
- package/dist/chunks/{instance-20vws8nf.js → instance-4za8nk2k.js} +9 -9
- package/dist/chunks/{instance-58z4d63q.js → instance-518jkj7v.js} +26 -26
- package/dist/chunks/{instance-g5w8qwbj.js → instance-57b9ws8p.js} +6 -6
- package/dist/chunks/{instance-80vtgbq2.js → instance-5es1pjj6.js} +3 -3
- package/dist/chunks/{instance-6z9y85k1.js → instance-5je8m3jx.js} +8 -8
- package/dist/chunks/{instance-v04wwvsp.js → instance-5nrzr7ct.js} +29 -29
- package/dist/chunks/{instance-7n7ad4fb.js → instance-5rnnm2b5.js} +7 -7
- package/dist/chunks/{instance-n8sna2wb.js → instance-5tcm9639.js} +7 -7
- package/dist/chunks/{instance-5tpz2m3t.js → instance-5wmv1tg6.js} +1 -1
- package/dist/chunks/{instance-ndqtf2h8.js → instance-5yeq06a0.js} +6 -6
- package/dist/chunks/{instance-hmx1tyyz.js → instance-606e7s57.js} +7 -7
- package/dist/chunks/{instance-ztm6ar58.js → instance-60x1k7hx.js} +1 -1
- package/dist/chunks/{instance-vjgq4j9h.js → instance-6gfw1ghr.js} +11 -11
- package/dist/chunks/{instance-e7d5nws2.js → instance-6pjtevrc.js} +28 -28
- package/dist/chunks/{instance-4q0m47hf.js → instance-6ygh8s3c.js} +4 -4
- package/dist/chunks/{instance-f6qx0jzz.js → instance-70t18mqs.js} +8 -8
- package/dist/chunks/{instance-9wnhkg6w.js → instance-739rjwq9.js} +7 -7
- package/dist/chunks/{instance-2h0scenq.js → instance-74f7excz.js} +6 -6
- package/dist/chunks/{instance-btc3158z.js → instance-75a3cna9.js} +10 -10
- package/dist/chunks/{instance-015m23px.js → instance-77qq1s9z.js} +8 -8
- package/dist/chunks/{instance-2szhtpkv.js → instance-78k9vaf3.js} +9 -9
- package/dist/chunks/{instance-8d5t2vvx.js → instance-7c07r6hx.js} +21 -21
- package/dist/chunks/{instance-5fy4e4tb.js → instance-7mffjq9g.js} +20 -20
- package/dist/chunks/{instance-pdwapt9c.js → instance-7t13cj25.js} +12 -12
- package/dist/chunks/{instance-2t21n426.js → instance-7vfa1psg.js} +10 -10
- package/dist/chunks/{instance-s9qnq6pe.js → instance-7x6gh4an.js} +14 -14
- package/dist/chunks/{instance-nganrt21.js → instance-8bsn6f2d.js} +8 -8
- package/dist/chunks/{instance-eyxc97vv.js → instance-8ce34gc3.js} +10 -10
- package/dist/chunks/{instance-00pg5zhv.js → instance-8hjv5cv7.js} +16 -16
- package/dist/chunks/{instance-7w99qc9d.js → instance-8jmaqybk.js} +3 -3
- package/dist/chunks/{instance-f4ebad7r.js → instance-8sktcs9h.js} +1 -1
- package/dist/chunks/{instance-nee1tebr.js → instance-95n0z8yt.js} +35 -35
- package/dist/chunks/{instance-rkp923y0.js → instance-95wke98n.js} +12 -12
- package/dist/chunks/{instance-3sg7cfxv.js → instance-9ch42aem.js} +12 -12
- package/dist/chunks/{instance-wv8d71kk.js → instance-9gv4gxjk.js} +10 -10
- package/dist/chunks/{instance-f0m2dg7d.js → instance-9n69v1x6.js} +10 -10
- package/dist/chunks/{instance-ngt3bghc.js → instance-9qkaq91a.js} +32 -32
- package/dist/chunks/{instance-f505wbse.js → instance-9takmydb.js} +18 -18
- package/dist/chunks/{instance-m65sn8f4.js → instance-9v1rcmf3.js} +21 -21
- package/dist/chunks/{instance-73tb2d7t.js → instance-a1gpj94z.js} +2 -2
- package/dist/chunks/{instance-d4qa0qfv.js → instance-a67p0hr6.js} +16 -16
- package/dist/chunks/{instance-magykp64.js → instance-a8bn8zg0.js} +3 -3
- package/dist/chunks/{instance-bfj9gtye.js → instance-amy5qkrp.js} +25 -25
- package/dist/chunks/{instance-scgrse2b.js → instance-b3f8fkhc.js} +3 -3
- package/dist/chunks/{instance-cs9whkk7.js → instance-b4qxwt9k.js} +14 -14
- package/dist/chunks/{instance-ypn5saxa.js → instance-brdsstcs.js} +6 -6
- package/dist/chunks/{instance-6dzjgzbs.js → instance-bwgsq9zx.js} +12 -12
- package/dist/chunks/{instance-2tyrcpf2.js → instance-bx3zmwnw.js} +36 -36
- package/dist/chunks/{instance-secp749g.js → instance-c10vj68m.js} +12 -12
- package/dist/chunks/{instance-s5ma4nnf.js → instance-c1nqqcsf.js} +10 -10
- package/dist/chunks/{instance-pcxghkgz.js → instance-c651xxjb.js} +3 -3
- package/dist/chunks/{instance-kvzqy6qp.js → instance-c6w733a6.js} +1 -1
- package/dist/chunks/{instance-5hznrh9n.js → instance-cjy5bspn.js} +11 -11
- package/dist/chunks/{instance-609j44ke.js → instance-cnm7gtc7.js} +13 -13
- package/dist/chunks/{instance-fr228w7t.js → instance-cnqvj8ka.js} +16 -16
- package/dist/chunks/{instance-djszqvmq.js → instance-cwa6csj7.js} +7 -7
- package/dist/chunks/{instance-737w3rsy.js → instance-d27qdxv0.js} +11 -11
- package/dist/chunks/{instance-d5fjybqm.js → instance-d3rv797j.js} +35 -35
- package/dist/chunks/{instance-6gwmtew3.js → instance-d42q0bmg.js} +11 -11
- package/dist/chunks/{instance-3wsmfqm0.js → instance-dabym8s8.js} +12 -12
- package/dist/chunks/{instance-k6a2pdty.js → instance-demywcdx.js} +7 -7
- package/dist/chunks/{instance-nxm207yx.js → instance-dpkg50ah.js} +3 -3
- package/dist/chunks/{instance-1pxz8ven.js → instance-dssbfrwz.js} +3 -3
- package/dist/chunks/{instance-vt1cb0am.js → instance-e43ed2jt.js} +43 -43
- package/dist/chunks/{instance-pkv65tq2.js → instance-e6va3c82.js} +10 -10
- package/dist/chunks/{instance-nsrnv5kf.js → instance-e9rhbs3a.js} +16 -16
- package/dist/chunks/{instance-rssvetrh.js → instance-epsw7pz8.js} +18 -18
- package/dist/chunks/{instance-zcx41tkt.js → instance-es7z1sjv.js} +15 -15
- package/dist/chunks/{instance-xf2yakef.js → instance-ez6tcw79.js} +309 -309
- package/dist/chunks/{instance-xzr1z753.js → instance-f18r49ca.js} +2 -2
- package/dist/chunks/{instance-n0grfzm5.js → instance-f31ghft7.js} +11 -11
- package/dist/chunks/{instance-y60kwh1p.js → instance-fa4nhyn2.js} +6 -6
- package/dist/chunks/{instance-9hn6k4tm.js → instance-g0445xdp.js} +7 -7
- package/dist/chunks/{instance-vw0q9s5h.js → instance-g13nm76b.js} +11 -11
- package/dist/chunks/{instance-regq3jrq.js → instance-g18c16cn.js} +3 -3
- package/dist/chunks/instance-g364gnk5.js +26 -0
- package/dist/chunks/{instance-14prtx3d.js → instance-g68t44he.js} +13 -13
- package/dist/chunks/{instance-tvw7danf.js → instance-g7c4yftw.js} +7 -7
- package/dist/chunks/{instance-4xxxtaen.js → instance-gft05b0a.js} +7 -7
- package/dist/chunks/{instance-pkeqyyve.js → instance-gn60kf7m.js} +19 -19
- package/dist/chunks/{instance-m1676143.js → instance-gpzcze5e.js} +14 -14
- package/dist/chunks/{instance-2h52797h.js → instance-grrc4g7y.js} +21 -21
- package/dist/chunks/{instance-k44a57f8.js → instance-gwr845s3.js} +9 -9
- package/dist/chunks/{instance-q70yec4x.js → instance-gxpprz3s.js} +7 -7
- package/dist/chunks/{instance-cxt5e3x9.js → instance-gycmxys7.js} +2 -2
- package/dist/chunks/{instance-ya18w9wm.js → instance-gytnw8gq.js} +2 -2
- package/dist/chunks/{instance-gmmdfr2g.js → instance-h4ckqw4f.js} +6 -6
- package/dist/chunks/{instance-snn5f3r6.js → instance-h800dp36.js} +1 -1
- package/dist/chunks/{instance-r2e8cc9x.js → instance-h81bv7e8.js} +23 -23
- package/dist/chunks/{instance-8apx5gfk.js → instance-hg3c5njm.js} +8 -8
- package/dist/chunks/{instance-qkfezwh6.js → instance-hgtd7sxh.js} +5 -5
- package/dist/chunks/{instance-9hs4he1x.js → instance-hqy8xs6f.js} +1 -1
- package/dist/chunks/{instance-5bsr47cr.js → instance-hs1x7rht.js} +8 -8
- package/dist/chunks/{instance-st3j4ccm.js → instance-hsem1vfx.js} +57 -57
- package/dist/chunks/{instance-xg077wsa.js → instance-hymecz7t.js} +13 -13
- package/dist/chunks/{instance-dvc89yjx.js → instance-hz0q9sdq.js} +7 -7
- package/dist/chunks/{instance-trpbd7b8.js → instance-j2cpvh4f.js} +14 -14
- package/dist/chunks/{instance-pmwpe40e.js → instance-j5rxtxht.js} +3 -3
- package/dist/chunks/{instance-jmw2ajwk.js → instance-j7w2wpf2.js} +10 -10
- package/dist/chunks/{instance-96egq0ta.js → instance-jaygjqgz.js} +9 -9
- package/dist/chunks/{instance-32ymn5e1.js → instance-jebmra90.js} +4 -4
- package/dist/chunks/{instance-xf4gk9z8.js → instance-jf31dbgv.js} +28 -28
- package/dist/chunks/{instance-dd4cqgmp.js → instance-jg7chebn.js} +20 -20
- package/dist/chunks/{instance-4k9m2p83.js → instance-jjcptf9d.js} +18 -18
- package/dist/chunks/{instance-2wq10d0p.js → instance-jt0hy6rk.js} +6 -6
- package/dist/chunks/{instance-f6v4y3x1.js → instance-jvyyz55n.js} +19 -19
- package/dist/chunks/{instance-ythmwxrm.js → instance-k4jh001b.js} +8 -8
- package/dist/chunks/{instance-761m9ptj.js → instance-k8f3jam7.js} +3 -3
- package/dist/chunks/{instance-7fdxqfh7.js → instance-kd6ndh29.js} +26 -26
- package/dist/chunks/{instance-f0cxs0mr.js → instance-keezpjbp.js} +19 -19
- package/dist/chunks/{instance-07bjzqdq.js → instance-kev04684.js} +3 -3
- package/dist/chunks/{instance-jnw65xtg.js → instance-kv8rae5j.js} +9 -9
- package/dist/chunks/{instance-cv97kere.js → instance-mcn8h4gm.js} +121 -121
- package/dist/chunks/{instance-s4anq1bw.js → instance-mg83pbjr.js} +3 -3
- package/dist/chunks/{instance-8yyb9kn2.js → instance-mgj8dczz.js} +5 -5
- package/dist/chunks/{instance-h383wahg.js → instance-mmeb11je.js} +33 -33
- package/dist/chunks/{instance-mtyftmjt.js → instance-mp2r4t7p.js} +1 -1
- package/dist/chunks/{instance-q1nt87r2.js → instance-mqpj03py.js} +4 -4
- package/dist/chunks/{instance-x4z9xncp.js → instance-mr851y8b.js} +14 -14
- package/dist/chunks/{instance-wz7cyqc3.js → instance-mx8n1n66.js} +9 -9
- package/dist/chunks/{instance-8jjqb4sd.js → instance-n79937h0.js} +5 -5
- package/dist/chunks/{instance-ve3s4mk8.js → instance-n8bc6tey.js} +22 -22
- package/dist/chunks/{instance-zxerdvrv.js → instance-ngkwmh29.js} +12 -12
- package/dist/chunks/{instance-a3rgp19t.js → instance-nrw68wjf.js} +13 -13
- package/dist/chunks/{instance-f16xfrgm.js → instance-p3fjt9h6.js} +12 -12
- package/dist/chunks/{instance-zavs5sh1.js → instance-p739mp8a.js} +22 -22
- package/dist/chunks/{instance-x9mykxm9.js → instance-p9ez2166.js} +22 -22
- package/dist/chunks/{instance-bma4f82g.js → instance-pk9rp110.js} +18 -18
- package/dist/chunks/{instance-1hs7cne0.js → instance-pqzmykjs.js} +19 -19
- package/dist/chunks/{instance-s4jagjf8.js → instance-prq7hedt.js} +8 -8
- package/dist/chunks/{instance-arye3j7k.js → instance-pv0nbs21.js} +5 -5
- package/dist/chunks/{instance-rwm5vee1.js → instance-q5asdkn4.js} +3 -3
- package/dist/chunks/{instance-6rfqzqkx.js → instance-qa7jp05q.js} +23 -23
- package/dist/chunks/{instance-6hn5f6b5.js → instance-qpms31y0.js} +26 -26
- package/dist/chunks/{instance-w7h7gzp4.js → instance-qz9sx1ew.js} +37 -37
- package/dist/chunks/{instance-4wsdk3h4.js → instance-r6t7554n.js} +1 -1
- package/dist/chunks/{instance-rhraev7y.js → instance-r8xr0va3.js} +3 -3
- package/dist/chunks/{instance-phdr4q94.js → instance-ra8ptxxq.js} +23 -23
- package/dist/chunks/{instance-whzh2rks.js → instance-rc2tkc7p.js} +16 -16
- package/dist/chunks/{instance-gvt474ke.js → instance-rd5ztze2.js} +78 -78
- package/dist/chunks/{instance-tjz234mm.js → instance-rjb3sczg.js} +9 -9
- package/dist/chunks/{instance-wz7bxgh4.js → instance-rkcbpr7b.js} +5 -5
- package/dist/chunks/{instance-pfk402ja.js → instance-ryq4z5xx.js} +32 -32
- package/dist/chunks/instance-s7nnwabc.js +252 -0
- package/dist/chunks/{instance-9hx1pkq8.js → instance-sc3z7kn8.js} +10 -10
- package/dist/chunks/{instance-v6gb7zv2.js → instance-sd5f6jdk.js} +5 -5
- package/dist/chunks/{instance-zep9ec7g.js → instance-sf5j48tm.js} +2 -2
- package/dist/chunks/{instance-qyk1favy.js → instance-ss2xgwm9.js} +12 -12
- package/dist/chunks/{instance-pmr4s4kc.js → instance-sx1n432n.js} +3 -3
- package/dist/chunks/{instance-x1nmkajp.js → instance-tfez4kz2.js} +19 -19
- package/dist/chunks/{instance-jyxd0f6g.js → instance-tnbe1hwx.js} +5 -5
- package/dist/chunks/{instance-75n724vr.js → instance-tqam00tf.js} +9 -9
- package/dist/chunks/{instance-avp7fgn7.js → instance-tr6fvba4.js} +20 -20
- package/dist/chunks/{instance-pwmnswtw.js → instance-ttmex7zx.js} +28 -28
- package/dist/chunks/{instance-9sh4wc5j.js → instance-v1faaxn9.js} +4 -4
- package/dist/chunks/{instance-qdff2m7r.js → instance-v3pyw3cg.js} +3 -3
- package/dist/chunks/{instance-0nkxq069.js → instance-v67ds0gr.js} +1 -1
- package/dist/chunks/{instance-b1amj7yk.js → instance-vbfh6vt9.js} +20 -20
- package/dist/chunks/{instance-wz4fa6kp.js → instance-vmdg2ds7.js} +8 -8
- package/dist/chunks/{instance-84k1ymm1.js → instance-vp7wkc5b.js} +8 -8
- package/dist/chunks/{instance-4t1j9mmy.js → instance-vvy8c0he.js} +25 -25
- package/dist/chunks/{instance-84txncab.js → instance-w1eejvng.js} +4 -4
- package/dist/chunks/{instance-e6hd9jay.js → instance-w4arg62q.js} +3 -3
- package/dist/chunks/{instance-gs0w5bg1.js → instance-w8154s1q.js} +19 -19
- package/dist/chunks/{instance-4vem5y40.js → instance-w8nmw4cy.js} +9 -9
- package/dist/chunks/{instance-f59y9nnf.js → instance-wa3zq9xw.js} +5 -5
- package/dist/chunks/{instance-7cp24dsy.js → instance-wcj1rfwg.js} +1 -1
- package/dist/chunks/{instance-jmgzrjgw.js → instance-wfpdf0nm.js} +26 -26
- package/dist/chunks/{instance-0p918wge.js → instance-wrxwb9s5.js} +1 -1
- package/dist/chunks/{instance-jtm7aj82.js → instance-x0vyq1q7.js} +5 -5
- package/dist/chunks/{instance-zrtxbmtt.js → instance-x2317vg0.js} +18 -18
- package/dist/chunks/{instance-nj9f7dx2.js → instance-x5ppe4c5.js} +16 -16
- package/dist/chunks/{instance-x6gx1ean.js → instance-x5x7kb8w.js} +14 -14
- package/dist/chunks/{instance-yewnzqa6.js → instance-x9yezds5.js} +10 -10
- package/dist/chunks/{instance-ymw89d6s.js → instance-xbqqvcw9.js} +7 -7
- package/dist/chunks/{instance-1cfe9jam.js → instance-xnt7e5y5.js} +23 -23
- package/dist/chunks/{instance-bvmp1n7t.js → instance-xqbbjy8w.js} +3 -3
- package/dist/chunks/{instance-pdagefdx.js → instance-xsy5mvmd.js} +8 -8
- package/dist/chunks/{instance-d8zex0s9.js → instance-y51vjfep.js} +9 -9
- package/dist/chunks/{instance-6smsejd7.js → instance-y6axtc0q.js} +36 -36
- package/dist/chunks/{instance-s2ppp6xp.js → instance-y6krcrd5.js} +26 -26
- package/dist/chunks/{instance-05df3gd0.js → instance-y9dygnn9.js} +40 -40
- package/dist/chunks/{instance-353t8r3n.js → instance-yc926say.js} +18 -18
- package/dist/chunks/{instance-6qgpws0q.js → instance-ypsvkfgg.js} +11 -11
- package/dist/chunks/{instance-xhvjccmc.js → instance-yq6kk78r.js} +1 -1
- package/dist/chunks/{instance-w3x9v1nk.js → instance-yvvvp4gn.js} +7 -7
- package/dist/chunks/{instance-0a1yp5ev.js → instance-ywxndyv1.js} +3 -3
- package/dist/chunks/{instance-kcejaam4.js → instance-yy6nvzd7.js} +8 -8
- package/dist/chunks/{instance-83ezmw0c.js → instance-zd0w0q97.js} +8 -8
- package/dist/chunks/{instance-dv182ry4.js → instance-zf3v0epf.js} +22 -22
- package/dist/chunks/{instance-n278zvkk.js → instance-zk5zd9qb.js} +36 -36
- package/dist/chunks/{instance-50ctkdtm.js → instance-zn9931nd.js} +40 -40
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +67 -67
- package/dist/config/discovery.js +60 -60
- package/dist/config/normalize.js +80 -80
- package/dist/config/plugin/agent.js +91 -91
- package/dist/config/plugin/command.js +168 -168
- package/dist/config/plugin/compaction.js +118 -118
- package/dist/config/plugin/compatibility.js +101 -101
- package/dist/config/plugin/formatter.js +92 -92
- package/dist/config/plugin/image.js +91 -91
- package/dist/config/plugin/instruction.js +65 -65
- package/dist/config/plugin/location-watcher.js +91 -91
- package/dist/config/plugin/mcp.js +99 -99
- package/dist/config/plugin/policy.js +91 -91
- package/dist/config/plugin/provider.js +91 -91
- package/dist/config/plugin/reference.js +93 -93
- package/dist/config/plugin/shell.js +93 -93
- package/dist/config/plugin/skill-file.js +71 -71
- package/dist/config/plugin/skill.js +104 -104
- package/dist/config/plugin/snapshot.js +91 -91
- package/dist/config/plugin/source.js +92 -92
- package/dist/config/plugin/tool-output.js +92 -92
- package/dist/config/plugin/websearch.js +92 -92
- package/dist/config/plugin/worktree.js +92 -92
- package/dist/config.js +97 -97
- package/dist/credential.js +60 -60
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +11 -11
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +12 -12
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +12 -12
- package/dist/database/migration.gen.js +38 -38
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +233 -233
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +67 -67
- package/dist/environment/index.js +69 -69
- package/dist/event-logger.js +14 -14
- package/dist/file-access.js +74 -74
- package/dist/file-mutation.js +68 -68
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +183 -183
- package/dist/filesystem/search.js +75 -75
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +74 -74
- package/dist/form.js +58 -58
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +67 -67
- package/dist/generate.js +77 -77
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +75 -75
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +307 -307
- package/dist/instruction-discovery.js +68 -68
- package/dist/instructions/builtins.js +64 -64
- package/dist/integration.js +63 -63
- package/dist/job.js +61 -61
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +48 -48
- package/dist/location-lifecycle.js +77 -77
- package/dist/location-service-map.js +64 -64
- package/dist/location-services.js +305 -305
- package/dist/location.js +59 -59
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +92 -92
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +64 -64
- package/dist/modal/models.js +75 -75
- package/dist/model-resolver.js +74 -74
- package/dist/model.js +78 -78
- package/dist/models-dev.js +83 -83
- package/dist/permission/saved.js +54 -54
- package/dist/permission.js +73 -73
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +72 -72
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/host.js +176 -176
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +281 -281
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +72 -72
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +72 -72
- package/dist/plugin/provider/amazon-bedrock.js +66 -66
- package/dist/plugin/provider/azure.js +92 -92
- package/dist/plugin/provider/chatgpt.js +68 -68
- package/dist/plugin/provider/cloudflare-ai-gateway.js +89 -89
- package/dist/plugin/provider/cloudflare-workers-ai.js +89 -89
- package/dist/plugin/provider/configured.js +88 -88
- package/dist/plugin/provider/digitalocean.js +68 -68
- package/dist/plugin/provider/github-copilot.js +70 -70
- package/dist/plugin/provider/gitlab.js +68 -68
- package/dist/plugin/provider/google-vertex.js +66 -66
- package/dist/plugin/provider/llmgateway.js +60 -60
- package/dist/plugin/provider/lmstudio.js +91 -91
- package/dist/plugin/provider/modal.js +68 -68
- package/dist/plugin/provider/ollama.js +91 -91
- package/dist/plugin/provider/openai.js +69 -69
- package/dist/plugin/provider/opencode.js +72 -72
- package/dist/plugin/provider/openrouter.js +67 -67
- package/dist/plugin/provider/poe.js +60 -60
- package/dist/plugin/provider/prompt-cache-key.js +66 -66
- package/dist/plugin/provider/sap-ai-core.js +66 -66
- package/dist/plugin/provider/snowflake-cortex.js +90 -90
- package/dist/plugin/provider/vercel.js +66 -66
- package/dist/plugin/provider/vllm.js +91 -91
- package/dist/plugin/provider/xai.js +67 -67
- package/dist/plugin/provider.js +124 -124
- package/dist/plugin/sdk.js +58 -58
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +102 -102
- package/dist/plugin/supervisor.js +294 -294
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +64 -64
- package/dist/plugin/vcs/hg.js +64 -64
- package/dist/plugin/verbosity.js +69 -69
- package/dist/plugin/warming.js +90 -90
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +187 -187
- package/dist/project.js +58 -58
- package/dist/provider.js +69 -69
- package/dist/pty.js +76 -76
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +69 -69
- package/dist/repository-cache.js +61 -61
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +68 -68
- package/dist/rpc.js +64 -64
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +98 -98
- package/dist/session/context.js +113 -113
- package/dist/session/diff.js +64 -64
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +111 -111
- package/dist/session/execution.js +95 -95
- package/dist/session/generate.js +114 -114
- package/dist/session/history.js +3 -3
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +58 -58
- package/dist/session/instructions.js +69 -69
- package/dist/session/model-request.js +84 -84
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +95 -95
- package/dist/session/projector.js +60 -60
- package/dist/session/prompt.js +74 -74
- package/dist/session/revert.js +65 -65
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +187 -187
- package/dist/session/runner/model.js +74 -74
- package/dist/session/runner/publish-llm-event.js +80 -80
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +89 -89
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +131 -131
- package/dist/session/shell.js +104 -104
- package/dist/session/skill.js +73 -73
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +56 -56
- package/dist/session/subagent-job.js +167 -167
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +112 -112
- package/dist/session/to-session-error.js +79 -79
- package/dist/session/transfer.js +108 -108
- package/dist/session.js +176 -176
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +107 -107
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +77 -77
- package/dist/skill.js +78 -78
- package/dist/snapshot.js +69 -69
- package/dist/tool/mcp.js +91 -91
- package/dist/tool/plugin/edit.js +85 -85
- package/dist/tool/plugin/glob.js +82 -82
- package/dist/tool/plugin/grep.js +88 -88
- package/dist/tool/plugin/mcp-resource.js +81 -81
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +83 -83
- package/dist/tool/plugin/question.js +75 -75
- package/dist/tool/plugin/read.js +85 -85
- package/dist/tool/plugin/shell.js +175 -175
- package/dist/tool/plugin/skill.js +81 -81
- package/dist/tool/plugin/subagent.js +176 -176
- package/dist/tool/plugin/webfetch.js +78 -78
- package/dist/tool/plugin/websearch.js +84 -84
- package/dist/tool/plugin/write.js +87 -87
- package/dist/tool/read-filesystem.js +72 -72
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +8 -8
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +12 -12
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +67 -67
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +69 -69
- package/dist/vcs.js +67 -67
- package/dist/websearch.js +67 -67
- package/dist/wellknown/plugin.js +59 -59
- package/dist/wellknown.js +58 -58
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace.js +62 -62
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/strategies.js +66 -66
- package/dist/worktree.js +74 -74
- package/package.json +8 -8
- package/dist/chunks/instance-8pvncxar.js +0 -26
- package/dist/chunks/instance-cy4tp985.js +0 -252
- /package/dist/chunks/{instance-kbj2dgab.js → instance-3tt1qkhr.js} +0 -0
- /package/dist/chunks/{instance-5cwcrz90.js → instance-ace43y2j.js} +0 -0
- /package/dist/chunks/{instance-mj905kd3.js → instance-hj214x35.js} +0 -0
- /package/dist/chunks/{instance-k3c624dm.js → instance-nzks3jc8.js} +0 -0
- /package/dist/chunks/{instance-15x51x54.js → instance-ymm454xd.js} +0 -0
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./instance-
|
|
11
|
+
} from "./instance-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
14
|
} from "./instance-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./instance-
|
|
16
|
+
Service50,
|
|
17
|
+
node53
|
|
18
|
+
} from "./instance-5rnnm2b5.js";
|
|
19
19
|
import {
|
|
20
20
|
Service72,
|
|
21
21
|
node76
|
|
@@ -35,10 +35,10 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service36,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node39
|
|
42
42
|
});
|
|
43
43
|
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service36 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
57
57
|
const hooks = yield* Service72;
|
|
58
|
-
const image = yield*
|
|
58
|
+
const image = yield* Service50;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service36.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node39 = makeLocationNode({
|
|
277
|
+
service: Service36,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node76,
|
|
279
|
+
deps: [node76, node53]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service36, node39, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./instance-
|
|
3
|
+
Service47
|
|
4
|
+
} from "./instance-9qkaq91a.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin24,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin24 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin15 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin24, exports_warming };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./instance-
|
|
3
|
+
Service83,
|
|
4
|
+
node87
|
|
5
|
+
} from "./instance-e6va3c82.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./instance-
|
|
7
|
+
Service64,
|
|
8
|
+
node67
|
|
9
|
+
} from "./instance-70t18mqs.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -23,7 +23,7 @@ __export(exports_wellknown, {
|
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
25
|
node: () => node52,
|
|
26
|
-
resolve: () =>
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -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 resolve2 = 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
|
});
|
|
@@ -77,8 +77,8 @@ var sourcesKey = "wellknown:sources";
|
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
78
|
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service64;
|
|
81
|
+
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var node52 = makeGlobalNode({ service: Service49, layer, deps: [httpClient,
|
|
146
|
+
var node52 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node67, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event10, inspect2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event10, inspect2, resolve2, node52, exports_wellknown };
|
|
@@ -3,41 +3,41 @@ import {
|
|
|
3
3
|
PositiveInt2
|
|
4
4
|
} from "./instance-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./instance-
|
|
8
|
-
import {
|
|
9
|
-
Info14
|
|
10
|
-
} from "./instance-gmmdfr2g.js";
|
|
6
|
+
Info12
|
|
7
|
+
} from "./instance-a8bn8zg0.js";
|
|
11
8
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./instance-
|
|
9
|
+
Info11
|
|
10
|
+
} from "./instance-h4ckqw4f.js";
|
|
14
11
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./instance-
|
|
12
|
+
Info15
|
|
13
|
+
} from "./instance-k8f3jam7.js";
|
|
17
14
|
import {
|
|
18
15
|
Info16
|
|
19
|
-
} from "./instance-
|
|
16
|
+
} from "./instance-1g7epwpd.js";
|
|
17
|
+
import {
|
|
18
|
+
Info14
|
|
19
|
+
} from "./instance-5yeq06a0.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
22
|
} from "./instance-21r38tys.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./instance-
|
|
24
|
+
Info9
|
|
25
|
+
} from "./instance-w4arg62q.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./instance-
|
|
27
|
+
Info8
|
|
28
|
+
} from "./instance-dssbfrwz.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./instance-
|
|
31
|
+
} from "./instance-0jwsre1p.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./instance-
|
|
33
|
+
Info13
|
|
34
|
+
} from "./instance-0r3c1bmw.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
37
|
} from "./instance-mazbtkaa.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./instance-
|
|
39
|
+
Info10
|
|
40
|
+
} from "./instance-sx1n432n.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
43
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -68,10 +68,10 @@ var Info7 = 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, Info16)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info10).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 Info7 = 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(Info11), plan: Schema.optional(Info11) }), [Schema.Record(Schema.String, Info11)])).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(Info11),
|
|
119
|
+
build: Schema.optional(Info11),
|
|
120
|
+
general: Schema.optional(Info11),
|
|
121
|
+
explore: Schema.optional(Info11),
|
|
122
|
+
title: Schema.optional(Info11),
|
|
123
|
+
summary: Schema.optional(Info11),
|
|
124
|
+
compaction: Schema.optional(Info11)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info11)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info13)).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([Info8, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
|
+
formatter: Schema.optional(Info14).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(Info9).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(Info12),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info15).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" }) })),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./instance-
|
|
4
|
+
} from "./instance-f18r49ca.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./instance-
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./instance-e6va3c82.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
11
|
} from "./instance-pknna89w.js";
|
|
@@ -25,9 +25,9 @@ __export(exports_credential, {
|
|
|
25
25
|
Info: () => Info30,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service78,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node82
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -48,11 +48,11 @@ class Info30 extends Schema.Class("Credential.Info")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service78 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service78.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -201,6 +201,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node82 = makeGlobalNode({ service: Service78, layer, deps: [node88, node87] });
|
|
205
205
|
|
|
206
|
-
export { ID15, OAuth3, Key4, Value2, Event19, Info30,
|
|
206
|
+
export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service78, node82, exports_credential };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./instance-
|
|
4
|
+
} from "./instance-f18r49ca.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33,
|
|
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/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = 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 Service30 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) => make22({
|
|
|
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(Service30, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service84;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service39, 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 Service30.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node33 = makeLocationNode({ service: Service30, layer, deps: [node88] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node33, exports_instruction_entry };
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin7 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin49 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin7, exports_opencode };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./instance-
|
|
2
|
+
Service79
|
|
3
|
+
} from "./instance-d27qdxv0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service69
|
|
6
|
-
} from "./instance-
|
|
6
|
+
} from "./instance-3dyj9tvq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
56
|
+
const forms = yield* Service79;
|
|
57
57
|
const permission = yield* Service69;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./instance-
|
|
3
|
+
} from "./instance-mp2r4t7p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./instance-
|
|
5
|
+
Service47
|
|
6
|
+
} from "./instance-9qkaq91a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./instance-
|
|
8
|
+
Service65
|
|
9
|
+
} from "./instance-9ch42aem.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./instance-
|
|
11
|
+
make11
|
|
12
|
+
} from "./instance-a1gpj94z.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./instance-qsdy395h.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin46
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin46 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service47;
|
|
36
|
+
const formatter = yield* Service65;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service80;
|
|
@@ -44,7 +44,7 @@ var Plugin24 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make11({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin46, exports_formatter };
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
Service80,
|
|
18
18
|
node84
|
|
19
|
-
} from "./instance-
|
|
19
|
+
} from "./instance-mp2r4t7p.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./instance-
|
|
21
|
+
Service51,
|
|
22
|
+
node54
|
|
23
|
+
} from "./instance-jjcptf9d.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./instance-9rqn6x4v.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service44,
|
|
33
|
+
node: () => node47
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service44,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node47,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service44 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service80;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service51;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service44.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node47 = makeLocationNode({
|
|
71
|
+
service: Service44,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node84,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node54]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service44, node47, exports_environment2, makeFiles2, exports_environment3 };
|