@opencode/core 0.0.0-dev-19538 → 0.0.0-dev-19540
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 +76 -76
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{job-1x4rb0xf.js → tool-0299gjg5.js} +18 -18
- package/dist/chunks/{job-rrbca1ec.js → tool-02zskd6f.js} +4 -4
- package/dist/chunks/{job-wk5z6jzv.js → tool-0996nyz8.js} +9 -9
- package/dist/chunks/{job-8g4pmx6v.js → tool-0bqxz2km.js} +22 -22
- package/dist/chunks/{job-7dqw4kz8.js → tool-0jwsre1p.js} +5 -5
- package/dist/chunks/{job-p855jt3d.js → tool-0nbbv2dg.js} +83 -83
- package/dist/chunks/{job-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-0q0f95c6.js → tool-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-1f18karc.js → tool-0r9sq1ay.js} +7 -7
- package/dist/chunks/{job-8pnsnrrh.js → tool-0veevydg.js} +22 -22
- package/dist/chunks/{job-eatkrtr4.js → tool-11021cf3.js} +3 -3
- package/dist/chunks/{job-8v5484d6.js → tool-19w2tstg.js} +22 -22
- package/dist/chunks/{job-yp2x3t23.js → tool-1acjjqhc.js} +4 -4
- package/dist/chunks/{job-z2yhn1jz.js → tool-1c8etqjp.js} +7 -7
- package/dist/chunks/{job-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-jyt8k1ng.js → tool-1fjf9qgp.js} +17 -17
- package/dist/chunks/{job-3r7hejq5.js → tool-1jqgrzzt.js} +8 -8
- package/dist/chunks/{job-b21rrpfv.js → tool-1pwvfv87.js} +11 -11
- package/dist/chunks/tool-1qd3ycm2.js +26 -0
- package/dist/chunks/{job-kz0zrsdg.js → tool-1qmbqjyv.js} +33 -33
- package/dist/chunks/{job-xnqrd04x.js → tool-1r6pjnw8.js} +13 -13
- package/dist/chunks/{job-5c91nd8t.js → tool-20m8myk3.js} +7 -7
- package/dist/chunks/{job-b11403r6.js → tool-20tfp5zs.js} +4 -4
- package/dist/chunks/{job-21r38tys.js → tool-21r38tys.js} +1 -1
- package/dist/chunks/{job-2402vzrj.js → tool-2402vzrj.js} +1 -1
- package/dist/chunks/{job-8yjy7zng.js → tool-24dbyy2c.js} +8 -8
- package/dist/chunks/{job-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-gsxh9p0t.js → tool-2cv6r8s0.js} +34 -34
- package/dist/chunks/{job-vqgqqns8.js → tool-2fvqh1y6.js} +22 -22
- package/dist/chunks/{job-v84z85pp.js → tool-2syw43ez.js} +11 -11
- package/dist/chunks/{job-z2ndz56e.js → tool-2v3pb6qd.js} +12 -12
- package/dist/chunks/{job-nsakjb9f.js → tool-2vnwx32a.js} +8 -8
- package/dist/chunks/{job-qw4e7zjd.js → tool-2vs9fmj2.js} +14 -14
- package/dist/chunks/{job-6933ywkd.js → tool-2z7ees0g.js} +4 -4
- package/dist/chunks/{job-mfqp6xfm.js → tool-33w4ejhs.js} +9 -9
- package/dist/chunks/{job-ff0htmxq.js → tool-3c1tgrea.js} +6 -6
- package/dist/chunks/{job-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-qmajteq1.js → tool-3se9mp31.js} +26 -26
- package/dist/chunks/{job-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-3w0fmcng.js → tool-3w2b2yj4.js} +5 -5
- package/dist/chunks/{job-35wynegs.js → tool-439n1kaq.js} +2 -2
- package/dist/chunks/{job-amgske17.js → tool-4cbqng7e.js} +8 -8
- package/dist/chunks/{job-v33xfvcj.js → tool-4frkg54w.js} +5 -5
- package/dist/chunks/{job-3gv83b7t.js → tool-4fxa00ze.js} +3 -3
- package/dist/chunks/{job-yn9ekfaz.js → tool-4rgwgr9n.js} +4 -4
- package/dist/chunks/{job-x8gz1y8e.js → tool-52fpbh6z.js} +8 -8
- package/dist/chunks/{job-1h8wy6rp.js → tool-5cmqm0ev.js} +9 -9
- package/dist/chunks/{job-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{job-w49xm5fj.js → tool-5m0afy4r.js} +8 -8
- package/dist/chunks/{job-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-h6tgnsmw.js → tool-5vgkaf0c.js} +20 -20
- package/dist/chunks/{job-eq6c3fte.js → tool-5wj1bc2b.js} +4 -4
- package/dist/chunks/{job-p2k8yj8g.js → tool-5zhzefj3.js} +13 -13
- package/dist/chunks/{job-70d2s7af.js → tool-60cvmy65.js} +1 -1
- package/dist/chunks/{job-1tzh7qsg.js → tool-62139ecc.js} +7 -7
- package/dist/chunks/{job-t6msp11s.js → tool-64mbz47k.js} +6 -6
- package/dist/chunks/{job-669tq793.js → tool-669tq793.js} +1 -1
- package/dist/chunks/{job-8657wa92.js → tool-69xwbkdg.js} +28 -28
- package/dist/chunks/{job-1s86r2nk.js → tool-6ba819az.js} +29 -29
- package/dist/chunks/{job-dkh98w8h.js → tool-6jjd6916.js} +11 -11
- package/dist/chunks/{job-ne989dng.js → tool-6karmr7k.js} +9 -9
- package/dist/chunks/{job-6msgmcgs.js → tool-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-fnfzg2pd.js → tool-6qqxn8pv.js} +15 -15
- package/dist/chunks/{job-3rqd1sr0.js → tool-700r65qt.js} +157 -157
- package/dist/chunks/{job-x5zgdsqq.js → tool-70wdtdtz.js} +59 -59
- package/dist/chunks/{job-jgks5tvc.js → tool-71b76pde.js} +7 -7
- package/dist/chunks/{job-71q4at8m.js → tool-71q4at8m.js} +1 -1
- package/dist/chunks/{job-7gscs43p.js → tool-7690wq37.js} +9 -9
- package/dist/chunks/{job-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-8eytcxxn.js → tool-7j0r01e2.js} +46 -46
- package/dist/chunks/{job-9gddqbe1.js → tool-7m06xexa.js} +10 -10
- package/dist/chunks/{job-58pw51yy.js → tool-7pegcs5y.js} +2 -2
- package/dist/chunks/{job-65ymqtf8.js → tool-7wcy2j48.js} +10 -10
- package/dist/chunks/{job-wavq5vqb.js → tool-7xmcpp5k.js} +1 -1
- package/dist/chunks/tool-7z7rpcgx.js +247 -0
- package/dist/chunks/{job-w03hw2zf.js → tool-8557jav9.js} +82 -82
- package/dist/chunks/{job-wa3vagtd.js → tool-8cdvd9z3.js} +13 -13
- package/dist/chunks/{job-z0v4hsh2.js → tool-8cwk6cmw.js} +9 -9
- package/dist/chunks/{job-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-t08rskcp.js → tool-8mxe8k4b.js} +15 -15
- package/dist/chunks/{job-8p4f9s12.js → tool-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-9jrdgtty.js → tool-8rqvsz38.js} +7 -7
- package/dist/chunks/{job-swm5zkc7.js → tool-8s0z9n45.js} +5 -5
- package/dist/chunks/{job-fyd8j9ny.js → tool-8twyvpe7.js} +28 -28
- package/dist/chunks/{job-12wf1z1v.js → tool-8vsxpez5.js} +44 -44
- package/dist/chunks/{job-yexcygsh.js → tool-8wagbt41.js} +25 -25
- package/dist/chunks/{job-fz5grztf.js → tool-9eeg3wcp.js} +40 -40
- package/dist/chunks/{job-7j92jdde.js → tool-9h41vc4j.js} +4 -4
- package/dist/chunks/{job-ngx9j5n7.js → tool-9h7qzzke.js} +16 -16
- package/dist/chunks/{job-4qe7rp9p.js → tool-9j2xpqw0.js} +32 -32
- package/dist/chunks/{job-39p1jspm.js → tool-9me22cbr.js} +27 -27
- package/dist/chunks/{job-rxz6bkw1.js → tool-9swcrqvc.js} +28 -28
- package/dist/chunks/{job-tdzxd4bd.js → tool-9tmrnrc3.js} +23 -23
- package/dist/chunks/{job-a1bz86dw.js → tool-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-x1ayndpw.js → tool-a4s526ga.js} +9 -9
- package/dist/chunks/{job-kerhshr9.js → tool-a694798e.js} +5 -5
- package/dist/chunks/{job-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{job-cvtmmhw6.js → tool-aax1h56x.js} +1 -1
- package/dist/chunks/{job-deft6591.js → tool-ad6yvafe.js} +7 -7
- package/dist/chunks/{job-y7g06hay.js → tool-aedkfdwe.js} +16 -16
- package/dist/chunks/{job-88vd3pdq.js → tool-ankkda91.js} +9 -9
- package/dist/chunks/{job-wj89kg96.js → tool-at81ej1z.js} +3 -3
- package/dist/chunks/{job-8fjqb3kx.js → tool-awtg3954.js} +32 -32
- package/dist/chunks/{job-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-265kqrgy.js → tool-b8wa1ckd.js} +1 -1
- package/dist/chunks/{job-gfr26vqf.js → tool-ba3nnyyx.js} +10 -10
- package/dist/chunks/{job-vkxpz7g2.js → tool-bajakh74.js} +4 -4
- package/dist/chunks/{job-bct739vz.js → tool-bct739vz.js} +1 -1
- package/dist/chunks/{job-dg5bcj4q.js → tool-bdqrk2vk.js} +6 -6
- package/dist/chunks/{job-33n3bzdy.js → tool-bfc0h0ah.js} +6 -6
- package/dist/chunks/{job-b6s3feyn.js → tool-bmwvampg.js} +31 -31
- package/dist/chunks/{job-m1g6hraw.js → tool-bnxh6nf1.js} +17 -17
- package/dist/chunks/{job-6jrat8e1.js → tool-brahnmae.js} +13 -13
- package/dist/chunks/{job-wtpfsk05.js → tool-c3nr3a1t.js} +18 -18
- package/dist/chunks/{job-tvgvanca.js → tool-c74bb4fg.js} +284 -284
- package/dist/chunks/{job-b3wvxjn9.js → tool-c8ftv886.js} +3 -3
- package/dist/chunks/{job-fcqf1svs.js → tool-cb1fb07j.js} +26 -26
- package/dist/chunks/{job-67byjnjd.js → tool-cf4qthmf.js} +24 -24
- package/dist/chunks/{job-cfpkc3c9.js → tool-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-spgf7rnz.js → tool-ctgxkhvw.js} +28 -28
- package/dist/chunks/{job-phr9a6m0.js → tool-dmpv135r.js} +47 -47
- package/dist/chunks/{job-0artwwxx.js → tool-ds93jj24.js} +3 -3
- package/dist/chunks/{job-41hc3ma8.js → tool-dssyvqwy.js} +24 -24
- package/dist/chunks/{job-cmg4q0z4.js → tool-e036a9pm.js} +24 -24
- package/dist/chunks/{job-e5nv3ght.js → tool-e5nv3ght.js} +2 -2
- package/dist/chunks/{job-yjptyezs.js → tool-e6hmchc5.js} +5 -5
- package/dist/chunks/{job-p44d8wdy.js → tool-ead3g9p8.js} +5 -5
- package/dist/chunks/{job-98dg3375.js → tool-ee4a09y5.js} +10 -10
- package/dist/chunks/{job-abebd5qx.js → tool-ekx6gx0x.js} +11 -11
- package/dist/chunks/{job-n9mcyk9d.js → tool-enccs5rm.js} +30 -30
- package/dist/chunks/{job-1bbkgx8g.js → tool-eq1pz5kg.js} +3 -3
- package/dist/chunks/{job-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-f828m53h.js → tool-f828m53h.js} +2 -2
- package/dist/chunks/{job-xpkcfpne.js → tool-f9m0bqsz.js} +20 -20
- package/dist/chunks/{job-sm6yf0t5.js → tool-fgg2p6ky.js} +8 -8
- package/dist/chunks/{job-ttmf09qd.js → tool-fp7xghy5.js} +10 -10
- package/dist/chunks/{job-2d57kztd.js → tool-fvanntqq.js} +6 -6
- package/dist/chunks/{job-2ghf1d8t.js → tool-fvgvh3wz.js} +11 -11
- package/dist/chunks/{job-fxbjtjnd.js → tool-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-q0kqdcn6.js → tool-g4qfqx3z.js} +12 -12
- package/dist/chunks/{job-x4g0zs73.js → tool-g77pfeh0.js} +15 -15
- package/dist/chunks/{job-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-1cbk4m95.js → tool-gf3w8mcy.js} +12 -12
- package/dist/chunks/{job-4xhhjths.js → tool-gft05b0a.js} +5 -5
- package/dist/chunks/{job-wrcewy4h.js → tool-gg4bq2q4.js} +14 -14
- package/dist/chunks/{job-e00600n7.js → tool-gq3a5xex.js} +39 -39
- package/dist/chunks/{job-c7ppp6eb.js → tool-gs4q6mge.js} +3 -3
- package/dist/chunks/{job-gv6a8nnw.js → tool-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-h03wrkyp.js → tool-h03wrkyp.js} +2 -2
- package/dist/chunks/{job-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-0pb75hch.js → tool-h7pjjeb1.js} +5 -5
- package/dist/chunks/{job-rr4zqxht.js → tool-hav2x4nq.js} +2 -2
- package/dist/chunks/{job-nhy5jxhy.js → tool-hjt4xg1x.js} +4 -4
- package/dist/chunks/{job-zvt5dnpc.js → tool-hn57h045.js} +4 -4
- package/dist/chunks/{job-bw5kd9bz.js → tool-hq9kk1eh.js} +5 -5
- package/dist/chunks/{job-c3s2gn8c.js → tool-hrj7pjr8.js} +12 -12
- package/dist/chunks/{job-r9njkn2h.js → tool-hrvd6t1f.js} +9 -9
- package/dist/chunks/{job-pqd1mzxt.js → tool-hz30zgkd.js} +9 -9
- package/dist/chunks/{job-4hx14hj9.js → tool-hz62r41k.js} +41 -41
- package/dist/chunks/{job-g8jasmdt.js → tool-j12s1dt6.js} +8 -8
- package/dist/chunks/{job-tpt4bxfs.js → tool-j27yjeep.js} +23 -23
- package/dist/chunks/{job-nvez6yjy.js → tool-j2wbkj1x.js} +42 -42
- package/dist/chunks/{job-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{job-mshp27fg.js → tool-jb2vcz8q.js} +42 -42
- package/dist/chunks/{job-jfa9ssce.js → tool-jmk5eqxp.js} +17 -17
- package/dist/chunks/{job-sapgmee8.js → tool-jvhnejfk.js} +18 -18
- package/dist/chunks/{job-cavr175a.js → tool-jw80jp6b.js} +4 -4
- package/dist/chunks/{job-64ddj6v7.js → tool-k2dherqe.js} +1 -1
- package/dist/chunks/{job-4cje3eb8.js → tool-k2vvnb2e.js} +25 -25
- package/dist/chunks/{job-84aps5my.js → tool-k581jmxz.js} +11 -11
- package/dist/chunks/{job-n1nx5qrt.js → tool-k641sm4f.js} +8 -8
- package/dist/chunks/{job-jexxy024.js → tool-k6yq57aq.js} +3 -3
- package/dist/chunks/{job-xhx1a2a8.js → tool-k7hfcg7n.js} +12 -12
- package/dist/chunks/{job-c9y5ammp.js → tool-k9yfmsvc.js} +12 -12
- package/dist/chunks/{job-4gx2v1gk.js → tool-kac23fkg.js} +1 -1
- package/dist/chunks/{job-jgjp3csz.js → tool-kaypvkzz.js} +17 -17
- package/dist/chunks/{job-2vcs4n8f.js → tool-kdv4badm.js} +3 -3
- package/dist/chunks/{job-kg06axw8.js → tool-kg06axw8.js} +1 -1
- package/dist/chunks/{job-w6qfaagh.js → tool-kgwhbhza.js} +14 -14
- package/dist/chunks/{job-ycejwvtx.js → tool-khcc2y7p.js} +11 -11
- package/dist/chunks/{job-nq0ndpqh.js → tool-khyy3z7c.js} +31 -31
- package/dist/chunks/{job-t1aepcmv.js → tool-kjne0gnr.js} +11 -11
- package/dist/chunks/{job-80e13nyn.js → tool-kmqmddk0.js} +45 -45
- package/dist/chunks/{job-gvp81x5g.js → tool-kxqpg2a3.js} +6 -6
- package/dist/chunks/{job-eh9f57h6.js → tool-m21k6hwm.js} +18 -18
- package/dist/chunks/{job-rnvsv9qp.js → tool-m70012hk.js} +12 -12
- package/dist/chunks/{job-2hv6rtfk.js → tool-m7ah9b01.js} +14 -14
- package/dist/chunks/{job-6mjv2hgg.js → tool-m7xke3eb.js} +28 -28
- package/dist/chunks/{job-pnv527nz.js → tool-m86bnw2c.js} +5 -5
- package/dist/chunks/{job-ph6t2mdm.js → tool-m8vzpnra.js} +20 -20
- package/dist/chunks/{job-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-219neeqh.js → tool-mbeywexs.js} +5 -5
- package/dist/chunks/{job-06dxphr1.js → tool-msq0jde0.js} +4 -4
- package/dist/chunks/{job-1aafjjmy.js → tool-n02csdyp.js} +13 -13
- package/dist/chunks/{job-qqb9cay3.js → tool-n89ph4ha.js} +9 -9
- package/dist/chunks/{job-pq3g4fff.js → tool-n96v1vx3.js} +13 -13
- package/dist/chunks/{job-5cehzqsf.js → tool-n9z12nhw.js} +5 -5
- package/dist/chunks/{job-s6yfxd82.js → tool-nb6x7g5x.js} +4 -4
- package/dist/chunks/{job-aec3nrfr.js → tool-ngwpnmm2.js} +6 -6
- package/dist/chunks/{job-ybhbtxjg.js → tool-nv6sgpkb.js} +6 -6
- package/dist/chunks/{job-mz6ae2yf.js → tool-nwa6tt5d.js} +1 -1
- package/dist/chunks/tool-pf31ssb9.js +18 -0
- package/dist/chunks/{job-ap99qs88.js → tool-phptn4kh.js} +6 -6
- package/dist/chunks/{job-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{job-01r27nra.js → tool-pnbgbrcy.js} +31 -31
- package/dist/chunks/{job-dkk4x6n7.js → tool-ppbs3dgs.js} +20 -20
- package/dist/chunks/{job-b89ddxb9.js → tool-pq99gyy2.js} +11 -11
- package/dist/chunks/{job-ey45p7wh.js → tool-pwh8btyp.js} +11 -11
- package/dist/chunks/{job-pf4ag2jn.js → tool-q0x9hp0x.js} +34 -34
- package/dist/chunks/{job-tpw6cwsb.js → tool-q26tgv94.js} +8 -8
- package/dist/chunks/{job-jsbnbka6.js → tool-q6hf9b7c.js} +20 -20
- package/dist/chunks/{job-qgp8zp4q.js → tool-q8445bg1.js} +25 -25
- package/dist/chunks/tool-qapv375x.js +4 -0
- package/dist/chunks/{job-3mp8pt0x.js → tool-qcprappc.js} +12 -12
- package/dist/chunks/{job-zcrm4481.js → tool-qnhx320f.js} +7 -7
- package/dist/chunks/{job-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{job-4cjxfwqn.js → tool-qvkbe7wj.js} +18 -18
- package/dist/chunks/{job-6h3xmmfj.js → tool-r0trdc9p.js} +5 -5
- package/dist/chunks/{job-88emgjyy.js → tool-r5vpk0b1.js} +4 -4
- package/dist/chunks/{job-ff7kr3aa.js → tool-r6w0w95m.js} +24 -24
- package/dist/chunks/{job-2hmt10pc.js → tool-r7h76vv8.js} +7 -7
- package/dist/chunks/{job-ctbj8s8t.js → tool-r7x1my69.js} +3 -3
- package/dist/chunks/{job-r9mregkx.js → tool-r9mregkx.js} +2 -2
- package/dist/chunks/{job-1v4bbw1w.js → tool-rcmaerg2.js} +13 -13
- package/dist/chunks/{job-w5rrqgbp.js → tool-rdqxydgw.js} +16 -16
- package/dist/chunks/{job-vffpsvvj.js → tool-rdsy4w4t.js} +28 -28
- package/dist/chunks/{job-2gv9w80n.js → tool-rfsjamy2.js} +25 -25
- package/dist/chunks/{job-ppt7x97n.js → tool-rmbepvtv.js} +15 -15
- package/dist/chunks/{job-3h8766hn.js → tool-rms87t6p.js} +24 -24
- package/dist/chunks/{job-648q9dvv.js → tool-s2hm79cz.js} +10 -10
- package/dist/chunks/{job-f1av08zj.js → tool-s7cmhz1c.js} +41 -41
- package/dist/chunks/{job-m22jsh4r.js → tool-sbshw81j.js} +22 -22
- package/dist/chunks/{job-sn2spq71.js → tool-smznf5zv.js} +9 -9
- package/dist/chunks/{job-0gdmqesm.js → tool-t550f9t1.js} +4 -4
- package/dist/chunks/{job-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-tcezcvh9.js → tool-tcezcvh9.js} +1 -1
- package/dist/chunks/{job-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{job-dxttfc41.js → tool-tgyrx776.js} +17 -17
- package/dist/chunks/{job-6vgv5es6.js → tool-tjhqx05s.js} +35 -35
- package/dist/chunks/{job-r9asyhme.js → tool-tpgw4r9p.js} +11 -11
- package/dist/chunks/{job-tvtrv512.js → tool-tvtrv512.js} +1 -1
- package/dist/chunks/{job-nv5vn7qx.js → tool-tx9qvpbt.js} +6 -6
- package/dist/chunks/{job-t2fc4mz5.js → tool-v5dkyp31.js} +4 -4
- package/dist/chunks/{job-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{job-vzcthcp8.js → tool-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-e2s7qp6r.js → tool-w466msxf.js} +6 -6
- package/dist/chunks/{job-emzsebxx.js → tool-w6zk8pbt.js} +6 -6
- package/dist/chunks/{job-ewzk1mjh.js → tool-w8dhyk9b.js} +11 -11
- package/dist/chunks/{job-k9m849z2.js → tool-wadft2hn.js} +16 -16
- package/dist/chunks/{job-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{job-zrk62573.js → tool-wp4wkpxj.js} +13 -13
- package/dist/chunks/{job-a3r4dcrj.js → tool-wqc6684y.js} +2 -2
- package/dist/chunks/{job-s2fmxq2z.js → tool-wrzcwb32.js} +13 -13
- package/dist/chunks/{job-fzs11x6f.js → tool-wwmkx8c8.js} +22 -22
- package/dist/chunks/{job-x1ezjp6w.js → tool-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-vjh8skme.js → tool-xgfrx0dg.js} +16 -16
- package/dist/chunks/{job-c1165j3g.js → tool-xk01n904.js} +11 -11
- package/dist/chunks/{job-he3yj4ej.js → tool-xvr1tfrz.js} +18 -18
- package/dist/chunks/{job-53zdrc7w.js → tool-xwzeg4yz.js} +20 -20
- package/dist/chunks/{job-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-5k817vsx.js → tool-y1rf3ngb.js} +16 -16
- package/dist/chunks/{job-y71avatq.js → tool-y71avatq.js} +1 -1
- package/dist/chunks/{job-xnhhv6qr.js → tool-ycsy29mf.js} +20 -20
- package/dist/chunks/{job-8j67439b.js → tool-ypcyj4th.js} +16 -16
- package/dist/chunks/{job-yrhqyw5v.js → tool-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-yrznvahk.js → tool-yrznvahk.js} +2 -2
- package/dist/chunks/{job-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-z63w68vq.js → tool-z63w68vq.js} +2 -2
- package/dist/chunks/{job-zeh9ct20.js → tool-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-gv9pfq09.js → tool-zmjtvdmj.js} +4 -4
- package/dist/chunks/{job-5px9q63z.js → tool-zq6fa2xa.js} +6 -6
- package/dist/chunks/{job-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-7n7cc3vm.js → tool-zv5xthkc.js} +11 -11
- package/dist/chunks/{job-3hww0q87.js → tool-zvsxz435.js} +16 -16
- package/dist/chunks/{job-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{job-s2hj7ecj.js → tool-zxqp5j27.js} +31 -31
- package/dist/chunks/{job-danc237s.js → tool-zzd04jwc.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +78 -78
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +86 -86
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +90 -90
- package/dist/git.js +6 -6
- 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 +354 -354
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- 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/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +119 -119
- 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 +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +4 -4
- 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 +92 -92
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- 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 +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +9 -9
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- 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 +5 -5
- 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 +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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 +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/job-2jb5v7tm.js +0 -26
- package/dist/chunks/job-6kdq0pjd.js +0 -4
- package/dist/chunks/job-hsrz4baj.js +0 -247
- package/dist/chunks/job-n95b3jav.js +0 -18
- /package/dist/chunks/{job-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → tool-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → tool-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{job-hrnqkpcd.js → tool-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-paphc93g.js → tool-paphc93g.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → tool-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → tool-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-zmjtvdmj.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./tool-7m06xexa.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event11,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service55,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node58,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service55 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event11 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service78;
|
|
81
81
|
const bus = yield* Service79;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event11.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service55.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event11.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event11.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node58 = makeGlobalNode({ service: Service55, layer, deps: [httpClient, node83, node84] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service55, Event11, inspect2, resolve2, node58, exports_wellknown };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./tool-jmk5eqxp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service24
|
|
6
|
+
} from "./tool-0nbbv2dg.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make9 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service24;
|
|
24
|
+
const jobs = yield* Service56;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service63,
|
|
6
6
|
node66
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-a4s526ga.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service21,
|
|
17
|
+
node: () => node25,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service21 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,7 +34,7 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
38
38
|
const environment = yield* Service63;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service21.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node25 = makeLocationNode({ service: Service21, layer, deps: [node66] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service21, readText2, syncTextBom2, node25, exports_file_mutation };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry4,
|
|
11
|
+
Info: () => Info18,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry4 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry4, builtinServerIds2, requiresExtensionsForCustomServers2, Info18, exports_lsp };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-bfc0h0ah.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/aisdk.ts
|
|
12
12
|
var exports_aisdk = {};
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service58,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node61
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
131
|
-
providerID:
|
|
131
|
+
providerID: ID14,
|
|
132
132
|
cause: Schema.Defect()
|
|
133
133
|
}) {
|
|
134
134
|
}
|
|
@@ -136,9 +136,9 @@ function initError(providerID) {
|
|
|
136
136
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
class
|
|
139
|
+
class Service58 extends Context.Service()("@opencode/AISDK") {
|
|
140
140
|
}
|
|
141
|
-
var locationLayer2 = Layer.effect(
|
|
141
|
+
var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
|
|
142
142
|
let sdkHooks = [];
|
|
143
143
|
let languageHooks = [];
|
|
144
144
|
const languages = new Map;
|
|
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
176
176
|
}
|
|
177
177
|
return event;
|
|
178
178
|
});
|
|
179
|
-
const service =
|
|
179
|
+
const service = Service58.of({
|
|
180
180
|
hook: {
|
|
181
181
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
182
182
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -809,6 +809,6 @@ function providerErrorMessage(error) {
|
|
|
809
809
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
810
810
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var node61 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
|
|
813
813
|
|
|
814
|
-
export { InitError2,
|
|
814
|
+
export { InitError2, Service58, locationLayer2, node61, exports_aisdk };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-4fxa00ze.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
11
|
node68
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-w6zk8pbt.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
24
|
ID: () => ID10,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info25,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
27
|
Service: () => Service64,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
29
|
+
configured: () => configured7,
|
|
30
30
|
node: () => node67
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
@@ -37,7 +37,7 @@ import { systemError } from "effect/PlatformError";
|
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
38
|
var ID10 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Info25 extends Schema.Class("Workspace.Info")({
|
|
41
41
|
id: ID10,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
@@ -58,7 +58,7 @@ class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
|
58
58
|
|
|
59
59
|
class Service64 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
61
|
+
var configured7 = (options = {}) => makeGlobalNode({
|
|
62
62
|
service: Service64,
|
|
63
63
|
layer: layer(options),
|
|
64
64
|
deps: [node85, node68]
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info25({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var node67 =
|
|
224
|
+
var node67 = configured7();
|
|
225
225
|
|
|
226
|
-
export { ID10,
|
|
226
|
+
export { ID10, Info25, NotFound3, CreateConflict2, Service64, configured7, node67, exports_workspace };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info10,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./tool-wwmkx8c8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./tool-hz62r41k.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin23,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
421
421
|
var ReportContent2 = report_default;
|
|
422
422
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
423
423
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
424
|
-
var
|
|
424
|
+
var Plugin23 = define({
|
|
425
425
|
id: "opencode.skill",
|
|
426
426
|
effect: Effect.fn(function* (ctx) {
|
|
427
427
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
428
428
|
yield* ctx.skill.transform((editor) => {
|
|
429
|
-
editor.add(
|
|
430
|
-
id:
|
|
429
|
+
editor.add(Info10.make({
|
|
430
|
+
id: ID5.make("opencode"),
|
|
431
431
|
name: Name2.make("OpenCode"),
|
|
432
432
|
description: OpencodeDescription2,
|
|
433
433
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
434
434
|
content: OpencodeContent2
|
|
435
435
|
}));
|
|
436
|
-
editor.add(
|
|
437
|
-
id:
|
|
436
|
+
editor.add(Info10.make({
|
|
437
|
+
id: ID5.make("report"),
|
|
438
438
|
name: Name2.make("Report"),
|
|
439
439
|
description: REPORT_DESCRIPTION,
|
|
440
440
|
slash: true,
|
|
@@ -463,7 +463,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
463
463
|
`);
|
|
464
464
|
});
|
|
465
465
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
466
|
-
const config = yield*
|
|
466
|
+
const config = yield* Service51;
|
|
467
467
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
468
468
|
});
|
|
469
469
|
function terminal() {
|
|
@@ -477,4 +477,4 @@ function shell() {
|
|
|
477
477
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
480
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin23, exports_skill2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-bfc0h0ah.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info29,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-hrj7pjr8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID14.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID13.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID13.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info29.make({
|
|
92
|
+
...Info29.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID13.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-33w4ejhs.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin19,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
13
|
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin19 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export { endpoint4,
|
|
83
|
+
export { endpoint4, Plugin19, exports_exa };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service76
|
|
3
|
+
} from "./tool-c3nr3a1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./tool-jb2vcz8q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input13,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin46,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input13 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin46 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service76;
|
|
57
|
+
const permission = yield* Service59;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input13,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin46, exports_question };
|