@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,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
+
Service77,
|
|
4
|
+
node82
|
|
5
|
+
} from "./vcs-e2b6ma0f.js";
|
|
6
|
+
import {
|
|
3
7
|
Service79,
|
|
4
8
|
node84
|
|
5
|
-
} from "./
|
|
6
|
-
import {
|
|
7
|
-
Service66,
|
|
8
|
-
node70
|
|
9
|
-
} from "./repository-0jvretd3.js";
|
|
9
|
+
} from "./vcs-sez905kk.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event18,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service68,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node72,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service68 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event18 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service79;
|
|
81
|
+
const bus = yield* Service77;
|
|
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) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event18.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service68.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event18.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event18.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [httpClient, node84, node82] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service68, Event18, inspect2, resolve2, node72, exports_wellknown };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission2 = {};
|
|
7
|
+
__export(exports_permission2, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission2,
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule3
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule3),
|
|
20
|
+
edit: Schema.optional(Rule3),
|
|
21
|
+
glob: Schema.optional(Rule3),
|
|
22
|
+
grep: Schema.optional(Rule3),
|
|
23
|
+
list: Schema.optional(Rule3),
|
|
24
|
+
bash: Schema.optional(Rule3),
|
|
25
|
+
task: Schema.optional(Rule3),
|
|
26
|
+
external_directory: Schema.optional(Rule3),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule3),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule3),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule3)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule3)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info23 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule3, Info23, exports_permission2 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
node81
|
|
19
|
-
} from "./repository-z399x6eb.js";
|
|
20
|
-
import {
|
|
21
|
-
Service75,
|
|
17
|
+
Service74,
|
|
22
18
|
node79
|
|
23
|
-
} from "./
|
|
19
|
+
} from "./vcs-z1ehnq90.js";
|
|
20
|
+
import {
|
|
21
|
+
Service73,
|
|
22
|
+
node77
|
|
23
|
+
} from "./vcs-ncde1vfm.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service72,
|
|
33
|
+
node: () => node76
|
|
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: () => Service72,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node76,
|
|
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 Service72 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
|
+
const workspace = yield* Service73;
|
|
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 Service72.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node76 = makeLocationNode({
|
|
71
|
+
service: Service72,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node79, node77]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service72, node76, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-6e42fpps.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./vcs-e2b6ma0f.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID12,
|
|
25
|
+
Info: () => Info26,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service69,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID12 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info26 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID12,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service69 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service80).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service77;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info26({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service69.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) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info26({
|
|
80
|
+
id: ID12.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node73 = makeGlobalNode({ service: Service69, layer, deps: [node85, node82] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID12, OAuth3, Key4, Value2, Event19, Info26, Service69, node73, exports_credential };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./vcs-t55ej7gz.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service62,
|
|
24
|
+
node: () => node66
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service62 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service72;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service62.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node76, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service62, node66, exports_ripgrep };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./vcs-e2b6ma0f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./vcs-z1ehnq90.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID3
|
|
11
|
+
} from "./vcs-qapv375x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service70,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node74
|
|
16
|
+
} from "./vcs-wj2xme94.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput3,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event5,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info4,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service15,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node19
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info4 = Pty.Info;
|
|
45
45
|
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID3
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID3
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service15 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service77;
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const shell = yield* Service70;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID3.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service15.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node19 = makeLocationNode({
|
|
274
|
+
service: Service15,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node82, node79, node74]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info4, CreateInput3, UpdateInput2, NotFoundError2, ExitedError2, Service15, node19, exports_pty, Event5 };
|