@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,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node81
|
|
7
|
+
} from "./vcs-7whssrnc.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID17
|
|
10
|
+
} from "./vcs-rsym84ch.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-6e42fpps.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node82
|
|
21
|
+
} from "./vcs-e2b6ma0f.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node79
|
|
31
|
+
} from "./vcs-z1ehnq90.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./vcs-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make12
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./vcs-zqjyx7nf.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./vcs-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./vcs-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event4,
|
|
53
|
+
Info: () => Info3,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service14,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node18
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info3 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,17 +100,17 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event4 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service14 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
109
|
const database = yield* Service80;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service77;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service74;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service14.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node18 = makeLocationNode({
|
|
273
|
+
service: Service14,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node81, node82, node85, AppProcess.node, node79, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service14, node18, exports_worktree2, OperationError2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service54
|
|
4
|
+
} from "./vcs-c90y15gp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service74
|
|
7
|
+
} from "./vcs-z1ehnq90.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service66
|
|
10
|
+
} from "./vcs-dvha2n0q.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service70,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-wj2xme94.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service20
|
|
17
|
+
} from "./vcs-dvfmgnty.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make5
|
|
20
|
+
} from "./vcs-42af65r7.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin16
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin16 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service66;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin23 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service74;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service70;
|
|
60
|
+
const sessions = yield* Service20;
|
|
61
|
+
const agents = yield* Service54;
|
|
62
|
+
const subagents = yield* make5;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin23 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID11.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin16, exports_command };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9qewa294.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make4,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make4 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make7 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make4, exports_retry };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-r345bmqf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./vcs-e2b6ma0f.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./vcs-t5kxb07c.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-2skxfxks.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID14,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-jfpzywp2.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-jn9204f0.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,9 +57,9 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID14.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service77;
|
|
63
63
|
const tokens = new Map;
|
|
64
64
|
const loading = Semaphore.makeUnsafe(1);
|
|
65
65
|
const loaded = {};
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID14.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID14.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID14.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID14.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -167,11 +167,11 @@ var AzurePlugin2 = define({
|
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
170
|
-
yield* bus.subscribe(
|
|
170
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
171
171
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
172
|
-
if (evt.model.providerID !==
|
|
172
|
+
if (evt.model.providerID !== ID14.azure)
|
|
173
173
|
return;
|
|
174
|
-
const connection = yield* ctx.integration.connection.active(
|
|
174
|
+
const connection = yield* ctx.integration.connection.active(ID14.azure);
|
|
175
175
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
})) : undefined;
|
|
@@ -184,11 +184,11 @@ var AzurePlugin2 = define({
|
|
|
184
184
|
evt.request.headers.delete("x-api-key");
|
|
185
185
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
186
186
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
187
|
-
}), { providerID:
|
|
187
|
+
}), { providerID: ID14.azure });
|
|
188
188
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
189
189
|
if (evt.package !== "@ai-sdk/azure")
|
|
190
190
|
return;
|
|
191
|
-
if (evt.model.providerID ===
|
|
191
|
+
if (evt.model.providerID === ID14.azure) {
|
|
192
192
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
193
193
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
194
194
|
}
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
evt.sdk = mod.createAzure(evt.options);
|
|
198
198
|
}));
|
|
199
199
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
200
|
-
if (evt.model.providerID !==
|
|
200
|
+
if (evt.model.providerID !== ID14.azure)
|
|
201
201
|
return;
|
|
202
202
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
203
203
|
}));
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./vcs-z1ehnq90.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service72
|
|
11
|
+
} from "./vcs-t55ej7gz.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service59
|
|
14
|
+
} from "./vcs-kmzfa87h.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service18,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-42sz070e.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service51
|
|
22
|
+
} from "./vcs-p0xz0qw3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service50,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-fz7dfd1z.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./vcs-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input11,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
|
+
name: () => name11,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name11 = "patch";
|
|
89
|
+
var Input11 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin29 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service72;
|
|
112
|
+
const access = yield* Service50;
|
|
113
|
+
const fileMutation = yield* Service18;
|
|
114
|
+
const formatter = yield* Service59;
|
|
115
|
+
const location = yield* Service74;
|
|
116
|
+
const permission = yield* Service51;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name11,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input11,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin9 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name11, Input11, Applied2, Output8, toModelContent6, Plugin29, exports_patch };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./vcs-c5db1mkp.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service44
|
|
13
|
+
} from "./vcs-hsndfndq.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./vcs-z1ehnq90.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin17 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service44;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service74;
|
|
42
|
+
const watcher = yield* Service67;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin17, exports_instruction };
|