@opencode/core 0.0.0-dev-19392 → 0.0.0-dev-19395
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{repository-77e0zb3k.js → vcs-0j2ryfn1.js} +15 -15
- package/dist/chunks/{repository-m06pgbf8.js → vcs-0j7ejgpp.js} +31 -31
- package/dist/chunks/{repository-es5b1610.js → vcs-0nkq71gm.js} +8 -8
- package/dist/chunks/{repository-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{repository-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{repository-r2rry8w2.js → vcs-0q8bjg63.js} +17 -17
- package/dist/chunks/{repository-qfhza6js.js → vcs-0xawnack.js} +11 -11
- package/dist/chunks/{repository-1ck6d65j.js → vcs-0xjckwsk.js} +11 -11
- package/dist/chunks/{repository-aggqyzrf.js → vcs-0z1gmn2q.js} +6 -6
- package/dist/chunks/{repository-49hrpkdk.js → vcs-11tcp5y8.js} +4 -4
- package/dist/chunks/{repository-d8nc1xcx.js → vcs-18e56dsp.js} +4 -4
- package/dist/chunks/{repository-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{repository-1eyaby9q.js → vcs-1eyaby9q.js} +2 -2
- package/dist/chunks/{repository-k5f8wpb1.js → vcs-1tj8392q.js} +16 -16
- package/dist/chunks/{repository-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{repository-xarast0t.js → vcs-231222c6.js} +4 -4
- package/dist/chunks/{repository-v34has66.js → vcs-2314za0f.js} +17 -17
- package/dist/chunks/{repository-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
- package/dist/chunks/{repository-kq4ab4h1.js → vcs-293305v0.js} +1 -1
- package/dist/chunks/{repository-z63w68vq.js → vcs-29x78va6.js} +6 -6
- package/dist/chunks/{repository-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{repository-e6z046pm.js → vcs-2bdr22tc.js} +11 -11
- package/dist/chunks/{repository-r33ff4dw.js → vcs-2d57kztd.js} +5 -5
- package/dist/chunks/{repository-b17kd43r.js → vcs-2gfstk4p.js} +4 -4
- package/dist/chunks/{repository-cxv3b682.js → vcs-2hyh68ab.js} +8 -8
- package/dist/chunks/{repository-2venq07n.js → vcs-2jscqjee.js} +20 -20
- package/dist/chunks/{repository-qgn6gcr1.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{repository-s7hhpcvx.js → vcs-2mnagb0e.js} +5 -5
- package/dist/chunks/{repository-48974jce.js → vcs-2r3j351s.js} +21 -21
- package/dist/chunks/{repository-0n0mhreg.js → vcs-2skxfxks.js} +29 -29
- package/dist/chunks/{repository-nsgsffy1.js → vcs-2syw43ez.js} +7 -7
- package/dist/chunks/{repository-r3pdfb8a.js → vcs-322cebek.js} +27 -27
- package/dist/chunks/{repository-anrzzgjr.js → vcs-344p1nha.js} +17 -17
- package/dist/chunks/{repository-nrk5vjbf.js → vcs-38adaqc0.js} +5 -5
- package/dist/chunks/{repository-jxn3d5qw.js → vcs-39etbsth.js} +2 -2
- package/dist/chunks/{repository-04fcbydd.js → vcs-3ac5ktn8.js} +6 -6
- package/dist/chunks/{repository-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{repository-zeqg0xp7.js → vcs-3gja20hk.js} +25 -25
- package/dist/chunks/{repository-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-39r80e1r.js → vcs-3jp54z3r.js} +1 -1
- package/dist/chunks/{repository-d2t4pj3k.js → vcs-3pjbzg35.js} +24 -24
- package/dist/chunks/{repository-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{repository-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-kg0jjcwj.js → vcs-3v6f0sxy.js} +11 -11
- package/dist/chunks/{repository-3a6d4gwd.js → vcs-42af65r7.js} +9 -9
- package/dist/chunks/{repository-4hgtqqtz.js → vcs-42kdhqse.js} +3 -3
- package/dist/chunks/{repository-343vvr6y.js → vcs-42sz070e.js} +13 -13
- package/dist/chunks/{repository-b1h1c68h.js → vcs-49w8mb30.js} +11 -11
- package/dist/chunks/{repository-4t0960ha.js → vcs-4peq52f2.js} +10 -10
- package/dist/chunks/vcs-4qn8k3dd.js +22 -0
- package/dist/chunks/{repository-gpe6jd74.js → vcs-4x8h2e2v.js} +6 -6
- package/dist/chunks/{repository-56gdpj1q.js → vcs-56gdpj1q.js} +2 -2
- package/dist/chunks/{repository-p8jw0zjb.js → vcs-56y38jfj.js} +6 -6
- package/dist/chunks/{repository-gf1vyzcg.js → vcs-5bqf1j7p.js} +12 -12
- package/dist/chunks/{repository-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{repository-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{repository-1vtz46z8.js → vcs-5trk58xb.js} +8 -8
- package/dist/chunks/{repository-0wh211te.js → vcs-61hb1ky7.js} +13 -13
- package/dist/chunks/{repository-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{repository-6pmke597.js → vcs-67j1j2dm.js} +41 -41
- package/dist/chunks/{repository-6hhx0jg1.js → vcs-6a0dvt1c.js} +28 -28
- package/dist/chunks/{repository-bragb0zt.js → vcs-6e42fpps.js} +3 -3
- package/dist/chunks/{repository-2az9q9m5.js → vcs-6hxy2spn.js} +38 -38
- package/dist/chunks/{repository-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{repository-7ebdzj7v.js → vcs-6n9s5ar1.js} +29 -29
- package/dist/chunks/{repository-71q4at8m.js → vcs-71q4at8m.js} +1 -1
- package/dist/chunks/{repository-x0nxw1am.js → vcs-724n6vts.js} +3 -3
- package/dist/chunks/{repository-mvfsc1pv.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{repository-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-q9y68wbv.js → vcs-7dpj1ap7.js} +8 -8
- package/dist/chunks/{repository-gfwf98p3.js → vcs-7f3sjtrh.js} +1 -1
- package/dist/chunks/{repository-8x8j0yap.js → vcs-7j156qnj.js} +7 -7
- package/dist/chunks/{repository-45yvhxnf.js → vcs-7nhg9xj1.js} +6 -6
- package/dist/chunks/{repository-cwsfv75g.js → vcs-7rh6a6ws.js} +5 -5
- package/dist/chunks/{repository-es9es8em.js → vcs-7tnykybm.js} +71 -71
- package/dist/chunks/{repository-y6f0p4jw.js → vcs-7wdjtyr9.js} +3 -3
- package/dist/chunks/{repository-jefma2gq.js → vcs-7whssrnc.js} +10 -10
- package/dist/chunks/{repository-mq52b90g.js → vcs-8025tcnx.js} +8 -8
- package/dist/chunks/{repository-fdv30zvt.js → vcs-806j49yq.js} +7 -7
- package/dist/chunks/{repository-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{repository-5a7jwez6.js → vcs-8e9n6h7v.js} +33 -33
- package/dist/chunks/{repository-8p4f9s12.js → vcs-8p4f9s12.js} +2 -2
- package/dist/chunks/{repository-yw2dvzw4.js → vcs-97yt6tz7.js} +9 -9
- package/dist/chunks/{repository-e2q75spx.js → vcs-9bmf6k32.js} +16 -16
- package/dist/chunks/{repository-ydwbxywx.js → vcs-9c53s05g.js} +15 -15
- package/dist/chunks/{repository-m3rgfk03.js → vcs-9cmt1x0q.js} +9 -9
- package/dist/chunks/{repository-ka539jxw.js → vcs-9d5kbc3f.js} +13 -13
- package/dist/chunks/{repository-aeh5fpw2.js → vcs-9f01nfyh.js} +35 -35
- package/dist/chunks/{repository-wt0zt129.js → vcs-9n8fbr8d.js} +25 -25
- package/dist/chunks/{repository-g5yyevqf.js → vcs-9qewa294.js} +4 -4
- package/dist/chunks/{repository-y5qdajv2.js → vcs-9vp0n2tv.js} +7 -7
- package/dist/chunks/{repository-cqmjdmfy.js → vcs-9y8v17r0.js} +27 -27
- package/dist/chunks/{repository-a1bz86dw.js → vcs-a1bz86dw.js} +3 -3
- package/dist/chunks/{repository-7g7rfx25.js → vcs-a2wdfrx5.js} +12 -12
- package/dist/chunks/{repository-6vjnk7fh.js → vcs-a81jtvwz.js} +9 -9
- package/dist/chunks/{repository-htdwccg2.js → vcs-a8pwa1qy.js} +6 -6
- package/dist/chunks/{repository-xz57177z.js → vcs-a8w3hdn7.js} +46 -46
- package/dist/chunks/{repository-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{repository-ab1rm27r.js → vcs-ae723g5c.js} +9 -9
- package/dist/chunks/{repository-asn1qnte.js → vcs-asn1qnte.js} +1 -1
- package/dist/chunks/{repository-6yt6jtkp.js → vcs-az46815d.js} +13 -13
- package/dist/chunks/{repository-mpshf1ye.js → vcs-b5x0fzgx.js} +5 -5
- package/dist/chunks/{repository-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{repository-p5t1en88.js → vcs-b72zs1k5.js} +15 -15
- package/dist/chunks/{repository-4vbarqrf.js → vcs-b7v6em5m.js} +19 -19
- package/dist/chunks/{repository-bpf5xa8r.js → vcs-bm0fk12v.js} +6 -6
- package/dist/chunks/{repository-gxcjkrww.js → vcs-bp3y7pxe.js} +285 -285
- package/dist/chunks/{repository-5b0ze84y.js → vcs-br0bxb5z.js} +3 -3
- package/dist/chunks/{repository-bv56xrks.js → vcs-bv56xrks.js} +2 -2
- package/dist/chunks/{repository-8vtetfvn.js → vcs-c0cn7p0d.js} +22 -22
- package/dist/chunks/{repository-kedqt550.js → vcs-c5db1mkp.js} +24 -24
- package/dist/chunks/{repository-q0efknh2.js → vcs-c90y15gp.js} +25 -25
- package/dist/chunks/{repository-s644107t.js → vcs-cb6xbnd9.js} +2 -2
- package/dist/chunks/{repository-pe4p92xe.js → vcs-ccts7nrv.js} +15 -15
- package/dist/chunks/{repository-cfpkc3c9.js → vcs-cfpkc3c9.js} +2 -2
- package/dist/chunks/{repository-eeaf82dq.js → vcs-cny5rd43.js} +8 -8
- package/dist/chunks/{repository-mfhfdr54.js → vcs-csf2jhsg.js} +4 -4
- package/dist/chunks/{repository-jx8g4evx.js → vcs-cwxby6pr.js} +9 -9
- package/dist/chunks/{repository-cr07tj7n.js → vcs-d2aac7k2.js} +5 -5
- package/dist/chunks/{repository-ar3kqjsa.js → vcs-dbnmvbfz.js} +20 -20
- package/dist/chunks/{repository-nhdt7g4d.js → vcs-dkxyp88y.js} +12 -12
- package/dist/chunks/{repository-nkdjhhay.js → vcs-dn8d2kn3.js} +31 -31
- package/dist/chunks/{repository-c08088rs.js → vcs-dvfmgnty.js} +67 -67
- package/dist/chunks/{repository-0chgf8x9.js → vcs-dvha2n0q.js} +46 -46
- package/dist/chunks/{repository-dxj72tfx.js → vcs-dxj72tfx.js} +1 -1
- package/dist/chunks/{repository-6kgdg5m2.js → vcs-dyan1gdj.js} +14 -14
- package/dist/chunks/{repository-xqpzppg3.js → vcs-e2b6ma0f.js} +12 -12
- package/dist/chunks/{repository-fa6dyqja.js → vcs-e8ge1rnk.js} +1 -1
- package/dist/chunks/{repository-kj13mq9d.js → vcs-ejan8dcj.js} +34 -34
- package/dist/chunks/{repository-3g5b63xy.js → vcs-ejnvpq0e.js} +23 -23
- package/dist/chunks/{repository-w6kysxt2.js → vcs-ekf56pyh.js} +6 -6
- package/dist/chunks/{repository-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{repository-depcwyj9.js → vcs-f2mnfn4e.js} +24 -24
- package/dist/chunks/{repository-cw5vx56j.js → vcs-f6t691bq.js} +36 -36
- package/dist/chunks/{repository-f828m53h.js → vcs-f828m53h.js} +2 -2
- package/dist/chunks/{repository-jz8tty61.js → vcs-fb8ft78w.js} +15 -15
- package/dist/chunks/vcs-fjywsyk5.js +247 -0
- package/dist/chunks/{repository-d1yx4qwh.js → vcs-fktegx2y.js} +7 -7
- package/dist/chunks/{repository-3cfzdc8e.js → vcs-fpmq6gma.js} +5 -5
- package/dist/chunks/{repository-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{repository-3r9tyhmb.js → vcs-fz7dfd1z.js} +18 -18
- package/dist/chunks/{repository-y8vfbp1t.js → vcs-g4fhj9j9.js} +3 -3
- package/dist/chunks/{repository-54q2yb5y.js → vcs-g4q3msrz.js} +44 -44
- package/dist/chunks/{repository-wxyreeq2.js → vcs-g5zf0djh.js} +1 -1
- package/dist/chunks/{repository-4jktxnha.js → vcs-g89yqc5t.js} +11 -11
- package/dist/chunks/{repository-xevndded.js → vcs-gc97qf6g.js} +18 -18
- package/dist/chunks/{repository-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{repository-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
- package/dist/chunks/{repository-9s7jgwbd.js → vcs-h5bkeg2y.js} +13 -13
- package/dist/chunks/{repository-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-yjptyezs.js → vcs-hcz3zddy.js} +5 -5
- package/dist/chunks/{repository-93v0v8g0.js → vcs-hf061nqs.js} +32 -32
- package/dist/chunks/{repository-zewav7xs.js → vcs-hfjfxhhs.js} +18 -18
- package/dist/chunks/{repository-hjt4xg1x.js → vcs-hjt4xg1x.js} +1 -1
- package/dist/chunks/{repository-kf2529h4.js → vcs-hpsfqm6t.js} +35 -35
- package/dist/chunks/{repository-ns2b79zq.js → vcs-hsndfndq.js} +24 -24
- package/dist/chunks/{repository-dk4nfg5s.js → vcs-hx1qbxx1.js} +10 -10
- package/dist/chunks/{repository-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{repository-kbep69gp.js → vcs-j61fmw0q.js} +32 -32
- package/dist/chunks/{repository-paphc93g.js → vcs-j935v87r.js} +2 -2
- package/dist/chunks/{repository-y0s3dbwc.js → vcs-javtnfvt.js} +4 -4
- package/dist/chunks/{repository-p5vq1h1x.js → vcs-jc4dg6w1.js} +22 -22
- package/dist/chunks/{repository-fy497h6e.js → vcs-jfpzywp2.js} +8 -8
- package/dist/chunks/{repository-bfhmxbp5.js → vcs-jm4wzrpc.js} +18 -18
- package/dist/chunks/{repository-d3j72vaa.js → vcs-jn9204f0.js} +7 -7
- package/dist/chunks/{repository-y71avatq.js → vcs-jwcy2c2z.js} +4 -4
- package/dist/chunks/{repository-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{repository-wg3j617h.js → vcs-kmzfa87h.js} +15 -15
- package/dist/chunks/{repository-h72eb9sx.js → vcs-ktpjzrp6.js} +32 -32
- package/dist/chunks/{repository-37wraq67.js → vcs-m32k5ewn.js} +9 -9
- package/dist/chunks/{repository-tz4n1mmd.js → vcs-m70sbz6t.js} +4 -4
- package/dist/chunks/{repository-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-mkcjrzeh.js → vcs-mkcjrzeh.js} +1 -1
- package/dist/chunks/{repository-5sh276j6.js → vcs-mmpwdc4q.js} +11 -11
- package/dist/chunks/{repository-bx51kgqc.js → vcs-n0z3pqra.js} +17 -17
- package/dist/chunks/{repository-ppr425jm.js → vcs-n223nzpv.js} +16 -16
- package/dist/chunks/{repository-ddbrkqgx.js → vcs-na7956ft.js} +20 -20
- package/dist/chunks/{repository-v7rvz788.js → vcs-ncde1vfm.js} +24 -24
- package/dist/chunks/{repository-s7zz1j9y.js → vcs-nd6113q8.js} +30 -30
- package/dist/chunks/{repository-0v13smbh.js → vcs-ny7d19mm.js} +11 -11
- package/dist/chunks/{repository-c5ws0z31.js → vcs-p0xz0qw3.js} +62 -62
- package/dist/chunks/{repository-hzy2m5kh.js → vcs-p2b45462.js} +18 -18
- package/dist/chunks/{repository-3vaccfnm.js → vcs-p7x6y357.js} +32 -32
- package/dist/chunks/{repository-2a4f6v5q.js → vcs-p84dsdfh.js} +6 -6
- package/dist/chunks/{repository-11kz9drc.js → vcs-p85zvgpp.js} +22 -22
- package/dist/chunks/{repository-ppzcs5qe.js → vcs-pbrn5f3v.js} +17 -17
- package/dist/chunks/{repository-919rdka5.js → vcs-pgvfezyn.js} +20 -20
- package/dist/chunks/{repository-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{repository-1h8056qn.js → vcs-q0a87n6s.js} +156 -156
- package/dist/chunks/{repository-7y5q31fh.js → vcs-q1668d7a.js} +59 -59
- package/dist/chunks/{repository-e0g3hjre.js → vcs-q2027nw7.js} +1 -1
- package/dist/chunks/{repository-85jhkfmq.js → vcs-q9j8w608.js} +4 -4
- package/dist/chunks/{repository-24tr1rny.js → vcs-qae1j65a.js} +41 -41
- package/dist/chunks/vcs-qapv375x.js +4 -0
- package/dist/chunks/{repository-nr8cezy4.js → vcs-qaqx0ctg.js} +5 -5
- package/dist/chunks/{repository-a29n1zs3.js → vcs-qjnn74v4.js} +9 -9
- package/dist/chunks/{repository-sx1n432n.js → vcs-qq11w61w.js} +4 -4
- package/dist/chunks/{repository-vyqn3nqs.js → vcs-qq8x5mwt.js} +6 -6
- package/dist/chunks/{repository-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-epg4pcgt.js → vcs-r345bmqf.js} +11 -11
- package/dist/chunks/{repository-wpm2rk0p.js → vcs-r7nsrefv.js} +6 -6
- package/dist/chunks/{repository-j7as52rv.js → vcs-r8jh6khz.js} +10 -10
- package/dist/chunks/{repository-81swgkk7.js → vcs-rsym84ch.js} +7 -7
- package/dist/chunks/{repository-98k43r7d.js → vcs-ryrzn0hq.js} +15 -15
- package/dist/chunks/{repository-zx243jn3.js → vcs-s1tsa559.js} +24 -24
- package/dist/chunks/{repository-yrznvahk.js → vcs-s4enseaf.js} +2 -2
- package/dist/chunks/{repository-8j0ymjpm.js → vcs-s9t88532.js} +23 -23
- package/dist/chunks/{repository-02e0y54q.js → vcs-saj784mb.js} +17 -17
- package/dist/chunks/{repository-0jvretd3.js → vcs-sez905kk.js} +10 -10
- package/dist/chunks/{repository-wny5a0c2.js → vcs-sn3frxay.js} +22 -22
- package/dist/chunks/{repository-bajakh74.js → vcs-szgy4byf.js} +4 -4
- package/dist/chunks/{repository-t0x5rdq8.js → vcs-t0x5rdq8.js} +2 -2
- package/dist/chunks/{repository-0h1dgn2a.js → vcs-t1mpdz97.js} +20 -20
- package/dist/chunks/{repository-magykp64.js → vcs-t51qk8jz.js} +21 -21
- package/dist/chunks/{repository-t550f9t1.js → vcs-t550f9t1.js} +1 -1
- package/dist/chunks/{repository-w68crq9a.js → vcs-t55ej7gz.js} +24 -24
- package/dist/chunks/{repository-1mr1b0wr.js → vcs-t5kxb07c.js} +31 -31
- package/dist/chunks/{repository-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{repository-s3fhdh3x.js → vcs-tcwy5cxa.js} +18 -18
- package/dist/chunks/{repository-9tvhpt1h.js → vcs-td6dvqbq.js} +35 -35
- package/dist/chunks/{repository-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{repository-17y9e0xf.js → vcs-tnw3z0r3.js} +9 -9
- package/dist/chunks/{repository-jfkc9b5n.js → vcs-tregh9zc.js} +2 -2
- package/dist/chunks/{repository-4jfex6ks.js → vcs-tsrg9y4k.js} +11 -11
- package/dist/chunks/{repository-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{repository-g2ttgsev.js → vcs-v8fmfjc0.js} +39 -39
- package/dist/chunks/{repository-cjdhxnc7.js → vcs-vd7hjsen.js} +28 -28
- package/dist/chunks/{repository-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-57vc1f1w.js → vcs-vxqb7ghs.js} +26 -26
- package/dist/chunks/{repository-0pcjts55.js → vcs-vxwhkv8n.js} +44 -44
- package/dist/chunks/{repository-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{repository-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{repository-fmnw6ddm.js → vcs-whd1ca54.js} +34 -34
- package/dist/chunks/{repository-w48xm36n.js → vcs-whkfspvt.js} +7 -7
- package/dist/chunks/{repository-rm2yqhr0.js → vcs-wj2xme94.js} +11 -11
- package/dist/chunks/{repository-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{repository-x43y2vfs.js → vcs-x43y2vfs.js} +2 -2
- package/dist/chunks/{repository-esj243wz.js → vcs-x5qh4ear.js} +9 -9
- package/dist/chunks/{repository-4v5k2jq1.js → vcs-xbxfp9fr.js} +23 -23
- package/dist/chunks/{repository-k7z88jgs.js → vcs-xdmmnt8a.js} +19 -19
- package/dist/chunks/{repository-crptryd9.js → vcs-xekzrwwc.js} +9 -9
- package/dist/chunks/{repository-4mtecjc1.js → vcs-xenp1w2e.js} +27 -27
- package/dist/chunks/{repository-e275mf5g.js → vcs-xf2jv3bw.js} +4 -4
- package/dist/chunks/{repository-gr925e17.js → vcs-xgjyy6vg.js} +5 -5
- package/dist/chunks/{repository-tjq77wbb.js → vcs-xnqpewkq.js} +19 -19
- package/dist/chunks/{repository-hc5nrc85.js → vcs-xpapdg7w.js} +14 -14
- package/dist/chunks/{repository-hkwasy14.js → vcs-xvaxs8h7.js} +30 -30
- package/dist/chunks/{repository-9hm1nb7k.js → vcs-xwd9pbjm.js} +17 -17
- package/dist/chunks/{repository-kr4ape1v.js → vcs-xwztew67.js} +16 -16
- package/dist/chunks/{repository-tq3hxdpy.js → vcs-y11s4dzy.js} +50 -50
- package/dist/chunks/{repository-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-xcq99e6n.js → vcs-y2wxp8w3.js} +11 -11
- package/dist/chunks/{repository-4hnbmwf5.js → vcs-y4dgkp79.js} +4 -4
- package/dist/chunks/{repository-fz21q8me.js → vcs-y7qr3th8.js} +4 -4
- package/dist/chunks/{repository-vd9p42jh.js → vcs-y8r358t9.js} +34 -34
- package/dist/chunks/{repository-yp2x3t23.js → vcs-yp2x3t23.js} +1 -1
- package/dist/chunks/{repository-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{repository-5dczmsbe.js → vcs-yvevv6gs.js} +8 -8
- package/dist/chunks/{repository-q5sgvk0q.js → vcs-yvgq7aaq.js} +11 -11
- package/dist/chunks/{repository-mbchyd0s.js → vcs-ywhnyrnh.js} +5 -5
- package/dist/chunks/{repository-majq4y6w.js → vcs-yx42xrh5.js} +13 -13
- package/dist/chunks/{repository-b67qqecp.js → vcs-yxmjadg6.js} +14 -14
- package/dist/chunks/{repository-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-z399x6eb.js → vcs-z1ehnq90.js} +16 -16
- package/dist/chunks/{repository-b47t4zxj.js → vcs-z1pfg6df.js} +1 -1
- package/dist/chunks/{repository-ygm68jz5.js → vcs-za6src2z.js} +16 -16
- package/dist/chunks/{repository-gbtq0qkg.js → vcs-zad871sr.js} +1 -1
- package/dist/chunks/{repository-j4jvep9r.js → vcs-zbj8enqw.js} +12 -12
- package/dist/chunks/{repository-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{repository-cv1c066y.js → vcs-zemh05ww.js} +43 -43
- package/dist/chunks/{repository-pxv8awr7.js → vcs-zgdqzk0q.js} +30 -30
- package/dist/chunks/{repository-vz71brqr.js → vcs-zhxtcv69.js} +6 -6
- package/dist/chunks/{repository-fyjrpq2n.js → vcs-zqjyx7nf.js} +5 -5
- package/dist/chunks/{repository-fpvgn4t1.js → vcs-zr0gh2ck.js} +11 -11
- package/dist/chunks/{repository-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-ha2ymhej.js → vcs-zw18ytwa.js} +14 -14
- package/dist/chunks/{repository-5qp0xphp.js → vcs-zwtw7q3h.js} +20 -20
- package/dist/chunks/{repository-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +356 -356
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- 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 +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +349 -349
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +95 -95
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +84 -84
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +110 -110
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +143 -143
- 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 +216 -216
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +122 -122
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/repository-4yk32cn1.js +0 -22
- package/dist/chunks/repository-p9zbhqep.js +0 -247
- package/dist/chunks/repository-qtvmxc8s.js +0 -4
- /package/dist/chunks/{repository-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{repository-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{repository-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{repository-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{repository-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{repository-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{repository-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{repository-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{repository-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service76
|
|
9
|
-
} from "./repository-z399x6eb.js";
|
|
6
|
+
} from "./vcs-922hggd3.js";
|
|
10
7
|
import {
|
|
11
8
|
Service74
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./vcs-z1ehnq90.js";
|
|
10
|
+
import {
|
|
11
|
+
Service72
|
|
12
|
+
} from "./vcs-t55ej7gz.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service62
|
|
15
|
+
} from "./vcs-tcwy5cxa.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-3gja20hk.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service51
|
|
24
|
+
} from "./vcs-p0xz0qw3.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service50
|
|
27
|
+
} from "./vcs-fz7dfd1z.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input6,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin23,
|
|
39
|
+
name: () => name6,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name6 = "glob";
|
|
46
|
+
var Input6 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input10 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin23 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service72;
|
|
70
|
+
const ripgrep = yield* Service62;
|
|
71
|
+
const location = yield* Service74;
|
|
72
|
+
const access = yield* Service50;
|
|
73
|
+
const permission = yield* Service51;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name6,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input6,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name6,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin11 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name6, Input6, Output5, toModelContent4, Plugin23, exports_glob };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service77,
|
|
4
|
+
node82
|
|
5
|
+
} from "./vcs-e2b6ma0f.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make19,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-t550f9t1.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event8,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
29
|
Options: () => Options5,
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
30
|
+
Service: () => Service44,
|
|
31
|
+
configured: () => configured6,
|
|
32
|
+
layer: () => layer20,
|
|
33
|
+
node: () => node48
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,7 +42,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event8 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
48
|
var Options5 = Schema.Struct({
|
|
@@ -50,10 +50,10 @@ var Options5 = Schema.Struct({
|
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service44 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer20 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service77;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,7 +72,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make19({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service44.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer15 = (options) => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured6(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service44,
|
|
110
|
+
layer: layer20(options),
|
|
111
|
+
deps: [node82]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node48 = configured6();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event8, Options5, Service44, layer20, configured6, node48, exports_instruction_discovery };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-xpapdg7w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./vcs-dvha2n0q.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-jn9204f0.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make9(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service66;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID13.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make9();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make9, LMStudioPlugin2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./vcs-e2b6ma0f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node71
|
|
7
|
+
} from "./vcs-c5db1mkp.js";
|
|
8
8
|
import {
|
|
9
9
|
Service3,
|
|
10
10
|
node6
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-ryrzn0hq.js";
|
|
12
12
|
import {
|
|
13
13
|
Service31
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-dxj72tfx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
node16,
|
|
17
17
|
ID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-0j2ryfn1.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service9,
|
|
21
|
+
node12
|
|
22
|
+
} from "./vcs-2hyh68ab.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
list2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-bp3y7pxe.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
make6,
|
|
29
29
|
LoadError2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-yvevv6gs.js";
|
|
31
31
|
import {
|
|
32
32
|
Updated2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service4,
|
|
34
|
+
node7
|
|
35
|
+
} from "./vcs-h5bkeg2y.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
37
|
+
Service10,
|
|
38
|
+
node13
|
|
39
|
+
} from "./vcs-x5qh4ear.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./vcs-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/supervisor.ts
|
|
45
45
|
var exports_supervisor = {};
|
|
@@ -126,12 +126,12 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
126
126
|
});
|
|
127
127
|
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
128
128
|
const registry = yield* Service31;
|
|
129
|
-
const sdk = yield*
|
|
130
|
-
const instance = yield*
|
|
129
|
+
const sdk = yield* Service4;
|
|
130
|
+
const instance = yield* Service9;
|
|
131
131
|
const sources = yield* Service3;
|
|
132
|
-
const modules = yield*
|
|
133
|
-
const bus = yield*
|
|
134
|
-
const updates = yield*
|
|
132
|
+
const modules = yield* make6();
|
|
133
|
+
const bus = yield* Service77;
|
|
134
|
+
const updates = yield* Service10;
|
|
135
135
|
const internal = yield* list2();
|
|
136
136
|
let release = yield* registry.hold();
|
|
137
137
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -206,14 +206,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
206
206
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
207
207
|
}));
|
|
208
208
|
var nodeDeps = [
|
|
209
|
-
|
|
209
|
+
node16,
|
|
210
|
+
node7,
|
|
210
211
|
node12,
|
|
211
|
-
node13,
|
|
212
212
|
node6,
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
node13,
|
|
214
|
+
node82,
|
|
215
215
|
Npm.node,
|
|
216
|
-
|
|
216
|
+
node71,
|
|
217
217
|
requirements2
|
|
218
218
|
];
|
|
219
219
|
function pluginSource(target) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load3() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./vcs-t55ej7gz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service72;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./vcs-e2b6ma0f.js";
|
|
5
5
|
import {
|
|
6
6
|
Service32,
|
|
7
7
|
node36
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-zemh05ww.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service51,
|
|
11
|
+
node55
|
|
12
|
+
} from "./vcs-p0xz0qw3.js";
|
|
13
13
|
import {
|
|
14
14
|
Service41,
|
|
15
15
|
node44
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-p2b45462.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
|
+
layer: () => layer14,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node33
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service28 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
40
|
+
var layer14 = Layer.effect(Service28, Effect.gen(function* () {
|
|
41
41
|
const mcp = yield* Service32;
|
|
42
42
|
const tools = yield* Service41;
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
43
|
+
const bus = yield* Service77;
|
|
44
|
+
const permission = yield* Service51;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [node44, node36,
|
|
117
|
+
var node33 = makeLocationNode({
|
|
118
|
+
service: Service28,
|
|
119
|
+
layer: layer14,
|
|
120
|
+
deps: [node44, node36, node82, node55]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name14,
|
|
123
|
+
export { namespace2, name14, Service28, layer14, node33, exports_mcp3 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID14,
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request3,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID14 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
return result;
|
|
138
138
|
}, new Map).values());
|
|
139
139
|
}
|
|
140
|
-
var
|
|
140
|
+
var Request3 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info28 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request3, Settings2, Info28, exports_provider3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-jfpzywp2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info27,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-xpapdg7w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
ModalModels: () =>
|
|
20
|
-
get: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
ModalModels: () => exports_models,
|
|
20
|
+
get: () => get2
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID14.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
|
|
|
53
53
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
54
54
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
55
55
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
56
|
-
async function
|
|
56
|
+
async function get2(baseURL, apiKey, existing) {
|
|
57
57
|
const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
|
|
58
58
|
headers: {
|
|
59
59
|
Authorization: `Bearer ${apiKey}`
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID13.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID13.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info27.make({
|
|
92
|
+
...Info27.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID13.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -138,4 +138,4 @@ function variants(remote) {
|
|
|
138
138
|
return [...seen.values()];
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
export {
|
|
141
|
+
export { get2, exports_models };
|