@opencode/core 0.0.0-dev-19393 → 0.0.0-dev-19396
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +81 -81
- package/dist/chunks/{file-mutation-t9ja5v0m.js → aisdk-native-04kv4r8s.js} +12 -12
- package/dist/chunks/{file-mutation-64kphnzf.js → aisdk-native-06dxphr1.js} +4 -4
- package/dist/chunks/{file-mutation-zcrspsvn.js → aisdk-native-06x8he3q.js} +4 -4
- package/dist/chunks/{file-mutation-t0ycew93.js → aisdk-native-0hv51shb.js} +24 -24
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-b45nt1f1.js → aisdk-native-11s1rmee.js} +11 -11
- package/dist/chunks/{file-mutation-h4y4mq8e.js → aisdk-native-13nhks0e.js} +79 -79
- package/dist/chunks/{file-mutation-dpje9hvt.js → aisdk-native-17faxaxv.js} +3 -3
- package/dist/chunks/{file-mutation-ec8389mk.js → aisdk-native-18e56dsp.js} +4 -4
- package/dist/chunks/{file-mutation-tx71xht9.js → aisdk-native-1aczmqc6.js} +47 -47
- package/dist/chunks/{file-mutation-7g683t1r.js → aisdk-native-1bhgtrtq.js} +24 -24
- package/dist/chunks/{file-mutation-b036pw45.js → aisdk-native-1c5da01s.js} +22 -22
- package/dist/chunks/{file-mutation-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-1eyaby9q.js → aisdk-native-1eyaby9q.js} +2 -2
- package/dist/chunks/{file-mutation-rtq8p3gy.js → aisdk-native-1f8tyb5n.js} +26 -26
- package/dist/chunks/{file-mutation-b6d4fm4d.js → aisdk-native-1jp0g19t.js} +32 -32
- package/dist/chunks/{file-mutation-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-7r2070ss.js → aisdk-native-23cdnrcg.js} +40 -40
- package/dist/chunks/{file-mutation-6h73sxmp.js → aisdk-native-2402vzrj.js} +5 -5
- package/dist/chunks/{file-mutation-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-df2tx5pe.js → aisdk-native-2d63f6xn.js} +10 -10
- package/dist/chunks/{file-mutation-7b15y959.js → aisdk-native-2hyh68ab.js} +8 -8
- package/dist/chunks/{file-mutation-hzx83h4g.js → aisdk-native-2sm40ydq.js} +29 -29
- package/dist/chunks/{file-mutation-5t37q54p.js → aisdk-native-2tg1sg0h.js} +23 -23
- package/dist/chunks/{file-mutation-k0qa26hr.js → aisdk-native-2wwszhkw.js} +25 -25
- package/dist/chunks/aisdk-native-2zp1sn7a.js +22 -0
- package/dist/chunks/{file-mutation-g56g034v.js → aisdk-native-319gwta3.js} +20 -20
- package/dist/chunks/{file-mutation-4f5v0gkp.js → aisdk-native-338ndk0y.js} +19 -19
- package/dist/chunks/{file-mutation-hz456w6n.js → aisdk-native-3580277f.js} +11 -11
- package/dist/chunks/{file-mutation-qvf21x62.js → aisdk-native-38xvpsvz.js} +46 -46
- package/dist/chunks/{file-mutation-bbzhmj3e.js → aisdk-native-3e13h338.js} +18 -18
- package/dist/chunks/{file-mutation-s1fbxc7t.js → aisdk-native-3h2mcac8.js} +16 -16
- package/dist/chunks/{file-mutation-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-as9sp7sj.js → aisdk-native-3jtv889a.js} +11 -11
- package/dist/chunks/{file-mutation-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-7w99qc9d.js → aisdk-native-3ssf1kws.js} +3 -3
- package/dist/chunks/{file-mutation-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-v68haqbh.js → aisdk-native-3yed7v7p.js} +2 -2
- package/dist/chunks/{file-mutation-hjt4xg1x.js → aisdk-native-47gsdddb.js} +7 -7
- package/dist/chunks/{file-mutation-dzgwpfm4.js → aisdk-native-4ch1thhj.js} +58 -58
- package/dist/chunks/{file-mutation-2ee8pmxs.js → aisdk-native-4fk6bf9g.js} +5 -5
- package/dist/chunks/{file-mutation-ha607pgt.js → aisdk-native-4kr8d4zw.js} +6 -6
- package/dist/chunks/{file-mutation-rmnn1kcj.js → aisdk-native-4qprkdm7.js} +33 -33
- package/dist/chunks/{file-mutation-jeq3avzd.js → aisdk-native-4rqgqezq.js} +14 -14
- package/dist/chunks/{file-mutation-zd95htgz.js → aisdk-native-52v448cf.js} +15 -15
- package/dist/chunks/{file-mutation-vw3mnqj9.js → aisdk-native-55f2a52s.js} +11 -11
- package/dist/chunks/{file-mutation-56gdpj1q.js → aisdk-native-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-mutation-v3wxxz2a.js → aisdk-native-5aptsapt.js} +7 -7
- package/dist/chunks/{file-mutation-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-dt849bc4.js → aisdk-native-5kbk4f8q.js} +6 -6
- package/dist/chunks/{file-mutation-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-jspz1h3e.js → aisdk-native-5xrqyw1b.js} +17 -17
- package/dist/chunks/aisdk-native-619r8v3y.js +18 -0
- package/dist/chunks/{file-mutation-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-8bwmgdjs.js → aisdk-native-687r8w3k.js} +18 -18
- package/dist/chunks/{file-mutation-y7kh6pdy.js → aisdk-native-6fg3wpfk.js} +8 -8
- package/dist/chunks/{file-mutation-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-vvcwpm63.js → aisdk-native-6wgqt9fk.js} +13 -13
- package/dist/chunks/{file-mutation-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-rkdvqggb.js → aisdk-native-762r0j46.js} +5 -5
- package/dist/chunks/{file-mutation-q8rqxe25.js → aisdk-native-77h0fa3y.js} +26 -26
- package/dist/chunks/{file-mutation-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-dafzyq9v.js → aisdk-native-7cck070s.js} +11 -11
- package/dist/chunks/{file-mutation-7dqw4kz8.js → aisdk-native-7dqw4kz8.js} +1 -1
- package/dist/chunks/{file-mutation-xxhb5m41.js → aisdk-native-7e3k99g8.js} +9 -9
- package/dist/chunks/{file-mutation-ak7my4zs.js → aisdk-native-7rbe0n40.js} +16 -16
- package/dist/chunks/{file-mutation-yakg16c7.js → aisdk-native-7v84xmqr.js} +11 -11
- package/dist/chunks/{file-mutation-3bzftg35.js → aisdk-native-7vx667rq.js} +13 -13
- package/dist/chunks/{file-mutation-ve6nm2s5.js → aisdk-native-81rrwt6s.js} +6 -6
- package/dist/chunks/{file-mutation-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-nmjsacd1.js → aisdk-native-8fce82a4.js} +5 -5
- package/dist/chunks/{file-mutation-k23hrhwv.js → aisdk-native-8kgsw5bp.js} +4 -4
- package/dist/chunks/{file-mutation-en460j1e.js → aisdk-native-8kr66qnn.js} +9 -9
- package/dist/chunks/{file-mutation-zn4kggxy.js → aisdk-native-8mv1h6jj.js} +4 -4
- package/dist/chunks/{file-mutation-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-xnvnravs.js → aisdk-native-8vj00402.js} +28 -28
- package/dist/chunks/{file-mutation-j4028k8z.js → aisdk-native-8vygcvtq.js} +11 -11
- package/dist/chunks/{file-mutation-9pa9rw3z.js → aisdk-native-9325j0hp.js} +28 -28
- package/dist/chunks/{file-mutation-34wjyeek.js → aisdk-native-9c2fy9a2.js} +14 -14
- package/dist/chunks/{file-mutation-bpbqk74e.js → aisdk-native-9cq2d911.js} +5 -5
- package/dist/chunks/{file-mutation-0yhvqzdr.js → aisdk-native-9pfkjth3.js} +31 -31
- package/dist/chunks/{file-mutation-08z5qwsn.js → aisdk-native-9pm6y0s1.js} +8 -8
- package/dist/chunks/{file-mutation-7tske91h.js → aisdk-native-9qhb8fgp.js} +23 -23
- package/dist/chunks/{file-mutation-d1w5q26k.js → aisdk-native-9qr1yc92.js} +22 -22
- package/dist/chunks/{file-mutation-psxzv6yb.js → aisdk-native-9qynhkcx.js} +23 -6
- package/dist/chunks/{file-mutation-gb9kwzg5.js → aisdk-native-9s8d7x99.js} +22 -22
- package/dist/chunks/{file-mutation-0xtcr6w3.js → aisdk-native-9yd7dp5d.js} +15 -15
- package/dist/chunks/{file-mutation-587k4qqh.js → aisdk-native-9zny117k.js} +16 -16
- package/dist/chunks/{file-mutation-42b6pzh7.js → aisdk-native-a16aswgc.js} +8 -8
- package/dist/chunks/{file-mutation-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-1fa9ans5.js → aisdk-native-a5k42hjy.js} +1 -1
- package/dist/chunks/{file-mutation-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-g8stra9y.js → aisdk-native-ae88fk5a.js} +4 -4
- package/dist/chunks/{file-mutation-c19c6034.js → aisdk-native-afd5mpsr.js} +4 -4
- package/dist/chunks/{file-mutation-xrhv95d6.js → aisdk-native-anv1hkd8.js} +23 -23
- package/dist/chunks/{file-mutation-2npmwd02.js → aisdk-native-b1nxvtwh.js} +9 -9
- package/dist/chunks/{file-mutation-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-t9n23y5a.js → aisdk-native-b9cc68wc.js} +29 -29
- package/dist/chunks/{file-mutation-2sef7jx7.js → aisdk-native-bj81vypt.js} +22 -22
- package/dist/chunks/{file-mutation-nc6emx03.js → aisdk-native-bxd65j25.js} +8 -8
- package/dist/chunks/{file-mutation-j2nqzmcv.js → aisdk-native-c141fwr4.js} +20 -20
- package/dist/chunks/{file-mutation-49w8mb30.js → aisdk-native-c1495ybz.js} +11 -11
- package/dist/chunks/{file-mutation-k1xjzmxg.js → aisdk-native-c1k5sjr1.js} +14 -14
- package/dist/chunks/{file-mutation-rh108m8v.js → aisdk-native-c2pgxnhh.js} +5 -5
- package/dist/chunks/{file-mutation-cj8em3nn.js → aisdk-native-c5777ed1.js} +18 -18
- package/dist/chunks/{file-mutation-b9vx810x.js → aisdk-native-ca63t555.js} +32 -32
- package/dist/chunks/{file-mutation-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-c12c3ebf.js → aisdk-native-cgz51jgp.js} +12 -12
- package/dist/chunks/{file-mutation-78s53s6s.js → aisdk-native-cpe1mt8c.js} +21 -21
- package/dist/chunks/{file-mutation-tmr9h4zs.js → aisdk-native-cxa6xx46.js} +8 -8
- package/dist/chunks/{file-mutation-gx1zhcta.js → aisdk-native-d50f2zf5.js} +1 -1
- package/dist/chunks/{file-mutation-3zbb0e4x.js → aisdk-native-d8s0zgrq.js} +15 -15
- package/dist/chunks/{file-mutation-f79e7acg.js → aisdk-native-dcs00b5h.js} +2 -2
- package/dist/chunks/{file-mutation-gb6mvkxt.js → aisdk-native-dmxbrnz3.js} +11 -11
- package/dist/chunks/{file-mutation-wwdjya87.js → aisdk-native-dp7w54cz.js} +24 -24
- package/dist/chunks/{file-mutation-56xqqp2b.js → aisdk-native-dsgb7s9k.js} +4 -4
- package/dist/chunks/{file-mutation-s36eea25.js → aisdk-native-dy51me0m.js} +20 -20
- package/dist/chunks/{file-mutation-t1bhcjx3.js → aisdk-native-e6ke6rjh.js} +1 -1
- package/dist/chunks/{file-mutation-gyyh633g.js → aisdk-native-e7c3jk4t.js} +79 -79
- package/dist/chunks/{file-mutation-d2aac7k2.js → aisdk-native-ead3g9p8.js} +5 -5
- package/dist/chunks/{file-mutation-ywt3z907.js → aisdk-native-ed9mrdfh.js} +17 -17
- package/dist/chunks/{file-mutation-sdc25ghc.js → aisdk-native-eg6r3vdc.js} +20 -20
- package/dist/chunks/{file-mutation-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-3cfzdc8e.js → aisdk-native-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-mutation-zxcqb81j.js → aisdk-native-f1x6p4ya.js} +24 -24
- package/dist/chunks/{file-mutation-9n4afpv3.js → aisdk-native-f2enw7w8.js} +6 -6
- package/dist/chunks/{file-mutation-t51qk8jz.js → aisdk-native-f3ngv102.js} +21 -21
- package/dist/chunks/{file-mutation-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-rc1e819m.js → aisdk-native-fbt0fexc.js} +4 -4
- package/dist/chunks/{file-mutation-f1q1bdfb.js → aisdk-native-fdgzdcvs.js} +27 -27
- package/dist/chunks/{file-mutation-01fzq3z7.js → aisdk-native-fdhrs726.js} +16 -16
- package/dist/chunks/{file-mutation-tp176rca.js → aisdk-native-fdkge6kz.js} +6 -6
- package/dist/chunks/{file-mutation-v1q7vfww.js → aisdk-native-feb6dv9f.js} +7 -7
- package/dist/chunks/{file-mutation-j4p7emeb.js → aisdk-native-fffjabw0.js} +11 -11
- package/dist/chunks/{file-mutation-qp0yc7dx.js → aisdk-native-fhsg8w19.js} +13 -13
- package/dist/chunks/{file-mutation-5kptn8c0.js → aisdk-native-fjmrr6sh.js} +9 -9
- package/dist/chunks/{file-mutation-fjvydvzm.js → aisdk-native-fjvydvzm.js} +1 -1
- package/dist/chunks/{file-mutation-vtrt0ewb.js → aisdk-native-fm1qwd3t.js} +33 -33
- package/dist/chunks/{file-mutation-mkh51v61.js → aisdk-native-fmyvj1jr.js} +10 -10
- package/dist/chunks/{file-mutation-mwbx7r51.js → aisdk-native-fnfbdfqx.js} +7 -7
- package/dist/chunks/{file-mutation-qssq5wvh.js → aisdk-native-fnpwkbwy.js} +1 -1
- package/dist/chunks/{file-mutation-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-nvgad3v2.js → aisdk-native-fyq1da64.js} +14 -14
- package/dist/chunks/{file-mutation-m0c4px45.js → aisdk-native-g74sxvtz.js} +26 -26
- package/dist/chunks/{file-mutation-3rqkssp8.js → aisdk-native-g8atgw3j.js} +6 -6
- package/dist/chunks/{file-mutation-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-3fc6dm20.js → aisdk-native-gdvy8fx6.js} +4 -4
- package/dist/chunks/{file-mutation-s5d18ttv.js → aisdk-native-gpmwed4n.js} +32 -32
- package/dist/chunks/{file-mutation-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-80wms6w9.js → aisdk-native-gy44vzb3.js} +30 -30
- package/dist/chunks/{file-mutation-hthj0rnm.js → aisdk-native-gymt5c6z.js} +16 -16
- package/dist/chunks/{file-mutation-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-j0n617hx.js → aisdk-native-h1badfgy.js} +38 -38
- package/dist/chunks/{file-mutation-t26h1xea.js → aisdk-native-h5fpgb6t.js} +21 -21
- package/dist/chunks/{file-mutation-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-2bt6bea8.js → aisdk-native-h7ygw6q4.js} +9 -9
- package/dist/chunks/{file-mutation-kekx75qk.js → aisdk-native-hbntdrm1.js} +1 -1
- package/dist/chunks/{file-mutation-d40aa9ht.js → aisdk-native-hc3exffh.js} +35 -35
- package/dist/chunks/{file-mutation-vkxpz7g2.js → aisdk-native-hfdr1yjj.js} +4 -4
- package/dist/chunks/{file-mutation-rsh6k2qs.js → aisdk-native-hgw9y0dn.js} +15 -15
- package/dist/chunks/{file-mutation-qte5z7bc.js → aisdk-native-hnr5yq9h.js} +5 -5
- package/dist/chunks/{file-mutation-dsfwte3g.js → aisdk-native-hz94527q.js} +17 -17
- package/dist/chunks/{file-mutation-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-an7cqtb7.js → aisdk-native-j83byb14.js} +4 -4
- package/dist/chunks/{file-mutation-edca6z4t.js → aisdk-native-j9qtn0a7.js} +41 -41
- package/dist/chunks/{file-mutation-ar85mn2m.js → aisdk-native-jan1h0z4.js} +15 -15
- package/dist/chunks/{file-mutation-zrz3rv3v.js → aisdk-native-jr0vnyg6.js} +15 -15
- package/dist/chunks/{file-mutation-02k69zs7.js → aisdk-native-k21a9ffe.js} +18 -18
- package/dist/chunks/{file-mutation-066m6yk3.js → aisdk-native-k7xkr3b6.js} +7 -7
- package/dist/chunks/{file-mutation-t9nzygtk.js → aisdk-native-kfkgkahd.js} +14 -14
- package/dist/chunks/{file-mutation-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-hf8cnsjw.js → aisdk-native-knxn0y4q.js} +1 -1
- package/dist/chunks/{file-mutation-ga7wvnj5.js → aisdk-native-ksqezm8p.js} +6 -6
- package/dist/chunks/{file-mutation-zhedf7h9.js → aisdk-native-ksxmc9x1.js} +19 -19
- package/dist/chunks/{file-mutation-4cwh3a5t.js → aisdk-native-kt8hwr0v.js} +9 -9
- package/dist/chunks/{file-mutation-q6c9rh6v.js → aisdk-native-m11bj6wh.js} +19 -19
- package/dist/chunks/{file-mutation-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-4jd5h8hr.js → aisdk-native-mctc11af.js} +6 -6
- package/dist/chunks/{file-mutation-2ttxt4rm.js → aisdk-native-me1qs564.js} +2 -2
- package/dist/chunks/{file-mutation-y14xz5fd.js → aisdk-native-mgqysdjs.js} +26 -26
- package/dist/chunks/{file-mutation-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-74bmvg0d.js → aisdk-native-mvbmyxpm.js} +5 -5
- package/dist/chunks/{file-mutation-r5x6zcsm.js → aisdk-native-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-mutation-brx509wv.js → aisdk-native-mx4wa0qa.js} +43 -43
- package/dist/chunks/{file-mutation-4k2qawm0.js → aisdk-native-mzmkmqf1.js} +13 -13
- package/dist/chunks/{file-mutation-earnevqz.js → aisdk-native-n2ef2nc6.js} +39 -39
- package/dist/chunks/{file-mutation-71acpfn8.js → aisdk-native-ngr2twat.js} +10 -10
- package/dist/chunks/{file-mutation-km7shbm8.js → aisdk-native-nhyr4934.js} +15 -15
- package/dist/chunks/{file-mutation-12rfhcvn.js → aisdk-native-njj173xf.js} +3 -3
- package/dist/chunks/{file-mutation-56fawgj4.js → aisdk-native-npj8n27k.js} +46 -46
- package/dist/chunks/{file-mutation-e379cr0y.js → aisdk-native-ns866pf5.js} +12 -12
- package/dist/chunks/{file-mutation-ss0awb04.js → aisdk-native-p0b4ytnr.js} +4 -4
- package/dist/chunks/{file-mutation-kywk84af.js → aisdk-native-p1v0c821.js} +15 -15
- package/dist/chunks/{file-mutation-hkpycv99.js → aisdk-native-p9w19rf3.js} +284 -284
- package/dist/chunks/{file-mutation-j935v87r.js → aisdk-native-paphc93g.js} +2 -2
- package/dist/chunks/{file-mutation-yymb8v2v.js → aisdk-native-pbgmyhjp.js} +14 -14
- package/dist/chunks/{file-mutation-9py05vep.js → aisdk-native-pd5ak3pk.js} +22 -22
- package/dist/chunks/{file-mutation-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-hqrxp9gj.js → aisdk-native-pm84pnzg.js} +10 -10
- package/dist/chunks/{file-mutation-9g0zx7x8.js → aisdk-native-pmz64938.js} +9 -9
- package/dist/chunks/{file-mutation-jvybmm27.js → aisdk-native-ptxpnts9.js} +21 -21
- package/dist/chunks/{file-mutation-f5hjq1vh.js → aisdk-native-pwygnad3.js} +17 -17
- package/dist/chunks/{file-mutation-6v41k3zq.js → aisdk-native-pyvbj5ab.js} +36 -36
- package/dist/chunks/{file-mutation-240ffee7.js → aisdk-native-pzh16mkn.js} +9 -9
- package/dist/chunks/{file-mutation-4c2df9zx.js → aisdk-native-q7wajf8z.js} +8 -8
- package/dist/chunks/{file-mutation-j3mwg7nd.js → aisdk-native-q8qg86eh.js} +34 -34
- package/dist/chunks/{file-mutation-9shade1g.js → aisdk-native-qar9xt1s.js} +24 -24
- package/dist/chunks/{file-mutation-k3swrpg8.js → aisdk-native-qhbn037j.js} +4 -4
- package/dist/chunks/{file-mutation-et23rmd2.js → aisdk-native-qptkk0fy.js} +23 -23
- package/dist/chunks/{file-mutation-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-m42b0bke.js → aisdk-native-r0rathad.js} +3 -3
- package/dist/chunks/{file-mutation-ratrq7cm.js → aisdk-native-ratrq7cm.js} +1 -1
- package/dist/chunks/{file-mutation-6jex2xta.js → aisdk-native-rgn0sbm6.js} +5 -5
- package/dist/chunks/{file-mutation-9pwkmyz6.js → aisdk-native-rphyw1sq.js} +8 -8
- package/dist/chunks/{file-mutation-wf5akpyb.js → aisdk-native-s03bjz93.js} +10 -10
- package/dist/chunks/{file-mutation-c4tqdq5t.js → aisdk-native-s7v2e6ea.js} +6 -6
- package/dist/chunks/{file-mutation-0gdmqesm.js → aisdk-native-s8d7rejh.js} +4 -4
- package/dist/chunks/{file-mutation-q5th50z6.js → aisdk-native-sd3s4jh3.js} +16 -16
- package/dist/chunks/{file-mutation-qyy5cpnn.js → aisdk-native-sf0v5hsk.js} +11 -11
- package/dist/chunks/{file-mutation-c9av52v1.js → aisdk-native-sjvd53j5.js} +4 -28
- package/dist/chunks/{file-mutation-ff8m8qd7.js → aisdk-native-snd0bfzm.js} +28 -28
- package/dist/chunks/{file-mutation-stnw2p2s.js → aisdk-native-spmx6c33.js} +6 -6
- package/dist/chunks/{file-mutation-jsvhw8mk.js → aisdk-native-sw9rbvth.js} +11 -11
- package/dist/chunks/{file-mutation-74sc3jhk.js → aisdk-native-szftbv8r.js} +4 -4
- package/dist/chunks/{file-mutation-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-thm2xcas.js → aisdk-native-tke13nxd.js} +16 -16
- package/dist/chunks/{file-mutation-7x56vw45.js → aisdk-native-tppx2nxc.js} +13 -13
- package/dist/chunks/{file-mutation-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-nx72h4d9.js → aisdk-native-twbgxrv5.js} +10 -10
- package/dist/chunks/{file-mutation-tfmchqhk.js → aisdk-native-v4gxqtqs.js} +13 -13
- package/dist/chunks/{file-mutation-5y7nmd31.js → aisdk-native-vdqv04eb.js} +21 -21
- package/dist/chunks/{file-mutation-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-7ncadwe6.js → aisdk-native-vt3nbq0b.js} +10 -10
- package/dist/chunks/{file-mutation-yhd29gma.js → aisdk-native-vvhv156y.js} +4 -4
- package/dist/chunks/{file-mutation-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-qpxqmgt2.js → aisdk-native-vze96k0n.js} +4 -4
- package/dist/chunks/{file-mutation-v4c6wwdp.js → aisdk-native-w3g6f7qa.js} +7 -7
- package/dist/chunks/{file-mutation-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-bv56xrks.js → aisdk-native-wa9n8nyq.js} +4 -4
- package/dist/chunks/aisdk-native-wbtgwr8j.js +247 -0
- package/dist/chunks/{file-mutation-hxpkdzb7.js → aisdk-native-wcybda84.js} +3 -3
- package/dist/chunks/{file-mutation-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-tcaez8z7.js → aisdk-native-wny28rcs.js} +14 -14
- package/dist/chunks/{file-mutation-n5zjdcc0.js → aisdk-native-wxeb981z.js} +1 -1
- package/dist/chunks/{file-mutation-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-2hfp5ger.js → aisdk-native-x1pvcqkg.js} +20 -20
- package/dist/chunks/{file-mutation-y6b78k7r.js → aisdk-native-x2p5vs46.js} +41 -41
- package/dist/chunks/{file-mutation-0zn40hbb.js → aisdk-native-x42qtfrs.js} +51 -51
- package/dist/chunks/{file-mutation-x43y2vfs.js → aisdk-native-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-3kxmfjgw.js → aisdk-native-x603q4dc.js} +12 -12
- package/dist/chunks/{file-mutation-gfz0jyfh.js → aisdk-native-xbf7nt6y.js} +11 -11
- package/dist/chunks/{file-mutation-cn5kgcxn.js → aisdk-native-xck5pt99.js} +20 -20
- package/dist/chunks/{file-mutation-xhmq8qgk.js → aisdk-native-xhmq8qgk.js} +2 -2
- package/dist/chunks/{file-mutation-e15qh3wq.js → aisdk-native-xzz82xgq.js} +11 -11
- package/dist/chunks/{file-mutation-t3aqcp13.js → aisdk-native-y0zcfdk7.js} +5 -5
- package/dist/chunks/{file-mutation-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-rvyzmxt1.js → aisdk-native-y55k5e5b.js} +158 -158
- package/dist/chunks/{file-mutation-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-2zheyzhp.js → aisdk-native-yecfwbey.js} +10 -10
- package/dist/chunks/{file-mutation-yp2x3t23.js → aisdk-native-yp2x3t23.js} +1 -1
- package/dist/chunks/{file-mutation-qg1dvv3d.js → aisdk-native-yq011xmt.js} +19 -19
- package/dist/chunks/{file-mutation-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-snbak2yk.js → aisdk-native-ywctd6nq.js} +9 -9
- package/dist/chunks/{file-mutation-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-sx5j1r78.js → aisdk-native-z2a3ac01.js} +14 -14
- package/dist/chunks/{file-mutation-7s02b6me.js → aisdk-native-z3ykvfqy.js} +1 -1
- package/dist/chunks/{file-mutation-29x78va6.js → aisdk-native-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-en8fd2fz.js → aisdk-native-z8az9z3j.js} +20 -20
- package/dist/chunks/{file-mutation-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-yhgxvs9m.js → aisdk-native-zex37ywk.js} +8 -8
- package/dist/chunks/{file-mutation-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-w1rhahvp.js → aisdk-native-zr4k6nm6.js} +11 -11
- package/dist/chunks/{file-mutation-ntghn7gv.js → aisdk-native-ztyp0pbv.js} +9 -9
- package/dist/chunks/{file-mutation-eqbtmbad.js → aisdk-native-zw7bxkcj.js} +16 -16
- package/dist/chunks/{file-mutation-qgnx4pxt.js → aisdk-native-zxbgq9vb.js} +11 -11
- package/dist/chunks/{file-mutation-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- 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 +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +113 -113
- 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 +1 -1
- 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 +68 -68
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- 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 +3 -3
- 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 +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- 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 +104 -104
- 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 +3 -5
- 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 +117 -117
- 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 +339 -339
- package/dist/plugin/update.js +2 -2
- 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 +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +88 -88
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +120 -120
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +80 -80
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +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 +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +103 -103
- 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 +121 -121
- 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 +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +103 -103
- package/dist/tool/plugin/write.js +109 -109
- 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 +13 -13
- package/dist/types/plugin/provider/amazon-bedrock.d.ts +0 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +82 -82
- 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 +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- 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 → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./aisdk-native-tke13nxd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service62
|
|
6
|
+
} from "./aisdk-native-f1x6p4ya.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service15,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-6wgqt9fk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./aisdk-native-52v448cf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service65
|
|
17
|
+
} from "./aisdk-native-23cdnrcg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service64,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-687r8w3k.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input3,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin4,
|
|
36
|
+
name: () => name3
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name3 = "edit";
|
|
43
|
+
var Input3 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin4 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service64;
|
|
110
|
+
const fileMutation = yield* Service15;
|
|
111
|
+
const environment = yield* Service62;
|
|
112
|
+
const formatter = yield* Service17;
|
|
113
|
+
const location = yield* Service70;
|
|
114
|
+
const permission = yield* Service65;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name3,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input3,
|
|
120
|
+
output: Output3,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin10 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name3, Input3, Output3, Plugin4, exports_edit };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-afd5mpsr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node77
|
|
8
|
+
} from "./aisdk-native-fmyvj1jr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service70,
|
|
11
|
+
node75
|
|
12
|
+
} from "./aisdk-native-tke13nxd.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-619r8v3y.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service58,
|
|
18
|
+
node62
|
|
19
|
+
} from "./aisdk-native-pd5ak3pk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./aisdk-native-dy51me0m.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service7,
|
|
25
|
+
node10
|
|
26
|
+
} from "./aisdk-native-fjmrr6sh.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service70;
|
|
47
|
+
const watcher = yield* Service58;
|
|
48
48
|
const bus = yield* Service79;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service72;
|
|
51
|
+
const policy = yield* Service7;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node62, FSUtil.node, node75, node77, node84, node23, node10]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-afd5mpsr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID17
|
|
6
|
+
} from "./aisdk-native-5kbk4f8q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
ID16
|
|
9
|
+
} from "./aisdk-native-9c2fy9a2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Event19
|
|
12
|
+
} from "./aisdk-native-8vj00402.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
ID13
|
|
15
|
+
} from "./aisdk-native-g74sxvtz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service73
|
|
18
|
+
} from "./aisdk-native-qptkk0fy.js";
|
|
19
19
|
import {
|
|
20
20
|
get3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-04kv4r8s.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/modal.ts
|
|
24
24
|
import { Effect, Semaphore, Stream } from "effect";
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID17.make("modal");
|
|
27
27
|
var ModalPlugin2 = define({
|
|
28
28
|
id: "opencode.provider.modal",
|
|
29
29
|
effect: Effect.fn(function* (ctx) {
|
|
30
|
-
const catalog = yield*
|
|
30
|
+
const catalog = yield* Service73;
|
|
31
31
|
const bus = yield* Service79;
|
|
32
32
|
const loading = Semaphore.makeUnsafe(1);
|
|
33
33
|
const loaded = {};
|
|
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
|
|
|
58
58
|
if (!loaded.models)
|
|
59
59
|
return;
|
|
60
60
|
for (const id of item.models.keys()) {
|
|
61
|
-
if (!loaded.models.has(
|
|
61
|
+
if (!loaded.models.has(ID16.make(id)))
|
|
62
62
|
evt.model.remove(item.provider.id, id);
|
|
63
63
|
}
|
|
64
64
|
for (const [id, model] of loaded.models) {
|
|
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
yield* refresh().pipe(Effect.forkScoped);
|
|
71
71
|
})
|
|
72
72
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-17faxaxv.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-afd5mpsr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service72,
|
|
14
|
+
node77
|
|
15
|
+
} from "./aisdk-native-fmyvj1jr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID11,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info27,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event15,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-ztyp0pbv.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID10,
|
|
40
|
+
Info: () => Info26,
|
|
41
41
|
NotFoundError: () => NotFoundError9,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node76,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID10 = ID11;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info26 = Info27;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID10
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service71 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service72;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event15.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID10.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -169,11 +169,11 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
169
169
|
if (!row)
|
|
170
170
|
return yield* new NotFoundError9({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event15.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID10.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID10.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID10.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID10.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID10.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID10.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID10.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service71.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node76 = makeGlobalNode({
|
|
277
|
+
service: Service71,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node77, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID10, Vcs2, Current2, Info26, UpdateInput3, NotFoundError9, root2, Service71, node76, exports_project };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-afd5mpsr.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info10,
|
|
19
|
+
NotFoundError: () => NotFoundError5,
|
|
20
|
+
Service: () => Service48,
|
|
21
|
+
layer: () => layer20,
|
|
22
|
+
node: () => node51
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info10 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service48 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer20 = Layer.effect(Service48, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info10.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service48.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node51 = makeLocationNode({
|
|
75
|
+
service: Service48,
|
|
76
|
+
layer: layer20,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info10, NotFoundError5, ExecutionError2, Service48, layer20, node51, exports_command4, Event9 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service12,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node15
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service12 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service12.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node15 = makeGlobalNode({ service: Service12, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service12, node15, exports_discovery };
|