@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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./vcs-e2b6ma0f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./vcs-dn8d2kn3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./vcs-p2b45462.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./vcs-a2wdfrx5.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-a81jtvwz.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-9qewa294.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-ekf56pyh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service77;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service42;
|
|
58
|
+
const toolOutput = yield* Service65;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID14
|
|
3
|
+
} from "./vcs-jfpzywp2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,17 +12,17 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID13,
|
|
16
|
+
Info: () => Info27,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
19
|
Ref: () => Ref3,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
|
-
parse: () =>
|
|
22
|
+
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID13 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -30,7 +30,7 @@ var Compatibility2 = Model.Compatibility;
|
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
32
|
var Ref3 = Model.Ref;
|
|
33
|
-
var
|
|
33
|
+
var Info27 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -38,12 +38,12 @@ function compatibility2(input) {
|
|
|
38
38
|
return;
|
|
39
39
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID14.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID13.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID13, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info27, compatibility2, parse5, exports_model2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node79
|
|
7
|
+
} from "./vcs-z1ehnq90.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service62,
|
|
10
|
+
node66
|
|
11
|
+
} from "./vcs-tcwy5cxa.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options6,
|
|
25
|
+
Service: () => Service61,
|
|
26
|
+
configured: () => configured7,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer23,
|
|
29
|
+
node: () => node65,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options6 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service61 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service62;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service61.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service61, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service61.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service61.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer23 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured7(options) {
|
|
186
|
+
return makeLocationNode({ service: Service61, layer: layer23(options), deps: [node79, node66] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node65 = configured7();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options6, Service61, ripgrepLayer2, fffLayer2, layer23, configured7, node65, exports_search };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./vcs-c90y15gp.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Info22
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-49w8mb30.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-y7qr3th8.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service66
|
|
16
|
+
} from "./vcs-dvha2n0q.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin4
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -44,10 +44,10 @@ var decodeLegacyAgent = Schema.decodeUnknownOption(Info22);
|
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin4 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service66;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin31 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID11.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID11.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin4, exports_agent };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make19,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-t550f9t1.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-p0xz0qw3.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service32,
|
|
13
|
+
node36
|
|
14
|
+
} from "./vcs-zemh05ww.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
17
|
name14
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-jc4dg6w1.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions3 = {};
|
|
25
25
|
__export(exports_instructions3, {
|
|
26
26
|
McpInstructions: () => exports_instructions3,
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
Service: () => Service24,
|
|
28
|
+
layer: () => layer11,
|
|
29
|
+
node: () => node29
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service24 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service32;
|
|
69
|
+
return Service24.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make19({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -100,6 +100,6 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node29 = makeLocationNode({ service: Service24, layer: layer11, deps: [node36] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service24, layer11, node29, exports_instructions3 };
|
|
@@ -1,57 +1,57 @@
|
|
|
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
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service72,
|
|
11
|
+
node76
|
|
12
|
+
} from "./vcs-t55ej7gz.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service70,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node74
|
|
20
|
+
} from "./vcs-wj2xme94.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node75
|
|
24
|
+
} from "./vcs-5trk58xb.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service64,
|
|
27
|
+
node68
|
|
28
|
+
} from "./vcs-cny5rd43.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./vcs-7wdjtyr9.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service66,
|
|
35
|
+
node70
|
|
36
|
+
} from "./vcs-dvha2n0q.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./vcs-a2wdfrx5.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError9,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service63,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node67
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service63 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service63, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service77;
|
|
91
|
+
const location = yield* Service74;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service70;
|
|
94
|
+
const environment = yield* Service72;
|
|
95
|
+
const hooks = yield* Service71;
|
|
96
|
+
const environments = yield* Service64;
|
|
97
|
+
const config = yield* Service66;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError9({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError9({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service63.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node67 = makeLocationNode({
|
|
320
|
+
service: Service63,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node82,
|
|
324
|
+
node79,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
326
|
+
node74,
|
|
327
|
+
node76,
|
|
328
|
+
node75,
|
|
329
|
+
node68,
|
|
327
330
|
node70,
|
|
328
|
-
node78,
|
|
329
|
-
node49,
|
|
330
|
-
node63,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError9, RETENTION2, DIRECTORY2, Service63, cleanup2, node67, exports_shell4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./vcs-dvha2n0q.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service65
|
|
7
|
+
} from "./vcs-a2wdfrx5.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin9
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin9 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const output = yield* Service65;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin30 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin9, exports_tool_output };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-wj2xme94.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|