@opencode/core 0.0.0-dev-19393 → 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 +77 -77
- 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/{file-mutation-s36eea25.js → vcs-0j2ryfn1.js} +18 -18
- package/dist/chunks/{file-mutation-y14xz5fd.js → vcs-0j7ejgpp.js} +31 -31
- package/dist/chunks/{file-mutation-tmr9h4zs.js → vcs-0nkq71gm.js} +10 -10
- package/dist/chunks/{file-mutation-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-km7shbm8.js → vcs-0q8bjg63.js} +17 -17
- package/dist/chunks/{file-mutation-dafzyq9v.js → vcs-0xawnack.js} +9 -9
- package/dist/chunks/{file-mutation-w1rhahvp.js → vcs-0xjckwsk.js} +13 -13
- package/dist/chunks/{file-mutation-ha607pgt.js → vcs-0z1gmn2q.js} +6 -6
- package/dist/chunks/{file-mutation-qpxqmgt2.js → vcs-11tcp5y8.js} +4 -4
- package/dist/chunks/{file-mutation-ec8389mk.js → vcs-18e56dsp.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-1eyaby9q.js → vcs-1eyaby9q.js} +2 -2
- package/dist/chunks/{file-mutation-tcaez8z7.js → vcs-1tj8392q.js} +16 -16
- package/dist/chunks/{file-mutation-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-g8stra9y.js → vcs-231222c6.js} +4 -4
- package/dist/chunks/{file-mutation-gfz0jyfh.js → vcs-2314za0f.js} +17 -17
- package/dist/chunks/{file-mutation-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
- package/dist/chunks/{file-mutation-kekx75qk.js → vcs-293305v0.js} +1 -1
- package/dist/chunks/{file-mutation-29x78va6.js → vcs-29x78va6.js} +2 -2
- package/dist/chunks/{file-mutation-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-as9sp7sj.js → vcs-2bdr22tc.js} +8 -8
- package/dist/chunks/{file-mutation-ss0awb04.js → vcs-2d57kztd.js} +6 -6
- package/dist/chunks/{file-mutation-yhd29gma.js → vcs-2gfstk4p.js} +4 -4
- package/dist/chunks/{file-mutation-7b15y959.js → vcs-2hyh68ab.js} +8 -8
- package/dist/chunks/{file-mutation-f5hjq1vh.js → vcs-2jscqjee.js} +12 -12
- package/dist/chunks/{file-mutation-7dqw4kz8.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{file-mutation-6jex2xta.js → vcs-2mnagb0e.js} +5 -5
- package/dist/chunks/{file-mutation-80wms6w9.js → vcs-2r3j351s.js} +36 -36
- package/dist/chunks/{file-mutation-m0c4px45.js → vcs-2skxfxks.js} +29 -29
- package/dist/chunks/{file-mutation-3zbb0e4x.js → vcs-2syw43ez.js} +9 -9
- package/dist/chunks/{file-mutation-9shade1g.js → vcs-322cebek.js} +27 -27
- package/dist/chunks/{file-mutation-nvgad3v2.js → vcs-344p1nha.js} +15 -15
- package/dist/chunks/{file-mutation-rkdvqggb.js → vcs-38adaqc0.js} +5 -5
- package/dist/chunks/{file-mutation-f79e7acg.js → vcs-39etbsth.js} +2 -2
- package/dist/chunks/{file-mutation-4jd5h8hr.js → vcs-3ac5ktn8.js} +6 -6
- package/dist/chunks/{file-mutation-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-jvybmm27.js → vcs-3gja20hk.js} +25 -25
- package/dist/chunks/{file-mutation-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-gx1zhcta.js → vcs-3jp54z3r.js} +1 -1
- package/dist/chunks/{file-mutation-gb9kwzg5.js → vcs-3pjbzg35.js} +19 -19
- package/dist/chunks/{file-mutation-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-gb6mvkxt.js → vcs-3v6f0sxy.js} +11 -11
- package/dist/chunks/{file-mutation-b45nt1f1.js → vcs-42af65r7.js} +11 -11
- package/dist/chunks/{file-mutation-m42b0bke.js → vcs-42kdhqse.js} +3 -3
- package/dist/chunks/{file-mutation-vvcwpm63.js → vcs-42sz070e.js} +13 -13
- package/dist/chunks/{file-mutation-49w8mb30.js → vcs-49w8mb30.js} +3 -3
- package/dist/chunks/{file-mutation-7ncadwe6.js → vcs-4peq52f2.js} +10 -10
- package/dist/chunks/vcs-4qn8k3dd.js +22 -0
- package/dist/chunks/{file-mutation-42b6pzh7.js → vcs-4x8h2e2v.js} +8 -8
- package/dist/chunks/{file-mutation-56gdpj1q.js → vcs-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-mutation-56xqqp2b.js → vcs-56y38jfj.js} +6 -6
- package/dist/chunks/{file-mutation-nx72h4d9.js → vcs-5bqf1j7p.js} +12 -12
- package/dist/chunks/{file-mutation-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-08z5qwsn.js → vcs-5trk58xb.js} +8 -8
- package/dist/chunks/{file-mutation-q5th50z6.js → vcs-61hb1ky7.js} +10 -10
- package/dist/chunks/{file-mutation-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-edca6z4t.js → vcs-67j1j2dm.js} +39 -39
- package/dist/chunks/{file-mutation-et23rmd2.js → vcs-6a0dvt1c.js} +28 -28
- package/dist/chunks/{file-mutation-dpje9hvt.js → vcs-6e42fpps.js} +3 -3
- package/dist/chunks/{file-mutation-j0n617hx.js → vcs-6hxy2spn.js} +44 -44
- package/dist/chunks/{file-mutation-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-en8fd2fz.js → vcs-6n9s5ar1.js} +29 -29
- package/dist/chunks/{file-mutation-71q4at8m.js → vcs-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-12rfhcvn.js → vcs-724n6vts.js} +3 -3
- package/dist/chunks/{file-mutation-r5x6zcsm.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-mutation-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-y7kh6pdy.js → vcs-7dpj1ap7.js} +8 -8
- package/dist/chunks/{file-mutation-7s02b6me.js → vcs-7f3sjtrh.js} +1 -1
- package/dist/chunks/{file-mutation-066m6yk3.js → vcs-7j156qnj.js} +7 -7
- package/dist/chunks/{file-mutation-psxzv6yb.js → vcs-7nhg9xj1.js} +8 -8
- package/dist/chunks/{file-mutation-74bmvg0d.js → vcs-7rh6a6ws.js} +5 -5
- package/dist/chunks/{file-mutation-h4y4mq8e.js → vcs-7tnykybm.js} +82 -82
- package/dist/chunks/{file-mutation-7w99qc9d.js → vcs-7wdjtyr9.js} +3 -3
- package/dist/chunks/{file-mutation-mkh51v61.js → vcs-7whssrnc.js} +10 -10
- package/dist/chunks/{file-mutation-df2tx5pe.js → vcs-8025tcnx.js} +10 -10
- package/dist/chunks/{file-mutation-ratrq7cm.js → vcs-806j49yq.js} +4 -4
- package/dist/chunks/{file-mutation-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-vtrt0ewb.js → vcs-8e9n6h7v.js} +38 -38
- package/dist/chunks/{file-mutation-8p4f9s12.js → vcs-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-xxhb5m41.js → vcs-97yt6tz7.js} +9 -9
- package/dist/chunks/{file-mutation-vw3mnqj9.js → vcs-9bmf6k32.js} +18 -18
- package/dist/chunks/{file-mutation-3kxmfjgw.js → vcs-9c53s05g.js} +15 -15
- package/dist/chunks/{file-mutation-snbak2yk.js → vcs-9cmt1x0q.js} +9 -9
- package/dist/chunks/{file-mutation-tfmchqhk.js → vcs-9d5kbc3f.js} +13 -13
- package/dist/chunks/{file-mutation-d40aa9ht.js → vcs-9f01nfyh.js} +35 -35
- package/dist/chunks/{file-mutation-bbzhmj3e.js → vcs-9n8fbr8d.js} +28 -28
- package/dist/chunks/{file-mutation-k23hrhwv.js → vcs-9qewa294.js} +4 -4
- package/dist/chunks/{file-mutation-2zheyzhp.js → vcs-9vp0n2tv.js} +7 -7
- package/dist/chunks/{file-mutation-ff8m8qd7.js → vcs-9y8v17r0.js} +30 -30
- package/dist/chunks/{file-mutation-a1bz86dw.js → vcs-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-e379cr0y.js → vcs-a2wdfrx5.js} +12 -12
- package/dist/chunks/{file-mutation-v1q7vfww.js → vcs-a81jtvwz.js} +3 -3
- package/dist/chunks/{file-mutation-4cwh3a5t.js → vcs-a8pwa1qy.js} +9 -9
- package/dist/chunks/{file-mutation-qvf21x62.js → vcs-a8w3hdn7.js} +46 -46
- package/dist/chunks/{file-mutation-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-yakg16c7.js → vcs-ae723g5c.js} +14 -14
- package/dist/chunks/{file-mutation-ve6nm2s5.js → vcs-asn1qnte.js} +6 -6
- package/dist/chunks/{file-mutation-qp0yc7dx.js → vcs-az46815d.js} +13 -13
- package/dist/chunks/{file-mutation-rh108m8v.js → vcs-b5x0fzgx.js} +5 -5
- package/dist/chunks/{file-mutation-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-3bzftg35.js → vcs-b72zs1k5.js} +15 -15
- package/dist/chunks/{file-mutation-b036pw45.js → vcs-b7v6em5m.js} +19 -19
- package/dist/chunks/{file-mutation-9n4afpv3.js → vcs-bm0fk12v.js} +6 -6
- package/dist/chunks/vcs-bp3y7pxe.js +462 -0
- package/dist/chunks/{file-mutation-c9av52v1.js → vcs-br0bxb5z.js} +3 -3
- package/dist/chunks/{file-mutation-bv56xrks.js → vcs-bv56xrks.js} +2 -2
- package/dist/chunks/{file-mutation-qg1dvv3d.js → vcs-c0cn7p0d.js} +22 -22
- package/dist/chunks/{file-mutation-9py05vep.js → vcs-c5db1mkp.js} +20 -20
- package/dist/chunks/{file-mutation-cj8em3nn.js → vcs-c90y15gp.js} +21 -21
- package/dist/chunks/{file-mutation-2ttxt4rm.js → vcs-cb6xbnd9.js} +2 -2
- package/dist/chunks/{file-mutation-0xtcr6w3.js → vcs-ccts7nrv.js} +15 -15
- package/dist/chunks/{file-mutation-cfpkc3c9.js → vcs-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-4c2df9zx.js → vcs-cny5rd43.js} +8 -8
- package/dist/chunks/{file-mutation-64kphnzf.js → vcs-csf2jhsg.js} +4 -4
- package/dist/chunks/{file-mutation-240ffee7.js → vcs-cwxby6pr.js} +9 -9
- package/dist/chunks/{file-mutation-d2aac7k2.js → vcs-d2aac7k2.js} +2 -2
- package/dist/chunks/{file-mutation-2hfp5ger.js → vcs-dbnmvbfz.js} +22 -22
- package/dist/chunks/{file-mutation-stnw2p2s.js → vcs-dkxyp88y.js} +12 -12
- package/dist/chunks/{file-mutation-wwdjya87.js → vcs-dn8d2kn3.js} +24 -24
- package/dist/chunks/{file-mutation-gyyh633g.js → vcs-dvfmgnty.js} +84 -84
- package/dist/chunks/{file-mutation-y6b78k7r.js → vcs-dvha2n0q.js} +44 -44
- package/dist/chunks/vcs-dxj72tfx.js +18 -0
- package/dist/chunks/{file-mutation-ywt3z907.js → vcs-dyan1gdj.js} +17 -17
- package/dist/chunks/{file-mutation-c19c6034.js → vcs-e2b6ma0f.js} +12 -12
- package/dist/chunks/{file-mutation-qssq5wvh.js → vcs-e8ge1rnk.js} +1 -1
- package/dist/chunks/{file-mutation-0yhvqzdr.js → vcs-ejan8dcj.js} +38 -38
- package/dist/chunks/{file-mutation-5t37q54p.js → vcs-ejnvpq0e.js} +25 -25
- package/dist/chunks/{file-mutation-tp176rca.js → vcs-ekf56pyh.js} +6 -6
- package/dist/chunks/{file-mutation-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-2sef7jx7.js → vcs-f2mnfn4e.js} +24 -24
- package/dist/chunks/{file-mutation-6v41k3zq.js → vcs-f6t691bq.js} +36 -36
- package/dist/chunks/{file-mutation-f828m53h.js → vcs-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-zrz3rv3v.js → vcs-fb8ft78w.js} +15 -15
- package/dist/chunks/vcs-fjywsyk5.js +247 -0
- package/dist/chunks/{file-mutation-9g0zx7x8.js → vcs-fktegx2y.js} +9 -9
- package/dist/chunks/{file-mutation-3cfzdc8e.js → vcs-fpmq6gma.js} +5 -5
- package/dist/chunks/{file-mutation-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-8bwmgdjs.js → vcs-fz7dfd1z.js} +18 -18
- package/dist/chunks/{file-mutation-hxpkdzb7.js → vcs-g4fhj9j9.js} +3 -3
- package/dist/chunks/{file-mutation-brx509wv.js → vcs-g4q3msrz.js} +46 -46
- package/dist/chunks/{file-mutation-1fa9ans5.js → vcs-g5zf0djh.js} +1 -1
- package/dist/chunks/{file-mutation-9pwkmyz6.js → vcs-g89yqc5t.js} +11 -11
- package/dist/chunks/{file-mutation-ar85mn2m.js → vcs-gc97qf6g.js} +23 -23
- package/dist/chunks/{file-mutation-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-71acpfn8.js → vcs-h5bkeg2y.js} +13 -13
- package/dist/chunks/{file-mutation-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-qte5z7bc.js → vcs-hcz3zddy.js} +5 -5
- package/dist/chunks/{file-mutation-s5d18ttv.js → vcs-hf061nqs.js} +32 -32
- package/dist/chunks/{file-mutation-k1xjzmxg.js → vcs-hfjfxhhs.js} +20 -20
- package/dist/chunks/{file-mutation-hjt4xg1x.js → vcs-hjt4xg1x.js} +1 -1
- package/dist/chunks/{file-mutation-b9vx810x.js → vcs-hpsfqm6t.js} +32 -32
- package/dist/chunks/{file-mutation-d1w5q26k.js → vcs-hsndfndq.js} +24 -24
- package/dist/chunks/{file-mutation-wf5akpyb.js → vcs-hx1qbxx1.js} +10 -10
- package/dist/chunks/{file-mutation-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-hzx83h4g.js → vcs-j61fmw0q.js} +41 -41
- package/dist/chunks/{file-mutation-rc1e819m.js → vcs-javtnfvt.js} +4 -4
- package/dist/chunks/{file-mutation-t9n23y5a.js → vcs-jc4dg6w1.js} +28 -28
- package/dist/chunks/{file-mutation-dt849bc4.js → vcs-jfpzywp2.js} +6 -6
- package/dist/chunks/{file-mutation-t9ja5v0m.js → vcs-jm4wzrpc.js} +18 -18
- package/dist/chunks/{file-mutation-v4c6wwdp.js → vcs-jn9204f0.js} +7 -7
- package/dist/chunks/{file-mutation-y71avatq.js → vcs-jwcy2c2z.js} +4 -4
- package/dist/chunks/{file-mutation-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-zd95htgz.js → vcs-kmzfa87h.js} +15 -15
- package/dist/chunks/{file-mutation-9pa9rw3z.js → vcs-ktpjzrp6.js} +32 -32
- package/dist/chunks/{file-mutation-2npmwd02.js → vcs-m32k5ewn.js} +9 -9
- package/dist/chunks/{file-mutation-zcrspsvn.js → vcs-m70sbz6t.js} +4 -4
- package/dist/chunks/{file-mutation-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-mkcjrzeh.js → vcs-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-jsvhw8mk.js → vcs-mmpwdc4q.js} +11 -11
- package/dist/chunks/{file-mutation-4f5v0gkp.js → vcs-n0z3pqra.js} +17 -17
- package/dist/chunks/{file-mutation-ak7my4zs.js → vcs-n223nzpv.js} +14 -14
- package/dist/chunks/{file-mutation-hthj0rnm.js → vcs-na7956ft.js} +20 -20
- package/dist/chunks/{file-mutation-q8rqxe25.js → vcs-ncde1vfm.js} +26 -26
- package/dist/chunks/{file-mutation-rtq8p3gy.js → vcs-nd6113q8.js} +28 -28
- package/dist/chunks/{file-mutation-j4028k8z.js → vcs-ny7d19mm.js} +11 -11
- package/dist/chunks/{file-mutation-7r2070ss.js → vcs-p0xz0qw3.js} +52 -52
- package/dist/chunks/{file-mutation-t0ycew93.js → vcs-p2b45462.js} +25 -25
- package/dist/chunks/{file-mutation-sdc25ghc.js → vcs-p7x6y357.js} +32 -32
- package/dist/chunks/{file-mutation-yhgxvs9m.js → vcs-p84dsdfh.js} +8 -8
- package/dist/chunks/{file-mutation-q6c9rh6v.js → vcs-p85zvgpp.js} +22 -22
- package/dist/chunks/{file-mutation-s1fbxc7t.js → vcs-pbrn5f3v.js} +19 -19
- package/dist/chunks/{file-mutation-yymb8v2v.js → vcs-pgvfezyn.js} +21 -21
- package/dist/chunks/{file-mutation-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-rvyzmxt1.js → vcs-q0a87n6s.js} +176 -176
- package/dist/chunks/{file-mutation-dzgwpfm4.js → vcs-q1668d7a.js} +60 -60
- package/dist/chunks/{file-mutation-hf8cnsjw.js → vcs-q2027nw7.js} +1 -1
- package/dist/chunks/{file-mutation-mwbx7r51.js → vcs-q9j8w608.js} +4 -4
- package/dist/chunks/{file-mutation-earnevqz.js → vcs-qae1j65a.js} +29 -29
- package/dist/chunks/vcs-qapv375x.js +4 -0
- package/dist/chunks/{file-mutation-t3aqcp13.js → vcs-qaqx0ctg.js} +5 -5
- package/dist/chunks/{file-mutation-ga7wvnj5.js → vcs-qjnn74v4.js} +9 -9
- package/dist/chunks/{file-mutation-an7cqtb7.js → vcs-qq11w61w.js} +4 -4
- package/dist/chunks/{file-mutation-fjvydvzm.js → vcs-qq8x5mwt.js} +6 -6
- package/dist/chunks/{file-mutation-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-qgnx4pxt.js → vcs-r345bmqf.js} +11 -11
- package/dist/chunks/{file-mutation-3rqkssp8.js → vcs-r7nsrefv.js} +6 -6
- package/dist/chunks/{file-mutation-7x56vw45.js → vcs-r8jh6khz.js} +13 -13
- package/dist/chunks/{file-mutation-ntghn7gv.js → vcs-rsym84ch.js} +9 -9
- package/dist/chunks/{file-mutation-rsh6k2qs.js → vcs-ryrzn0hq.js} +25 -25
- package/dist/chunks/{file-mutation-01fzq3z7.js → vcs-s1tsa559.js} +26 -26
- package/dist/chunks/{file-mutation-s4enseaf.js → vcs-s4enseaf.js} +2 -2
- package/dist/chunks/{file-mutation-xrhv95d6.js → vcs-s9t88532.js} +23 -23
- package/dist/chunks/{file-mutation-kywk84af.js → vcs-saj784mb.js} +17 -17
- package/dist/chunks/{file-mutation-hqrxp9gj.js → vcs-sez905kk.js} +10 -10
- package/dist/chunks/{file-mutation-k0qa26hr.js → vcs-sn3frxay.js} +25 -25
- package/dist/chunks/{file-mutation-vkxpz7g2.js → vcs-szgy4byf.js} +4 -4
- package/dist/chunks/{file-mutation-5kptn8c0.js → vcs-t0x5rdq8.js} +9 -9
- package/dist/chunks/{file-mutation-j2nqzmcv.js → vcs-t1mpdz97.js} +22 -22
- package/dist/chunks/{file-mutation-t51qk8jz.js → vcs-t51qk8jz.js} +1 -1
- package/dist/chunks/{file-mutation-0gdmqesm.js → vcs-t550f9t1.js} +4 -4
- package/dist/chunks/{file-mutation-zxcqb81j.js → vcs-t55ej7gz.js} +24 -24
- package/dist/chunks/{file-mutation-xnvnravs.js → vcs-t5kxb07c.js} +31 -31
- package/dist/chunks/{file-mutation-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-jeq3avzd.js → vcs-tcwy5cxa.js} +18 -18
- package/dist/chunks/{file-mutation-f1q1bdfb.js → vcs-td6dvqbq.js} +32 -32
- package/dist/chunks/{file-mutation-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-v3wxxz2a.js → vcs-tnw3z0r3.js} +9 -9
- package/dist/chunks/{file-mutation-v68haqbh.js → vcs-tregh9zc.js} +2 -2
- package/dist/chunks/{file-mutation-qyy5cpnn.js → vcs-tsrg9y4k.js} +11 -11
- package/dist/chunks/{file-mutation-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-78s53s6s.js → vcs-v8fmfjc0.js} +38 -38
- package/dist/chunks/{file-mutation-t26h1xea.js → vcs-vd7hjsen.js} +22 -22
- package/dist/chunks/{file-mutation-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-02k69zs7.js → vcs-vxqb7ghs.js} +24 -24
- package/dist/chunks/{file-mutation-0zn40hbb.js → vcs-vxwhkv8n.js} +58 -58
- package/dist/chunks/{file-mutation-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-rmnn1kcj.js → vcs-whd1ca54.js} +36 -36
- package/dist/chunks/{file-mutation-en460j1e.js → vcs-whkfspvt.js} +9 -9
- package/dist/chunks/{file-mutation-zhedf7h9.js → vcs-wj2xme94.js} +19 -19
- package/dist/chunks/{file-mutation-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-x43y2vfs.js → vcs-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-xhmq8qgk.js → vcs-x5qh4ear.js} +9 -9
- package/dist/chunks/{file-mutation-cn5kgcxn.js → vcs-xbxfp9fr.js} +23 -23
- package/dist/chunks/{file-mutation-dsfwte3g.js → vcs-xdmmnt8a.js} +19 -19
- package/dist/chunks/{file-mutation-2bt6bea8.js → vcs-xekzrwwc.js} +9 -9
- package/dist/chunks/{file-mutation-5y7nmd31.js → vcs-xenp1w2e.js} +29 -29
- package/dist/chunks/{file-mutation-74sc3jhk.js → vcs-xf2jv3bw.js} +4 -4
- package/dist/chunks/{file-mutation-nmjsacd1.js → vcs-xgjyy6vg.js} +5 -5
- package/dist/chunks/{file-mutation-jspz1h3e.js → vcs-xnqpewkq.js} +19 -19
- package/dist/chunks/{file-mutation-34wjyeek.js → vcs-xpapdg7w.js} +12 -12
- package/dist/chunks/{file-mutation-7g683t1r.js → vcs-xvaxs8h7.js} +30 -30
- package/dist/chunks/{file-mutation-t9nzygtk.js → vcs-xwd9pbjm.js} +15 -15
- package/dist/chunks/{file-mutation-7tske91h.js → vcs-xwztew67.js} +18 -18
- package/dist/chunks/{file-mutation-tx71xht9.js → vcs-y11s4dzy.js} +50 -50
- package/dist/chunks/{file-mutation-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-j4p7emeb.js → vcs-y2wxp8w3.js} +11 -11
- package/dist/chunks/{file-mutation-k3swrpg8.js → vcs-y4dgkp79.js} +4 -4
- package/dist/chunks/{file-mutation-zn4kggxy.js → vcs-y7qr3th8.js} +4 -4
- package/dist/chunks/{file-mutation-j3mwg7nd.js → vcs-y8r358t9.js} +34 -34
- package/dist/chunks/{file-mutation-yp2x3t23.js → vcs-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-nc6emx03.js → vcs-yvevv6gs.js} +8 -8
- package/dist/chunks/{file-mutation-hz456w6n.js → vcs-yvgq7aaq.js} +11 -11
- package/dist/chunks/{file-mutation-2ee8pmxs.js → vcs-ywhnyrnh.js} +5 -5
- package/dist/chunks/{file-mutation-4k2qawm0.js → vcs-yx42xrh5.js} +15 -15
- package/dist/chunks/{file-mutation-e15qh3wq.js → vcs-yxmjadg6.js} +14 -14
- package/dist/chunks/{file-mutation-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-thm2xcas.js → vcs-z1ehnq90.js} +17 -17
- package/dist/chunks/{file-mutation-n5zjdcc0.js → vcs-z1pfg6df.js} +1 -1
- package/dist/chunks/{file-mutation-eqbtmbad.js → vcs-za6src2z.js} +16 -16
- package/dist/chunks/{file-mutation-t1bhcjx3.js → vcs-zad871sr.js} +1 -1
- package/dist/chunks/{file-mutation-c12c3ebf.js → vcs-zbj8enqw.js} +12 -12
- package/dist/chunks/{file-mutation-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-56fawgj4.js → vcs-zemh05ww.js} +49 -49
- package/dist/chunks/{file-mutation-b6d4fm4d.js → vcs-zgdqzk0q.js} +28 -28
- package/dist/chunks/{file-mutation-c4tqdq5t.js → vcs-zhxtcv69.js} +6 -6
- package/dist/chunks/{file-mutation-bpbqk74e.js → vcs-zqjyx7nf.js} +5 -5
- package/dist/chunks/{file-mutation-sx5j1r78.js → vcs-zr0gh2ck.js} +7 -7
- package/dist/chunks/{file-mutation-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-587k4qqh.js → vcs-zw18ytwa.js} +16 -16
- package/dist/chunks/{file-mutation-g56g034v.js → vcs-zwtw7q3h.js} +23 -23
- package/dist/chunks/{file-mutation-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 +79 -79
- 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 +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- 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 +115 -115
- 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 +117 -117
- 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 +362 -362
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- 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 +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +78 -78
- package/dist/instructions/index.js +3 -3
- 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 +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- 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 +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- 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 +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +110 -110
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- 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 +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- 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 +223 -223
- 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 +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +118 -118
- 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 +96 -96
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +101 -101
- 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 +15 -15
- 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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- 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 +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-hkpycv99.js +0 -462
- package/dist/chunks/file-mutation-n95b3jav.js +0 -18
- package/dist/chunks/file-mutation-tg8gtkmk.js +0 -22
- package/dist/chunks/file-mutation-ymkfqb6w.js +0 -247
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-j935v87r.js → vcs-j935v87r.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-6e42fpps.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./vcs-asn1qnte.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-dxj72tfx.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-csf2jhsg.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-2bdr22tc.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-zgdqzk0q.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./vcs-7tnykybm.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service37;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service22;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-jwcy2c2z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event20,
|
|
10
|
-
Service78,
|
|
11
|
-
node83
|
|
12
|
-
} from "./file-mutation-xnvnravs.js";
|
|
5
|
+
Service77,
|
|
6
|
+
node82
|
|
7
|
+
} from "./vcs-e2b6ma0f.js";
|
|
13
8
|
import {
|
|
9
|
+
Event19,
|
|
14
10
|
Service69,
|
|
15
11
|
node73
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./vcs-t5kxb07c.js";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
14
|
+
Service74,
|
|
15
|
+
node79
|
|
16
|
+
} from "./vcs-z1ehnq90.js";
|
|
21
17
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
Service72,
|
|
19
|
+
node76
|
|
20
|
+
} from "./vcs-t55ej7gz.js";
|
|
21
|
+
import {
|
|
22
|
+
ID8,
|
|
23
|
+
Service47,
|
|
24
|
+
node51
|
|
25
|
+
} from "./vcs-6n9s5ar1.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID7,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service46,
|
|
34
|
+
node50
|
|
35
|
+
} from "./vcs-2skxfxks.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service32,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured4,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node36
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID7.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options4 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
179
|
-
const bus = yield*
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service74;
|
|
178
|
+
const environment = yield* Service72;
|
|
179
|
+
const bus = yield* Service77;
|
|
180
|
+
const forms = yield* Service47;
|
|
181
|
+
const integration = yield* Service46;
|
|
182
|
+
const credentials = yield* Service69;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID7.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -315,7 +315,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID8.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
436
|
+
const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service72, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service32.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured4(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service32,
|
|
713
|
+
layer: layer15(options),
|
|
714
|
+
deps: [node79, node76, node82, node51, node50, node73]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node36 = configured4();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service32, Options4, layer15, configured4, node36, exports_mcp4 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node46
|
|
5
|
+
} from "./vcs-r345bmqf.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-csf2jhsg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service71,
|
|
12
|
+
node75
|
|
13
|
+
} from "./vcs-5trk58xb.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-p0xz0qw3.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-zr0gh2ck.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./vcs-p2b45462.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service27,
|
|
25
|
+
node32
|
|
26
|
+
} from "./vcs-0xawnack.js";
|
|
27
27
|
import {
|
|
28
28
|
make15
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-hjt4xg1x.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-3jp54z3r.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./vcs-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service26,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
44
|
layer: () => layer12,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node31,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
@@ -188,11 +188,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
188
188
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
189
189
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
190
190
|
|
|
191
|
-
class
|
|
191
|
+
class Service26 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
192
192
|
}
|
|
193
|
-
var layer12 = Layer.effect(
|
|
194
|
-
const hooks = yield*
|
|
195
|
-
const transport = yield*
|
|
193
|
+
var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
194
|
+
const hooks = yield* Service71;
|
|
195
|
+
const transport = yield* Service27;
|
|
196
196
|
const app = yield* Metadata2;
|
|
197
197
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
198
198
|
const session = input.scope.session;
|
|
@@ -200,7 +200,7 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
200
200
|
const model = resolved.model;
|
|
201
201
|
const tools = input.scope.tools ?? {
|
|
202
202
|
definitions: [],
|
|
203
|
-
execute: () => new
|
|
203
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
204
204
|
};
|
|
205
205
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
206
206
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -259,12 +259,12 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
259
259
|
executeTool
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
|
-
return
|
|
262
|
+
return Service26.of({ prepare });
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node31 = makeLocationNode({
|
|
265
|
+
service: Service26,
|
|
266
266
|
layer: layer12,
|
|
267
|
-
deps: [
|
|
267
|
+
deps: [node75, node32, node46]
|
|
268
268
|
});
|
|
269
269
|
|
|
270
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
270
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service26, layer12, node31, exports_model_request };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-r345bmqf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-jfpzywp2.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-jn9204f0.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID14.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./vcs-7whssrnc.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service76;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service47
|
|
3
|
+
} from "./vcs-6n9s5ar1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./vcs-p0xz0qw3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -53,8 +53,8 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service47;
|
|
57
|
+
const permission = yield* Service51;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./vcs-cwxby6pr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./vcs-asn1qnte.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-dxj72tfx.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service71
|
|
15
|
+
} from "./vcs-5trk58xb.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-a81jtvwz.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service43
|
|
23
|
+
} from "./vcs-s1tsa559.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service37;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service71;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service43;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service48;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-6e42fpps.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./vcs-e2b6ma0f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service37
|
|
9
|
+
} from "./vcs-asn1qnte.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service42
|
|
16
|
+
} from "./vcs-dn8d2kn3.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-a81jtvwz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service37;
|
|
46
46
|
const database = yield* Service80;
|
|
47
|
-
const bus = yield*
|
|
47
|
+
const bus = yield* Service77;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service42;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
78
|
-
const bus = yield*
|
|
77
|
+
const instances = yield* Service37;
|
|
78
|
+
const bus = yield* Service77;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service42;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|